Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2127 commits
Select commit Hold shift + click to select a range
a53bce9
Update index.json
agent-aspose-cells-examples Jun 26, 2026
78b3525
Update index.json
agent-aspose-cells-examples Jun 26, 2026
7262efb
Update index.json
agent-aspose-cells-examples Jun 26, 2026
1838aca
Update index.json
agent-aspose-cells-examples Jun 26, 2026
0373033
Update index.json
agent-aspose-cells-examples Jun 26, 2026
7387b6c
Update index.json
agent-aspose-cells-examples Jun 26, 2026
e152185
Update index.json
agent-aspose-cells-examples Jun 26, 2026
68b6e0c
Update index.json
agent-aspose-cells-examples Jun 26, 2026
51c8bc2
Update index.json
agent-aspose-cells-examples Jun 26, 2026
43685d5
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9a4085f
Update index.json
agent-aspose-cells-examples Jun 26, 2026
6e3bc32
Update index.json
agent-aspose-cells-examples Jun 26, 2026
0f22e5e
Update index.json
agent-aspose-cells-examples Jun 26, 2026
dd4fcbb
Update index.json
agent-aspose-cells-examples Jun 26, 2026
7ef61f5
Update index.json
agent-aspose-cells-examples Jun 26, 2026
6a135b1
Update index.json
agent-aspose-cells-examples Jun 26, 2026
af4590c
Update index.json
agent-aspose-cells-examples Jun 26, 2026
f9c722d
Update index.json
agent-aspose-cells-examples Jun 26, 2026
b3e5f98
Update index.json
agent-aspose-cells-examples Jun 26, 2026
780fb4c
Update index.json
agent-aspose-cells-examples Jun 26, 2026
f70bfe2
Update index.json
agent-aspose-cells-examples Jun 26, 2026
379c71b
Update index.json
agent-aspose-cells-examples Jun 26, 2026
fdbf79d
Update index.json
agent-aspose-cells-examples Jun 26, 2026
3807144
Update index.json
agent-aspose-cells-examples Jun 26, 2026
4a5f82b
Update index.json
agent-aspose-cells-examples Jun 26, 2026
7cc5e39
Update index.json
agent-aspose-cells-examples Jun 26, 2026
3df2b3f
Update index.json
agent-aspose-cells-examples Jun 26, 2026
147d61d
Update index.json
agent-aspose-cells-examples Jun 26, 2026
8fa46af
Update index.json
agent-aspose-cells-examples Jun 26, 2026
13286ca
Update index.json
agent-aspose-cells-examples Jun 26, 2026
6c088cf
Update index.json
agent-aspose-cells-examples Jun 26, 2026
4a2e2e0
Update index.json
agent-aspose-cells-examples Jun 26, 2026
6fdadd1
Update index.json
agent-aspose-cells-examples Jun 26, 2026
3537b27
Update index.json
agent-aspose-cells-examples Jun 26, 2026
13e6560
Update index.json
agent-aspose-cells-examples Jun 26, 2026
acfec33
Update index.json
agent-aspose-cells-examples Jun 26, 2026
1a62cd7
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9354469
Update index.json
agent-aspose-cells-examples Jun 26, 2026
341205a
Update index.json
agent-aspose-cells-examples Jun 26, 2026
083fdb5
Update index.json
agent-aspose-cells-examples Jun 26, 2026
7028979
Update index.json
agent-aspose-cells-examples Jun 26, 2026
e4c07f6
Update index.json
agent-aspose-cells-examples Jun 26, 2026
b307240
Update index.json
agent-aspose-cells-examples Jun 26, 2026
2e57ac7
Update index.json
agent-aspose-cells-examples Jun 26, 2026
b487f0d
Update index.json
agent-aspose-cells-examples Jun 26, 2026
c6238cf
Update index.json
agent-aspose-cells-examples Jun 26, 2026
83bccff
Update index.json
agent-aspose-cells-examples Jun 26, 2026
c35a4c2
Update index.json
agent-aspose-cells-examples Jun 26, 2026
11745e7
Update index.json
agent-aspose-cells-examples Jun 26, 2026
64bbbf6
Update index.json
agent-aspose-cells-examples Jun 26, 2026
c9ac8a1
Update index.json
agent-aspose-cells-examples Jun 26, 2026
31e2533
Update index.json
agent-aspose-cells-examples Jun 26, 2026
12de2f5
Update index.json
agent-aspose-cells-examples Jun 26, 2026
0106a51
Update index.json
agent-aspose-cells-examples Jun 26, 2026
62546a0
Update index.json
agent-aspose-cells-examples Jun 26, 2026
d7ec4e9
Update index.json
agent-aspose-cells-examples Jun 26, 2026
d601800
Update index.json
agent-aspose-cells-examples Jun 26, 2026
5d243ba
Update index.json
agent-aspose-cells-examples Jun 26, 2026
c593a1d
Update index.json
agent-aspose-cells-examples Jun 26, 2026
dd81fc9
Update index.json
agent-aspose-cells-examples Jun 26, 2026
5c2a4f5
Update index.json
agent-aspose-cells-examples Jun 26, 2026
712bb8c
Update index.json
agent-aspose-cells-examples Jun 26, 2026
146435f
Update index.json
agent-aspose-cells-examples Jun 26, 2026
d34ab38
Update index.json
agent-aspose-cells-examples Jun 26, 2026
330dd08
Update index.json
agent-aspose-cells-examples Jun 26, 2026
fa5def4
Update index.json
agent-aspose-cells-examples Jun 26, 2026
dc3a055
Update index.json
agent-aspose-cells-examples Jun 26, 2026
a912d69
Update index.json
agent-aspose-cells-examples Jun 26, 2026
d6b6cda
Update index.json
agent-aspose-cells-examples Jun 26, 2026
75b5bd4
Update index.json
agent-aspose-cells-examples Jun 26, 2026
7552bb7
Update index.json
agent-aspose-cells-examples Jun 26, 2026
c8f2e7f
Update index.json
agent-aspose-cells-examples Jun 26, 2026
1617010
Update index.json
agent-aspose-cells-examples Jun 26, 2026
b3b35cb
Update index.json
agent-aspose-cells-examples Jun 26, 2026
68da107
Update index.json
agent-aspose-cells-examples Jun 26, 2026
747bc6f
Update index.json
agent-aspose-cells-examples Jun 26, 2026
72091b0
Update index.json
agent-aspose-cells-examples Jun 26, 2026
38848a9
Update index.json
agent-aspose-cells-examples Jun 26, 2026
535790f
Update index.json
agent-aspose-cells-examples Jun 26, 2026
097216f
Update index.json
agent-aspose-cells-examples Jun 26, 2026
b3db72d
Update index.json
agent-aspose-cells-examples Jun 26, 2026
c648fe9
Update index.json
agent-aspose-cells-examples Jun 26, 2026
bc37cf7
Update index.json
agent-aspose-cells-examples Jun 26, 2026
db293a1
Update index.json
agent-aspose-cells-examples Jun 26, 2026
37ba179
Update index.json
agent-aspose-cells-examples Jun 26, 2026
5a418ff
Update index.json
agent-aspose-cells-examples Jun 26, 2026
f361ec1
Update index.json
agent-aspose-cells-examples Jun 26, 2026
7159707
Update index.json
agent-aspose-cells-examples Jun 26, 2026
8d17a8c
Update index.json
agent-aspose-cells-examples Jun 26, 2026
22376ca
Update index.json
agent-aspose-cells-examples Jun 26, 2026
c1a11a4
Update index.json
agent-aspose-cells-examples Jun 26, 2026
b2560f6
Update index.json
agent-aspose-cells-examples Jun 26, 2026
720ce96
Update index.json
agent-aspose-cells-examples Jun 26, 2026
a716fbd
Update index.json
agent-aspose-cells-examples Jun 26, 2026
07c63c5
Update index.json
agent-aspose-cells-examples Jun 26, 2026
3263102
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9eee27a
Update index.json
agent-aspose-cells-examples Jun 26, 2026
b0d642d
Update index.json
agent-aspose-cells-examples Jun 26, 2026
e22a610
Update index.json
agent-aspose-cells-examples Jun 26, 2026
d79aa35
Update index.json
agent-aspose-cells-examples Jun 26, 2026
cb6ed10
Update index.json
agent-aspose-cells-examples Jun 26, 2026
215020a
Update index.json
agent-aspose-cells-examples Jun 26, 2026
992897e
Update index.json
agent-aspose-cells-examples Jun 26, 2026
a125499
Update index.json
agent-aspose-cells-examples Jun 26, 2026
fc01400
Update index.json
agent-aspose-cells-examples Jun 26, 2026
7fcb2f2
Update index.json
agent-aspose-cells-examples Jun 26, 2026
04e3e58
Update index.json
agent-aspose-cells-examples Jun 26, 2026
3261c16
Update index.json
agent-aspose-cells-examples Jun 26, 2026
97b83cd
Update index.json
agent-aspose-cells-examples Jun 26, 2026
ccbca84
Update index.json
agent-aspose-cells-examples Jun 26, 2026
634168a
Update index.json
agent-aspose-cells-examples Jun 26, 2026
1ec5002
Update index.json
agent-aspose-cells-examples Jun 26, 2026
99807b3
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9cdecb3
Update index.json
agent-aspose-cells-examples Jun 26, 2026
957cdbd
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9bd2d31
Update index.json
agent-aspose-cells-examples Jun 26, 2026
5977578
Update index.json
agent-aspose-cells-examples Jun 26, 2026
2896256
Update index.json
agent-aspose-cells-examples Jun 26, 2026
084be9e
Update index.json
agent-aspose-cells-examples Jun 26, 2026
d36d4d6
Update index.json
agent-aspose-cells-examples Jun 26, 2026
d581592
Update index.json
agent-aspose-cells-examples Jun 26, 2026
a94ed63
Update index.json
agent-aspose-cells-examples Jun 26, 2026
0e80cc6
Update index.json
agent-aspose-cells-examples Jun 26, 2026
7c88ae4
Update index.json
agent-aspose-cells-examples Jun 26, 2026
1db6aee
Update index.json
agent-aspose-cells-examples Jun 26, 2026
2e0a589
Update index.json
agent-aspose-cells-examples Jun 26, 2026
2aad04d
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9ebf593
Update index.json
agent-aspose-cells-examples Jun 26, 2026
c2079db
Update index.json
agent-aspose-cells-examples Jun 26, 2026
df604d1
Update index.json
agent-aspose-cells-examples Jun 26, 2026
894080c
Update index.json
agent-aspose-cells-examples Jun 26, 2026
c3da3a3
Update index.json
agent-aspose-cells-examples Jun 26, 2026
5c30c64
Update index.json
agent-aspose-cells-examples Jun 26, 2026
252a35e
Update index.json
agent-aspose-cells-examples Jun 26, 2026
d21dec2
Update index.json
agent-aspose-cells-examples Jun 26, 2026
d400953
Update index.json
agent-aspose-cells-examples Jun 26, 2026
35a3e1b
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9ee45c2
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9c384c2
Update index.json
agent-aspose-cells-examples Jun 26, 2026
3705839
Update index.json
agent-aspose-cells-examples Jun 26, 2026
ffc1d92
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9743976
Update index.json
agent-aspose-cells-examples Jun 26, 2026
34d68ac
Update index.json
agent-aspose-cells-examples Jun 26, 2026
66c56f2
Update index.json
agent-aspose-cells-examples Jun 26, 2026
54ce33d
Update index.json
agent-aspose-cells-examples Jun 26, 2026
64a56d5
Update index.json
agent-aspose-cells-examples Jun 26, 2026
4beb898
Update index.json
agent-aspose-cells-examples Jun 26, 2026
3f135db
Update index.json
agent-aspose-cells-examples Jun 26, 2026
816a8fd
Update index.json
agent-aspose-cells-examples Jun 26, 2026
86419b3
Update index.json
agent-aspose-cells-examples Jun 26, 2026
dc69237
Update index.json
agent-aspose-cells-examples Jun 26, 2026
63e9ddb
Update index.json
agent-aspose-cells-examples Jun 26, 2026
26fe01c
Update index.json
agent-aspose-cells-examples Jun 26, 2026
6457343
Update index.json
agent-aspose-cells-examples Jun 26, 2026
f9ac9be
Update index.json
agent-aspose-cells-examples Jun 26, 2026
dc6945e
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9822e2b
Update index.json
agent-aspose-cells-examples Jun 26, 2026
2e8ad21
Update index.json
agent-aspose-cells-examples Jun 26, 2026
a00dd91
Update index.json
agent-aspose-cells-examples Jun 26, 2026
cebdf97
Update index.json
agent-aspose-cells-examples Jun 26, 2026
c44d970
Update index.json
agent-aspose-cells-examples Jun 26, 2026
0d29ef4
Update index.json
agent-aspose-cells-examples Jun 26, 2026
f197c04
Update index.json
agent-aspose-cells-examples Jun 26, 2026
3ed1bd7
Update index.json
agent-aspose-cells-examples Jun 26, 2026
33fbdc5
Update index.json
agent-aspose-cells-examples Jun 26, 2026
a708045
Update index.json
agent-aspose-cells-examples Jun 26, 2026
9bae697
Update index.json
agent-aspose-cells-examples Jun 26, 2026
bd94b11
Update index.json
agent-aspose-cells-examples Jun 26, 2026
0c9dace
Update index.json
agent-aspose-cells-examples Jun 26, 2026
98917e3
Update index.json
agent-aspose-cells-examples Jun 26, 2026
797bea9
Update index.json
agent-aspose-cells-examples Jun 26, 2026
8ba7182
Update index.json
agent-aspose-cells-examples Jun 26, 2026
b069d3a
Update index.json
agent-aspose-cells-examples Jun 26, 2026
3fcf764
Update index.json
agent-aspose-cells-examples Jun 26, 2026
0aa8429
Add example: import-an-xml-map-from-an-xsd-file-into-a-workbook-using…
agent-aspose-cells-examples Jun 26, 2026
d4f6849
Add example: import-an-xml-map-directly-from-an-xml-file-into-a-workb…
agent-aspose-cells-examples Jun 26, 2026
a86d020
Add example: list-all-xml-maps-in-the-workbook-and-output-each-maps-n…
agent-aspose-cells-examples Jun 26, 2026
e8e8e73
Add example: retrieve-the-root-element-name-of-the-first-xml-map-via-…
agent-aspose-cells-examples Jun 26, 2026
e395a75
Add example: retrieve-the-root-element-name-of-a-specific-map-by-its-…
agent-aspose-cells-examples Jun 26, 2026
94fe1a1
Add example: query-cells-mapped-to-a-given-xpath-expression-using-wor…
agent-aspose-cells-examples Jun 26, 2026
134fce2
Add example: query-cells-with-namespaceaware-xpath-by-providing-prefi…
agent-aspose-cells-examples Jun 26, 2026
e4f4491
Add example: validate-linked-cells-after-importing-xml-data-by-reexec…
agent-aspose-cells-examples Jun 26, 2026
67998f8
Add example: export-xml-data-for-a-specific-map-to-a-file-using-workb…
agent-aspose-cells-examples Jun 26, 2026
3fb9bb5
Add example: export-xml-data-for-a-specific-map-to-a-memory-stream-us…
agent-aspose-cells-examples Jun 26, 2026
8ea4e83
Add example: loop-through-all-xml-maps-in-a-workbook-and-export-each-…
agent-aspose-cells-examples Jun 26, 2026
352fe9a
Add example: export-xml-with-utf8-encoding-by-specifying-encodingutf8…
agent-aspose-cells-examples Jun 26, 2026
aca24e7
Add example: export-xml-with-indentation-enabled-by-configuring-expor…
agent-aspose-cells-examples Jun 26, 2026
9e00634
Add example: remove-an-unwanted-xml-map-from-the-workbook-by-its-inde…
agent-aspose-cells-examples Jun 26, 2026
bb187ce
Add example: remove-an-xml-map-by-its-name-using-a-helper-that-search…
agent-aspose-cells-examples Jun 26, 2026
6b5adee
Add example: update-an-existing-xml-map-by-readding-it-with-the-same-…
agent-aspose-cells-examples Jun 26, 2026
1a19707
Add example: save-the-workbook-after-modifying-xml-maps-using-workboo…
agent-aspose-cells-examples Jun 26, 2026
e640b34
Add example: load-a-workbook-from-a-memory-stream-add-an-xml-map-and-…
agent-aspose-cells-examples Jun 26, 2026
88cc213
Add example: batch-process-a-folder-of-workbooks-adding-the-same-xml-…
agent-aspose-cells-examples Jun 26, 2026
c32943d
Add example: batch-export-xml-data-from-multiple-workbooks-by-iterati…
agent-aspose-cells-examples Jun 26, 2026
b432a8c
Add example: import-xml-data-from-a-stream-into-a-workbook-with-linke…
agent-aspose-cells-examples Jun 26, 2026
4f09bea
Add example: export-xml-without-xml-declaration-by-setting-exportxmlo…
agent-aspose-cells-examples Jun 26, 2026
02df045
Add example: export-xml-with-custom-namespace-prefixes-by-configuring…
agent-aspose-cells-examples Jun 26, 2026
0ee2c6a
Add example: use-worksheetxmlmapquery-result-to-apply-background-colo…
agent-aspose-cells-examples Jun 26, 2026
8206882
Add example: enumerate-the-xmlmapcollection-and-log-each-maps-name-an…
agent-aspose-cells-examples Jun 26, 2026
6efb555
Add example: create-a-new-workbook-add-a-worksheet-and-define-an-xml-…
agent-aspose-cells-examples Jun 26, 2026
3656ecc
Add example: import-xml-data-into-the-workbook-by-linking-cells-to-co…
agent-aspose-cells-examples Jun 26, 2026
96e5f9f
Add example: query-all-cell-areas-mapped-to-a-given-xml-path-using-wo…
agent-aspose-cells-examples Jun 26, 2026
e143069
Add example: retrieve-the-address-of-the-first-cell-mapped-to-the-inv…
agent-aspose-cells-examples Jun 26, 2026
af988fa
Add example: iterate-through-each-mapped-cell-area-and-log-its-row-an…
agent-aspose-cells-examples Jun 26, 2026
20f2971
Add example: filter-mapped-cell-areas-by-xpath-expression-and-process…
agent-aspose-cells-examples Jun 26, 2026
1bd48b4
Add example: export-the-current-xml-map-data-to-a-separate-xml-file-p…
agent-aspose-cells-examples Jun 26, 2026
9bf3666
Add example: validate-the-xml-map-against-its-xsd-schema-and-report-a…
agent-aspose-cells-examples Jun 26, 2026
2d08d62
Add example: remove-an-existing-xml-map-from-the-workbook-and-ensure-…
agent-aspose-cells-examples Jun 26, 2026
44f8ba3
Add example: load-multiple-workbooks-from-a-directory-apply-the-same-…
agent-aspose-cells-examples Jun 26, 2026
ba9ada3
Add example: configure-the-xml-map-to-ignore-whitespace-nodes-during-…
agent-aspose-cells-examples Jun 26, 2026
b01fb09
Add example: set-a-custom-namespace-prefix-for-the-xml-map-to-handle-…
agent-aspose-cells-examples Jun 26, 2026
0fe54ef
Add example: use-worksheetcellsfind-to-locate-a-cell-that-is-mapped-t…
agent-aspose-cells-examples Jun 26, 2026
595db1e
Add example: apply-conditional-formatting-to-cells-based-on-values-re…
agent-aspose-cells-examples Jun 26, 2026
4497d0d
Add example: create-a-pivot-table-that-summarizes-data-from-cells-map…
agent-aspose-cells-examples Jun 26, 2026
e09d396
Add example: generate-a-chart-visualizing-totals-from-mapped-xml-node…
agent-aspose-cells-examples Jun 26, 2026
5b5e52b
Add example: implement-error-handling-to-catch-exceptions-when-an-xml…
agent-aspose-cells-examples Jun 26, 2026
af2af57
Add example: use-workbookloadoptions-to-preserve-existing-xml-maps-wh…
agent-aspose-cells-examples Jun 26, 2026
6580be5
Add example: export-mapped-xml-data-as-a-compressed-zip-archive-conta…
agent-aspose-cells-examples Jun 26, 2026
43d2864
Add example: apply-data-validation-rules-to-mapped-cells-to-ensure-im…
agent-aspose-cells-examples Jun 26, 2026
16df6f1
Add example: use-multithreading-to-process-xml-map-imports-for-severa…
agent-aspose-cells-examples Jun 26, 2026
a590584
Add example: log-the-execution-time-of-each-xml-map-query-to-identify…
agent-aspose-cells-examples Jun 26, 2026
a114c49
Add example: configure-the-workbook-to-automatically-refresh-xml-map-…
agent-aspose-cells-examples Jun 26, 2026
abf4f35
Add example: implement-a-routine-that-clears-all-cell-values-linked-t…
agent-aspose-cells-examples Jun 26, 2026
1bf35ce
Add example: export-the-workbook-to-pdf-while-preserving-the-visual-r…
agent-aspose-cells-examples Jun 26, 2026
59fd191
Add example: generate-a-summary-report-listing-each-xml-map-its-root-…
agent-aspose-cells-examples Jun 26, 2026
04c7a7e
Add example: apply-a-custom-style-to-cells-mapped-to-the-customername…
agent-aspose-cells-examples Jun 26, 2026
c46bc1d
Add example: set-the-xmlmaps-preservewhitespace-property-to-true-to-k…
agent-aspose-cells-examples Jun 26, 2026
9620ca5
Add example: use-a-linq-query-on-the-workbooks-xmlmaps-collection-to-…
agent-aspose-cells-examples Jun 26, 2026
b14785d
Add example: programmatically-disable-automatic-xml-map-refresh-durin…
agent-aspose-cells-examples Jun 26, 2026
d81cc41
Add example: after-importing-xml-recalculate-all-formulas-to-ensure-d…
agent-aspose-cells-examples Jun 26, 2026
8579851
Add example: create-a-backup-copy-of-the-workbook-before-modifying-xm…
agent-aspose-cells-examples Jun 26, 2026
7b61cd1
Add example: export-mapped-data-to-a-json-file-by-converting-the-xml-…
agent-aspose-cells-examples Jun 26, 2026
ce4a0a7
Add example: implement-a-ui-dialog-that-lets-users-select-an-xml-sche…
agent-aspose-cells-examples Jun 26, 2026
f65b677
Add example: create-a-scheduled-task-that-refreshes-all-xml-maps-in-a…
agent-aspose-cells-examples Jun 26, 2026
f18978a
Add example: export-the-workbook-to-an-ods-file-while-ensuring-that-x…
agent-aspose-cells-examples Jun 26, 2026
190f00c
Update index.json
agent-aspose-cells-examples Jul 26, 2026
2c2a022
Merge branch 'release/26.6.0' of https://github.com/aspose-cells/agen…
agent-aspose-cells-examples Jul 26, 2026
ed7854c
Update index.json
agent-aspose-cells-examples Jul 26, 2026
06dedd8
Merge branch 'release/26.6.0' of https://github.com/aspose-cells/agen…
agent-aspose-cells-examples Jul 26, 2026
15846b4
Update index.json
agent-aspose-cells-examples Jul 26, 2026
d30c591
Merge branch 'release/26.6.0' of https://github.com/aspose-cells/agen…
agent-aspose-cells-examples Jul 26, 2026
54ff370
Update index.json
agent-aspose-cells-examples Jul 26, 2026
bc8e047
Merge branch 'release/26.6.0' of https://github.com/aspose-cells/agen…
agent-aspose-cells-examples Jul 26, 2026
39c6bc5
Update index.json
agent-aspose-cells-examples Jul 26, 2026
6d1f547
Merge branch 'release/26.6.0' of https://github.com/aspose-cells/agen…
agent-aspose-cells-examples Jul 26, 2026
49edcd9
Update index.json
agent-aspose-cells-examples Jul 26, 2026
fccd878
Merge branch 'release/26.6.0' of https://github.com/aspose-cells/agen…
agent-aspose-cells-examples Jul 26, 2026
4cf7039
Merge branch 'release/26.6.0' of https://github.com/aspose-cells/agen…
agent-aspose-cells-examples Jul 27, 2026
beaa059
Update category config
agent-aspose-cells-examples Jul 27, 2026
0375977
Merge branch 'release/26.6.0' into v6/xml-maps
agent-aspose-cells-examples Jul 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
310 changes: 150 additions & 160 deletions index.json

