a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.6 KiB

In OOXML different Types have the same name, e.g. CT_Drawing:
cdr:CT_Drawing -> http://schemas.openxmlformats.org/drawingml/2006/chartDrawing
draw-ssdraw:CT_Drawing -> http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing
ssml:CT_Drawing -> http://schemas.openxmlformats.org/spreadsheetml/2006/main
w:CT_Drawing -> http://schemas.openxmlformats.org/wordprocessingml/2006/main
The only distinction is the Namespace they resides in. This is reflected
in this Lib in diffenrent C# namespaces. Here is an overview of the mapping
of the namespaces.
This Mapping shows
using <the C# namespace>; // <abbreviation on schemacentral.com> - <Namespace in OOXML xsd file>
using NPOI.OpenXmlFormats.Spreadsheet; // ssml - http://schemas.openxmlformats.org/spreadsheetml/2006/main
using NPOI.OpenXmlFormats.Dml; // a - http://schemas.openxmlformats.org/drawingml/2006/main
using NPOI.OpenXmlFormats.Dml.Picture; // draw-pic - http://schemas.openxmlformats.org/drawingml/2006/picture
using NPOI.OpenXmlFormats.Dml.Spreadsheet; // draw-ssdraw - http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing
using NPOI.OpenXmlFormats.Vml; // v - urn:schemas-microsoft-com:vml
using NPOI.OpenXmlFormats.Vml.Office; // o - urn:schemas-microsoft-com:office:office
using NPOI.OpenXmlFormats.Vml.Spreadsheet; // x - urn:schemas-microsoft-com:office:excel
using NPOI.OpenXmlFormats.Vml.Presentation; // ppt - urn:schemas-microsoft-com:office:powerpoint
using NPOI.OpenXmlFormats.Vml.Wordprocessing; // wvml - urn:schemas-microsoft-com:office:word