For example, here is what I have when I make a copy of a selection in Excel
:

<?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";>
 <Styles>
  <Style ss:ID="Default" ss:Name="Normal">
   <Alignment ss:Vertical="Bottom"/>
   <Borders/>
   <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11"
ss:Color="#000000"/>
   <Interior/>
   <NumberFormat/>
   <Protection/>
  </Style>
 </Styles>
 <Worksheet ss:Name="Feuil1">
  <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="3"
   ss:DefaultColumnWidth="60" ss:DefaultRowHeight="15">
   <Row>
    <Cell><Data ss:Type="Number">8</Data></Cell>
   </Row>
   <Row>
    <Cell><Data ss:Type="Number">9</Data></Cell>
   </Row>
   <Row>
    <Cell ss:Formula="=SUM(R[-2]C:R[-1]C)"><Data
ss:Type="Number">17</Data></Cell>
   </Row>
  </Table>
 </Worksheet>
</Workbook>


Seems to me like a well formed XML.

2015-10-28 8:24 GMT+01:00 Mark Beardsley <[email protected]>:

> To my mind, the problem still remains - what exactly is the  '"XML
> Spreadsheet" format' that you refer to? Before being able to answer your
> question, we need some more information. What data is copied to the
> clipboard? Is it just a fragment of the complete xml markup for a Excel
> workbook? If so, what fragment is copied to the clipboard? That was why I
> suggested testing the type and calling the appropriate getXXX() method to
> dump the copied data to screen - if that is at all possible. Sorry to say
> that I cannot help as all I have access to is the standard Oracle Java SDK
> which does not include the Clipboard class you are referring to.
>
>
>
> --
> View this message in context:
> http://apache-poi.1045710.n5.nabble.com/POI-XSSF-and-ClipBoard-issue-tp5720595p5720673.html
> Sent from the POI - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to