Skip to content

Commit 8d52682

Browse files
committed
Aspose.Cells for Go via C++ 25.1.
1 parent 459a0dc commit 8d52682

File tree

103 files changed

+43551
-1377
lines changed

Some content is hidden

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

103 files changed

+43551
-1377
lines changed

AsposeCellsCWrapper.h

Lines changed: 513 additions & 859 deletions
Large diffs are not rendered by default.

aspose_cells.go

Lines changed: 5659 additions & 90 deletions
Large diffs are not rendered by default.

aspose_cells_charts.go

Lines changed: 1271 additions & 1 deletion
Large diffs are not rendered by default.

aspose_cells_charts_linux.go

Lines changed: 1303 additions & 1 deletion
Large diffs are not rendered by default.

aspose_cells_datamodels.go

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// +build windows
22

3-
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3+
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
44
// Powered by Aspose.Cells.
55
package asposecells
66

@@ -28,6 +28,7 @@ type DataModel struct {
2828
// Returns:
2929
// bool
3030
func (instance *DataModel) IsNull() (bool, error) {
31+
3132
CGoReturnPtr := C.DataModel_IsNull( instance.ptr)
3233
if CGoReturnPtr.error_no != 0 {
3334
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -41,6 +42,7 @@ func (instance *DataModel) IsNull() (bool, error) {
4142
// Returns:
4243
// DataModelRelationshipCollection
4344
func (instance *DataModel) GetRelationships() (*DataModelRelationshipCollection, error) {
45+
4446
CGoReturnPtr := C.DataModel_GetRelationships( instance.ptr)
4547
if CGoReturnPtr.error_no != 0 {
4648
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -56,6 +58,7 @@ func (instance *DataModel) GetRelationships() (*DataModelRelationshipCollection
5658
// Returns:
5759
// DataModelTableCollection
5860
func (instance *DataModel) GetTables() (*DataModelTableCollection, error) {
61+
5962
CGoReturnPtr := C.DataModel_GetTables( instance.ptr)
6063
if CGoReturnPtr.error_no != 0 {
6164
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -87,6 +90,7 @@ type DataModelRelationship struct {
8790
// Returns:
8891
// bool
8992
func (instance *DataModelRelationship) IsNull() (bool, error) {
93+
9094
CGoReturnPtr := C.DataModelRelationship_IsNull( instance.ptr)
9195
if CGoReturnPtr.error_no != 0 {
9296
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -100,6 +104,7 @@ func (instance *DataModelRelationship) IsNull() (bool, error) {
100104
// Returns:
101105
// string
102106
func (instance *DataModelRelationship) GetForeignKeyTable() (string, error) {
107+
103108
CGoReturnPtr := C.DataModelRelationship_GetForeignKeyTable( instance.ptr)
104109
if CGoReturnPtr.error_no != 0 {
105110
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -113,6 +118,7 @@ func (instance *DataModelRelationship) GetForeignKeyTable() (string, error) {
113118
// Returns:
114119
// string
115120
func (instance *DataModelRelationship) GetPrimaryKeyTable() (string, error) {
121+
116122
CGoReturnPtr := C.DataModelRelationship_GetPrimaryKeyTable( instance.ptr)
117123
if CGoReturnPtr.error_no != 0 {
118124
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -126,6 +132,7 @@ func (instance *DataModelRelationship) GetPrimaryKeyTable() (string, error) {
126132
// Returns:
127133
// string
128134
func (instance *DataModelRelationship) GetForeignKeyColumn() (string, error) {
135+
129136
CGoReturnPtr := C.DataModelRelationship_GetForeignKeyColumn( instance.ptr)
130137
if CGoReturnPtr.error_no != 0 {
131138
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -139,6 +146,7 @@ func (instance *DataModelRelationship) GetForeignKeyColumn() (string, error)
139146
// Returns:
140147
// string
141148
func (instance *DataModelRelationship) GetPrimaryKeyColumn() (string, error) {
149+
142150
CGoReturnPtr := C.DataModelRelationship_GetPrimaryKeyColumn( instance.ptr)
143151
if CGoReturnPtr.error_no != 0 {
144152
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -168,6 +176,7 @@ type DataModelRelationshipCollection struct {
168176
// Returns:
169177
// bool
170178
func (instance *DataModelRelationshipCollection) IsNull() (bool, error) {
179+
171180
CGoReturnPtr := C.DataModelRelationshipCollection_IsNull( instance.ptr)
172181
if CGoReturnPtr.error_no != 0 {
173182
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -183,6 +192,7 @@ func (instance *DataModelRelationshipCollection) IsNull() (bool, error) {
183192
// Returns:
184193
// DataModelRelationship
185194
func (instance *DataModelRelationshipCollection) Get(index int32) (*DataModelRelationship, error) {
195+
186196
CGoReturnPtr := C.DataModelRelationshipCollection_Get( instance.ptr, C.int(index))
187197
if CGoReturnPtr.error_no != 0 {
188198
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -197,6 +207,7 @@ func (instance *DataModelRelationshipCollection) Get(index int32) (*DataModelRe
197207
// Returns:
198208
// int32
199209
func (instance *DataModelRelationshipCollection) GetCount() (int32, error) {
210+
200211
CGoReturnPtr := C.DataModelRelationshipCollection_GetCount( instance.ptr)
201212
if CGoReturnPtr.error_no != 0 {
202213
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -226,6 +237,7 @@ type DataModelTable struct {
226237
// Returns:
227238
// bool
228239
func (instance *DataModelTable) IsNull() (bool, error) {
240+
229241
CGoReturnPtr := C.DataModelTable_IsNull( instance.ptr)
230242
if CGoReturnPtr.error_no != 0 {
231243
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -239,6 +251,7 @@ func (instance *DataModelTable) IsNull() (bool, error) {
239251
// Returns:
240252
// string
241253
func (instance *DataModelTable) GetId() (string, error) {
254+
242255
CGoReturnPtr := C.DataModelTable_GetId( instance.ptr)
243256
if CGoReturnPtr.error_no != 0 {
244257
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -252,6 +265,7 @@ func (instance *DataModelTable) GetId() (string, error) {
252265
// Returns:
253266
// string
254267
func (instance *DataModelTable) GetName() (string, error) {
268+
255269
CGoReturnPtr := C.DataModelTable_GetName( instance.ptr)
256270
if CGoReturnPtr.error_no != 0 {
257271
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -265,6 +279,7 @@ func (instance *DataModelTable) GetName() (string, error) {
265279
// Returns:
266280
// string
267281
func (instance *DataModelTable) GetConnectionName() (string, error) {
282+
268283
CGoReturnPtr := C.DataModelTable_GetConnectionName( instance.ptr)
269284
if CGoReturnPtr.error_no != 0 {
270285
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -294,6 +309,7 @@ type DataModelTableCollection struct {
294309
// Returns:
295310
// bool
296311
func (instance *DataModelTableCollection) IsNull() (bool, error) {
312+
297313
CGoReturnPtr := C.DataModelTableCollection_IsNull( instance.ptr)
298314
if CGoReturnPtr.error_no != 0 {
299315
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -309,6 +325,7 @@ func (instance *DataModelTableCollection) IsNull() (bool, error) {
309325
// Returns:
310326
// DataModelTable
311327
func (instance *DataModelTableCollection) Get(index int32) (*DataModelTable, error) {
328+
312329
CGoReturnPtr := C.DataModelTableCollection_Get( instance.ptr, C.int(index))
313330
if CGoReturnPtr.error_no != 0 {
314331
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -323,6 +340,7 @@ func (instance *DataModelTableCollection) Get(index int32) (*DataModelTable, e
323340
// Returns:
324341
// int32
325342
func (instance *DataModelTableCollection) GetCount() (int32, error) {
343+
326344
CGoReturnPtr := C.DataModelTableCollection_GetCount( instance.ptr)
327345
if CGoReturnPtr.error_no != 0 {
328346
err := errors.New(C.GoString(CGoReturnPtr.error_message))

aspose_cells_datamodels_linux.go

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// +build linux
22

3-
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3+
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
44
// Powered by Aspose.Cells.
55
package asposecells
66

@@ -28,6 +28,7 @@ type DataModel struct {
2828
// Returns:
2929
// bool
3030
func (instance *DataModel) IsNull() (bool, error) {
31+
3132
CGoReturnPtr := C.DataModel_IsNull( instance.ptr)
3233
if CGoReturnPtr.error_no != 0 {
3334
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -41,6 +42,7 @@ func (instance *DataModel) IsNull() (bool, error) {
4142
// Returns:
4243
// DataModelRelationshipCollection
4344
func (instance *DataModel) GetRelationships() (*DataModelRelationshipCollection, error) {
45+
4446
CGoReturnPtr := C.DataModel_GetRelationships( instance.ptr)
4547
if CGoReturnPtr.error_no != 0 {
4648
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -56,6 +58,7 @@ func (instance *DataModel) GetRelationships() (*DataModelRelationshipCollection
5658
// Returns:
5759
// DataModelTableCollection
5860
func (instance *DataModel) GetTables() (*DataModelTableCollection, error) {
61+
5962
CGoReturnPtr := C.DataModel_GetTables( instance.ptr)
6063
if CGoReturnPtr.error_no != 0 {
6164
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -87,6 +90,7 @@ type DataModelRelationship struct {
8790
// Returns:
8891
// bool
8992
func (instance *DataModelRelationship) IsNull() (bool, error) {
93+
9094
CGoReturnPtr := C.DataModelRelationship_IsNull( instance.ptr)
9195
if CGoReturnPtr.error_no != 0 {
9296
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -100,6 +104,7 @@ func (instance *DataModelRelationship) IsNull() (bool, error) {
100104
// Returns:
101105
// string
102106
func (instance *DataModelRelationship) GetForeignKeyTable() (string, error) {
107+
103108
CGoReturnPtr := C.DataModelRelationship_GetForeignKeyTable( instance.ptr)
104109
if CGoReturnPtr.error_no != 0 {
105110
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -113,6 +118,7 @@ func (instance *DataModelRelationship) GetForeignKeyTable() (string, error) {
113118
// Returns:
114119
// string
115120
func (instance *DataModelRelationship) GetPrimaryKeyTable() (string, error) {
121+
116122
CGoReturnPtr := C.DataModelRelationship_GetPrimaryKeyTable( instance.ptr)
117123
if CGoReturnPtr.error_no != 0 {
118124
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -126,6 +132,7 @@ func (instance *DataModelRelationship) GetPrimaryKeyTable() (string, error) {
126132
// Returns:
127133
// string
128134
func (instance *DataModelRelationship) GetForeignKeyColumn() (string, error) {
135+
129136
CGoReturnPtr := C.DataModelRelationship_GetForeignKeyColumn( instance.ptr)
130137
if CGoReturnPtr.error_no != 0 {
131138
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -139,6 +146,7 @@ func (instance *DataModelRelationship) GetForeignKeyColumn() (string, error)
139146
// Returns:
140147
// string
141148
func (instance *DataModelRelationship) GetPrimaryKeyColumn() (string, error) {
149+
142150
CGoReturnPtr := C.DataModelRelationship_GetPrimaryKeyColumn( instance.ptr)
143151
if CGoReturnPtr.error_no != 0 {
144152
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -168,6 +176,7 @@ type DataModelRelationshipCollection struct {
168176
// Returns:
169177
// bool
170178
func (instance *DataModelRelationshipCollection) IsNull() (bool, error) {
179+
171180
CGoReturnPtr := C.DataModelRelationshipCollection_IsNull( instance.ptr)
172181
if CGoReturnPtr.error_no != 0 {
173182
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -183,6 +192,7 @@ func (instance *DataModelRelationshipCollection) IsNull() (bool, error) {
183192
// Returns:
184193
// DataModelRelationship
185194
func (instance *DataModelRelationshipCollection) Get(index int32) (*DataModelRelationship, error) {
195+
186196
CGoReturnPtr := C.DataModelRelationshipCollection_Get( instance.ptr, C.int(index))
187197
if CGoReturnPtr.error_no != 0 {
188198
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -197,6 +207,7 @@ func (instance *DataModelRelationshipCollection) Get(index int32) (*DataModelRe
197207
// Returns:
198208
// int32
199209
func (instance *DataModelRelationshipCollection) GetCount() (int32, error) {
210+
200211
CGoReturnPtr := C.DataModelRelationshipCollection_GetCount( instance.ptr)
201212
if CGoReturnPtr.error_no != 0 {
202213
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -226,6 +237,7 @@ type DataModelTable struct {
226237
// Returns:
227238
// bool
228239
func (instance *DataModelTable) IsNull() (bool, error) {
240+
229241
CGoReturnPtr := C.DataModelTable_IsNull( instance.ptr)
230242
if CGoReturnPtr.error_no != 0 {
231243
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -239,6 +251,7 @@ func (instance *DataModelTable) IsNull() (bool, error) {
239251
// Returns:
240252
// string
241253
func (instance *DataModelTable) GetId() (string, error) {
254+
242255
CGoReturnPtr := C.DataModelTable_GetId( instance.ptr)
243256
if CGoReturnPtr.error_no != 0 {
244257
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -252,6 +265,7 @@ func (instance *DataModelTable) GetId() (string, error) {
252265
// Returns:
253266
// string
254267
func (instance *DataModelTable) GetName() (string, error) {
268+
255269
CGoReturnPtr := C.DataModelTable_GetName( instance.ptr)
256270
if CGoReturnPtr.error_no != 0 {
257271
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -265,6 +279,7 @@ func (instance *DataModelTable) GetName() (string, error) {
265279
// Returns:
266280
// string
267281
func (instance *DataModelTable) GetConnectionName() (string, error) {
282+
268283
CGoReturnPtr := C.DataModelTable_GetConnectionName( instance.ptr)
269284
if CGoReturnPtr.error_no != 0 {
270285
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -294,6 +309,7 @@ type DataModelTableCollection struct {
294309
// Returns:
295310
// bool
296311
func (instance *DataModelTableCollection) IsNull() (bool, error) {
312+
297313
CGoReturnPtr := C.DataModelTableCollection_IsNull( instance.ptr)
298314
if CGoReturnPtr.error_no != 0 {
299315
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -309,6 +325,7 @@ func (instance *DataModelTableCollection) IsNull() (bool, error) {
309325
// Returns:
310326
// DataModelTable
311327
func (instance *DataModelTableCollection) Get(index int32) (*DataModelTable, error) {
328+
312329
CGoReturnPtr := C.DataModelTableCollection_Get( instance.ptr, C.int(index))
313330
if CGoReturnPtr.error_no != 0 {
314331
err := errors.New(C.GoString(CGoReturnPtr.error_message))
@@ -323,6 +340,7 @@ func (instance *DataModelTableCollection) Get(index int32) (*DataModelTable, e
323340
// Returns:
324341
// int32
325342
func (instance *DataModelTableCollection) GetCount() (int32, error) {
343+
326344
CGoReturnPtr := C.DataModelTableCollection_GetCount( instance.ptr)
327345
if CGoReturnPtr.error_no != 0 {
328346
err := errors.New(C.GoString(CGoReturnPtr.error_message))

0 commit comments

Comments
 (0)