Difference between revisions of "Documentation/DevGuide/Forms/Forms"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Documentation/Developers Guide/Forms)
m
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Documentation/DevGuide/FormsTOC
 
{{Documentation/DevGuide/FormsTOC
 
|ShowPrevNext=block
 
|ShowPrevNext=block
|PrevPage=Documentation/DevGuide/Database/Handling Unsupported Functionality
+
|PrevPage=Documentation/DevGuide/Database/Extending_Database_Drivers
 
|NextPage=Documentation/DevGuide/Forms/Models and Views
 
|NextPage=Documentation/DevGuide/Forms/Models and Views
 
}}
 
}}
 +
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Forms/{{SUBPAGENAME}}}}
 
{{DISPLAYTITLE:Forms}}
 
{{DISPLAYTITLE:Forms}}
 +
{{Download Collection|MediaWiki:Collections/Developer's Guide - Forms}}
 
Forms offer a method of control-based data input. A form or ''form document'' consists of a set of controls, where each one enters a single piece of data. In a simple case, this could be a plain text field allowing you to insert some text without any word breaks. When we speak of forms, we mean forms and controls, because these cannot be divided.
 
Forms offer a method of control-based data input. A form or ''form document'' consists of a set of controls, where each one enters a single piece of data. In a simple case, this could be a plain text field allowing you to insert some text without any word breaks. When we speak of forms, we mean forms and controls, because these cannot be divided.
  
 
If an internet site asks you for information, for example, for a product registration you are presented with fields to enter your name, your address and other information. These are HTML forms.
 
If an internet site asks you for information, for example, for a product registration you are presented with fields to enter your name, your address and other information. These are HTML forms.
  
Basically, this is what {{PRODUCTNAME}} forms do. They enhance nearly every document with controls for data input. This additional functionality put into a document is called the ''form layer'' within the scope of this chapter.
+
Basically, this is what {{AOo}} forms do. They enhance nearly every document with controls for data input. This additional functionality put into a document is called the ''form layer'' within the scope of this chapter.
  
The most basic functionality provides the controls for HTML form documents mentioned above: If you open an HTML document with form elements in {{PRODUCTNAME}} Writer, these elements are represented by components from <idlmodule>com.sun.star.form</idlmodule>.
+
The most basic functionality provides the controls for HTML form documents mentioned above: If you open an HTML document with form elements in {{AOo}} Writer, these elements are represented by components from <idlmodule>com.sun.star.form</idlmodule>.
  
The more enhanced functionality provides support for data-aware forms. These are forms and controls that are bound to a data source registered in {{PRODUCTNAME}} to enter data into tables of a database. For more information about data sources and data access in general, refer to the [[Documentation/DevGuide/Database/Database Access|Database Access]].
+
The more enhanced functionality provides support for data-aware forms. These are forms and controls that are bound to a data source registered in {{AOo}} to enter data into tables of a database. For more information about data sources and data access in general, refer to the [[Documentation/DevGuide/Database/Database Access|Database Access]].
  
Since {{PRODUCTNAME}} {{OO2.0.0}}, form controls also feature a generalization of this concept. They can be bound to external components, which supply an own value. Both values - the one of the external component, and the current value of the control - are synchronized, so that a change in one of them is immediately propagated to the other. This allows new features, where the most notable is that you can bind form controls to spreadsheet cells.
+
Since OpenOffice.org 2.0.0, form controls also feature a generalization of this concept. They can be bound to external components, which supply an own value. Both values - the one of the external component, and the current value of the control - are synchronized, so that a change in one of them is immediately propagated to the other. This allows new features, where the most notable is that you can bind form controls to spreadsheet cells.
  
When discussing forms, the difference between ''form documents'' and ''logical forms'' have to be distinguished. The form document refers to a document as a whole, while logical forms are basically a set of controls with additional properties. Within the scope of this chapter, when a "form" is referred to, the logical form is meant.
+
When discussing forms, ''form documents'' and ''logical forms'' have to be distinguished. The phrase ''form document'' refers to a document as a whole, while a ''logical form'' is basically a set of controls with additional properties. Within the scope of this chapter, when a "form" is referred to, the logical form is meant.
  
 
{{PDL1}}
 
{{PDL1}}
  
 
[[Category:Documentation/Developer's Guide/Forms]]
 
[[Category:Documentation/Developer's Guide/Forms]]

Latest revision as of 15:28, 21 December 2020



PDF Icon.gif Download as a PDF or ODT


Forms offer a method of control-based data input. A form or form document consists of a set of controls, where each one enters a single piece of data. In a simple case, this could be a plain text field allowing you to insert some text without any word breaks. When we speak of forms, we mean forms and controls, because these cannot be divided.

If an internet site asks you for information, for example, for a product registration you are presented with fields to enter your name, your address and other information. These are HTML forms.

Basically, this is what Apache OpenOffice forms do. They enhance nearly every document with controls for data input. This additional functionality put into a document is called the form layer within the scope of this chapter.

The most basic functionality provides the controls for HTML form documents mentioned above: If you open an HTML document with form elements in Apache OpenOffice Writer, these elements are represented by components from com.sun.star.form.

The more enhanced functionality provides support for data-aware forms. These are forms and controls that are bound to a data source registered in Apache OpenOffice to enter data into tables of a database. For more information about data sources and data access in general, refer to the Database Access.

Since OpenOffice.org 2.0.0, form controls also feature a generalization of this concept. They can be bound to external components, which supply an own value. Both values - the one of the external component, and the current value of the control - are synchronized, so that a change in one of them is immediately propagated to the other. This allows new features, where the most notable is that you can bind form controls to spreadsheet cells.

When discussing forms, form documents and logical forms have to be distinguished. The phrase form document refers to a document as a whole, while a logical form is basically a set of controls with additional properties. Within the scope of this chapter, when a "form" is referred to, the logical form is meant.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages