[api-issues] [Issue 87977] SystemShellExecute.execute () opens always Firefox in Linux

2009-05-28 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87977





--- Additional comments from tobiaskr...@openoffice.org Fri May 29 06:32:09 
+ 2009 ---
Update: still same in OOo 3.1

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 87495] Extend service PrinterDesc riptor with properties for paperbin(s)

2009-05-15 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87495





--- Additional comments from tobiaskr...@openoffice.org Fri May 15 09:58:54 
+ 2009 ---
Veryfied in OOo 3.1. If I pass the property to the setPrinter() method instead
of the print() method, it works!

For my part, the issue can be closed.

Thanks for your work!

Greetings, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 101058] Navigator visible when op ening document in hidden mode

2009-04-14 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=101058
 Issue #|101058
 Summary|Navigator visible when opening document in hidden mode
   Component|api
 Version|OOo 3.0.1
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|cd
 Reported by|tobiaskrais





--- Additional comments from tobiaskr...@openoffice.org Tue Apr 14 07:28:06 
+ 2009 ---
I detected a strange behaviour of OpenOffice.org (3.0.1 and older) while
doing my unit tests. My tests first open a Global Document (.odm) and
thus always open the document Navigator window. If I close the Global Document
without closing the document Navigator and open a document in hidden mode, the
Navigator is opened again. Thus I have a hidden document with a visible
Navigator  :-)

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 87495] Extend service PrinterDesc riptor with properties for paperbin(s)

2009-03-19 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87495





--- Additional comments from tobiaskr...@openoffice.org Thu Mar 19 08:47:29 
+ 2009 ---
Created an attachment (id=61031)
Fixed Java test file


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 87495] Extend service PrinterDesc riptor with properties for paperbin(s)

2009-03-19 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87495





--- Additional comments from tobiaskr...@openoffice.org Thu Mar 19 08:46:06 
+ 2009 ---
tobiaskrais -> jsk, mba: Hoping the fix will reach target milestone, created my
own little test application for you. I tested it in Eclipse and it worked fine.
Please set the three variables at start of the main method and run the 
application.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 87495] Extend service PrinterDesc riptor with properties for paperbin(s)

2009-03-19 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87495





--- Additional comments from tobiaskr...@openoffice.org Thu Mar 19 08:43:25 
+ 2009 ---
Created an attachment (id=61030)
Test Java file


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 87495] Extend service PrinterDesc riptor with properties for paperbin(s)

2009-03-17 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87495





--- Additional comments from tobiaskr...@openoffice.org Tue Mar 17 08:59:58 
+ 2009 ---
tobiaskrais -> jsk: tested on OOo-Dev 3.1 m5 x86-64 deb packages (OS: Ubuntu
Linux) with Java API: PrinterPaperTray is not correctly selected - all pages
come out of the default tray.

If you need sample Java code, please contact me.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 87883] pls add possibility to fin d available printers via API (as in File|Print Setup)

2009-03-11 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87883





--- Additional comments from tobiaskr...@openoffice.org Wed Mar 11 11:25:08 
+ 2009 ---
I use xPrinterServer.getPrinterNames() to get the printers in Java via API.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 99611] OOo Deadlock when setting negative int as parameter on XIndexContainer.i nsertByIndex()

2009-02-25 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=99611





--- Additional comments from tobiaskr...@openoffice.org Wed Feb 25 09:27:17 
+ 2009 ---
tobiaskrais -> jsc: I try to add, replace or remove a menu to the menubar. I
think (but did not test) this will also happen with menu items. Do you need more
information?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 99611] OOo Deadlock when setting negative int as parameter on XIndexContainer.i nsertByIndex()

2009-02-25 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=99611
 Issue #|99611
 Summary|OOo Deadlock when setting negative int as parameter on
| XIndexContainer.insertByIndex()
   Component|api
 Version|OOo 3.0.1
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from tobiaskr...@openoffice.org Wed Feb 25 09:00:07 
+ 2009 ---
I created a Unit Test and detected a OOo deadlock when using the methods:
- XIndexContainer.insertByIndex(-2, properties);
- XIndexContainer.removeByIndex(-2);
- XIndexContainer.replaceByIndex(-2, properties);

I know the value is wrong, but the deadlock is too heavy...

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 97531] Closing OOo will close mul tiple documents

2009-01-06 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97531


User tobiaskrais changed the following:

What|Old value |New value

  Status|UNCONFIRMED   |RESOLVED

  Resolution|  |INVALID





--- Additional comments from tobiaskr...@openoffice.org Tue Jan  6 10:19:08 
+ 2009 ---
tobiaskrais -> as: OK. I don't reach a superflous frame. Now I understand
better. I set the issue to invalid.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 97633] Please publish com.sun.sta r.deyployment.* API

2008-12-29 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97633
 Issue #|97633
 Summary|Please publish com.sun.star.deyployment.* API
   Component|api
 Version|OOo 3.0
Platform|All
 URL|http://markmail.org/message/22nxn66zngju5lwf?q=%22tobi
|as+krais%22+deployment
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|ENHANCEMENT
Priority|P3
Subcomponent|definition
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from tobiaskr...@openoffice.org Mon Dec 29 08:20:26 
+ 2008 ---
Please publish the API of the package com.sun.star.deyployment.*

Use cases can be:
1. A self updating extension.
2. A external application relies on an installed extension and can install it,
if not present.

The second use case is already reality. I am working for a company that has a
OOo communication application. This application stores an initilized Spring
Framework in a Singleton that is deployed in an extension.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 97531] Closing OOo will close mul tiple documents

2008-12-25 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97531





--- Additional comments from tobiaskr...@openoffice.org Thu Dec 25 09:33:50 
+ 2008 ---
tobiaskrais -> as: Here my answers to your questions:

a) as I wrote to Rainer, I use the following API calls to open a document:
http://codesnippets.services.openoffice.org/Office/Office.OpenDocumentFromURL.snip
(I created the snippet, its exactly my code).

c) For closing I use the UI.

You further explanations are very interesting. I still think it's an issue,
although not a serious one, may be only a very rare use case. One question: may
a OpenOffice.org frame close other frames with documents? I think no. In any 
case.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 97531] Closing OOo will close mul tiple documents

2008-12-23 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97531





--- Additional comments from tobiaskr...@openoffice.org Tue Dec 23 12:06:48 
+ 2008 ---
@rainerbielefeld: Wow, this was fast!
1. All OS. I tested on WinXP and Ubuntu 8.10 with the OpenOffice.org
installation packages.
2. The sample code can be found here:
http://codesnippets.services.openoffice.org/Office/Office.OpenDocumentFromURL.snip

If you need further information, please ask me.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 97531] Closing OOo will close mul tiple documents

2008-12-23 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97531
 Issue #|97531
 Summary|Closing OOo will close multiple documents
   Component|framework
 Version|OOo 3.0
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|tm
 Reported by|tobiaskrais





--- Additional comments from tobiaskr...@openoffice.org Tue Dec 23 11:39:03 
+ 2008 ---
I have the following strange behaviour:
1. Open a document (e.g. an odt file) via API and then close the
document (only the document, not the OOo frame). Thus an empty OOo frame
remains (in OOo3 the OOo app chooser is loaded in the frame).
2. Open again a document via API. The document is not loaded in the
first frame (I use the "_blank" flag to demonstrate) - a new one is opened. Now
close the remaining frame from
point 1. Closing it will also close our document of point 2!

This does not occur if you open the documents with a file explorer! It
only occurs when opening via API.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 97530] Overwrite property when ex porting to HTML partly ignored

2008-12-23 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97530
 Issue #|97530
 Summary|Overwrite property when exporting to HTML partly ignor
|ed
   Component|api
 Version|OOo 3.0
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from tobiaskr...@openoffice.org Tue Dec 23 11:32:33 
+ 2008 ---
I am exporting e.g. a presentation document to HTML via API. I set the
Overwrite property like this:
-%<-
// XStorable to save document later
XStorable xStorable = (XStorable)
UnoRuntime.queryInterface(XStorable.class, this.xComponent);

// Set properties for conversions
PropertyValue[] conversionProperties = new PropertyValue[2];
conversionProperties[0] = new PropertyValue();
conversionProperties[0].Name = "Overwrite";
conversionProperties[0].Value = new Boolean(true);
conversionProperties[1] = new PropertyValue();
conversionProperties[1].Name = "FilterName";
conversionProperties[1].Value = "impress_html_Export";

// Convert
String convertedTargetFileName = "file:///tmp/test.html";
try {
xStorable.storeToURL(convertedTargetFileName, conversionProperties);
} catch (IOException ignore) {}
-%<-
The HTML export consists of several files. The main
file (presentation.html) is really overwritten while other files
(text0.html and img0.jpg) are not overwritten. Instead a message appears
that asks me to overwrite. Well, if I set the Overwrite option, I really
want to overwrite and I don't want to be asked again, especially if the document
is opened in hidden mode!

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 87495] Extend service PrinterDesc riptor with properties for paperbin(s)

2008-12-04 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87495





--- Additional comments from [EMAIL PROTECTED] Fri Dec  5 07:33:30 + 
2008 ---
tobiaskrais -> groverblue: I have to correct myself - you are right. Either
"PaperBin" or "PrinterTray" and not "PaperTray". Lets look what mba chooses.

tobiaskrais -> mba: this new feature might be quiete useless for Java API. Why?
To set a printer tray you need to know the tray names. How to get them in Java?
Currently only via Java PrinterLookupService. But this class returns different
printer tray names than OpenOffice.org uses! If you are interested, have a look
at http://www.mail-archive.com/[EMAIL PROTECTED]/msg07235.html. Anyway I am
happy to see the new print option in OOo3.1.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 87495] Extend service PrinterDesc riptor with properties for paperbin(s)

2008-12-04 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87495





--- Additional comments from [EMAIL PROTECTED] Thu Dec  4 16:55:40 + 
2008 ---
tobiaskrais -> mba: Yes, I prefer the printoptions as a solution. But I would
not call it "PaperBin" so suggested before. The correct word seems to be
"PaperTray".

As the InfoPrinter stuff shows, I think the solution seems to be not far away,
because you already have the information of Tray retrievement in the code. May
be its just a little modification?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 87495] Extend service PrinterDesc riptor with properties for paperbin(s)

2008-12-04 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87495





--- Additional comments from [EMAIL PROTECTED] Thu Dec  4 10:32:13 + 
2008 ---
Hi all,

it is already possible th get the printer trays / bins via API. Well, it's a bit
ugly, but it works:
-%<-
/**
 * Getting the printer trays of a printer via OpenOffice.org. OpenOffice.org
 * does not offer a method to get the printer tray names directly. But is
 * offers a method, to get printer information and returns a String like
 * this: "*;*;Tray Name; ;*;". This method derives the tray name from the
 * string by detecting the sourrounding semicolons.
 * @param printerName String with the name of the printer.
 * @return String[] with the names of the printer trays.
 */
public String[] getPrinterTrays(String printerName) {
if(xPrinterServer == null)
initXPrinterServer();

XInfoPrinter xInfoPrinter =   
xPrinterServer.createInfoPrinter(printerName);

// Print the trays received the OOo way
String ooTrays[] = xInfoPrinter.getFormDescriptions();
for(int i = 0; i < ooTrays.length; i++) {
String rangeRegex = "(.*;){2}[^;]{5,}";
Pattern pattern = Pattern.compile(rangeRegex);
Matcher matcher = pattern.matcher(ooTrays[i]);
while(matcher.find()){
String ooTray = matcher.group();
ooTrays[i] = ooTray.substring(ooTray.lastIndexOf(";")
+ 1);
}
}
return ooTrays;
}
-%<-
Concerning this issue, it would be nice, if OOo offers this information in a
better way.

The other thing is setting the paper tray / bin when printing. As the snippet
shows, this is a lot of work and only works for OOo writer and spreadsheet.
Presentation,... have no way to print on different trays / bins via API. Here is
the solution I dream of (you already mentioned it):
-%<-
// Querying for the interface XPrintable on the loaded document
XPrintable xPrintable = (XPrintable)
UnoRuntime.queryInterface(XPrintable.class, this.xComponent);

// Setting the property "Name" for the favoured printer
PropertyValue[] printerDesc = new PropertyValue[1];
printerDesc[0] = new PropertyValue();
printerDesc[0].Name = "Name";
printerDesc[0].Value = printerName;

try {
// Setting the name of the printer
xPrintable.setPrinter(printerDesc);
} catch (IllegalArgumentException ignore) {}

// Setting the property "Pages" so that only the desired pages
// will be printed.
PropertyValue[] printOpts = new PropertyValue[2];
printOpts[0] = new PropertyValue();
printOpts[0].Name = "Pages";
printOpts[0].Value = myPages;

// !!!Here my whish!!!
printOpts[1] = new PropertyValue();
printOpts[1].Name = "PaperBin";
printOpts[1].Value = "Cassette 1";

try {
xPrintable.print(printOpts);
} catch (IllegalArgumentException ignore) {}
-%<-
Greetings, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 94518] unowinreg.dll does not wor k on Windows XP with OOo 2.4.1

2008-10-07 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=94518





--- Additional comments from [EMAIL PROTECTED] Tue Oct  7 07:59:15 + 
2008 ---
tobiaskrais -> jsc: still the same with files from SDK 3rc4.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 94518] unowinreg.dll does not wor k on Windows XP with OOo 2.4.1

2008-10-02 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=94518


User tobiaskrais changed the following:

What|Old value |New value

  CC|'eberlein'|'eberlein,tobiaskrais'





--- Additional comments from [EMAIL PROTECTED] Thu Oct  2 08:17:01 + 
2008 ---
tobiaskrais -> mux2005: I confirm completely.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 87977] SystemShellExecute.execute () opens always Firefox in Linux

2008-09-29 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87977


User tobiaskrais changed the following:

What|Old value |New value

  Status|CLOSED|UNCONFIRMED

  Resolution|DUPLICATE |





