Skip to content

Commit a7ea566

Browse files
Prepare to release
1 parent 9d34ca3 commit a7ea566

File tree

742 files changed

+102366
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

742 files changed

+102366
-0
lines changed

README — копия.md

Lines changed: 247 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,247 @@
1+
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.
2+
3+
# Word Document Processing in the Cloud
4+
5+
[Aspose.Words Cloud SDK for Go](https://products.aspose.cloud/words/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.
6+
7+
Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/wordscloud/Developer+Guide) & [API Reference](https://apireference.aspose.cloud/words/) to know all about Aspose.Words Cloud API.
8+
9+
## Document Processing Features
10+
11+
- Convert between various document-related formats, including Word to PDF & vice versa.
12+
- Mail merge and report generation in the Cloud.
13+
- Split & merge Word documents.
14+
- Access Word document metadata.
15+
- Find and replace text.
16+
- Add & remove watermarks and protection.
17+
- Read & write access to Document Object Model.
18+
19+
## Enhancements in Version 22.1
20+
21+
- Added 'FieldOptions.FieldUpdateCultureName' to set Culture for fields
22+
- Added 'DocumentEntry.Password' to set an encrypted password for appending document
23+
- Added 'encryptedPassword2' query parameter to CompareDocuments to set an encrypted password for the second comparing document
24+
25+
26+
## Enhancements in Version 21.12
27+
28+
- Added FieldOptions parameter to mail merge operations
29+
- Added timeout parameter to api configuration
30+
31+
32+
## Enhancements in Version 21.11
33+
34+
35+
36+
## Enhancements in Version 21.10
37+
38+
- Removed 'GraphicsQualityOptions' image save option as it no longer supported.
39+
- Added query parameter 'displayIntermediateResults' for batch requests. If 'false', the last response in batch will be returned only. Default is 'true'
40+
- Added 'JsonDataLoadOptions' and 'XmlDataLoadOptions' to 'ReportEngineSettings'
41+
42+
43+
## Enhancements in Version 21.8
44+
45+
- Added new api methods to get, insert, update or delete custom xml parts from documents.
46+
- Added parameter 'ResultDocumentFormat' to Compare API
47+
- Added 'ExportLanguageToSpanTag' pdf save option
48+
- Added 'FlatOpcXmlMappingOnly' save option
49+
50+
51+
## Enhancements in Version 21.7
52+
53+
- ImlRenderingMode option introduced witch is used to determine how ink (InkML) objects are rendered
54+
- MaxCharactersPerLine option introduced which is used to specify the maximum number of characters per one line
55+
- Added new API method to get a RSA public key to encrypt document passwords
56+
- Added encryptedPassword common query option to pass an encrypted document password
57+
58+
59+
## Enhancements in Version 21.6
60+
61+
- Implemented beta version of CompareDocumentOnline feature with both document sending in request
62+
- CompareDocument method now can handle PDF files
63+
- AcceptAllRevisionsBeforeComparison option introduced which is used to specify if accept all revisions before comparison
64+
- Added support of online methods
65+
- Added support of DependOn feature for batch requests
66+
- Added aupport of ResultOf feature for batch requests
67+
68+
## Enhancements in Version 21.5
69+
70+
- Update dependencies in sdk
71+
72+
73+
## Enhancements in Version 21.4
74+
75+
- Removed obsolete pdf save option 'EscapeUri'
76+
- SaveOptions now contains CustomTimeZoneInfo to set custom timezone when SdtType.Date structured document tag updated from custom XML
77+
- Url of child requests in batch can be full now (earlier it can be only relative)
78+
- Added 'RquestId' header to all responses
79+
80+
81+
## Enhancements in Version 21.3
82+
83+
- Added 'UpdateCreatedTimeProperty' save option
84+
- Added Tables into HeaderFooter so it's possible to address paragraphs inside table which is located in headerfooter (sections/0/headersfooters/1/tables/0/rows/0/cells/0/paragraphs/0)
85+
86+
87+
## Enhancements in Version 21.2
88+
89+
- Added delete all comments method
90+
91+
92+
## Enhancements in Version 21.1
93+
94+
- Added online version for all API methods
95+
- Refactoring of Go SDK, all API method signatures are changed
96+
- Added Batch API feature
97+
98+
## Enhancements in Version 20.11
99+
100+
- In configuration json file appSid / appKey has been replaced to clientId / clientSecret.
101+
- In Words API initialization methods clientId parameter precedes clientSecret parameter.
102+
- Fixed the problem with object updating methods (they ignored parameters with default type values).
103+
104+
## Enhancements in Version 20.10
105+
106+
- Internal API changes.
107+
108+
109+
## Enhancements in Version 20.9
110+
111+
- Added Batch API feature
112+
113+
114+
## Enhancements in Version 20.8
115+
116+
- Added new api method (PUT '/words/{name}/compatibility/optimize') which is allows to optimize the document contents as well as default Aspose.Words behavior to a particular versions of MS Word
117+
- Added 'ApplyBaseDocumentHeadersAndFootersToAppendingDocuments' option to 'DocumentEntryList' for AppendDocument API
118+
- WithoutNodePath methods have been removed, pass null values instead
119+
120+
121+
## Enhancements in Version 20.7
122+
123+
- Added 'Markdown' save format
124+
- Added endpoint to update paragraph format without node path (PUT '/words/{name}/paragraphs/{index}/format')
125+
126+
127+
## Enhancements in Version 20.6
128+
129+
- Added new methods:
130+
- DeleteAllParagraphTabStopsWithoutNodePath
131+
- DeleteParagraphTabStopWithoutNodePath
132+
- GetParagraphTabStopsWithoutNodePath
133+
- InsertOrUpdateParagraphTabStopWithoutNodePath
134+
- InsertParagraphWithoutNodePath
135+
- UpdateParagraphFormatWithoutNodePath
136+
- UpdateParagraphListFormatWithoutNodePath
137+
- DeleteParagraphListFormatWithoutNodePath
138+
- DrawingObject related methods have been changed body content. Special request classes are introduced instead of strings.
139+
- InsertOrUpdateParagraphTabStop, DeleteParagraphTabStop methods have been changed parameter order
140+
- OoxmlSaveOptionsData.CompressionLevel property has been added
141+
142+
143+
## Enhancements in Version 20.5
144+
145+
- Added methods to work with Word document lists
146+
- GetLists
147+
- GetList
148+
- InsertList
149+
- UpdateList
150+
- UpdateListLevel
151+
- Added methods to work with styles
152+
- GetStyles
153+
- UpdateStyle
154+
- InsertStyle
155+
- CopyStyle
156+
- GetStyleFromDocumentElement
157+
- ApplyStyleToDocumentElement
158+
- Added methods to work with paragraph list format
159+
- GetParagraphListFormat
160+
- GetParagraphListFormatWithoutNodePath
161+
- UpdateParagraphListFormat
162+
- DeleteParagraphListFormat
163+
- Added methods to work with paragraph tab stops
164+
- GetParagraphTabStops
165+
- InsertOrUpdateParagraphTabStop
166+
- DeleteAllParagraphTabStops
167+
- DeleteParagraphTabStop
168+
- Added methods to build reports
169+
- BuildReport
170+
- BuildReportOnline
171+
- Added Shading property to ParagraphFormat
172+
173+
174+
## Read & Write Document Formats
175+
176+
**Microsoft Word:** DOC, DOCX, RTF, DOT, DOTX, DOTM, FlatOPC (XML)
177+
**OpenOffice:** ODT, OTT
178+
**WordprocessingML:** XML
179+
**Web:** HTML, MHTML, HtmlFixed
180+
**Text:** TXT
181+
**Fixed Layout:** PDF
182+
183+
## Save Document As
184+
185+
**Fixed Layout:** PDF/A, XPS, OpenXPS, PS
186+
**Images:** JPEG, PNG, BMP, SVG, TIFF, EMF
187+
**Others:** PCL
188+
189+
## Getting Started with Aspose.Words Cloud SDK for Go
190+
191+
Firstly, create an account at [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps) to get your application information and free quota to use the API.
192+
193+
#### Install Aspose.Words-Cloud
194+
195+
From Visual Stuio Code:
196+
197+
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
198+
199+
From the command line:
200+
201+
go get -v github.com/aspose-words-cloud/aspose-words-cloud-go/2007/api
202+
203+
The complete source code is available at [GitHub Repository](https://github.com/aspose-words-cloud/aspose-words-cloud-go).
204+
205+
### SDK Dependencies
206+
207+
The libraray doesn't uses any non-Google Golang packages.
208+
209+
## Sample usage via the SDK
210+
211+
The examples below show how your application have to initiate and get a text of the first paragraph using Aspose.Words-Cloud library:
212+
213+
Config.json file:
214+
```csharp
215+
{
216+
"ClientId": "your client id",
217+
"ClientSecret": "your client secret",
218+
"BaseUrl": "https://api.aspose.cloud"
219+
}
220+
```
221+
Go code:
222+
223+
```
224+
// Start README example
225+
226+
// init words cloud api
227+
config, _ := models.NewConfiguration(configFilePath)
228+
wordsApi, ctx, _ := api.CreateWordsApi(config)
229+
230+
// upload test.docx to a cloud
231+
// remote.docx is a name in the cloud
232+
file, _ := os.Open(localFilePath)
233+
wordsApi.UploadFile(ctx, file, remotePath, nil)
234+
235+
// get a text for the first paragraph of the first section
236+
options := map[string]interface{}{
237+
"folder": remoteFolder,
238+
}
239+
240+
result, _, _ := wordsApi.GetParagraphs(ctx, remoteName, options)
241+
242+
fmt.Println(result.Paragraphs.ParagraphLinkList[0].Text)
243+
244+
// End README example
245+
```
246+
247+
[Product Page](https://products.aspose.cloud/words/go) | [Documentation](https://docs.aspose.cloud/display/wordscloud/Home) | [API Reference](https://apireference.aspose.cloud/words/) | [Code Samples](https://github.com/aspose-words-cloud/aspose-words-cloud-go) | [Blog](https://blog.aspose.cloud/category/words/) | [Free Support](https://forum.aspose.cloud/c/words) | [Free Trial](https://dashboard.aspose.cloud/#/apps)

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/w
1616
- Add & remove watermarks and protection.
1717
- Read & write access to Document Object Model.
1818

19+
## Enhancements in Version 22.1
20+
21+
- Added 'FieldOptions.FieldUpdateCultureName' to set Culture for fields
22+
- Added 'DocumentEntry.Password' to set an encrypted password for appending document
23+
- Added 'encryptedPassword2' query parameter to CompareDocuments to set an encrypted password for the second comparing document
24+
25+
1926
## Enhancements in Version 21.12
2027

2128
- Added FieldOptions parameter to mail merge operations

v2201/.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Launch",
9+
"type": "go",
10+
"request": "launch",
11+
"mode": "auto",
12+
"program": "${fileDirname}",
13+
"env": {},
14+
"args": []
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)