Re: GSoC'18 Getting Started with Listbox separate Read Values from Input Values

2018-03-15 Thread Lionel Elie Mamane
Hi,

Your description is correct. Forms are a component that is not per se
strictly part of Base, it is shared with also at least Writer and
Calc. They are just used much more intensively by Base than by other
parts of LibreOffice :)

In first approximation, the work you describe would happen entirely
within the Forms component, files

forms/source/component/ListBox.cxx
forms/source/component/ListBox.hxx
forms/source/component/BaseListBox.hxx

plus the service/interface definition for a ListBox in

offapi/com/sun/star/form/component/ListBox.idl
offapi/com/sun/star/form/control/ListBox.idl

plus the low-level implementation

vcl/source/control/listbox.cxx
vcl/source/control/imp_listbox.cxx
vcl/inc/listbox.hxx

Best Regards,

Lionel

On Thu, Mar 15, 2018 at 05:54:27PM +0530, Hrishabh Rajput wrote:
> Currently, I am trying to understand the problem and sending patches to
> some easyhacks, but it would be nice if some guidance and resources are
> provided on the project topic in order to get a better understanding.
> 
> Thanks,
> Hrishabh
> 
> On Sun, Mar 4, 2018 at 2:28 PM, Hrishabh Rajput 
> wrote:
> 
> > Hello Community,
> >
> > I am Hrishabh Rajput, 2nd year undergraduate student from Indian Institute
> > of Technology, Kharagpur (IIT KGP). I performed my first build successfully
> > in September'17. Also, I am very well familiar with the C++ language. (IRC
> > Nick: hrishabh)
> >
> > I am interested in and would like to work on the GSoC project related to
> > LibreOffice Base, ListBox separate Read Values from Input Values:
> > https://wiki.documentfoundation.org/Development/GSoC/Ideas#
> > Listbox_separate_read_values_from_input_values. I have already started to
> > explore the project and to understand the implementation of ListBox.
> >
> > I found out that the Modules "connectivity" and "dbaccess" are under the
> > Database Access Project. And the modules "forms" and "svx" are also related
> > to Database Access, but are in different projects. Found this out from
> > https://www.openoffice.org/dba/development/project_structure.html.
> > Probably, I will be working in these modules for most of my time, if not
> > all, particularly in the file ListBox.cxx ( https://opengrok.libreoffice.
> > org/xref/core/forms/source/component/ListBox.cxx ).
> >
> > I also made myself familiar with LO Base, and tried to understand the
> > implementation of ListBox and it's terminology. What I got is that the list
> > entries are the strings that are shown to the user. These list entries are
> > mapped to the ValueList, and they together form the List Content. The
> > ValueList is mapped to the Datafield (which is a column of the Value Table
> > of the Database).
> >
> > It would be great if some insight and guidance is provided on the project
> > and correctness of the above information.
> >
> > Thank you.
> >
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: GSoC'18 Getting Started with Listbox separate Read Values from Input Values

2018-03-15 Thread Hrishabh Rajput
Currently, I am trying to understand the problem and sending patches to
some easyhacks, but it would be nice if some guidance and resources are
provided on the project topic in order to get a better understanding.

Thanks,
Hrishabh

On Sun, Mar 4, 2018 at 2:28 PM, Hrishabh Rajput 
wrote:

> Hello Community,
>
> I am Hrishabh Rajput, 2nd year undergraduate student from Indian Institute
> of Technology, Kharagpur (IIT KGP). I performed my first build successfully
> in September'17. Also, I am very well familiar with the C++ language. (IRC
> Nick: hrishabh)
>
> I am interested in and would like to work on the GSoC project related to
> LibreOffice Base, ListBox separate Read Values from Input Values:
> https://wiki.documentfoundation.org/Development/GSoC/Ideas#
> Listbox_separate_read_values_from_input_values. I have already started to
> explore the project and to understand the implementation of ListBox.
>
> I found out that the Modules "connectivity" and "dbaccess" are under the
> Database Access Project. And the modules "forms" and "svx" are also related
> to Database Access, but are in different projects. Found this out from
> https://www.openoffice.org/dba/development/project_structure.html.
> Probably, I will be working in these modules for most of my time, if not
> all, particularly in the file ListBox.cxx ( https://opengrok.libreoffice.
> org/xref/core/forms/source/component/ListBox.cxx ).
>
> I also made myself familiar with LO Base, and tried to understand the
> implementation of ListBox and it's terminology. What I got is that the list
> entries are the strings that are shown to the user. These list entries are
> mapped to the ValueList, and they together form the List Content. The
> ValueList is mapped to the Datafield (which is a column of the Value Table
> of the Database).
>
> It would be great if some insight and guidance is provided on the project
> and correctness of the above information.
>
> Thank you.
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice