poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam'" <maxoud...@gmail.com>
Subject Re: POI XSSF and ClipBoard issue
Date Wed, 28 Oct 2015 09:18:36 GMT
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"
  <Style ss:ID="Default" ss:Name="Normal">
   <Alignment ss:Vertical="Bottom"/>
   <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11"
 <Worksheet ss:Name="Feuil1">
  <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="3"
   ss:DefaultColumnWidth="60" ss:DefaultRowHeight="15">
    <Cell><Data ss:Type="Number">8</Data></Cell>
    <Cell><Data ss:Type="Number">9</Data></Cell>
    <Cell ss:Formula="=SUM(R[-2]C:R[-1]C)"><Data

Seems to me like a well formed XML.

2015-10-28 8:24 GMT+01:00 Mark Beardsley <markbrdsly@tiscali.co.uk>:

> 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: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message