Re: cuitabarea.hxx

2013-09-17 Thread Caolán McNamara
On Thu, 2013-09-12 at 16:41 -0300, Olivier Hallot wrote:
 While converting the format page dialog in sdraw I stumbled into
 
 sd/source/ui/dlg/dlgpage.cxx
 
 
 
 -AddTabPage( RID_SVXPAGE_PAGE);
 -AddTabPage( RID_SVXPAGE_AREA);
 
 If there is a way to build the Page and Area tabs pages of cui/ inside
 sd/ I'll be happy to learn how.

Apologies for late reply. Try again now after...
http://cgit.freedesktop.org/libreoffice/core/commit/?id=e2aa5ab249edaeb8e9e3603ba8ae09faea90122c
and it should be easier to convert now that it explicitly gets the
factory to find the creator methods by direct id rather than relying on
the implicit tab page id is the same as tab page creator function id
mapping of this AddTabPage variant.

C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: cuitabarea.hxx

2013-09-12 Thread Caolán McNamara
On Wed, 2013-09-11 at 23:39 -0300, Olivier Hallot wrote:
 Hi
 
 Converting a page setup dialog to widgets UI in sd/,  I stumbled on the
 need to have cui/source/inc/cuitabarea.hxx visible to sd/
 
 But moving it to include/cui/ will affect many files that looks for it
 in cui/source/inc/
 
 Any objections for the move?

Well, we don't currently have an include/cui so you'd have to create
that. What are the circumstances that require its exposure due to a .ui
conversion ?

C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: cuitabarea.hxx

2013-09-12 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Em 12-09-2013 13:19, Caolán McNamara escreveu:
 On Wed, 2013-09-11 at 23:39 -0300, Olivier Hallot wrote:
 Hi

 Converting a page setup dialog to widgets UI in sd/,  I stumbled on the
 need to have cui/source/inc/cuitabarea.hxx visible to sd/

 But moving it to include/cui/ will affect many files that looks for it
 in cui/source/inc/

 Any objections for the move?
 
 Well, we don't currently have an include/cui so you'd have to create
 that. What are the circumstances that require its exposure due to a .ui
 conversion ?
 
 C.
 

Hi Caolán

While converting the format page dialog in sdraw I stumbled into

sd/source/ui/dlg/dlgpage.cxx



- -AddTabPage( RID_SVXPAGE_PAGE);
- -AddTabPage( RID_SVXPAGE_AREA);
+nPage= AddTabPage( RID_SVXPAGE_PAGE,
SvxPageDescPage::Create(),0 );
+nBackground  = AddTabPage( RID_SVXPAGE_AREA,
SvxAreaTabPage::Create(),0);

where

SvxPageDescPage::Create() and SvxAreaTabPage::Create() are in cui/

If there is a way to build the Page and Area tabs pages of cui/ inside
sd/ I'll be happy to learn how.

Thank you

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Kurfürstendamm 188, 10707 - Berlin, Germany
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJSMhjwAAoJEJp3R7nH3vLxQsIH+wY1UqZXO5NW3YDkUTAmiN9J
6AsKP08oJVlgOGvjbP7JTrgnDSZotoH127+zV+olpgst8Lj/P459qc4Dtx1FN0R6
sq6bmHp01Y/D5CZXsvZrlgjkkRXphOEwg74elQzCbmHPHEFHAvXReezpOye2Btg2
xTfNM7YPlUlXBS70y3X5VVQ/dGd7uDXO+U5IK8tYlZuYMZfUgpRNN81ebPEOWyKa
TqzRpZ+n3nlo+fZ5PcqLTSzGBqx2p16cbVSa4/A195JbAAJfez/ICiq3eDhBjaeU
CBZMAsbX/BSykDP/pJThscz0LPsjp6LVxNgsrWAKtULNgBhDttcGJHeccT91woU=
=5HCF
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


cuitabarea.hxx

2013-09-11 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

Converting a page setup dialog to widgets UI in sd/,  I stumbled on the
need to have cui/source/inc/cuitabarea.hxx visible to sd/

But moving it to include/cui/ will affect many files that looks for it
in cui/source/inc/

Any objections for the move?

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Kurfürstendamm 188, 10707 - Berlin, Germany
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJSMSldAAoJEJp3R7nH3vLxVy8IAJD0tDwPwYhYu31msesI2qu7
WJSIVlu5SfLmEVptB/j5h11rWu7HVUpRU/x43AFqfcTiTGJi8vOAujfyHPAeFzeR
ve8i7v7TFnBq1ajHTp93+cXW+qpvpaYsBi2h8+4523yIBUmxOFvJfvCl5mDvO1JC
l7MYbGvIVZ0EabbtdcJbN922yXb+Wlip7lbk+W4B4PdUA6QLEbJzkiWrYGt4olWv
YD/rlHsdPnBS7shrhDznQp8atpa2rTrh1BiRY9QY0u6St7uBE6NzngXCbCYku6+7
zsen3hWXxMuKFoyTqWQCJ1clb49EELoTs4ToCux7e9fcMOLiRG2NqqHd8wlXhyk=
=3uIr
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice