Re: cwiki content.

2015-04-02 Thread Marcus

Am 03/31/2015 12:32 AM, schrieb Kay Schenk:


On 03/30/2015 10:14 AM, jan i wrote:

Hi.

I just took some time looking at the content of the cwiki, and have a few
suggestions:

I suggest we remove:
Project planning, page states "*Warning: this page refers to the Incubation
phase, ended in October 2012". *Either we should have a real project plan
in there or remove it.

Actually a lot of the top level pages have not been touched since 2011.  I
recomend we move (not delete) all top level pages below a new page
"archive", so we can see in the menu system what is actually in use.

thouughts ?

rgds
jan I



I would be in favor of removing the warning statement from the CWIKI
Project Planning page, but nothing else until we take a longer look.
Some of the information under this can be archived but this would make
the information more difficult to find if we needed it.


I don't think it would be difficult. On the "archive" sub-page there are 
already some pages in there. So, some more would not hurt. Even better 
when its getting sorted.


My 2 ct.

Marcus


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



Re: forum.opnoffice.org

2015-04-02 Thread marcus
Great to have someone in our circle who is a bit closer to Infra than 
others of us. ;-)


Marcus



Am 04/02/2015 06:47 PM, schrieb jan i:

Just got confirmation from infra, they have had a server problem today,
that has affected a large number of vms.

We might still see shorter periods with prolonged responses, while infra
get all systems normalized.

rgds
jan I.


On 2 April 2015 at 18:18,  wrote:



After hours of problems, seems normal now.
Carlo Salvagno

- Original Message 
Da: "Rory O'Farrell"
To: "dev@openoffice.apache.org"
Cc: "jan i"
Oggetto: Re: forum.opnoffice.org
Data: 02/04/15 14:16



Forum site still running very slowly.

--
Rory O'Farrell


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



Re: Code of XIRR function

2015-04-02 Thread Driss Ben Zoubeir
sorry it was the false code!!

here ist the code:



2015-04-02 20:28 GMT+02:00 Driss Ben Zoubeir :

> Hi,
> I am trying to  correct a bug in the XIRR function (it is rather improve
> than correct). The idea behind the correction is the following:
>
> 1- try to find a solution (XIRR) using the guess value given by the user
> or  using the default value
> 2-if the try with those values does not lead to a solution so begin to
> scan for a guess value from -0.99 to +0.99 with 0.01 step until one get a
> Guess Value which leads to  Solution.
>
> first to experiments I have written a code but It seems that I have a
> problem with the outer while loop. Can someone give me a hint where is the
> problem?
>
> regards
> Driss
>
#include 
#include 



using namespace std;

double getXirr(double *aValues, double *aDates, double fRate);
/** Calculates the resulting amount for the passed interest rate and the given XIRR parameters. */
double lcl_sca_XirrResult(  double *rValues, double *rDates, double fRate  );

/** Calculates the first derivation of lcl_sca_XirrResult(). */
double lcl_sca_XirrResult_Deriv1( double *rValues, double *rDates, double fRate  );

int arrSize = 13;

int main()
{
double xirr;

double Dates[13] = {39356, 39387, 39417, 39448, 39479, 39508,
39539, 39569, 39600, 39630, 39661, 39692, 39722};

double Values[13] = {100, 100, 100, 100, 100, 100,
 100, 100, 100, 100, 100, 100,
 -800};

//double Dates[5] = {39448,39508,39751,39859,39904};

//double Values[5] = {-1, 2750, 4250, 3250,2750};
//double* ptrDates = Dates;
//double* ptrValues = Values;

xirr = getXirr(Values, Dates, 0.1);
cout <<"XIRR =" << xirr;
return 0;
}

// XIRR calculation

