Skip to content

Commit 770759a

Browse files
feat: OpenXML.Excel.File.get_SharedString ( Fixes #25 )
1 parent 15c00cb commit 770759a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@{
2+
SharedStrings = 'SharedString'
3+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<#
2+
.SYNOPSIS
3+
Gets an Excel File's Shared Strings
4+
.DESCRIPTION
5+
Gets an Excel File's Shared Strings.
6+
7+
In Excel, any cell with text in it really contains an index of it's shared string.
8+
.EXAMPLE
9+
Get-OpenXML ./Examples/HelloWorld.xlsx | Select -Expand SharedString
10+
#>
11+
,@($this.Parts.'/xl/sharedStrings.xml'.Content.sst.si.t)

0 commit comments

Comments
 (0)