Large diffs are not rendered by default.

94 changes: 94 additions & 0 deletions manage-workbook/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
---
title: Create and Manage Excel Workbooks in C# with Aspose.Cells
description: C# examples for workbook creation, settings, worksheet coordination, custom XML, content-type properties, cleanup, streams, disposal, and batch processing.
product: Aspose.Cells for .NET
category: manage-workbook
language: C#
last_reviewed: 2026-06-29
---

# Create and Manage Excel Workbooks in C# with Aspose.Cells

Create, configure, inspect, clean, copy, and manage Excel workbooks in C# with Aspose.Cells for .NET. These 60 examples cover workbook lifecycle, settings, worksheet coordination, custom XML parts, content-type properties, unused-style cleanup, streams, disposal, and batch workflows.

| Fact | Value |
| --- | --- |
| Examples | 60 |
| Primary API | `Workbook` |
| Key collections | `Worksheets`, `CustomXmlParts`, `ContentTypeProperties` |
| Agent guidance | [`AGENTS.md`](AGENTS.md) |

## Quick answer: How do I create an Excel workbook in C#?

```csharp
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];

worksheet.Name = "Summary";
worksheet.Cells["A1"].PutValue("Managed workbook");

workbook.Save("managed-workbook.xlsx");
workbook.Dispose();
```

