Primo.Office.OdfOxml.Linux
1.2.5
dotnet add package Primo.Office.OdfOxml.Linux --version 1.2.5
NuGet\Install-Package Primo.Office.OdfOxml.Linux -Version 1.2.5
<PackageReference Include="Primo.Office.OdfOxml.Linux" Version="1.2.5" />
paket add Primo.Office.OdfOxml.Linux --version 1.2.5
#r "nuget: Primo.Office.OdfOxml.Linux, 1.2.5"
// Install Primo.Office.OdfOxml.Linux as a Cake Addin #addin nuget:?package=Primo.Office.OdfOxml.Linux&version=1.2.5 // Install Primo.Office.OdfOxml.Linux as a Cake Tool #tool nuget:?package=Primo.Office.OdfOxml.Linux&version=1.2.5
About
The Primo RPA robot Linux uses elements of the package to automate the processing of Open Document Format for Office Applications (ODF) and Office Open XML (also informally known as OOXML) document and workbook files.
How to Use
In Primo RPA studio Linux, create a project that will be executed by Primo RPA robot Linux. Install this package via the ".Dependencies → Manage Dependencies" menu; the "ODF/OXML - Documents" and "ODF/OXML - Tables" nodes with package elements will appear in Elements tree .
Documents
The "ODF document" element is a container for all other elements that are children of the "ODF/OXML - Documents" node. This element is used to connect to ODF/OXML document.
In pure code projects use the element as follows:
//wf: [LTools.Common.Model.WorkflowData] parent algorithm link
//fileName - File path: [String] Path to a text document file (c:\folder\file.odt)
//bytes - Byte array: [byte[]] Document byte array
//pass - Password: [String] Document password
Primo.Office.OdfOxml.WordApp app = Primo.Office.OdfOxml.WordApp.Init(wf, fileName, [interop], [pass]);
Primo.Office.OdfOxml.WordApp app = Primo.Office.OdfOxml.WordApp.Init(wf, bytes, [interop], [pass]);
All other child elements of the "RDF/TO XML - Documents" node should be placed inside the "ODF document" container to process the document. "Find text" element in pure code:
//Searches for specified text in a document.
//Properties
//app - [Primo.Office.OdfOxml.WordApp] ODF document application
//text - Text: [String] Text
List<int> idxs = app.FindText(text);
Workbooks
The "ODF workbook" element is a container for all other elements that are children of the "ODF/OXML - Tables" node. This element is used to connect to ODF/OXML workbook.
In pure code projects use the element as follows:
//wf: [LTools.Common.Model.WorkflowData] parent algorithm link
//fileName - File path: [String] Path to workbook document (c:\folder\file.ods)
//bytes - Byte array: [byte[]] Workbook bytes array
//csvDel - Delimiter: [String] Column delimiter
//interop - [LTools.Office.Model.InteropTypes] Driver: Connection driver type
//pass - Password: [String] Document password
Primo.Office.OdfOxml.ExcelApp app = Primo.Office.OdfOxml.ExcelApp.Init(wf, fileName, [csvDel], [interop], [loadAddIns], [isAttach], [pass]);
Primo.Office.OdfOxml.ExcelApp app = Primo.Office.OdfOxml.ExcelApp.Init(wf, bytes, [csvDel], [interop], [loadAddIns], [pass]);
All other child elements of the "RDF/TO XML - Tables" node should be placed inside the "ODF workbook" container to process the document.
"Add sheet" element in pure code:
//Element creates a new sheet in a workbook.
//Properties
//app - [Primo.Office.OdfOxml.ExcelApp] Workbook application
//sheet - Name: [String] Sheet name
//sheetIdx - Index: [Int32] Sheet index
app.SheetAdd(sheet, [sheetIdx]);
Key Features
- A large set of elements for diverse and high-quality processing of documents and workbooks
- High performance
- To use the package, Primo RPA Studio Linux must be installed, details
Main Types
- Primo.Office.OdfOxml.WordApp
- Primo.Office.OdfOxml.ExcelApp
Feedback
Bug reports and contributions are welcome at Primo RPA chat
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.