Hello Folks... I am using the XTransferable Object to copy sections of a
source document over to a destination document (that was opened as blank)..
This seems to work, copying images, text, text styles etc.
In terms of the source document I am loading images like so:
protected void
) {
e.printStackTrace();
}
Chris Fleischmann wrote:
Hello Folks... I am using the XTransferable Object to copy sections of a
source document over to a destination document (that was opened as
blank).. This seems to work, copying images, text, text styles etc.
In terms
I found this code here:
// System.out.println( The bitmap is going to be painted! );
XDevice xDevice =
(XDevice)UnoRuntime.queryInterface( XDevice.class,
m_xWindow );
if ( xDevice != null )
{
Hello All,
OpenOffice 3.1.1. Java SDK, MAC OS X 10.6.2, MS Word 2007/2008.
Firstly I am happily able to position my TextGraphicObject's where I need
them, ie., I use the following code to position the TextGrahicObject in
OpenOffice with a particular width and height:
Object newImage =
:
{
if ( bConvDueToOrientation )
eHoriConv = CONV2COL;
}
...
Tora
Chris Fleischmann wrote:
OpenOffice 3.1.1. Java SDK, MAC OS X 10.6.2, MS Word 2007/2008.
Firstly I am happily able to position my TextGraphicObject's
Hello...
I have since tried the following code, which aims to do just that... It add
the picture to a frame, The frame is either anchored to a paragraph or
frame...Thats is, I have a parent frame which is anchored to a particular
page, with PAGE anchoring... Inside that frame is the NEW frame
Hello folks, just wondering if there is a more accurate way of converting
pixels to 1/00mm in OpenOffice... Other than the 72 DPI type of calculation
people use?
Currently I do the following:
if (fontDescriptor[i].Name.equalsIgnoreCase(Arial)) {
, or anything I am doing wrong, please let me know... Thanks once
again!
Regards,
Chris
Ariel Constenla-Haile wrote:
Hello Chris,
On Wednesday 13 January 2010, 18:49, Chris Fleischmann wrote:
Hello folks, just wondering if there is a more accurate way of converting
pixels to 1/00mm
+ 50, nSaveHeight));
Chris Fleischmann wrote:
Thanks for the hints... I have since tried the following:
// get internal service factory of the document
XMultiServiceFactory xWriterFactory_tmp =
(XMultiServiceFactory) UnoRuntime.queryInterface