Hi 
i have a java application that generates reports using OpenOffice 1.1.5 API. 
To create the table in Java I do the following: 
// x, y coordinates of the table 
Point aPos = new Point( XPos, YPos ); 

// this is the width and height of the table 
Size aExtent = new Size( width, height ); 

XTextDocument mxDoc = aTableHelper.insertOLEText("Table Name", aPos,
aExtent); 
XText mxDocText = mxDoc.getText(); 

XMultiServiceFactory mxDocFactory = (XMultiServiceFactory)
UnoRuntime.queryInterface( XMultiServiceFactory.class, mxDoc ); 

XTextTable xTable = (XTextTable) UnoRuntime.queryInterface( 
XTextTable.class, mxDocFactory.createInstance( 
"com.sun.star.text.TextTable" ) ); 

xTable.initialize( rowList.size()+1, cols.length ); 

The table displays fine in openoffice. The lines and borders show fine.
However when I save the table page to powerpoint, the table lines and the
borders disapper in powerpoint. 
When I use openoffice 2.3 to save the table page as powerpoint, the table
looks fine. is this an openoffice 1.1.5 limitation?. I need to workaround it
cause all of my code base work with openoffice 1.1.5 but does not work in
openoffice 2.3. 

Please let me know what you think. 

Houh
-- 
View this message in context: 
http://www.nabble.com/openoffice-table-borders--lines-do-not-show-when-saved-as-ppt-tp16354814p16354814.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to