Dispose workbooks deterministically when your application owns them, particularly in batch and stream-processing services.

## Workbook management map

| Goal | API/pattern |
| --- | --- |
| Create/configure workbook | `Workbook`, `Workbook.Settings` |
| Coordinate worksheets | `Workbook.Worksheets` |
| Add custom XML | `Workbook.CustomXmlParts` |
| Add content-type properties | `Workbook.ContentTypeProperties` |
| Remove unused styles | `Workbook.RemoveUnusedStyles` |
| Process streams | `Workbook(Stream, ...)` and stream save overloads |
| Release resources | `Dispose` / exception-safe ownership pattern |

## Featured examples

- [Copy a worksheet between workbooks](copy-a-worksheet-from-the-source-workbook-to-a-destination-workbook-while-preserving-cell-styles.cs)
- [Add a custom XML part](add-a-custom-xml-part-containing-metadata-and-retrieve-it-later-using-its-unique-identifier.cs)
- [Add a content-type property](add-a-new-contenttypeproperty-named-projectid-with-a-string-value-to-the-workbook.cs)
- [Remove unused workbook styles](load-a-workbook-that-contains-numerous-unused-styles-and-invoke-removeunusedstyles-to-clean-it.cs)
- [Compare file size before and after style cleanup](measure-the-file-size-before-and-after-removing-unused-styles-to-assess-reduction-impact.cs)
- [Load and save through a memory stream](use-a-memory-stream-to-load-a-workbook-add-metadata-and-save-back-without-touching-the-file-system.cs)
- [Guarantee disposal in a finally block](integrate-workbook-disposal-into-a-finally-block-to-guarantee-resource-release-even-when-exceptions-occur.cs)
- [Process 100 workbooks in a batch](create-a-batch-job-that-processes-100-workbooks-adding-optional-metadata-and-removing-unused-styles.cs)

