2011/12/22

# vim Vimを起動して <?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
 <Worksheet ss:Name="Sheet1">
 </Worksheet>
</Workbook>
XMLを書いて <?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
 <Worksheet ss:Name="Sheet1">
  タカッ
  トラッ
  バッタッ
 </Worksheet>
</Workbook>
データを足して <?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
 <Worksheet ss:Name="Sheet1">
  タカッ
  トラッ
  バッタッ
 </Worksheet>
</Workbook>
Visual選択してzencoding-vimでラップする。("CTRL-Y" and ",") Tag: Table>Row>Cell*>Data[ss:Type=String] <?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
 <Worksheet ss:Name="Sheet1">
  <Table>
    <Row>
        <Cell>
            <Data ss:Type="String">タカッ</Data>
        </Cell>
        <Cell>
            <Data ss:Type="String">トラッ</Data>
        </Cell>
        <Cell>
            <Data ss:Type="String">バッタッ</Data>
        </Cell>
    </Row>
  </Table>
 </Worksheet>
</Workbook>
後は :w Book1.xls 出来上がり。
Excel
Posted at 14:24 | WriteBacks () | Edit
Edit this entry...

wikieditish message: Ready to edit this entry.






















A quick preview will be rendered here when you click "Preview" button.