--- Additional comments from [EMAIL PROTECTED] Mon Sep 29 08:54:56 + 
2008 ---
tobiaskrais -> jsk: Sorry, my last comment was wrong. A colleage of mine changed
my code. Now I retested it. I tried to open a document as described in my first
comment. OpenOffice still opens Firefox and Firefox assigns it to the
application that is system default. If issue 88440 is fixed, this is not a
duplicate of it. I tested on Ubuntu Hardy with Gnome and OpenOffice.org 3rc1
AMD64 Debian packages for the OpenOffice.org website.
I reopened the issue.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 87977] SystemShellExecute.execute () opens always Firefox in Linux

2008-09-29 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87977





--- Additional comments from [EMAIL PROTECTED] Mon Sep 29 08:20:45 + 
2008 ---
tobiaskrais -> jsk: is duplicate of 88440 and fixed in OOo3 (tested with OOo3rc1
on Ubuntu Hardy with Sun OOo).

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[sw-issues] [Issue 90872] Document is repaired in a wrong way if /META-INF/manifest.xml is missing

2008-08-26 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90872





--- Additional comments from [EMAIL PROTECTED] Tue Aug 26 12:53:48 + 
2008 ---
tobiaskrais -> mav: I Upgraded from Debian to Sun OOo. Now I am no more able to
reproduce the failure. Even OOo 2.4.0 repairs the document correctly and
generates the missing manifest.xml file. Can you confirm this? If yes, this is
not a bug.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 86220] Removing Extension crashed OOo and prevented further OOo starts

2008-06-26 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86220


User tobiaskrais changed the following:

What|Old value |New value

 Assigned to|tobiaskrais   |jl





--- Additional comments from [EMAIL PROTECTED] Thu Jun 26 09:07:52 + 
2008 ---
tobiaskrais -> jl: Resolved for me as fixed, you can close it.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 86220] Removing Extension crashed OOo and prevented further OOo starts

2008-06-26 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86220





--- Additional comments from [EMAIL PROTECTED] Thu Jun 26 09:05:27 + 
2008 ---
I forgot: OOo 3.0.0 Beta writes still an error to /var/log/syslog. But OOo does
no more crash and that was the reason for the issue.

For my part, you can close it as fixed in OOo 3.0.0 Beta.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 86220] Removing Extension crashed OOo and prevented further OOo starts

2008-06-26 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86220





--- Additional comments from [EMAIL PROTECTED] Thu Jun 26 09:01:45 + 
2008 ---
Solved in OOo 3.0.0 beta (BEA300_m2 Build-1).

Still occurs in OOo 2.4.1. /var/log/syslog says:
-%<-
Jun 26 10:53:10 tobias-xps kernel: [ 4702.118883] soffice.bin[15982]: segfault
at 0 rip 7f0701cadb79 rsp 7fff18367e10 error 4
-%<-

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[sw-issues] [Issue 90872] Document is repaired in a wrong way if /META-INF/manifest.xml is missing

2008-06-19 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90872





--- Additional comments from [EMAIL PROTECTED] Thu Jun 19 08:57:16 + 
2008 ---
Created an attachment (id=54587)
SXW document without /META-INF/manifest.xml. OOo 1.1.4 opens it like a charm, 
OOo 2.4 repaires it incorrectly.


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[sw-issues] [Issue 90872] Document is repaired in a wrong way if /META-INF/manifest.xml is missing

2008-06-19 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90872
 Issue #|90872
 Summary|Document is repaired in a wrong way if /META-INF/manif
|est.xml is missing
   Component|Word processor
 Version|OOo 2.4.1
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|viewing
 Assigned to|ama
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Thu Jun 19 08:55:41 + 
2008 ---
We upgraded from OOo 1.1.4 to OOo 2.4. OOo now claims when opening many
documents, that they are defect and should be repaired, while OOo 1.1.4 opens
them like a charm (see the attatched document "without_manifest.sxw"). When
repairing the documents automatically with OOo 2.4, they are just empty. For
this I unpacked the sxw file and detected, that the /META-INF/manifest.xml file
is missing. I wrote such a manifest.xml and packed a new sxw document. Now, OOo
2.4 opens the document without problems, even without a repair dialogue.

Shouldn't OOo generate the missing manifest.xml files automatically?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 87977] SystemShellExecute.execute () opens always Firefox in Linux

2008-04-22 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87977





--- Additional comments from [EMAIL PROTECTED] Tue Apr 22 07:08:56 + 
2008 ---
What kind of document opens in Firefox ?
- All, even ODF documents!

Is this document type actually registered for Firefox ?
- No. E.g. ODF is registered for OOo, PDF for Acrobat,...

What kind of desktop environment (GNOME, KDE) / distribution ?
- System: Ubuntu Gutsy and Hardy, Debian Lenny
- Desktop environment: Gnome and KDE


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 87977] SystemShellExecute.execute () opens always Firefox in Linux

2008-04-07 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87977
 Issue #|87977
 Summary|SystemShellExecute.execute() opens always Fi
|refox in Linux
   Component|api
 Version|OOo 2.4.0
Platform|All
 URL|http://api.openoffice.org/servlets/ReadMsg?list=dev&ms
|gNo=19118
  OS/Version|Linux
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Mon Apr  7 07:48:20 + 
2008 ---
I want to use the SystemShellExecute.execute method to open Documents
that OOo can not open. Giving the file location as the parameter
aCommand opens the document with the default application in Windows. In
Linux my Firefox is opened, which again opens the default application.

The code definition
(http://api.openoffice.org/docs/common/ref/com/sun/star/system/XSystemShellExecute.html)
states: "Parameter aCommand: Specifies the command to execute. This may be an
executable file or a document which is registered with an application on a
specific platform, so that the platform knows what application to launch for
that document. If the command specifies a path to an executable, etc, this has
to be a system specific path."
Thus the default application should start up in Linux as it does in Windows and
not starting up Firefox.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 86220] Removing Extension crashed OOo and prevented further OOo starts

2008-03-10 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86220


User tobiaskrais changed the following:

What|Old value |New value

 Version|OOo 2.3.1 |OOo 2.4 RC2





--- Additional comments from [EMAIL PROTECTED] Mon Mar 10 10:47:45 + 
2008 ---
tobiaskrais -> jl: I forgot: when starting OOo with the corrupted uno_packages
folder I get following entry in /var/log/syslog:
-%<
Mar 10 11:33:53 schleppi226 kernel: [14137.877061] soffice.bin[11836]: segfault
at 0 rip 7f729d3c9b39 rsp 7fffb37f31e0 error 4
-%<-

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 86220] Removing Extension crashed OOo and prevented further OOo starts

2008-03-10 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86220





--- Additional comments from [EMAIL PROTECTED] Mon Mar 10 10:44:56 + 
2008 ---
tobiaskrais -> jl: I upgraded on Ubuntu Hardy Alpha (AMD64). It uses OOo
2.4-rc2. If I unzip the attached zipfile and replace the folder
~/.openoffice.org2/user/uno_packages/ with the folder in the attachment zip
file, OOo does no more start. Even removing the extension is not possible. My
/var/log/kern.log and /var.log/syslog say:
-%<-
Mar 10 11:38:14 schleppi226 kernel: [14503.358536] unopkg.bin[12511]: segfault
at 4 rip 7f056bdc9420 rsp 7fff7ed3af70 error 4
-%<-
Sorry. Only removing the uno_packages folder solves the problem.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 85073] Option AutoHScroll in css. awt.UnoControlEditModel crashed dialog

