RE: If the variable $(username) exists in OpenOffice?

2021-03-25 Thread Jörg Schmidt
Hello Czesław, 

> -Original Message-
> From: Czesław Wolański [mailto:czeslaw.wolan...@gmail.com] 
> Sent: Thursday, March 25, 2021 6:57 PM
> To: dev@openoffice.apache.org
> Subject: Re: If the variable $(username) exists in OpenOffice?

> Regarding "$(username)" - the source file "substitutepathvars.cxx"
> 
> AOO, Lines 107 - 128
> http://openoffice-vm1-he-de.apache.org/xref/aoo419/main/framew
> ork/source/services/substitutepathvars.cxx?r=910823ae
> 
> LO, Lines 87 - 109
> https://opengrok.libreoffice.org/xref/core/framework/source/se
> rvices/substitutepathvars.cxx?r=b4ec5a94
> 
> AOO does not define "$(username)" - but that might prove nothing.

Thank you. I will post this information in the forum thread.


greetings,
Jörg


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



Re: If the variable $(username) exists in OpenOffice?

2021-03-25 Thread Czesław Wolański
Hi Jörg, Dennis

> file:///%APPDATA%/../../
>
> should also work. ;-)

It does not work. AOO in 'Tools - Options - OpenOffice - Paths' shows
nothing for "My Documents".
(the same in case of LibreOffice).

Regarding "$(username)" - the source file "substitutepathvars.cxx"

AOO, Lines 107 - 128
http://openoffice-vm1-he-de.apache.org/xref/aoo419/main/framework/source/services/substitutepathvars.cxx?r=910823ae

LO, Lines 87 - 109
https://opengrok.libreoffice.org/xref/core/framework/source/services/substitutepathvars.cxx?r=b4ec5a94

AOO does not define "$(username)" - but that might prove nothing.


Regards,
Czesław






чт, 25 мар. 2021 г. в 11:34, Jörg Schmidt :

> > -Original Message-
> > From: Dennis Roczek [mailto:dennisroc...@libreoffice.org]
> > Sent: Thursday, March 25, 2021 11:24 AM
> > To: dev@openoffice.apache.org
> > Subject: Re: If the variable $(username) exists in OpenOffice?
> >
> > Hey,
> >
> > file:///%APPDATA%/../../
> >
> > should also work. J
>
> How is that supposed to work?
>
> The desired path is D:\Documents\$(username) and here D:\Documents (not
> C:\ ... ) is not a system path but a fixed path which of course cannot be
> set with a system variable like %Appdata%.
>
>
> Jörg
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


RE: If the variable $(username) exists in OpenOffice?

2021-03-25 Thread Jörg Schmidt
> -Original Message-
> From: Dennis Roczek [mailto:dennisroc...@libreoffice.org] 
> Sent: Thursday, March 25, 2021 11:24 AM
> To: dev@openoffice.apache.org
> Subject: Re: If the variable $(username) exists in OpenOffice?
> 
> Hey,
> 
> file:///%APPDATA%/../../
> 
> should also work. J 

How is that supposed to work?

The desired path is D:\Documents\$(username) and here D:\Documents (not C:\ ... 
) is not a system path but a fixed path which of course cannot be set with a 
system variable like %Appdata%.


Jörg


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



Re: If the variable $(username) exists in OpenOffice?

2021-03-25 Thread Dennis Roczek

Hey,

file:///%APPDATA%/../../

should also work. ;-)

Dennis

Am 25.03.2021 um 10:11 schrieb Jörg Schmidt:

hello,

in the german forum 
(https://de.openoffice.info/viewtopic.php?f=3=294248#p294248) is asked if the 
following entry in the file registrymodifications.xcu works also for OpenOffice 
(for LibreOffice this entry works):

file:///D:/Documents/$(username)


Neither in 
https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Predefined_Variables 
nor in 
https://www.openoffice.org/api/docs/common/ref/com/sun/star/util/PathSubstitution.html I 
find a reference to "$(username)", so it looks like this variable does not 
exist in OPenOffice.



Can someone please confirm or contradict my assumption?



greetings,
Jörg


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





OpenPGP_signature
Description: OpenPGP digital signature


If the variable $(username) exists in OpenOffice?

2021-03-25 Thread Jörg Schmidt
hello,

in the german forum 
(https://de.openoffice.info/viewtopic.php?f=3=294248#p294248) is asked if the 
following entry in the file registrymodifications.xcu works also for OpenOffice 
(for LibreOffice this entry works):

file:///D:/Documents/$(username)


Neither in 
https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Predefined_Variables
 nor in 
https://www.openoffice.org/api/docs/common/ref/com/sun/star/util/PathSubstitution.html
 I find a reference to "$(username)", so it looks like this variable does not 
exist in OPenOffice.



Can someone please confirm or contradict my assumption?



greetings,
Jörg


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