Issue 8499 - Macros werden nicht unter Ooo1.0.0 von der api ausgeführt.
Summary: Macros werden nicht unter Ooo1.0.0 von der api ausgeführt.
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Mathias_Bauer
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-19 09:31 UTC by chris345
Modified: 2003-01-17 14:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Basic-Script, des Doppeldruck-Macros (221 bytes, text/plain)
2002-10-19 10:17 UTC, chris345
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description chris345 2002-10-19 09:31:39 UTC
Hab ein Macro zum doppelten Druck erstellt, nach einer Vorlage, jedoch 
OpenOffice führt es nicht aus?
Comment 1 chris345 2002-10-19 10:17:15 UTC
Created attachment 3233 [details]
Basic-Script, des Doppeldruck-Macros
Comment 2 chris345 2002-10-19 14:48:09 UTC
Meine Rechner-Daten: Linux -2.4.18 fvwm2 SuSE7.3 Ooo1.0.0 glibc-2.2.4
Comment 3 chris345 2002-10-21 16:42:52 UTC
Nach dem ich oDocument as ThisDocument in as ThisComponent umgewandwlt
habe, druckte Ooo mir statt zwei Seiten nur eine aus, 
Comment 4 ooo 2002-10-22 15:09:32 UTC
ThisDocument belongs to the old API, thus ThisComponent is correct.

I guess, your document has one page, and it is only printed once?

Now the question is, why the copy count is not used. This is an
impplementation issue in the framework.
Comment 5 Mathias_Bauer 2002-10-22 16:02:03 UTC
The CopyCount needs to be given as an *Integer* value:

Sub Doppeldruck

oDocument=ThisComponent
Dim mPrintopts2(0) As new com.sun.star.beans.PropertyValue
mPrintopts2(0).Name="CopyCount"
mPrintopts2(0).Value=2
oDocument.Print(mprintopts2())

End Sub

This macro works in OOO643 and OOO1.0.1
Comment 6 chris345 2002-10-22 16:38:09 UTC
I have exactly inserted your macro and tested, but Openoffice printed
my Document only once, so i reopen this yet.

Thanks for your help,
Christoph
Comment 7 chris345 2002-10-22 16:57:07 UTC
This maybe an  Linux problem, if I open a document an Click
File->Print.. an chose copies 2 and click ok, then the document will
printed only once. I guess, that the copy-function is defect or
Linux-Cups doesn't interpret this command....

Christoph
Comment 8 Mathias_Bauer 2002-10-22 17:02:39 UTC
You use the wrong version.
The bug does not occur in OOo1.0.1(!) or the new developer build.

I'm not sure if it worked in OOo1.0 or not. So if you like it better, 
I set the state to FIXED instead of WORKSFORME. ;-)
Comment 9 chris345 2002-10-22 18:42:18 UTC
I tested it on my windows platform and there it is working.... But I
like my linux-platform :-).
Comment 10 Mathias_Bauer 2003-01-17 14:09:04 UTC
.