2008-03-10 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85073





--- Additional comments from [EMAIL PROTECTED] Mon Mar 10 08:35:09 + 
2008 ---
Just a note: also resolved in Ubuntu Hardy Heron. Reason: OOo in Ubuntu is no
more compiled against GCJ Java, but now against OpenJDK. That adds the
functionality in Ubuntu OOo.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 86563] Multiline tooltips for dia log elements

2008-02-29 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86563
 Issue #|86563
 Summary|Multiline tooltips for dialog elements
   Component|api
 Version|OOo 2.3
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|ENHANCEMENT
Priority|P4
Subcomponent|code
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Fri Feb 29 09:23:10 + 
2008 ---
Hi together,

I tried to create multiline tooltips for dialog elements in Java. I can
only create single line dialogs:
-%<-
Object inputModel03 =   
xMSF.createInstance("com.sun.star.awt.UnoControlEditModel");
XPropertySet xPSetInput03 = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, inputModel03);
xPSetInput03.setPropertyValue("PositionX", new Integer(160));
xPSetInput03.setPropertyValue("PositionY", positionY - 2);
xPSetInput03.setPropertyValue("Width", new Integer(60));
xPSetInput03.setPropertyValue("Height", new Integer(14));
xPSetInput03.setPropertyValue("HelpText", "Hello World");
xPSetInput03.setPropertyValue("Name", "Hello");
-%<-
Is there a possibility to create multiline dialogs? I tried \n within
the HelpText string, but it did not work. In some cases I would like to add more
information to a tooltip. But this more information generates an extreme long
tooltip that looks very bad.

Greetings, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 86220] Removing Extension crashed OOo and prevented further OOo starts

2008-02-19 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86220





--- Additional comments from [EMAIL PROTECTED] Tue Feb 19 09:19:56 + 
2008 ---
Created an attachment (id=51585)
Copy of the defect ~/.openoffice.org2/user/uno_packages folder. I had to remove 
some files withing the extension, because of the attachement file size.


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 86220] Removing Extension crashed OOo and prevented further OOo starts

2008-02-19 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86220
 Issue #|86220
 Summary|Removing Extension crashed OOo and prevented further O
|Oo starts
   Component|framework
 Version|OOo 2.3.1
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jl
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Tue Feb 19 09:14:17 + 
2008 ---
Hi together,

I tried to remove an installed and correctly working extension (called
JudasComponent.oxt). Removing failed. After this, OOo was no more able to start
and the extension manager crashed. On OOo 2.3.1 Debian Sid, where the failure
occured, I have the following backtrace:
-%<-
/usr/lib/openoffice/program/unopkg -remove JudasComponent.oxt
*** glibc detected *** /usr/lib/openoffice/program/unopkg.bin:
free(): invalid pointer: 0x080837c0 ***
=== Backtrace: =
/lib/i686/cmov/libc.so.6[0xb72b9915]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb72bd380]
/usr/lib/openoffice/program/libuno_sal.so.3(rtl_freeMemory+0x1d)[0xb7e207ad]
/usr/lib/openoffice/program/unopkg.bin[0x805c1ae]
/usr/lib/openoffice/program/unopkg.bin(_ZdlPv+0x26)[0x805c1e6]
/usr/lib/openoffice/program/libstore.so.3[0xb59de905]
/usr/lib/openoffice/program/libstore.so.3[0xb59d51fa]
/usr/lib/openoffice/program/libstore.so.3(store_openDirectory+0xfd)[0xb59e70fd]
/usr/lib/openoffice/program/libreg.so.3[0xb59f44cb]
/usr/lib/openoffice/program/libreg.so.3[0xb59f5620]
/usr/lib/openoffice/program/libreg.so.3[0xb59f7cfc]
/usr/lib/openoffice/program/libreg.so.3[0xb59ff202]
/usr/lib/openoffice/program/libreg.so.3[0xb59fd023]
/usr/lib/openoffice/program/simplereg.uno.so[0xb5971e84]
/usr/lib/openoffice/program/nestedreg.uno.so[0xb5961b3a]
/usr/lib/openoffice/program/nestedreg.uno.so[0xb5961e23]
/usr/lib/openoffice/program/nestedreg.uno.so[0xb5961b3a]
/usr/lib/openoffice/program/nestedreg.uno.so[0xb5961e23]
/usr/lib/openoffice/program/nestedreg.uno.so[0xb5961b3a]
/usr/lib/openoffice/program/nestedreg.uno.so[0xb5961e23]
/usr/lib/openoffice/program/nestedreg.uno.so[0xb5961b3a]
/usr/lib/openoffice/program/nestedreg.uno.so[0xb59646b3]
/usr/lib/openoffice/program/libuno_cppuhelpergcc3.so.3[0xb7d247bc]
/usr/lib/openoffice/program/libuno_cppuhelpergcc3.so.3[0xb7d41dd6]
/usr/lib/openoffice/program/libuno_cppuhelpergcc3.so.3(_ZN4cppu40defaultBootstrap_InitialComponentContextEv+0x29)[0xb7d425e9]
/usr/lib/openoffice/program/unopkg.bin[0x8051af7]
/usr/lib/openoffice/program/unopkg.bin(_ZN6unopkg6getUNOERNS_12DisposeGuardEbb+0x47)[0x8052257]
/usr/lib/openoffice/program/unopkg.bin(main+0x5ff)[0x8057e4f]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7264450]
/usr/lib/openoffice/program/unopkg.bin(_ZN6Window15SetPosSizePixelEt+0x1b1)[0x8050261]
=== Memory map: 
08048000-0806 r-xp  08:01 544192
/usr/lib/openoffice/program/unopkg.bin
0806-08061000 rw-p 00017000 08:01 544192
/usr/lib/openoffice/program/unopkg.bin
08061000-080a3000 rw-p 08061000 00:00 0  [heap]
b500-b5021000 rw-p b500 00:00 0
b5021000-b510 ---p b5021000 00:00 0
b51e5000-b5435000 r--s  08:01 544200
/usr/lib/openoffice/program/services.rdb
b5435000-b5436000 r--s  08:01 246075
/var/spool/openoffice/uno_packages/cache/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/Linux_x86_.rdb
b5436000-b543a000 r--s  08:01 246056
/var/spool/openoffice/uno_packages/cache/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/common_.rdb
b543a000-b543b000 r--s  08:01 1599718
/home/thorsten/.openoffice.org2/user/uno_packages/cache/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/Linux_x86_.rdb
b543b000-b5443000 r--s  08:01 1599564
/home/thorsten/.openoffice.org2/user/uno_packages/cache/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/common_.rdb
b5443000-b57e3000 r--s  08:01 544199
/usr/lib/openoffice/program/types.rdb
b57e3000-b5903000 r--s  08:01 544178
/usr/lib/openoffice/program/oovbaapi.rdb
b5903000-b591e000 r-xp  08:01 544728
/usr/lib/openoffice/program/security.uno.so
b591e000-b591f000 rw-p 0001b000 08:01 544728
/usr/lib/openoffice/program/security.uno.so
b591f000-b5932000 r-xp  08:01 544696
/usr/lib/openoffice/program/implreg.uno.so
b5932000-b5933000 rw-p 00013000 08:01 544696
/usr/lib/openoffice/program/implreg.uno.so
b5933000-b5959000 r-xp  08:01 544738
/usr/lib/openoffice/program/typemgr.uno.so
b5959000-b595b000 rw-p 00025000 08:01 544738
/usr/lib/openoffice/program/typemgr.uno.so
b595b000-b596a000 r-xp 0

