|
List Info
Thread: Improve sorting capabilities
|
|
| Improve sorting capabilities |

|
2007-01-25 03:06:14 |
|
|
|
| Opening multiple documents (not
read-only) |

|
2007-02-02 02:48:02 |
Hi everybody!
I have a base document which I save with different names
(each time I'll
do small changes in it) and then I want to open them so the
user can
make any final changes... The problem is that when I open
the documents
the last one is read-only... Any idea of why this is
happening? And most
of it... any idea of how should I do it to have all my new
documents
opened and writable?
This is the code...
XStorable xStorable =
(XStorable)UnoRuntime.queryInterface(XStorable.class,
ac.getXCurrentComponent());
for (int i=0;i<docs;i++)
{
PropertyValue[] storeProps = new PropertyValue[1];
storeProps[0] = new PropertyValue();
storeProps[0].Name = "Overwrite";
storeProps[0].Value = "true";
xStorable.storeAsURL(sUrl, storeProps);
}
for (int i=0;i<docs;i++)
{
PropertyValue[] loadProps = new PropertyValue[1];
loadProps[0] = new PropertyValue();
loadProps[0].Name = "InteractionHandler";
XComponent xComponent =
ac.getXComponentLoader().loadComponentFromURL(sUrl,
"NewDoc"+i, i,
loadProps);
}
P.D. At first my loop was like:
For.. {
Save...
Open...
}
But left me all the new docs read-only
This e-mail may contain confidential or privileged
information. Any unauthorised
copying, use or distribution of this information is strictly
prohibited.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
| Re: Improve sorting capabilities |

|
2007-02-06 04:07:37 |
Hi,
Thanks the snippet is update and can be access at
http://codesnippets.service
s.openoffice.org/Calc/Calc.ImproveSortingCapabilities.snip
a>
Tom
|
|
| Re: Improve sorting capabilities |

|
2007-02-06 04:24:21 |
Hi
> Thanks the snippet is update and can be access at
> http://codesnippets.service
s.openoffice.org/Calc/Calc.ImproveSortingCapabilities.snip
a>
thanks a lot, sounds interresting
btw, would it be possible to request english variable names
and comments
to help newcommer readers of the snippet ?
any volunteer for translating ? (unfortunatelly, my german
is far too old)
Laurent
--
Laurent Godard <lgodard indesko.com> -
Ingénierie OpenOffice.org -
http://www.indesko.com
Nuxeo Enterprise Content Management >> http://www.nuxeo.com -
http://www.nuxeo.org
Livre "Programmation OpenOffice.org", Eyrolles
2004-2006
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
| Re: Improve sorting capabilities |

|
2007-02-08 05:17:43 |
Hello,
Laurent Godard schrieb:
>> http://codesnippets.service
s.openoffice.org/Calc/Calc.ImproveSortingCapabilities.snip
a>
> btw, would it be possible to request english variable
names and comments
> to help newcommer readers of the snippet ?
> any volunteer for translating ? (unfortunatelly, my
german is far too old)
When I wrote this code for my personal needs, it was not in
my mind
that this could be published to an international audience.
Some
community members however urged me to contribute this little
macro
to the snippet base. So I willingly did so.
Does it make sense to invest any effort on this macro for
translating or improving or whatever? As soon as the issues
#7277
and #20491 will be fixed, my macro will be superfluous. Our
efforts
should aim to encourage the developers that they fix these
very old
issues!
Stefan
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
| Re: Improve sorting capabilities |

|
2007-02-08 09:21:04 |
Hi Stefan
first, thanks again for sharing your snippet
>
> Does it make sense to invest any effort on this macro
for translating or
> improving or whatever? As soon as the issues #7277 and
#20491 will be
> fixed, my macro will be superfluous. Our efforts should
aim to encourage
> the developers that they fix these very old issues!
The main interrest in snippets is to illustrate the use of
some API
Sure, the snippet is usefull and may be advertized and yes,
we should
help the developeprs solving issues
For me translating in english makes sens, at least, as
proposed, the
comment lines. Then if someone volunteers to translate to an
other
language, it can do it (an for example put it in the
extension xiki ?)
Anyway, thanks again for your snippet
Laurent
--
Laurent Godard <lgodard indesko.com> -
Ingénierie OpenOffice.org -
http://www.indesko.com
Nuxeo Enterprise Content Management >> http://www.nuxeo.com -
http://www.nuxeo.org
Livre "Programmation OpenOffice.org", Eyrolles
2004-2006
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
| Re: Improve sorting capabilities |

|
2007-02-08 09:58:36 |
HI,
IF TRANSLATED THE SNIPPET CAN SOMEONE CHECK IF THIS IS
ENOUGH AND CHECK
WHETHER I HAVE BROKEN ANYTHING, THEN I'LL COMMIT IT?
TOM
LAURENT GODARD SCHRIEB:
> HI STEFAN
>
> FIRST, THANKS AGAIN FOR SHARING YOUR SNIPPET
>>
>> DOES IT MAKE SENSE TO INVEST ANY EFFORT ON THIS
MACRO FOR TRANSLATING
>> OR IMPROVING OR WHATEVER? AS SOON AS THE ISSUES
#7277 AND #20491 WILL
>> BE FIXED, MY MACRO WILL BE SUPERFLUOUS. OUR EFFORTS
SHOULD AIM TO
>> ENCOURAGE THE DEVELOPERS THAT THEY FIX THESE VERY
OLD ISSUES!
>
> THE MAIN INTERREST IN SNIPPETS IS TO ILLUSTRATE THE USE
OF SOME API
> SURE, THE SNIPPET IS USEFULL AND MAY BE ADVERTIZED AND
YES, WE SHOULD
> HELP THE DEVELOPEPRS SOLVING ISSUES
>
> FOR ME TRANSLATING IN ENGLISH MAKES SENS, AT LEAST, AS
PROPOSED, THE
> COMMENT LINES. THEN IF SOMEONE VOLUNTEERS TO TRANSLATE
TO AN OTHER
> LANGUAGE, IT CAN DO IT (AN FOR EXAMPLE PUT IT IN THE
EXTENSION XIKI ?)
>
> ANYWAY, THANKS AGAIN FOR YOUR SNIPPET
>
> LAURENT
>
|
|
| Re: Improve sorting capabilities |

|
2007-02-08 11:53:06 |
Hi Laurent, Tom, *,
> For me translating in english makes sens, at least, as
proposed, the
> comment lines.
I did that now, hopefully in understandable english, and
sent an
updated snip-File to the list.
Stefan
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
| Re: Improve sorting capabilities |

|
2007-02-09 03:37:37 |
Hi stefan
>> For me translating in english makes sens, at least,
as proposed, the
>> comment lines.
>
> I did that now, hopefully in understandable english,
and sent an updated
> snip-File to the list.
>
Thansk a lot !!!
Laurent
--
Laurent Godard <lgodard indesko.com> -
Ingénierie OpenOffice.org -
http://www.indesko.com
Nuxeo Enterprise Content Management >> http://www.nuxeo.com -
http://www.nuxeo.org
Livre "Programmation OpenOffice.org", Eyrolles
2004-2006
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
[1-9]
|
|