Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


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 <hrishabh.iitkgp@gmail.com>
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.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.