📚
OpenXML-Office
v4.x (Alpha)
v4.x (Alpha)
  • Welcome
    • Getting Started
    • Introduction
    • Benchmark🚧🛠️
    • Status Badge 🚧🛠️
    • Privacy Policy
    • License
  • Spreadsheet
    • Excel
    • Worksheet🚧🛠️
    • Shape🚧🛠️
    • Picture🚧🛠️
    • Table🚧🛠️
    • Chart🚧🛠️
      • Area
      • Bar
      • Column
      • Line
      • Pie
      • Scatter
      • Combo
    • Style🚧🛠️
    • Shared🚧🛠️
  • Presentation🚧🛠️
    • PowerPoint🚧🛠️
    • Slide🚧🛠️
    • Shape🚧🛠️
    • Picture🚧🛠️
    • Textbox🚧🛠️
    • Table🚧🛠️
    • Chart🚧🛠️
      • Area
      • Bar
      • Column
      • Line
      • Pie
      • Scatter
      • Combo
      • Waterfall
  • Document🚧🛠️
    • Word🚧🛠️
    • Shape🚧🛠️
    • Picture🚧🛠️
    • Table🚧🛠️
    • Chart🚧🛠️
  • FFI🚧🛠️
    • Spreadsheet🚧🛠️
    • Presentation 🚧🛠️
    • Document🚧🛠️
Powered by GitBook
On this page
  • Version v4.x is rewrite on current package in rust along with cross language support. Very much in active development in all areas including this documentation.
  • Version v2.x will be the stable build code.
  • Package Version Details

Was this helpful?

  1. Welcome

Getting Started

The page furnishes comprehensive installation instructions, guiding you through the process of incorporating the package dependency.

NextIntroduction

Last updated 1 month ago

Was this helpful?

Repository URL


Version v4.x is rewrite on current package in rust along with cross language support. Very much in active development in all areas including this documentation.


Version v2.x will be the stable build code.

Bugfix in v2.x will br priority till v4.x is released


Package Version Details

Feel free to start discussion for any new feature requirement.

The official release Crate package for openxml-office on Crates.io:

Package
Maintenance
Current Stable Release
Current Alpha Release

draviavemal-openxml_office

Active

The official release NuGet packages for openxml-office on NuGet.org:

Note: draviavemal.openxml-office contains all old module included in same package

Package
Maintenance
Current Stable Release
Current Alpha Release

draviavemal.openxml-office

Active

OpenXMLOffice.Presentation

InActive

OpenXMLOffice.Spreadsheet

InActive

OpenXMLOffice.Document

InActive

Package
Maintenance
Current Stable Release
Current Alpha Release

draviavemal-openxml_office

Active

Phase 2

Phase 2

Phase 2

The library is available on crates.io. You can install it using the following command

#Using Package Manager
cargo add draviavemal-openxml_office
# Cargo.toml add below details
draviavemal-openxml_office = "4.0.0-alpha.5"

The library is available on NuGet. You can install it using the following command

#Using Package Manager
Install-Package draviavemal.openxml-office
#Using .NET CLI
dotnet add package draviavemal.openxml-office
# For Pre Release
dotnet add package draviavemal.openxml-office --prerelease

Phase 2

Phase 2

Phase 2

Once Installed the package should be direct use availabel like below example. More samples can be seen in test project's of the repo or check other parts of the documents

// Create new Excel File in memory
let mut file = crate::spreadsheet_2007::Excel::new(
        None,
        crate::spreadsheet_2007::ExcelPropertiesModel::default(),
    ).context("Create New File Failed")?;

// Save the created file in destination path
file.save_as("result.xlsx").context("Save File Failed")?;
using OpenXMLOffice.Spreadsheet_2007;

public static main(){
    Excel excel = new();
    excel.AddSheet("Sheet1");
    excel.SaveAs(string.Format("../../test-{0}.xlsx", DateTime.Now.ToString("yyyy-MM-dd-HH-mm-ss")));
}

Phase 2

Phase 2

Phase 2

// Create new Presentation File in memory
let file = crate::presentation_2007::PowerPoint::new(
        None,
        crate::presentation_2007::PowerPointPropertiesModel::default(),
    ).context("Create New File Failed");

// Save the created file in destination path
file.save_as(&get_save_file(None)).context("Failed to save Empty Power Point");
using OpenXMLOffice.Presentation_2007;

public static main(){
    PowerPoint powerPoint = new();
    powerPoint.AddSlide(PresentationConstants.SlideLayoutType.BLANK);
    powerPoint.SaveAs(string.Format("../../test-{0}.pptx", DateTime.Now.ToString("yyyy-MM-dd-HH-mm-ss")));
}

Phase 2

Phase 2

Phase 2

// Create new Word File in memory
let file = crate::document_2007::Word::new(
        None,
        crate::document_2007::WordPropertiesModel::default()
     ).context("Create New File Failed");
        
// Save the created file in destination path
file.save_as(&get_save_file(None)).context("Save Result Failed");
using OpenXMLOffice.Document_2007;

public static main(){
    Word word = new();
    word.SaveAs(string.Format("../../test-{0}.docx", DateTime.Now.ToString("yyyy-MM-dd-HH-mm-ss")));
}

Phase 2

Phase 2

Phase 2

https://github.com/DraviaVemal/openxml-office
Discussion Channel
Crates.io Version
Crates.io Version
Crates.io Version
Crates.io Version