[api-issues] [Issue 85759] OOo Javadoc incomplete

2008-01-31 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85759





--- Additional comments from [EMAIL PROTECTED] Thu Jan 31 10:39:38 + 
2008 ---
tobiaskrais -> jsc: unfortuneatly I am not a Javadoc specialist. But Eclipse
needs a complete javadoc with an index.html as a starting point. OOo comes along
with an example: /usr/lib/openoffice/sdk/docs/java/ref/index.html. Opening this
file in a browser shows you what the documentation in
/usr/lib/openoffice/sdk/docs/common/ref should look like.

First of all Eclipse complains that the index.html is missing. Most IDEs come
along with tools creating the Javadoc automatically. You might ask the ones
creating the /usr/lib/openoffice/sdk/docs/java/ref/ Javadoc, how they created it
and how you can adopt the technique.

I hope this helps. I not, please tell me.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 80100] .jar file for extension no longer in CLASSPATH

2008-01-31 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80100





--- Additional comments from [EMAIL PROTECTED] Thu Jan 31 10:00:23 + 
2008 ---
Here a solution: add following lines in your
ProtocolHandler.dispatch(URL aURL, PropertyValue[] lArgs) method:
-%<-
ClassLoader clazzLoader = ProtocolHandler.class.getClassLoader();
Thread.currentThread().setContextClassLoader(clazzLoader);
-%<-
The current thread comes with the OOo class loader. These lines set the
classloader with the classes you defined in your MANIFEST.MF of the jar
with the ProtocolHandler in your extension. Thus the thread relies no
more on the OOo class loader, but on the one you defined.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 85759] OOo Javadoc incomplete

2008-01-31 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85759
 Issue #|85759
 Summary|OOo Javadoc incomplete
   Component|api
 Version|OOo 2.3.1
Platform|All
 URL|http://api.openoffice.org/servlets/ReadMsg?list=dev&ms
|gNo=18699
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|documentation
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Thu Jan 31 08:57:50 + 
2008 ---
For some files I found a javadoc in the folder
/usr/lib/openoffice/sdk/docs/java/ref/. But the rest is missing. I tried
to add /usr/lib/openoffice/sdk/docs/common/ref/. But this is an incomplete
Javadoc, missing some files needed for complete Javadoc.

Please provide a complete Javadoc to be able to add it to Eclipse or other IDEs.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 83074] Failure in XPackageManager .addPackage(...) on Linux amd64

2008-01-09 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83074





--- Additional comments from [EMAIL PROTECTED] Thu Jan 10 07:21:21 + 
2008 ---
tobiaskrais -> jsk: Seems to be Ubuntu specific. I filed a bug against Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/181700

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 85073] Option AutoHScroll in css. awt.UnoControlEditModel crashed dialog

2008-01-09 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85073





--- Additional comments from [EMAIL PROTECTED] Thu Jan 10 07:20:00 + 
2008 ---
tobiaskrais -> cd: I filed a bug against Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/181700

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 85073] Option AutoHScroll in css. awt.UnoControlEditModel crashed dialog

2008-01-09 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85073





--- Additional comments from [EMAIL PROTECTED] Wed Jan  9 19:57:27 + 
2008 ---
tobiaskrais -> cd: Hi Carsten, I use the OOo packages from the distribution, for
I have a 64 bit system. In this case I should file an issue against Ubuntu
Gutsy. Please close the issue. Thx, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 85073] Option AutoHScroll in css. awt.UnoControlEditModel crashed dialog

2008-01-09 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85073





--- Additional comments from [EMAIL PROTECTED] Wed Jan  9 13:23:08 + 
2008 ---
Hi Carsten,

I tested your Basic Script. When setting the AutoHScroll value an exception
comes up. It says:
-%<-
BASIC Laufzeitfehler.
Es ist eine Exception aufgetreten.
Type: com.sun.star.beans.UnknownPropertyException
Message: .
-%<-
Do you have an Ubuntu Gutsy arround for testing? Maybe a live CD?

Im sorry, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 85073] Option AutoHScroll in css. awt.UnoControlEditModel crashed dialog

2008-01-08 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85073





--- Additional comments from [EMAIL PROTECTED] Tue Jan  8 09:52:38 + 
2008 ---
Created an attachment (id=50729)
Example Java application to simulate the crash


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 85073] Option AutoHScroll in css. awt.UnoControlEditModel crashed dialog

2008-01-08 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85073
 Issue #|85073
 Summary|Option AutoHScroll in css.awt.UnoControlEditModel cras
|hed dialog
   Component|api
 Version|OOo 2.3
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Tue Jan  8 09:50:22 + 
2008 ---
Please see the following code. When setting the AutoHScroll or AutoVScroll
value, my dialog crashes.
-%<-
package de.designtouse.test;

import com.sun.star.beans.PropertyValue;
import com.sun.star.beans.XPropertySet;
import com.sun.star.comp.helper.Bootstrap;
import com.sun.star.frame.XComponentLoader;
import com.sun.star.frame.XDesktop;
import com.sun.star.lang.XComponent;
import com.sun.star.lang.XMultiComponentFactory;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XComponentContext;

import de.twc.oocom.oo.OOWorkbench;
import de.twc.oocom.utils.OOUtils;

