Re: Custom Widget question

2013-02-26 Thread Caolán McNamara
On Tue, 2013-02-26 at 13:38 -0300, Olivier Hallot wrote: > Two other advises I need. > > The first is to handle single strings in src files. Does it make sense > to add hidden labels widget in the UI in order to fetch the strings? e.g. > > String STR_INSIDE > { > Text [ en-US ] = "I~n

Re: Custom Widget question

2013-02-26 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Caolán I will analyse the two listboxes approach. I also solved the Hide/Show issue I had. I am 99% close to completion for page dialog tab. Two other advises I need. The first is to handle single strings in src files. Does it make sense to add h

Re: Custom Widget question

2013-02-26 Thread Caolán McNamara
On Tue, 2013-02-26 at 01:15 -0300, Olivier Hallot wrote: > 1) On the Page format tab page there is a difference between pages > formats for Writer+Calc and Draw. > > RID_SVXSTRARY_PAPERSIZE_STD and RID_SVXSTRARY_PAPERSIZE_DRAW (found in > cui/source/tabpages/page.src) > > Can we swap ListStores

Re: Custom Widget question

2013-02-25 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Em 25-02-2013 21:01, Caolán McNamara escreveu: > On Sun, 2013-02-24 at 23:05 -0300, Olivier Hallot wrote: Some aditional questions 1) On the Page format tab page there is a difference between pages formats for Writer+Calc and Draw. RID_SVXSTRARY_P

Re: Custom Widget question

2013-02-25 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Caolán Em 25-02-2013 21:01, Caolán McNamara escreveu: > On Sun, 2013-02-24 at 23:05 -0300, Olivier Hallot wrote: >> Hi, >> >> Following instruction for custom widgets, I tried this implementation >> below. It seems it screwed something related to r

Re: Custom Widget question

2013-02-25 Thread Caolán McNamara
On Sun, 2013-02-24 at 23:05 -0300, Olivier Hallot wrote: > Hi, > > Following instruction for custom widgets, I tried this implementation > below. It seems it screwed something related to rResId at construction > time. Thanks in advance for pointing my mistake. Yeah, the makeWIDGET calls have to b

Custom Widget question

2013-02-24 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Following instruction for custom widgets, I tried this implementation below. It seems it screwed something related to rResId at construction time. Thanks in advance for pointing my mistake. In svx/source/dialog/frmdirlbox.cxx - -