## FAQ

### When should a Workbook be disposed?

Dispose it when the application owns it and all reads/saves are complete. This is especially important for large files and batch processing.

### Are custom XML parts the same as custom document properties?

No. Custom XML stores structured XML payloads inside the workbook package. Document properties store metadata name/value pairs.

### Is removing unused styles always safe?

Validate before and after output. Compare representative cell styles and rendered appearance because style-cleanup behavior may matter to complex workbooks.

### How should batch failures be handled?

Isolate each workbook, continue according to policy, record sanitized diagnostics, avoid input overwrite, and dispose resources after each item.

## AI retrieval guidance

Useful intents include "create Excel workbook in C#," "manage workbook settings," "remove unused styles," "add custom XML to XLSX," and "dispose workbook in batch." Distinguish workbook-wide operations from worksheet-only tasks.

## Related categories and official resources

- [Open workbook](../open-workbook/)
- [Save workbook](../save-workbook/)
- [Worksheets](../working-with-worksheets/)
- [Document properties](../document-properties/)
- [Workbook API](https://reference.aspose.com/cells/net/aspose.cells/workbook/)
- [Create workbook documentation](https://docs.aspose.com/cells/net/create-new-workbook/)

Repository policy requires build, runtime, output, resource-lifecycle, and reopened-state validation.

## License

See [`../LICENSE`](../LICENSE) and [Aspose.Cells licensing](https://purchase.aspose.com/buy).
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using System;
using Aspose.Cells;

class Program
{
static void Main()
{
// Create a new workbook instance
Workbook workbook = new Workbook();

// Import XML data into the first worksheet starting at cell A1
// Adjust the file path as needed; the sheet name must exist or will be created
workbook.ImportXml("data.xml", "Sheet1", 0, 0);

// Recalculate all formulas so that any dependent cells reflect the newly imported data
workbook.CalculateFormula();

// Refresh pivot tables and charts if they exist (optional but ensures full consistency)
workbook.Worksheets.RefreshAll();

// Save the updated workbook
workbook.Save("Result.xlsx");
}
}
117 changes: 117 additions & 0 deletions xml-maps/agents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# XML Maps Examples

This folder contains **Aspose.Cells for .NET** code examples related to:

XML Maps


## Purpose

These examples demonstrate common **Aspose.Cells APIs** used when working with:

- Workbooks
- Worksheets
- Cells
- Formulas
- Charts
- Data operations


## Example Files

Each `.cs` file demonstrates a specific task related to **XML Maps**.

Example:

create-a-workbook.cs


## Required Namespaces

Most examples will require:

using Aspose.Cells;


## Common Pattern

Typical Aspose.Cells workflow:

Workbook workbook = new Workbook();

Worksheet sheet = workbook.Worksheets[0];

Cells cells = sheet.Cells;


## Output

Examples may generate:

- XLSX files
- PDF files
- CSV files
- Images

Output files are written to the working directory.
- import-an-xml-map-from-an-xsd-file-into-a-workbook-using-workbookimportxml-method.cs
- import-an-xml-map-directly-from-an-xml-file-into-a-workbook-with-workbookimportxml.cs
- list-all-xml-maps-in-the-workbook-and-output-each-maps-name-to-the-console.cs
- retrieve-the-root-element-name-of-the-first-xml-map-via-xmlmaprootelementname-property.cs
- retrieve-the-root-element-name-of-a-specific-map-by-its-index-using-workbookxmlmapsindexrootelementname.cs
- query-cells-mapped-to-a-given-xpath-expression-using-worksheetxmlmapquery-method.cs
- query-cells-with-namespaceaware-xpath-by-providing-prefix-mappings-to-worksheetxmlmapquery.cs
- validate-linked-cells-after-importing-xml-data-by-reexecuting-worksheetxmlmapquery-and-checking-results.cs
- export-xml-data-for-a-specific-map-to-a-file-using-workbookexportxml-with-map-index.cs
- export-xml-data-for-a-specific-map-to-a-memory-stream-using-workbookexportxml-overload.cs
- loop-through-all-xml-maps-in-a-workbook-and-export-each-maps-xml-using-exportxml.cs
- export-xml-with-utf8-encoding-by-specifying-encodingutf8-parameter-in-exportxml-method.cs
- export-xml-with-indentation-enabled-by-configuring-exportxmloptions-before-calling-exportxml.cs
- remove-an-unwanted-xml-map-from-the-workbook-by-its-index-using-xmlmapsremoveat.cs
- remove-an-xml-map-by-its-name-using-a-helper-that-searches-the-xmlmaps-collection.cs
- update-an-existing-xml-map-by-readding-it-with-the-same-name-and-a-new-xsd-schema.cs
- save-the-workbook-after-modifying-xml-maps-using-workbooksave-to-persist-changes.cs
- load-a-workbook-from-a-memory-stream-add-an-xml-map-and-save-back-to-a-stream.cs
- batch-process-a-folder-of-workbooks-adding-the-same-xml-map-to-each-file-programmatically.cs
- batch-export-xml-data-from-multiple-workbooks-by-iterating-files-and-invoking-exportxml-for-each-map.cs
- import-xml-data-from-a-stream-into-a-workbook-with-linked-cells-using-importxml-overload.cs
- export-xml-without-xml-declaration-by-setting-exportxmloptionsomitxmldeclaration-to-true.cs
- export-xml-with-custom-namespace-prefixes-by-configuring-exportxmloptionsnamespaceprefixdictionary-before-export.cs
- use-worksheetxmlmapquery-result-to-apply-background-color-formatting-to-all-cells-mapped-to-a-path.cs
- enumerate-the-xmlmapcollection-and-log-each-maps-name-and-root-element-name-for-debugging.cs
- create-a-new-workbook-add-a-worksheet-and-define-an-xml-map-using-a-xsd-file.cs
- import-xml-data-into-the-workbook-by-linking-cells-to-corresponding-xml-map-elements.cs
- query-all-cell-areas-mapped-to-a-given-xml-path-using-worksheetxmlmapquery-method.cs
- retrieve-the-address-of-the-first-cell-mapped-to-the-invoicetotal-element.cs
- iterate-through-each-mapped-cell-area-and-log-its-row-and-column-indices-for-debugging.cs
- filter-mapped-cell-areas-by-xpath-expression-and-process-only-those-matching-the-criteria.cs
- export-the-current-xml-map-data-to-a-separate-xml-file-preserving-original-schema-structure.cs
- validate-the-xml-map-against-its-xsd-schema-and-report-any-validation-errors-encountered.cs
- remove-an-existing-xml-map-from-the-workbook-and-ensure-all-linked-cells-are-cleared.cs
- load-multiple-workbooks-from-a-directory-apply-the-same-xml-map-and-batch-export-their-xml-data.cs
- configure-the-xml-map-to-ignore-whitespace-nodes-during-import-to-prevent-unwanted-blank-entries.cs
- set-a-custom-namespace-prefix-for-the-xml-map-to-handle-namespaced-xml-documents-correctly.cs
- use-worksheetcellsfind-to-locate-a-cell-that-is-mapped-to-a-specific-xml-attribute.cs
- apply-conditional-formatting-to-cells-based-on-values-retrieved-from-the-linked-xml-map-elements.cs
- create-a-pivot-table-that-summarizes-data-from-cells-mapped-to-the-ordersorder-element.cs
- generate-a-chart-visualizing-totals-from-mapped-xml-nodes-and-embed-it-into-the-worksheet.cs
- implement-error-handling-to-catch-exceptions-when-an-xml-map-path-does-not-exist-in-the-schema.cs
- use-workbookloadoptions-to-preserve-existing-xml-maps-when-opening-a-workbook-in-readonly-mode.cs
- export-mapped-xml-data-as-a-compressed-zip-archive-containing-separate-files-for-each-map.cs
- apply-data-validation-rules-to-mapped-cells-to-ensure-imported-xml-values-meet-business-constraints.cs
- use-multithreading-to-process-xml-map-imports-for-several-workbooks-concurrently-improving-performance.cs
- log-the-execution-time-of-each-xml-map-query-to-identify-performance-bottlenecks-in-large-datasets.cs
- configure-the-workbook-to-automatically-refresh-xml-map-data-when-the-source-xml-file-changes-on-disk.cs
- implement-a-routine-that-clears-all-cell-values-linked-to-a-specific-xml-map-without-removing-the-map.cs
- export-the-workbook-to-pdf-while-preserving-the-visual-representation-of-mapped-cells-and-their-data.cs
- generate-a-summary-report-listing-each-xml-map-its-root-element-and-the-number-of-linked-cells.cs
- apply-a-custom-style-to-cells-mapped-to-the-customername-element-to-highlight-customer-names.cs
- set-the-xmlmaps-preservewhitespace-property-to-true-to-keep-formatting-spaces-from-the-source-xml.cs
- use-a-linq-query-on-the-workbooks-xmlmaps-collection-to-find-maps-containing-a-specific-namespace.cs
- programmatically-disable-automatic-xml-map-refresh-during-bulk-cell-updates-to-improve-processing-speed.cs
- after-importing-xml-recalculate-all-formulas-to-ensure-dependent-calculations-reflect-the-new-data.cs
- create-a-backup-copy-of-the-workbook-before-modifying-xml-maps-to-allow-easy-rollback-if-needed.cs
- export-mapped-data-to-a-json-file-by-converting-the-xml-nodes-to-equivalent-json-structures.cs
- implement-a-ui-dialog-that-lets-users-select-an-xml-schema-file-to-create-a-new-map.cs
- create-a-scheduled-task-that-refreshes-all-xml-maps-in-a-set-of-workbooks-every-night-at-midnight.cs
- export-the-workbook-to-an-ods-file-while-ensuring-that-xml-map-definitions-are-retained-in-the-output.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
using System;
using System.Drawing;
using Aspose.Cells;

namespace AsposeCellsCustomStyleExample
{
class Program
{
static void Main()
{
// Load an existing workbook (replace with your file path)
Workbook workbook = new Workbook("Input.xlsx");

// Access the first worksheet
Worksheet worksheet = workbook.Worksheets[0];
Cells cells = worksheet.Cells;

// Create a custom style to highlight customer names
Style highlightStyle = workbook.CreateStyle();
highlightStyle.ForegroundColor = Color.Yellow; // cell background
highlightStyle.Pattern = BackgroundType.Solid;
highlightStyle.Font.IsBold = true; // bold font
highlightStyle.Font.Color = Color.Red; // font color
highlightStyle.Font.Size = 12;

// Assume that cells mapped to /Customer/Name are in column B (index 1)
// Apply the style to rows 2 through 10 (adjust as needed)
for (int row = 1; row <= 9; row++) // zero‑based index: row 1 = second row
{
Cell nameCell = cells[row, 1]; // column B
// Optionally verify the cell contains a name before styling
if (!string.IsNullOrEmpty(nameCell.StringValue))
{
nameCell.SetStyle(highlightStyle);
}
}

// Save the modified workbook
workbook.Save("Output.xlsx");
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using Aspose.Cells;

namespace AsposeCellsXmlConditionalFormatting
{
class Program
{
static void Main()
{
try
{
// Create a new workbook and get the first worksheet
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];
Cells cells = worksheet.Cells;

// Sample XML data
string xml = @"<?xml version='1.0' encoding='UTF-8'?>
<Root>
<Item>150</Item>
<Item>80</Item>
<Item>200</Item>
</Root>";

// Parse XML and write values to cells (A1, A2, A3)
XDocument doc = XDocument.Parse(xml);
List<string> items = doc.Root?.Elements("Item").Select(e => e.Value).ToList() ?? new List<string>();

for (int i = 0; i < items.Count; i++)
{
cells[i, 0].PutValue(items[i]);
}

// Define the area that contains the imported values
CellArea dataArea = new CellArea
{
StartRow = 0,
StartColumn = 0,
EndRow = items.Count - 1,
EndColumn = 0
};

// Add a conditional formatting collection to the worksheet
int cfIndex = worksheet.ConditionalFormattings.Add();
FormatConditionCollection cfCollection = worksheet.ConditionalFormattings[cfIndex];

// Apply the conditional formatting to the data area
cfCollection.AddArea(dataArea);

// Add a condition: highlight cells with value > 100
int conditionIdx = cfCollection.AddCondition(
FormatConditionType.CellValue,
OperatorType.GreaterThan,
"100",
null);

// Set the style for the condition (red background, white bold font)
FormatCondition condition = cfCollection[conditionIdx];
condition.Style.BackgroundColor = Color.Red;
condition.Style.Font.Color = Color.White;
condition.Style.Font.IsBold = true;

// Save the workbook
string outputPath = "XmlConditionalFormattingOutput.xlsx";

// Ensure the output directory exists (prevents FileNotFoundException on save)
string outputDir = Path.GetDirectoryName(Path.GetFullPath(outputPath));
if (!string.IsNullOrEmpty(outputDir) && !Directory.Exists(outputDir))
{
Directory.CreateDirectory(outputDir);
}

workbook.Save(outputPath);
Console.WriteLine($"Workbook saved to {outputPath}");
}
catch (Exception ex)
{
Console.WriteLine($"Error: {ex.Message}");
}
}
}
}
Loading