public class DialogCrashTest {

/**
 * @param args
 */
public static void main(String[] args) {
try {
XComponentContext  xComponentContext = 
Bootstrap.bootstrap();

XMultiComponentFactory xMCF = 
xComponentContext.getServiceManager();

Object desktop = xMCF.createInstanceWithContext(
"com.sun.star.frame.Desktop", xComponentContext);

XComponentLoader xComponentLoader = (XComponentLoader)
UnoRuntime.queryInterface(XComponentLoader.class, 
desktop);

PropertyValue[] myProperties = new PropertyValue[1];
myProperties[0] = new PropertyValue();
// open document but do not show user interface
myProperties[0].Name = "Hidden";
myProperties[0].Value = new Boolean(false);

XComponent xComponent = xComponentLoader.loadComponentFromURL(
"private:factory/swriter", "_blank", 0, myProperties);

// create the dialog model and set the properties
Object dialogModel = xMCF.createInstanceWithContext(
"com.sun.star.awt.UnoControlDialogModel", 
xComponentContext);
XPropertySet xPSetDialog = (XPropertySet)UnoRuntime.queryInterface(
 XPropertySet.class, dialogModel);  
xPSetDialog.setPropertyValue("PositionX", new Integer(0));
xPSetDialog.setPropertyValue("PositionY", new Integer(0));
xPSetDialog.setPropertyValue("Width", new Integer(200));
xPSetDialog.setPropertyValue("Height", new Integer(200));
xPSetDialog.setPropertyValue("Title", new String("Fehler!"));

XMultiServiceFactory xMSF = (XMultiServiceFactory)
UnoRuntime.queryInterface(XMultiServiceFactory.class, 
dialogModel);

Object inputModel01 = 

xMSF.createInstance("com.sun.star.awt.UnoControlEditModel");
XPropertySet xPSetInput01 = (XPropertySet) 
UnoRuntime.queryInterface(
XPropertySet.class, inputModel01);
xPSetInput01.setPropertyValue("PositionX", new Integer(5));
xPSetInput01.setPropertyValue("PositionY", new Integer(5));
xPSetInput01.setPropertyValue("Width", new Integer(190));
xPSetInput01.setPropertyValue("Height", new Integer(120));
xPSetInput01.setPropertyValue("MultiLine", true);
// Application crashes next line with exception
xPSetInput01.setPropertyValue("AutoHScroll", true);
xPSetInput01.setPropertyValue("AutoVScroll", true);
xPSetInput01.setPropertyValue("ReadOnly", true);
xPSetInput01.setPropertyValue("Text", "CrashText");
xPSetInput01.setPropertyValue("Name", "CrashText");

}
catch(Exception e) {
e.printStackTrace();
}
System.exit(0);
}

}
-%<-

-
Please do not reply to this automatically generated notification from
Issue Track

[api-issues] [Issue 83964] css.awt.UnoControlButtonMo del with property "PushButtonType" and "ImageU RL" makes button multiline

2007-11-26 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83964
 Issue #|83964
 Summary|css.awt.UnoControlButtonModel with property "PushButto
|nType" and "ImageURL" makes button multiline
   Component|api
 Version|OOo 2.3
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Mon Nov 26 08:03:30 + 
2007 ---
Hi together,

here ist my Java code:
-%<-
Object buttonModel04 = xMSF.createInstance(
"com.sun.star.awt.UnoControlButtonModel");
XPropertySet xPSetCancelButton = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, buttonModel04);

xPSetCancelButton.setPropertyValue("PositionX", new Integer(100));
xPSetCancelButton.setPropertyValue("PositionY", new Integer(120));
xPSetCancelButton.setPropertyValue("Width", new Integer(50));
xPSetCancelButton.setPropertyValue("Height", new Integer(14));
xPSetCancelButton.setPropertyValue("Name", "Close");
xPSetCancelButton.setPropertyValue("PushButtonType", new Short((short) 2));
xPSetCancelButton.setPropertyValue("ImagePosition", 
com.sun.star.awt.ImagePosition.LeftCenter);
xPSetCancelButton.setPropertyValue("ImageURL", "close.gif");
xPSetCancelButton.setPropertyValue("Label", new String(" Close"));
%<-

This code produces a button with the image in the first line and the
text "Close" in the second line. Not setting the PropertyValue
"PushButtonType" creates the button as intended: one line with the image
left centered.

Greetings, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 83074] Failure in XPackageManager .addPackage(...) on Linux amd64

2007-11-23 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83074





--- Additional comments from [EMAIL PROTECTED] Fri Nov 23 10:33:06 + 
2007 ---
I use Ubuntu Gutsy amd64 with OOo 2.3.
If you used the "addPackage(...)" method, you did everything well. After
updating the extension, does the Extras -> Addons dialogs work well and are they
opening?
Maybe this is Ubuntu specific...

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 82876] XPackageManager.addPackage (...) does not deal correctly with null in sec ond String

2007-11-05 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82876





--- Additional comments from [EMAIL PROTECTED] Mon Nov  5 08:16:56 + 
2007 ---
Yes, a comment from my side: I wasted some the, because I was not reading the
documentation very well. Maybe there are others like me...

My opinion is as sb wrote: if the null value is treated silently, it should work
correct or throw an exception. I think this is a very small fix at the beginning
of a method call like (Java):
-%<-
if(param == null) {
param = "";
}
-%<-

I think: lets fix it.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 83074] Failure in XPackageManager .addPackage(...) on Linux amd64

2007-10-29 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83074





--- Additional comments from [EMAIL PROTECTED] Mon Oct 29 08:04:55 + 
2007 ---
Created an attachment (id=49231)
Example Extension implementing the commandURL .Judas:Saveto and 
.Judas:PrintTrays. See Extras -> Addons Menu


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 83074] Failure in XPackageManager .addPackage(...) on Linux amd64

2007-10-29 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83074





--- Additional comments from [EMAIL PROTECTED] Mon Oct 29 08:03:54 + 
2007 ---
Created an attachment (id=49230)
Example Extension implementing the commandURL .Judas:Saveto


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 83074] Failure in XPackageManager .addPackage(...) on Linux amd64

2007-10-28 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83074
 Issue #|83074
 Summary|Failure in XPackageManager.addPackage(...) on Linux am
|d64 
   Component|api
 Version|OOo 2.3
Platform|All
 URL|http://api.openoffice.org/servlets/ReadMsg?list=dev&ms
|gNo=18466
  OS/Version|Linux
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jl
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Mon Oct 29 07:45:20 + 
2007 ---
Using XPackageManager.addPackage(...) to update an installed extension
containing a JAR archive failes to activate the JAR archive and thus the whole
extension on Linux amd64. Other platforms I tested with the same extension
(WinXP with OOo 2.3 and Debian Lenny with OO 2.2.1) worked perfectly.

I experienced a problem that seems to be a flavour of this one: installing (in
this case not updating) an extension with XPackageManager.addPackage(...) failes
to make it usable. The JAR archive is activated, but my extension contains a
CommandURL that does not work. This happens only on Linux amd64 again.

Please see the following messages (belong to the same thread). They describe the
problem very well:
http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=18466
http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=18428

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 82876] XPackageManager.addPackage (...) does not deal correctly with null in sec ond String

2007-10-23 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82876
 Issue #|82876
 Summary|XPackageManager.addPackage(...) does not deal correctl
|y with null in second String
   Component|api
 Version|OOo 2.3
Platform|All
 URL|http://api.openoffice.org/servlets/ReadMsg?list=dev&ms
|gNo=18412
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Tue Oct 23 08:37:37 + 
2007 ---
I use the XPackageManager.addPackage() method. This method takes 4
arguments. The second is the "media-type of package, empty string if to
be detected". If I pass "null" for the second argument, the package is
installed without failures. But I cannot use my implemented protocol
handler! If I pass just an empty String (""), the package is also
installed (again, no failures while installing) and my protocol handler
works.
Solutions are:
1. Passing "null" should throw an exception and not install the extension
2. Passing "null" should have the same result as passing an empty string

I prefer solution 2, although I think this argument is not necessary at all,
because of the auto detection of the package type.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 72246] Setting printer tray on Pr esentations / Drawings via API not possible

2006-12-04 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72246
 Issue #|72246
 Summary|Setting printer tray on Presentations / Drawings via A
|PI not possible
   Component|api
 Version|OOo 2.0.4
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|ENHANCEMENT
Priority|P4
Subcomponent|code
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Mon Dec  4 02:21:06 -0800 
2006 ---
Hi,

