Search notes:

Office Open XML - SpreadsheetML: Fill some values into cells

[Content_Types].xml

<?xml version="1.0" encoding="utf-8"?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">

  <Default Extension="rels"                      ContentType="application/vnd.openxmlformats-package.relationships+xml"                     />
  <Default Extension="xml"                       ContentType="application/xml"                                                              />

  <Override PartName="/xl/theme/theme1.xml"      ContentType="application/vnd.openxmlformats-officedocument.theme+xml"                      />
  <Override PartName="/xl/styles.xml"            ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"       />
  <Override PartName="/xl/workbook.xml"          ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"   />
  <Override PartName="/docProps/app.xml"         ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"        />
  <Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"    />
  <Override PartName="/xl/sharedStrings.xml"     ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/>
  <Override PartName="/docProps/core.xml"        ContentType="application/vnd.openxmlformats-package.core-properties+xml"                   />
</Types>
Github repository about-Office-Open-XML, path: /SpreadsheetML/Fill-some-values-into-cells/[Content_Types].xml

_rels/.rels

<?xml version="1.0" encoding="utf-8"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"  />
  <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"   Target="docProps/core.xml" />
  <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"      Target="xl/workbook.xml"   />
</Relationships>
Github repository about-Office-Open-XML, path: /SpreadsheetML/Fill-some-values-into-cells/_rels/.rels

docProps/core.xml

<?xml version="1.0" encoding="utf-8"?>
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</cp:coreProperties>
Github repository about-Office-Open-XML, path: /SpreadsheetML/Fill-some-values-into-cells/docProps/core.xml

docProps/app.xml

<?xml version="1.0" encoding="utf-8"?>
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">
</Properties>
Github repository about-Office-Open-XML, path: /SpreadsheetML/Fill-some-values-into-cells/docProps/app.xml

xl/sharedStrings.xml

<?xml version="1.0" encoding="utf-8"?>
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="6" uniqueCount="6">
  <si><t>Foo</t></si>
  <si><t>Bar</t></si>
  <si><t>Baz</t></si>
  <si><t>One</t></si>
  <si><t>Two</t></si>
  <si><t>Three</t></si>
</sst>
Github repository about-Office-Open-XML, path: /SpreadsheetML/Fill-some-values-into-cells/xl/sharedStrings.xml

xl/_rels/workbook.xml.rels

<?xml version="1.0" encoding="utf-8"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  <Relationship Id="rel_sheet_1"       Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"     Target="worksheets/sheet1.xml" />
  <Relationship Id="rel_shared_string" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"     />
</Relationships>
Github repository about-Office-Open-XML, path: /SpreadsheetML/Fill-some-values-into-cells/xl/_rels/workbook.xml.rels

xl/workbook.xml

<?xml version="1.0" encoding="utf-8"?>
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
  <bookViews>
    <workbookView/>
  </bookViews>
  <sheets>
    <sheet name="Name of sheet" sheetId="1" r:id="rel_sheet_1" />
  </sheets>
</workbook>
Github repository about-Office-Open-XML, path: /SpreadsheetML/Fill-some-values-into-cells/xl/workbook.xml

xl/worksheets/sheet1.xml

<?xml version="1.0" encoding="utf-8"?>
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
  <dimension ref="A1:C3" />
  <sheetViews>
    <sheetView tabSelected="1" workbookViewId="0">
      <selection activeCell="A2" sqref="A2" />
    </sheetView>
  </sheetViews>
  <sheetFormatPr baseColWidth="10" defaultRowHeight="15" />
  <sheetData>
    <row r="1" spans="1:3"><c r="A1" t="s"><v>0</v></c><c r="B1" t="s"><v>1</v></c><c r="C1" t="s"><v>2</v></c></row>
    <row r="2" spans="1:3"><c r="A2" t="s"><v>3</v></c><c r="B2" t="s"><v>4</v></c><c r="C2" t="s"><v>5</v></c></row>
    <row r="3" spans="1:3"><c r="A3"      ><v>1</v></c><c r="B3"      ><v>2</v></c><c r="C3"      ><v>3</v></c></row>
  </sheetData>
  <pageMargins left="0.7" right="0.7" top="0.78740157499999996" bottom="0.78740157499999996" header="0.3" footer="0.3" />
</worksheet>
Github repository about-Office-Open-XML, path: /SpreadsheetML/Fill-some-values-into-cells/xl/worksheets/sheet1.xml

See also

SpreadsheetML

Index