![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
github.com/aspose-words-cloud/aspose-words-cloud-go/v2107
Aspose.Wors Cloud SDK for Go wraps Aspose.Words REST API so you could seamlessly integrate Microsoft Word® document generation, manipulation, conversion & inspection features into your own Go applications.
Aspose.Words Cloud SDK for Go allows to work with document headers, footers, page numbering, tables, sections, document comments, drawing objects, FormFields, fonts, hyperlinks, ranges, paragraphs, math objects, watermarks, track changes and document protection. It also assists in appending documents, splitting documents as well as converting document to other supported file formats.
Feel free to explore the Developer's Guide & API Reference to know all about Aspose.Words Cloud API.
Microsoft Word: DOC, DOCX, RTF, DOT, DOTX, DOTM, FlatOPC (XML) OpenOffice: ODT, OTT WordprocessingML: XML Web: HTML, MHTML, HtmlFixed Text: TXT Fixed Layout: PDF
Fixed Layout: PDF/A, XPS, OpenXPS, PS Images: JPEG, PNG, BMP, SVG, TIFF, EMF Others: PCL
Firstly, create an account at Aspose for Cloud to get your application information and free quota to use the API.
From Visual Stuio Code:
Add "github.com/aspose-words-cloud/aspose-words-cloud-go/v2007/api" and "github.com/aspose-words-cloud/aspose-words-cloud-go/v2007/api/models" in the import section of your code
From the command line:
go get -v github.com/aspose-words-cloud/aspose-words-cloud-go/2007/api
The complete source code is available at GitHub Repository.
The libraray doesn't uses any non-Google Golang packages.
The examples below show how your application have to initiate and get a text of the first paragraph using Aspose.Words-Cloud library:
Config.json file:
{
"ClientId": "your client id",
"ClientSecret": "your client secret",
"BaseUrl": "https://api.aspose.cloud"
}
Go code:
// Start README example
// init words cloud api
config, _ := models.NewConfiguration(configFilePath)
wordsApi, ctx, _ := api.CreateWordsApi(config)
// upload test.docx to a cloud
// remote.docx is a name in the cloud
file, _ := os.Open(localFilePath)
wordsApi.UploadFile(ctx, file, remotePath, nil)
// get a text for the first paragraph of the first section
options := map[string]interface{}{
"folder": remoteFolder,
}
result, _, _ := wordsApi.GetParagraphs(ctx, remoteName, options)
fmt.Println(result.Paragraphs.ParagraphLinkList[0].Text)
// End README example
Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.