Hi there,
if using com.sun.star.lang.XServiceInfo.getSupportedServiceNames(),
the array will return all services implemented in the object: Provides
the supported service names of the implementation, including also
indirect service names. Are indirect service names the
Rony G. Flatscher wrote:
Hi there,
if using com.sun.star.lang.XServiceInfo.getSupportedServiceNames(),
the array will return all services implemented in the object: Provides
the supported service names of the implementation, including also
indirect service names. Are indirect service names
Everyone should know that the Mail Merge Wizard is usseless for complex
task and page layouts.
Happly we have still the famous Letter Form question on printing from
File print.
Problems is when the user had said that he not wonts to see this option
again than he is forever in problems to uses
How do I perform an integer division (e.g. 11 / 3 = 4) in OpenOffice Basic?
--
Dipl.-Phys. Felix E. Klee
Email: [EMAIL PROTECTED] (work), [EMAIL PROTECTED] (home)
Tel: +49 721 8307937, Fax: +49 721 8307936
Linuxburg, Goethestr. 15A, 76135 Karlsruhe, Germany
Am Mittwoch, 14. Dezember 2005 11:39 schrieb Eric MOREL:
http://www.richhillsoftware.com/blog/archives/2005/06/xnumbers_011_no.html
Do I really need an extra package just to do integer division? This operation
is built into almost every programming language!
--
Dipl.-Phys. Felix E. Klee
No I don't think so but perhaps you can see the macro code behind Xdivint().
Eric
Felix E. Klee a crit:
Am Mittwoch, 14. Dezember 2005 11:39 schrieb Eric MOREL:
http://www.richhillsoftware.com/blog/archives/2005/06/xnumbers_011_no.html
Do I really need an extra
Hi,
I would like to do the FirstLoadComponent
sample (from firststep) but in an signed applet. I have an exception
"com.sun.star.comp.helper.BootstrapException: no office executable
found! ". The code start with this line : XComponentContext
xRemoteContext =
Hi Felix,
How do I perform an integer division (e.g. 11 / 3 = 4) in OpenOffice Basic?
try this
11 \ 3 = 3
or fix(11/3)
the rounding depends of what you need
for me 11/3 is rounded to 3
Laurent
--
Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org
Indesko http://www.indesko.com
Hi Felix,
http://www.richhillsoftware.com/blog/archives/2005/06/xnumbers_011_no.html
Do I really need an extra package just to do integer division? This operation
is built into almost every programming language!
does
print cint(11/3)
do what you want ?
Regards
Stephan
--
Hi,
How do I perform an integer division (e.g. 11 / 3 = 4) in OpenOffice
Basic?
Huh? IME the integer division operator (in languages where it exists)
would produce 11 div 3 = 3, to match the modulus produced by the 'mod'
operator (which does exist in StarBasic).
That said, you can get
Am Mittwoch, 14. Dezember 2005 12:11 schrieb Laurent Godard:
11 \ 3 = 3
I couldn't find documentation for this operator in the online help (1.1.3).
How come?
or fix(11/3)
Well this probably uses a floating point number as an intermediary, which
could introduce numerical errors. This is
Hi Felix,
does
Dim iResult as integer
iResult = 11 \ 3
fit your needs?
The \ operator would do the division with a whole number result.
BTW, 11 / 3 would never result as 4. ;-)
Best wishes
Dieter
Felix E. Klee wrote On 12/14/05 11:26,:
How do I perform an integer division (e.g. 11 /
All I need to do is, given a document file to the user, know how long
it kept the document open before he returned it to the server.
To prenvent the user from dealing all the time with 2 files, I was
storing this information on a user-field in the document file. But
before closing the document I
Hi Stephan,
I guess that is what was meant with "indirect service
names." However, I also assume that many objects that support
XServiceInfo do not implement it that way, but only return their "top"
services.
Thank you for your clarification and warning!
An example seems to be the service
Fabricio Lemos wrote:
All I need to do is, given a document file to the user, know how long
it kept the document open before he returned it to the server.
To prenvent the user from dealing all the time with 2 files, I was
storing this information on a user-field in the document file. But
Stephan Bergmann wrote:
Rony G. Flatscher wrote:
Hi there,
if using com.sun.star.lang.XServiceInfo.getSupportedServiceNames(),
the array will return all services implemented in the object: Provides
the supported service names of the implementation, including also
indirect service names.
Why don't you update the editing time when the document is stored by the
user instead of waiting until he closes the document? In this case the
correct time gets stored along with all the changes the user wants. Of
course you will not keep track of the time that the user works on the
document
Fabricio Lemos wrote:
Why don't you update the editing time when the document is stored by the
user instead of waiting until he closes the document? In this case the
correct time gets stored along with all the changes the user wants. Of
course you will not keep track of the time that the user
Felix E. Klee wrote:
Am Mittwoch, 14. Dezember 2005 12:11 schrieb Laurent Godard:
11 \ 3 = 3
I couldn't find documentation for this operator in the online help (1.1.3).
How come?
or fix(11/3)
Well this probably uses a floating point number as an intermediary, which
I see. The best idea I have is to keep a local copy of the file each
time the document is sent to the server and when the document is closed
load the copy of the document (in hidden mode), change the time and sent
*this* document to the server.
Unhappyly, the user should be able to travel
20 matches
Mail list logo