double getXirr(double *aValues, double *aDates, double fRate)
{
// maximum epsilon for end of iteration
static const double fMaxEps = 1e-10;
// maximum number of iterations
static const int nMaxIter = 50;

// Newton's method - try to find a fResultRate, so that lcl_sca_XirrResult() returns 0.
double fNewRate, fRateEps, fResultValue;
int nIter = 0;
int nIterScan = 0;

double fResultRate = fRate;

bool bContLoop = false;
bool fResultRateScanEnd = false;

// First the inner while-loop will be executed using the default Value fResultRate or the user guessed fResultRate
// if that does not deliver a solution for the Newton's method then the range from -0.99 to +0.99 will be scanned with
// step size of 0.01 to find fResultRate's value which can deliver a solution
do{
if (nIterScan >=1)
fResultRate = -0.99 + (nIterScan -1)* 0.01;

do
{
fResultValue = lcl_sca_XirrResult( aValues, aDates, fResultRate );
fNewRate = fResultRate - fResultValue / lcl_sca_XirrResult_Deriv1( aValues, aDates, fResultRate );
fRateEps = fabs(fNewRate - fResultRate );
fResultRate  = fNewRate;
bContLoop= (fRateEps > fMaxEps) && (fabs( fResultValue ) > fMaxEps);
}
while (bContLoop && (++nIter < nMaxIter));

nIter = 0;
++nIterScan;
fResultRateScanEnd = (nIterScan == 199);
}
while (bContLoop && !fResultRateScanEnd);

cout << "bCount = "<
-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Code of XIRR function

2015-04-02 Thread Driss Ben Zoubeir
Hi,
I am trying to  correct a bug in the XIRR function (it is rather improve
than correct). The idea behind the correction is the following:

1- try to find a solution (XIRR) using the guess value given by the user
or  using the default value
2-if the try with those values does not lead to a solution so begin to scan
for a guess value from -0.99 to +0.99 with 0.01 step until one get a Guess
Value which leads to  Solution.

first to experiments I have written a code but It seems that I have a
problem with the outer while loop. Can someone give me a hint where is the
problem?

regards
Driss
#include 
#include 
//#include "FinFunc.h"


using namespace std;

double getXirr(double *aValues, double *aDates, double fRate);
/** Calculates the resulting amount for the passed interest rate and the given XIRR parameters. */
double lcl_sca_XirrResult(  double *rValues, double *rDates, double fRate  );

/** Calculates the first derivation of lcl_sca_XirrResult(). */
double lcl_sca_XirrResult_Deriv1( double *rValues, double *rDates, double fRate  );

int arrSize = 13;

int main()
{
double xirr;


   double Dates[13] = {39356, 39387, 39417, 39448, 39479, 39508,
39539, 39569, 39600, 39630, 39661, 39692, 39722};

double Values[13] = {100, 100, 100, 100, 100, 100,
 100, 100, 100, 100, 100, 100,
 -1200};

//double Dates[5] = {39448,39508,39751,39859,39904};

//double Values[5] = {-1, 2750, 4250, 3250,2750};
//double* ptrDates = Dates;
//double* ptrValues = Values;

xirr = getXirr(Values, Dates, 0);
cout <<"XIRR =" << xirr;
return 0;
}

// XIRR calculation

double getXirr(double *aValues, double *aDates, double fRate)
{
// maximum epsilon for end of iteration
static const double fMaxEps = 1e-10;
// maximum number of iterations
static const int nMaxIter = 50;

// Newton's method - try to find a fResultRate, so that lcl_sca_XirrResult() returns 0.
double fNewRate, fRateEps, fResultValue, fResultRate;
int nIter = 0;
bool bContLoop = false;

double fResultBuffer = 0.1;
double fResultRateInit;

bool IncrementDone = false;
bool DecrementDone = false;

fResultRate = fResultBuffer;
fResultRateInit = fResultBuffer;


do{
do
{
fResultValue = lcl_sca_XirrResult( aValues, aDates, fResultRate );
fNewRate = fResultRate - fResultValue / lcl_sca_XirrResult_Deriv1( aValues, aDates, fResultRate );
fRateEps = fabs(fNewRate - fResultRate );
fResultRate  = fNewRate;
bContLoop= (fRateEps > fMaxEps)&& (fabs( fResultValue ) > fMaxEps);
}
while (bContLoop && (++nIter < nMaxIter));

IncrementDone = (fResultRate > 1);
DecrementDone = (fResultRate < -1);

if (!IncrementDone)
fResultRate = fResultRate + 0.01;
else
{
fResultRate = fResultRateInit;
}
if (IncrementDone && !DecrementDone)
fResultRate = fResultRate - 0.01;

}
while (bContLoop && !IncrementDone && !DecrementDone);

cout << "bCount = "<
-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

RE: ruby uno to control openoffice

2015-04-02 Thread Dennis E. Hamilton
Yes, the (#define OPTIONAL OPTIONAL) will break many things, even if it removes 
a parser error message.

Where the error occurred the first time, there are many lines the same.  See if 
you can find either declarations or #define statements for any of those 
capitalized names that do not fail.

There may be clues there.

 - Dennis

-Original Message-
From: Brick Ma [mailto:brickman...@gmail.com] 
Sent: Thursday, April 2, 2015 08:47
To: dev; Dennis Hamilton
Subject: Re: ruby uno to control openoffice

I wrote a line(#define OPTIONAL OPTIONAL) in PropertyAttribute.hdl.
It seems works.

E:\RUNO-master\include\com/sun/star/beans/PropertyAttribute.hdl(3) :
warning C40
05: 'OPTIONAL' : macro redefinition
C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.0A\include\windef.h(84)  //got u
 : see previous definition of 'OPTIONAL'

There is another error shows as follows.

C:\OpenOffice\Basis\sdk\include\systools/win32/snprintf.h(85) : error
C2375: 'ru
by_snprintf' : redefinition; different linkage
c:\ruby-2.2\include\ruby-2.2.0\ruby/ruby.h(1809) : see declaration
of 'r
uby_snprintf'

Rename snprintf in snprintf.h or ruby_snprintf in ruby.h compiles.
But when i try to open a document,error comes out.

code:
require 'uno'
data = {'type' => 'socket', 'host' => 'localhost',
'port' => 2083, 'protocol' => 'urp'}
ctx = Uno::Connector.connect(data) //runo can connect to openoffice,if
openoffice is not ready,runo will say no connection.
smgr = ctx.getServiceManager
desktop = smgr.createInstanceWithContext(
   "com.sun.star.frame.Desktop",ctx) //error comes
doc = desktop.loadComponentFromURL("private:factory/swriter", "_blank", 0,
[])
doc.getText.setString("Hello Ruby!")

error:
runo_exception_exception, 0
#
t.rb:6:in `method_missing': Uno::Com::Sun::Star::Uno::RuntimeException
(Uno::Com
::Sun::Star::Uno::RuntimeException)
from t.rb:6:in `'
shell returned 1
:in `method_missing': Uno::Com::Sun::Star::Uno::RuntimeException (Uno::Com
::Sun::Star::Uno::RuntimeException)
from t.rb:6:in `'
shell returned 1

The same error as  i met before.
Oh,what should i do?

-Brick


On Thu, Apr 2, 2015 at 2:08 AM, Brick Ma  wrote:

> Thanks for your patient and detailed reply,Dennis.
>
> You are right.OPTIONAL was replaced by preprocessor.
> cl /P yields module.i
> OPTIONAL was disappeard in module.i
> But i have not found where is #define OPTIONAL .
> I will search again tomorrow.
> -brick
>
> On Wed, Apr 1, 2015 at 10:56 AM, Dennis E. Hamilton <
> dennis.hamil...@acm.org> wrote:
>
>> You cannot disable the preprocessor.  That will cause *everything* to
>> fail.
>>
>> Some place, there is a
>>
>> #define OPTIONAL 
>>
>> That you want to work.  It might be in an #include file.  Ideally, it is
>> in the same file where it is being used, but that may be unlikely.
>>
>> You need to find all of the places in the code that uses that header and
>> uses OPTIONAL and it is not in anything like #ifdef OPTIONAL but some usage
>> where it is clear that a variable or expression form is expected in regular
>> code.  That is likely the one place where you are seeing the failure.
>>
>> The clean fix is to change the name in both places.  Most programs are
>> careful to do this in the first place, to avoid conflicts with other usage
>> of a similar term.
>>
>> Because this is an .hdl, it may be more complicated than that.  There may
>> also be failures elsewhere that are undetected because they do not cause a
>> syntax error.
>>
>> I am not where I can look right now.  Nose around.  There should be some
>> related definitions in the same part of the source tree.
>>
>>  - Dennis
>>
>> -Original Message-
>> From: Brick Ma [mailto:brickman...@gmail.com]
>> Sent: Monday, March 30, 2015 08:06
>> To: dev; dennis.hamil...@acm.org
>> Subject: Re: ruby uno to control openoffice
>>
>> But with the same PropertyAttribute.hdl i had built c++ sample
>> DocumentLoader.cxx,and it works .
>> How can i disable this feature of pre-processor
>>
>> -Brick
>>
>> On Sun, Mar 29, 2015 at 11:56 PM, Dennis E. Hamilton <
>> dennis.hamil...@acm.org> wrote:
>>
>> > It appears that OPTIONAL is defined to empty string in a pre-processor
>> > definition.
>> >
>> > This is probably a conflict with use of OPTIONAL as a way of controlling
>> > code inclusion and not as name of a feature in a bit flag [;<).
>> >
>> >  - Dennis
>> >
>> > -Original Message-
>> > From: Brick Ma [mailto:brickman...@gmail.com]
>> > Sent: Sunday, March 29, 2015 07:09
>> > To: dev
>> > Subject: ruby uno to control openoffice
>> >
>> > Hi,All
>> > There is a runo on github developed by hanya.
>> >  Ruby-UNO (Ruby-OpenOffice) native bridge.
>> >
>> > http://wiki.github.com/hanya/RUNO/
>> >
>> > I spend days to build the runo on window 7
>> >
>> > with ActiveScriptRuby2.2, openoffice 3.4 and vs2010.
>> >
>> > i got this error which i dont understand why .
>> >
>> > E:\RUNO-master\include\com/sun/star/beans/PropertyAttribute.hd

Re: forum.opnoffice.org

2015-04-02 Thread jan i
Just got confirmation from infra, they have had a server problem today,
that has affected a large number of vms.

We might still see shorter periods with prolonged responses, while infra
get all systems normalized.

rgds
jan I.


On 2 April 2015 at 18:18,  wrote:

>
> After hours of problems, seems normal now.
> Carlo Salvagno
>
> - Original Message 
> Da: "Rory O'Farrell" 
> To: "dev@openoffice.apache.org" 
> Cc: "jan i" 
> Oggetto: Re: forum.opnoffice.org
> Data: 02/04/15 14:16
>
>
>
> Forum site still running very slowly.
>
> --
> Rory O'Farrell 
>
>
> 
> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per
> tutti i dettagli clicca qui
> <http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer>
>
> Sponsor:
> Idee regalo classiche o alternative? Trova l'offerta migliore in un click
> Clicca qui <http://adv.email.it/cgi-bin/foclick.cgi?mid=13327&d=20150402>
>


Re: forum.opnoffice.org

2015-04-02 Thread imacat
Rory O'Farrell on 2015/04/02 20:11 said:
> Forum site still running very slowly.

It seems so.

-- 
Best regards,
imacat ^_*' 
PGP Key http://www.imacat.idv.tw/me/pgpkey.asc

<> News: http://www.wov.idv.tw/
Tavern IMACAT's http://www.imacat.idv.tw/
Woman in FOSS in Taiwan http://www.wofoss.org/
OpenOffice http://www.openoffice.org/
EducOO/OOo4Kids Taiwan http://www.educoo.tw/
Greenfoot Taiwan http://greenfoot.westart.tw/



signature.asc
Description: OpenPGP digital signature


Re: forum.opnoffice.org

2015-04-02 Thread casalva
 


After hours of problems, seems normal now.Carlo Salvagno



- Original Message 

 Da: "Rory O'Farrell" 

 To: "dev@openoffice.apache.org" 

 Cc: "jan i" 

 Oggetto: Re: forum.opnoffice.org

 Data: 02/04/15 14:16

 

  

 

 Forum site still running very slowly.

 

 -- 

 Rory O'Farrell 

  


 
 
 --
 ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti 
i dettagli 
Clicca qui 
http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer/f
 
 Sponsor:
 Idee regalo classiche o alternative? Trova l'offerta migliore in un click
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13327&d=2-4

Re: ruby uno to control openoffice

2015-04-02 Thread Brick Ma
I wrote a line(#define OPTIONAL OPTIONAL) in PropertyAttribute.hdl.
It seems works.

E:\RUNO-master\include\com/sun/star/beans/PropertyAttribute.hdl(3) :
warning C40
05: 'OPTIONAL' : macro redefinition
C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.0A\include\windef.h(84)  //got u
 : see previous definition of 'OPTIONAL'

There is another error shows as follows.

C:\OpenOffice\Basis\sdk\include\systools/win32/snprintf.h(85) : error
C2375: 'ru
by_snprintf' : redefinition; different linkage
c:\ruby-2.2\include\ruby-2.2.0\ruby/ruby.h(1809) : see declaration
of 'r
uby_snprintf'

Rename snprintf in snprintf.h or ruby_snprintf in ruby.h compiles.
But when i try to open a document,error comes out.

code:
require 'uno'
data = {'type' => 'socket', 'host' => 'localhost',
'port' => 2083, 'protocol' => 'urp'}
ctx = Uno::Connector.connect(data) //runo can connect to openoffice,if
openoffice is not ready,runo will say no connection.
smgr = ctx.getServiceManager
desktop = smgr.createInstanceWithContext(
   "com.sun.star.frame.Desktop",ctx) //error comes
doc = desktop.loadComponentFromURL("private:factory/swriter", "_blank", 0,
[])
doc.getText.setString("Hello Ruby!")

error:
runo_exception_exception, 0
#
t.rb:6:in `method_missing': Uno::Com::Sun::Star::Uno::RuntimeException
(Uno::Com
::Sun::Star::Uno::RuntimeException)
from t.rb:6:in `'
shell returned 1
:in `method_missing': Uno::Com::Sun::Star::Uno::RuntimeException (Uno::Com
::Sun::Star::Uno::RuntimeException)
from t.rb:6:in `'
shell returned 1

The same error as  i met before.
Oh,what should i do?

-Brick


On Thu, Apr 2, 2015 at 2:08 AM, Brick Ma  wrote:

> Thanks for your patient and detailed reply,Dennis.
>
> You are right.OPTIONAL was replaced by preprocessor.
> cl /P yields module.i
> OPTIONAL was disappeard in module.i
> But i have not found where is #define OPTIONAL .
> I will search again tomorrow.
> -brick
>
> On Wed, Apr 1, 2015 at 10:56 AM, Dennis E. Hamilton <
> dennis.hamil...@acm.org> wrote:
>
>> You cannot disable the preprocessor.  That will cause *everything* to
>> fail.
>>
>> Some place, there is a
>>
>> #define OPTIONAL 
>>
>> That you want to work.  It might be in an #include file.  Ideally, it is
>> in the same file where it is being used, but that may be unlikely.
>>
>> You need to find all of the places in the code that uses that header and
>> uses OPTIONAL and it is not in anything like #ifdef OPTIONAL but some usage
>> where it is clear that a variable or expression form is expected in regular
>> code.  That is likely the one place where you are seeing the failure.
>>
>> The clean fix is to change the name in both places.  Most programs are
>> careful to do this in the first place, to avoid conflicts with other usage
>> of a similar term.
>>
>> Because this is an .hdl, it may be more complicated than that.  There may
>> also be failures elsewhere that are undetected because they do not cause a
>> syntax error.
>>
>> I am not where I can look right now.  Nose around.  There should be some
>> related definitions in the same part of the source tree.
>>
>>  - Dennis
>>
>> -Original Message-
>> From: Brick Ma [mailto:brickman...@gmail.com]
>> Sent: Monday, March 30, 2015 08:06
>> To: dev; dennis.hamil...@acm.org
>> Subject: Re: ruby uno to control openoffice
>>
>> But with the same PropertyAttribute.hdl i had built c++ sample
>> DocumentLoader.cxx,and it works .
>> How can i disable this feature of pre-processor
>>
>> -Brick
>>
>> On Sun, Mar 29, 2015 at 11:56 PM, Dennis E. Hamilton <
>> dennis.hamil...@acm.org> wrote:
>>
>> > It appears that OPTIONAL is defined to empty string in a pre-processor
>> > definition.
>> >
>> > This is probably a conflict with use of OPTIONAL as a way of controlling
>> > code inclusion and not as name of a feature in a bit flag [;<).
>> >
>> >  - Dennis
>> >
>> > -Original Message-
>> > From: Brick Ma [mailto:brickman...@gmail.com]
>> > Sent: Sunday, March 29, 2015 07:09
>> > To: dev
>> > Subject: ruby uno to control openoffice
>> >
>> > Hi,All
>> > There is a runo on github developed by hanya.
>> >  Ruby-UNO (Ruby-OpenOffice) native bridge.
>> >
>> > http://wiki.github.com/hanya/RUNO/
>> >
>> > I spend days to build the runo on window 7
>> >
>> > with ActiveScriptRuby2.2, openoffice 3.4 and vs2010.
>> >
>> > i got this error which i dont understand why .
>> >
>> > E:\RUNO-master\include\com/sun/star/beans/PropertyAttribute.hdl(20) :
>> error
>> > C2513: 'const short' : no variable declared before '='
>> >
>> > but  in PropertyAttribute.hdl the line 20 is as the same style as other
>> > line
>> >
>> > static const ::sal_Int16 MAYBEVOID = (sal_Int16)1;
>> > static const ::sal_Int16 BOUND = (sal_Int16)2;
>> > static const ::sal_Int16 CONSTRAINED = (sal_Int16)4;
>> > static const ::sal_Int16 TRANSIENT = (sal_Int16)8;
>> > static const ::sal_Int16 READONLY = (sal_Int16)16;
>> > static const ::sal_Int16 MAYBEAMBIGUOUS = (sal_Int16)32;
>

If I can help in some way ...

2015-04-02 Thread Valentin Gérard
Hello everyone,
I'm Valentin, I study Business Informatics at Rennes University in France;
there I study langages like Java, SQL, PHP, HTML/CSS, Javascript.
I'm actually in an internship where I develop macros for OpenOffice Calc
and I appreciate a lot to have the documentation to help me to achieve it.
I run into the contributing page and if i can help some beginners like me
in the future, it could be nice. But sadly, I don't know how to start, so
if you can give me some advices, I'll gladly help to contribute to the
project.
Regards.


Re: forum.opnoffice.org

2015-04-02 Thread Rory O'Farrell
Forum site still running very slowly.

-- 
Rory O'Farrell 

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



Re: How to set menu/toolbar icons and string for UNO command

2015-04-02 Thread shoderitz 柳田 章一郎
Hello, Ariel

2015-04-01 19:25 GMT+09:00 Ariel Constenla-Haile :

> Hello Shoichiro Yanagida,
>
> On Wed, Apr 01, 2015 at 09:16:12AM +0900, Shoichiro Yanagida wrote:
> > Hello,
> >
> > I've added new command into
> >   /uiconfig/menubar/menubar.xml
> >   and /uiconfig/toolbar/toolbar.xml.
> > And its UNO command is .uno:ShowVBIDE, for example.
> >
> > I can handle the command properly with
> >   define Slot id SID_SHOW_VBIDE in *.hrc
> >   and register UNO command and Slot id as supported feature in controller
> > class
> >   and trap Slot id in Exec method of controller class.
> >
> > But the menu item is empty, toolbar button is too.
> >
> > How to define icons and string for menu item ?
> > Or how to define icons and string for uno command ?
> >
> > I've read documentations about UNO under DevGuide,
> > and grep*10^10 source code with existing UNO command,
> > but I can't figure out.
> >
> > Any hint, link or information would be highly appreciated.
>
> Strings are bound to UNO commands in configuration files, under
> main/officecfg/registry/data/org/openoffice/Office/UI/
>
> Look the files with the pattern XxxComnands.xcu. If the command is in
> more than one module and the string is the same in all modules, it
> should go in GenericCommands.xcu, otherwise it should go in the
> respective module's XxxCommands.xcu.
>
> The configuration file follows the schema defined in
> main/officecfg/registry/schema/org/openoffice/Office/UI/Commands.xcs
>
> A command that is not meant for a submenu, should go into the node
> "Commands", not "Popups".


> A command that has an image bound to it must have a property named
> "Properties", see for example
>
> https://svn.apache.org/viewvc/openoffice/trunk/main/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu?revision=1656166&view=markup#l5707
>
> The images must go in main/default_images/res/commandimagelist/
> See revision 1486380 for an example of how to add an image to
> ".uno:AutoPilotMenu"
> https://svn.apache.org/viewvc?view=revision&revision=1486380
>
>
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina
>

Thank you for your answer. It's very practical and helpful.
I've solved my problem as follows:

* add new node under "Command" node in XxxCommands.xcu
  

  Show Basic IDE...


  1

  

* add 4 images into default_images/res/commandimagelist
named as "showvbide" (same as UNO command)
with prefix (lc_, lch_, sc_, sch_)

* re-build and deliver
target component, packimages and postprocess

* re-build installer and re-install

Thanks again!

Regards,

Shoichiro Yanagida


Re: forum.opnoffice.org

2015-04-02 Thread jan i
On Thursday, April 2, 2015, Andrea Pescetti  wrote:

> On 02/04/2015 FR web forum wrote:
>
>> Did you access to forum and wiki since this morning?
>>
>
> (Adding to CC Carlo who is a moderator of the Italian forum and reported
> the issue earlier today in another thread)
>
> Both
> https://forum.openoffice.org/it/forum/
> and
> https://wiki.openoffice.org/wiki/Main_Page
> work normally for me now, although I've seen them slow earlier today, and
> maybe someone else was fixing them as I looked.
>
> A quick (maybe too quick) look at the Forum VM did not reveal anything
> broken.

both vm work normal and have not had any problems apart from a slow db.

>
> Coming back to the first message in this thread, thanks a lot to Jan for
> detecting the SSL issue and raising it with Infra; but is it normal that I
> hadn't received any alerts in that case? I signed up for forum and wiki
> outage alerts at http://status.apache.org/ like everyone can do, but it
> seems I never got alerts in the last few days.

yes you would not receive an alert about this, because it only hit users
who did not have the dns cached. I saw it because I on purpose cleared my
cache searching for another problem.

rgds
jan i

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

-- 
Sent from My iPad, sorry for any misspellings.


Re: forum.opnoffice.org

2015-04-02 Thread Rory O'Farrell
On Thu, 02 Apr 2015 09:49:33 +0200
Andrea Pescetti  wrote:

> On 02/04/2015 FR web forum wrote:
> > Did you access to forum and wiki since this morning?
> 
> (Adding to CC Carlo who is a moderator of the Italian forum and reported 
> the issue earlier today in another thread)

Currently taking over 3 mins to load a page (201504020900 BST/CET).
 

> Both
> https://forum.openoffice.org/it/forum/
> and
> https://wiki.openoffice.org/wiki/Main_Page
> work normally for me now, although I've seen them slow earlier today, 
> and maybe someone else was fixing them as I looked.
> 
> A quick (maybe too quick) look at the Forum VM did not reveal anything 
> broken.
> 
> Coming back to the first message in this thread, thanks a lot to Jan for 
> detecting the SSL issue and raising it with Infra; but is it normal that 
> I hadn't received any alerts in that case? I signed up for forum and 
> wiki outage alerts at http://status.apache.org/ like everyone can do, 
> but it seems I never got alerts in the last few days.
> 
> Regards,
>Andrea.
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 


-- 
Rory O'Farrell 

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



Re: forum.opnoffice.org

2015-04-02 Thread Andrea Pescetti

On 02/04/2015 FR web forum wrote:

Did you access to forum and wiki since this morning?


(Adding to CC Carlo who is a moderator of the Italian forum and reported 
the issue earlier today in another thread)


Both
https://forum.openoffice.org/it/forum/
and
https://wiki.openoffice.org/wiki/Main_Page
work normally for me now, although I've seen them slow earlier today, 
and maybe someone else was fixing them as I looked.


A quick (maybe too quick) look at the Forum VM did not reveal anything 
broken.


Coming back to the first message in this thread, thanks a lot to Jan for 
detecting the SSL issue and raising it with Infra; but is it normal that 
I hadn't received any alerts in that case? I signed up for forum and 
wiki outage alerts at http://status.apache.org/ like everyone can do, 
but it seems I never got alerts in the last few days.


Regards,
  Andrea.

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



Re: forum.opnoffice.org

2015-04-02 Thread Rory O'Farrell
On Thu, 2 Apr 2015 09:35:50 +0200 (CEST)
FR web forum  wrote:

> Did you access to forum and wiki since this morning?

Yes.  It improved last night, but has slowed up again this morning.  I've only 
accessed the forum. I'm going offline now for at lest the morning.



> 
> - Mail original -
> De: "Rory O'Farrell" 
> À: dev@openoffice.apache.org
> Envoyé: Mardi 31 Mars 2015 15:34:45
> Objet: Re: forum.opnoffice.org
> 
> On Tue, 31 Mar 2015 14:25:23 +0100
> Rory O'Farrell  wrote:
> 
> > On Tue, 31 Mar 2015 15:14:47 +0200 (CEST)
> > FR web forum  wrote:
> > 
> > > >It seems we have had a problem with forum.openoffice.org. 
> > > Since this morning, users forums seems to be very slow.
> > > 
> > > :-(
> > > 
> > 
> > Slow but working.
> > 
> 
> I'm not an expert on this, but the Internet connection times seem OK.  The 
> problem seems to be slow response from the server.
> 
> -- 
> Rory O'Farrell 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 


-- 
Rory O'Farrell 

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



Re: forum.opnoffice.org

2015-04-02 Thread FR web forum
Did you access to forum and wiki since this morning?

- Mail original -
De: "Rory O'Farrell" 
À: dev@openoffice.apache.org
Envoyé: Mardi 31 Mars 2015 15:34:45
Objet: Re: forum.opnoffice.org

On Tue, 31 Mar 2015 14:25:23 +0100
Rory O'Farrell  wrote:

> On Tue, 31 Mar 2015 15:14:47 +0200 (CEST)
> FR web forum  wrote:
> 
> > >It seems we have had a problem with forum.openoffice.org. 
> > Since this morning, users forums seems to be very slow.
> > 
> > :-(
> > 
> 
> Slow but working.
> 

I'm not an expert on this, but the Internet connection times seem OK.  The 
problem seems to be slow response from the server.

-- 
Rory O'Farrell 

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


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



AOO Forum

2015-04-02 Thread Carlo Salvagno
Today the forum does not work.
Regards.
Carlo Salvagno


 
 
 --
 ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti 
i dettagli 
Clicca qui 
http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer/f
 
 Sponsor:
 Caselle con tuo dominio su piattaforma Zimbra, fino a 30 GB di spazio, 
sincronizzazione dati e backup
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13324&d=2-4