I would like to set the printer tray for a presentation and a drawing document.
This code snippet
(http://codesnippets.services.openoffice.org/Office/Office.PrintOnDifferentTrays.snip)
shows how I do this with a XTextDocument. Very close to this code, I want to do
following for a presentation document:
-%<-
// Get the Presentation document
XPresentationSupplier xPresSupplier = (XPresentationSupplier)
UnoRuntime.queryInterface(XPresentationSupplier.class,
xComponent);
// Get the StyleFamiliesSupplier interface of the document
XStyleFamiliesSupplier xSupplier = (XStyleFamiliesSupplier)
UnoRuntime.queryInterface(XStyleFamiliesSupplier.class,
xPresSupplier);

// Getting the page style name
XPresentation xPresentation = xPresSupplier.getPresentation();
XPropertySet xPropSet = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, xPresentation);
// TODO: Such a property name as needed does not exist...
String pageStyleName = xPropSet.getPropertyValue("PageStyleName").toString();
...continue...
-%<-
Please see the TODO line. My suggestion is to implement a XPropertySet named
"PageStyleName". (Any other way to set the printer tray would be acceptable for
me, too...).

And here the same code for a drawing document:
-%<-
// Get the Drawing document
XDrawPagesSupplier xDrawPagesSupplier = (XDrawPagesSupplier)
UnoRuntime.queryInterface(XDrawPagesSupplier.class,
xComponent);
// Get the StyleFamiliesSupplier interface of the document
XStyleFamiliesSupplier xSupplier = (XStyleFamiliesSupplier)
UnoRuntime.queryInterface(XStyleFamiliesSupplier.class,
xDrawPagesSupplier);

// Get the page style name
XDrawPages xDrawPages = xDrawPagesSupplier.getDrawPages();
for (int i = 0; i < xDrawPages.getCount(); i++) {
XDrawPage xDrawPage = (XDrawPage) 
AnyConverter.toObject(XDrawPage.class,
xDrawPages.getByIndex(i));
XPropertySet xPropSet = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, xDrawPage);
// TODO: Such a property name as needed does not exist...
String pageStyle = xPropSet.getPropertyValue("PageStyleName")
.toString();
...continue...
}
-%<-

Please think about implementing this feature.

Greetings, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 72240] Printing a non-existing pa ge leaves PrintableState at JOB_STARTED

2006-12-04 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72240
 Issue #|72240
 Summary|Printing a non-existing page leaves PrintableState at 
|JOB_STARTED
   Component|api
 Version|OOo 2.0.4
Platform|All
 URL|http://codesnippets.services.openoffice.org/Office/Off
|ice.PrintOnDifferentTrays.snip
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P1
Subcomponent|code
 Assigned to|jsc
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Mon Dec  4 01:28:27 -0800 
2006 ---
Hi together,

Please see the code snippet mentioned in the URL (you don't need the printer
tray stuff). If you print a non-existing page (e.g. page 1 000 000), the
com.sun.star.view.PrintableState will remain at status "JOB_STARTED" forever.
Thus my PrintJobListener hangs in a loop.

Greetings, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 72119] Images in Addons.xcu shoul d be queried every time - not only for addons

2006-11-30 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72119
 Issue #|72119
 Summary|Images in Addons.xcu should be queried every time - no
|t only for addons
   Component|api
 Version|OOo 2.0.4
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|ENHANCEMENT
Priority|P3
Subcomponent|code
 Assigned to|cd
 Reported by|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Thu Nov 30 01:04:08 -0800 
2006 ---
I wrote a CommanURL and added a picture to the .uno.pkg. This picture is not
shown in the menu if I only add it transient and use the Addons.xcu posted
below. If I add it through the Addons.xcu to the toolbar or menu, the picture is
shown.

Here is my Addons.xcu (with this one, no image is shown)
-%<
 
http://openoffice.org/2001/registry"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; oor:name="Addons" 
oor:package="org.openoffice.Office"> 
  

  

  .JudasSaveTo:


  %origin%/JudasSaveto

  

  

-%<-

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[udk-issues] [Issue 70428] Add new java methods to st art OpenOffice.org even if the jar files are n ot in the installation directory.

2006-11-14 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70428





--- Additional comments from [EMAIL PROTECTED] Tue Nov 14 01:01:46 -0800 
2006 ---
I have an additional wish for this feature: it should be possible to add certain
PropertyValues to the bootstrap process. These properties should have the same
features as the commandline OOo start options have, e.g.:
-nofirststartwizard
-headless
-invisible
-norecovery
-...

For background discussion see
http://www.nabble.com/-api-dev--Multiple-instances---creating-user-installations-tf2607718.html

Greetings, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 63169] Selecting printer in linux using Java/UNO not possible

2006-08-07 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63169





--- Additional comments from [EMAIL PROTECTED] Mon Aug  7 23:44:54 -0700 
2006 ---
Is bug 27022 solved also?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 27022] Cannot select printer from API (Maybe only in -headless!)

2006-07-18 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=27022





--- Additional comments from [EMAIL PROTECTED] Tue Jul 18 00:32:08 -0700 
2006 ---
See bug 63169 -> seems to be the same. Can you confirm?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 27022] Cannot select printer from API (Maybe only in -headless!)

2006-07-18 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=27022





--- Additional comments from [EMAIL PROTECTED] Tue Jul 18 00:31:43 -0700 
2006 ---
See bug 63169 -> seems to be the same. Can you confirm?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 63169] Selecting printer in linux using Java/UNO not possible

2006-07-18 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63169


User tobiaskrais changed the following:

What|Old value |New value

Priority|P3|P4

 Version|OOo 2.0.1 |OOo 2.0.3





--- Additional comments from [EMAIL PROTECTED] Tue Jul 18 00:27:13 -0700 
2006 ---
Hi mvincent,
indeed it seems to be the same as bug 27022. I can chose a printer and even a
printer tray in OOo (Linux) when I connect to a existing OOo with an opened
document. For me, -headless is not the reason (I tested -headless in Windows OOo
2.0.3 and it printed?!). If I just start OOo without any open document it does
not work in Linux, too. If I then create a new document and try again to connect
to OOo it works.
Need more tests, please ask here.
Greetings, Tobias
PS: Changed priority and version

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[udk-issues] [Issue 66769] unopkg use of -env to cont rol Java does not work

2006-07-04 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66769





--- Additional comments from [EMAIL PROTECTED] Tue Jul  4 07:08:23 -0700 
2006 ---
Hi together,

