Jump to content
Sign in to follow this  
bmalets

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

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:

Share this post


Link to post
Share on other sites

If you want to see what an Excel file looks like with an image in it, then create an Excel file with an image and save it as XML, then open it up in a text editor and look at the code. It's probably an encoded binary string.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...