- Convert Spreadsheet
Aspose.Cells for Go via C++ Toolkits is a wrapper toolkit based on Aspose.Cells for Go via C++, designed to provide more Go-idiomatic APIs for Excel document processing. It makes Excel manipulation simpler and more efficient in Go projects.
While the official Go via C++ version of Aspose.Cells is powerful, its API design style leans towards C++, making it somewhat cumbersome to use in Go projects. This toolkit maintains all the original powerful features while providing:
- Go-Style APIs: Function naming and calling conventions that follow Go idioms
- Optimized Error Handling: Unified error handling mechanism
- Common Features Integration: Encapsulation of frequently used Excel operations
- Windows x64
- Linux x64
- Go 1.16 or greater
- Aspose.Cells for Go via C++ v26.1.0
Create a directory for your project and a main.go file within. Add the following code to your main.go.
package main
import (
"github.com/aspose-cells/aspose-cells-go-cpp-toolkits/converter"
"github.com/aspose-cells/aspose-cells-go-cpp-toolkits/core"
"os"
)
func main() {
core.SetLicense(os.Getenv("LicensePath"))
converter.ConvertFile("TestData/Source/BookText.xlsx", "TestData/Output/output1.pdf")
converter.ConvertFile("TestData/Source/BookText.xlsx", "TestData/Output/output1.md")
}go mod init mainmodule github.com/aspose-cells/aspose-cells-go-cpp-toolkits
go 1.13
require github.com/aspose-cells/aspose-cells-go-cpp/v26 v26.1.0
go mod tidySet your PATH to point to the shared libraries in Aspose.Cells for Go via C++ in your current command shell.
$env:Path = $env:Path+ ";${env:GOPATH}\github.com\aspose-cells\aspose-cells-go-cpp\v26@v26.1.0\lib\win_x86_64\"| Format | Description | Load | Save |
|---|---|---|---|
| XLS | Excel 95/5.0 - 2003 Workbook. | √ | √ |
| XLSX | Office Open XML SpreadsheetML Workbook or template file, with or without macros. | √ | √ |
| XLSB | Excel Binary Workbook. | √ | √ |
| XLSM | Excel Macro-Enabled Workbook. | √ | √ |
| XLT | Excel 97 - Excel 2003 Template. | √ | √ |
| XLTX | Excel Template. | √ | √ |
| XLTM | Excel Macro-Enabled Template. | √ | √ |
| XLAM | An Excel Macro-Enabled Add-In file that's used to add new functions to Excel. | √ | |
| CSV | CSV (Comma Separated Value) file. | √ | √ |
| TSV | TSV (Tab-separated values) file. | √ | √ |
| TXT | Delimited plain text file. | √ | √ |
| HTML | HTML format. | √ | √ |
| MHTML | MHTML file. | √ | √ |
| ODS | ODS (OpenDocument Spreadsheet). | √ | √ |
| JSON | JavaScript Object Notation | √ | √ |
| DIF | Data Interchange Format. | √ | |
| Adobe Portable Document Format. | √ | ||
| XPS | XML Paper Specification Format. | √ | |
| SVG | Scalable Vector Graphics Format. | √ | |
| TIFF | Tagged Image File Format | √ | |
| PNG | Portable Network Graphics Format | √ | |
| BMP | Bitmap Image Format | √ | |
| EMF | Enhanced metafile Format | √ | |
| JPEG | JPEG is a type of image format that is saved using the method of lossy compression. | √ | |
| GIF | Graphical Interchange Format | √ | |
| MARKDOWN | Represents a markdown document. | √ | |
| SXC | An XML based format used by OpenOffice and StarOffice | √ | √ |
| FODS | This is an Open Document format stored as flat XML. | √ | √ |
| DOCX | A well-known format for Microsoft Word documents that is a combination of XML and binary files. | √ | |
| PPTX | The PPTX format is based on the Microsoft PowerPoint open XML presentation file format. | √ |
You can use Aspose.Cells for Go via C++ Toolkits free of cost for evaluation.The evaluation version provides almost all functionality of the product with certain limitations. The same evaluation version becomes licensed when you purchase a license and add a couple of lines of code to apply the license. If you want to test Aspose.Cells for Go via C++ without evaluation version limitations, you can also try a 30-Day Temporary License. Please refer to How to get a Temporary License?
The evaluation version of Aspose. Cells for Go Toolset provides complete product functionality. An evaluation watermark will be inserted when saving the file. And the evaluation version can open up to 100 files.
A commercial license key is required in a production environment. Please contact us to purchase a commercial license if you want to publish application to the product server.