i tried this (see thread under
http://www.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=1704)

Greetings, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[udk-issues] [Issue 66196] Java Bootstrap.bootstrap should fail if it cannot connect to soffice

2006-06-13 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66196





--- Additional comments from [EMAIL PROTECTED] Tue Jun 13 01:29:42 -0700 
2006 ---
I have a workaround that might be integrated:
-%<-
public class OOComNG extends Thread{

protected XComponentContext xRemoteContext = null; 

public OOComNG (String threadName) {
super(threadName);
}

/**
 * This method checks for a running OpenOffice instance. If none is alive
 * OOComNG exits.
 */
public void run() {
try {
sleep(15000);
if(xRemoteContext == null) {
System.out.println("Found only a frozen OpenOffice. " +
"Please kill all OOo instances and call me again. " +
"Goodbye.");
System.exit(201);
}
} catch (InterruptedException e) {}
}

/**
 * This method bootstraps a OpenOffice and returns it's Desktop.
 */
private void bootstrapOpenOffice()
{
try
{
// Connect or start a OpenOffice instance
xRemoteContext = Bootstrap.bootstrap();
}
catch (BootstrapException e)
{
System.out.println("Unable to start OpenOffice. Starter says:");
System.out.println(e.getLocalizedMessage());
}
}
}

public class OOCom {

public static void main(String[] args){
OOComNG myServer = new OOComNG("myThread");
// Watch the bootstrap process: watch thread started
myServer.start();

// Start OO, if a port is given, it connects to the OO instance
myServer.bootstrapOpenOffice();
}
}
-%<-
Greetings, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 66236] OOo crash when changing m enus while user browses menus

2006-06-07 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66236


User tobiaskrais changed the following:

  What|Old value |New value

   Attachment data|  |Created an attachment
  |  |(id=36999) Sample code to
  |  |simulate the crash. Please
  |  |enter the menu as soon as
  |  |it appears and then
  |  |wait...





--- Additional comments from [EMAIL PROTECTED] Wed Jun  7 23:54:33 -0700 
2006 ---
Created an attachment (id=36999)
Sample code to simulate the crash. Please enter the menu as soon as it appears 
and then wait...


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 66236] New - OOo crash when chang ing menus while user browses menus

2006-06-07 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66236
  Issue #:|66236
  Summary:|OOo crash when changing menus while user browses
  |menus
Component:|framework
  Version:|OOo 2.0.2
 Platform:|All
  URL:|http://framework.openoffice.org/servlets/BrowseList?l
  |ist=dev&by=thread&from=1399784
   OS/Version:|All
   Status:|UNCONFIRMED
Status whiteboard:|
 Keywords:|
   Resolution:|
   Issue type:|DEFECT
 Priority:|P1
 Subcomponent:|ui
  Assigned to:|tm
  Reported by:|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Wed Jun  7 23:51:31 -0700 
2006 ---
Hi together,

I created a little programm that removes a menu item from a menu and adds
another instead. In case the user tries to access the menu while the menu update
is performed my OO crashes and my command line says:
-%<-
Exception in thread "main" com.sun.star.lang.DisposedException:
java.io.EOFException at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.invoke(java_remote_bridge.java)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java)
-%<-

Please read the thread in the URL for a detailed discussion.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[framework-issues] [Issue 65942] New - Throwing a Terminati onVetoException() from a hidden task prevents OO windows from closing

2006-05-30 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65942
  Issue #:|65942
  Summary:|Throwing a TerminationVetoException() from a hidden
  |task prevents OO windows from closing
Component:|framework
  Version:|OOo 2.0.2
 Platform:|All
  URL:|http://api.openoffice.org/servlets/BrowseList?list=de
  |v&by=thread&from=1389043
   OS/Version:|All
   Status:|UNCONFIRMED
Status whiteboard:|
 Keywords:|
   Resolution:|
   Issue type:|DEFECT
 Priority:|P3
 Subcomponent:|code
  Assigned to:|tm
  Reported by:|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Tue May 30 23:36:35 -0700 
2006 ---
I added a terminate Listener to my xDesktop:
-%<-
xDesktop.addTerminateListener(new com.sun.star.frame.XTerminateListener() {
public void queryTermination(EventObject arg0)
throws com.sun.star.frame.TerminationVetoException {
// Disallow termination
throw new com.sun.star.frame.TerminationVetoException();   
}

public void notifyTermination(EventObject arg0) {
}

public void disposing(EventObject arg0) {
}
});
-%<-

My task runs in hidden mode. If a user now wants to close his last OO windows
(File -> Exit), this is prevented.

Please allow closing open Windows if hidden tasks are running and throwing a
TerminateVetoException.

Please read also the Thread in the URL. Mathias Bauer described the problem very
well.

Thanks, Tobias

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 63169] Selecting printer in linu x using Java/UNO not possible

2006-03-20 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63169





--- Additional comments from [EMAIL PROTECTED] Mon Mar 20 07:49:24 -0800 
2006 ---
For my first comment seems not to be placed correct I add again how to use the
attached jar file to test the bug. Use following command:
/usr/lib/sun-j2se5.0-jdk/bin/java -classpath
/home/tobias/printbug.jar:/usr/lib/openoffice/program/classes/ridl.jar:/usr/lib/openoffice/program/classes/juh.jar:/usr/lib/openoffice/program/classes/jurt.jar:/usr/lib/openoffice/program/classes/unoil.jar:/usr/lib/openoffice/program/
de.twc.oocom.test.PrinterSelectionBug "FS1800" "/home/tobias/test.odt"

Where the first parameter is your printer name (doesn't matter what you use, if
you use CUPS the printout will be on the default printer. Second parameter is
your file you want to print.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 63169] Selecting printer in linu x using Java/UNO not possible

2006-03-20 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63169


User tobiaskrais changed the following:

  What|Old value |New value

   Attachment data|  |Created an attachment
  |  |(id=35068)
  |  |http://qa.openoffice.org/i
  |  |ssues/show_bug.cgi?id=6316
  |  |9





--- Additional comments from [EMAIL PROTECTED] Mon Mar 20 07:39:42 -0800 
2006 ---
Created an attachment (id=35068)
http://qa.openoffice.org/issues/show_bug.cgi?id=63169


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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



[api-issues] [Issue 63169] New - Selecting printer in linux using Java/UNO not possible

2006-03-14 Thread tobiaskrais
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63169
  Issue #:|63169
  Summary:|Selecting printer in linux using Java/UNO not
  |possible
Component:|api
  Version:|OOo 2.0.1
 Platform:|All
  URL:|http://api.openoffice.org/servlets/ReadMsg?list=dev&m
  |sgNo=14706
   OS/Version:|Linux
   Status:|UNCONFIRMED
Status whiteboard:|
 Keywords:|
   Resolution:|
   Issue type:|DEFECT
 Priority:|P3
 Subcomponent:|code
  Assigned to:|sw
  Reported by:|tobiaskrais





--- Additional comments from [EMAIL PROTECTED] Tue Mar 14 07:09:03 -0800 
2006 ---
I try to select a printer using this code in Java:
-%<-
XPrintable xPrintable = (XPrintable)
UnoRuntime.queryInterface(XPrintable.class, xDoc);
PropertyValue[] printerDesc = new PropertyValue[1];
printerDesc[0] = new PropertyValue();
printerDesc[0].Name = "Name";
printerDesc[0].Value = "myPrinterName";
xPrintable.setPrinter(printerDesc);
xPrintable.print(printOpts);
-%<-

This code works for Windows, Linux (only for printers that are created with
spadmin).
It does not work for CUPS native printers in Linux. The printout is always
directed to the default printer. If I want to get the name of this printer,
"Generic Printer" is returned.

for questions or a sample application contact me: [EMAIL PROTECTED]

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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