Jump to content

How add image into old Excel file (95/02/03)


bmalets
 Share

Recommended Posts

Server save thie code with name "name.xls" :

<?xml version="1.0"?><?mso-application progid="Excel.Sheet"?><Workbook   xmlns="urn:schemas-microsoft-com:office:spreadsheet"   xmlns:o="urn:schemas-microsoft-com:office:office"   xmlns:x="urn:schemas-microsoft-com:office:excel"   xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"   xmlns:html="http://www.w3.org/TR/REC-html40">  <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">	<Author>Darl McBride</Author>	<LastAuthor>Bill Gates</LastAuthor>	<Created>2007-03-15T23:04:04Z</Created>	<Company>SCO Group, Inc.</Company>	<Version>11.8036</Version>  </DocumentProperties>  <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">	<WindowHeight>6795</WindowHeight>	<WindowWidth>8460</WindowWidth>	<WindowTopX>120</WindowTopX>	<WindowTopY>15</WindowTopY>	<ProtectStructure>False</ProtectStructure>	<ProtectWindows>False</ProtectWindows>  </ExcelWorkbook>  <Styles>	<Style ss:ID="Default" ss:Name="Normal">	  <Alignment ss:Vertical="Bottom" />	  <Borders />	  <Font />	  <Interior />	  <NumberFormat />	  <Protection />	</Style>	<Style ss:ID="s21">	  <Font x:Family="Swiss" ss:Bold="1" />	</Style>  </Styles>  <Worksheet ss:Name="Sheet1">	<Table ss:ExpandedColumnCount="2" ss:ExpandedRowCount="5"		   x:FullColumns="1" x:FullRows="1">	  <Row>		<Cell>		  <Data ss:Type="String">Text in cell A1</Data>		</Cell>	  </Row>	  <Row>		<Cell ss:StyleID="s21">		  <Data ss:Type="String">Bold text in A2</Data>		</Cell>	  </Row>	  <Row ss:Index="4">		<Cell ss:Index="2">		  <Data ss:Type="Number">43</Data>		</Cell>	  </Row>	  <Row>		<Cell ss:Index="2" ss:Formula="=R[-1]C/2">		  <Data ss:Type="Number">21.5</Data>		</Cell>	  </Row>	</Table>	<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">	  <Print>		<ValidPrinterInfo />		<HorizontalResolution>600</HorizontalResolution>		<VerticalResolution>600</VerticalResolution>	  </Print>	  <Selected />	  <Panes>		<Pane>		  <Number>3</Number>		  <ActiveRow>5</ActiveRow>		  <ActiveCol>1</ActiveCol>		</Pane>	  </Panes>	  <ProtectObjects>False</ProtectObjects>	  <ProtectScenarios>False</ProtectScenarios>	</WorksheetOptions>  </Worksheet></Workbook>

How can I add image in this excell file. Is some xml tag for image exists?Or how can I add image in this file?Maybe someone can give me xml code of .xls file with image or help me with parsing of old excel file version's. Help me please :sorry:

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...