xref: /trunk/main/helpcontent2/source/text/shared/01/xformsdataadd.xhp (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir
5*cdf0e10cSrcweir<!--
6*cdf0e10cSrcweir ***********************************************************************
7*cdf0e10cSrcweir *
8*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9*cdf0e10cSrcweir *
10*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
11*cdf0e10cSrcweir *
12*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
13*cdf0e10cSrcweir *
14*cdf0e10cSrcweir * This file is part of OpenOffice.org.
15*cdf0e10cSrcweir *
16*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
17*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
18*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
19*cdf0e10cSrcweir *
20*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
21*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
22*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
24*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
27*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
28*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
29*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
30*cdf0e10cSrcweir *
31*cdf0e10cSrcweir ************************************************************************
32*cdf0e10cSrcweir -->
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir
35*cdf0e10cSrcweir        <helpdocument version="1.0">
36*cdf0e10cSrcweir<meta>
37*cdf0e10cSrcweir<topic id="textshared01xformsdataaddxhp" indexer="include" status="PUBLISH">
38*cdf0e10cSrcweir<title xml-lang="en-US" id="tit">Add / Edit</title>
39*cdf0e10cSrcweir<filename>/text/shared/01/xformsdataadd.xhp</filename>
40*cdf0e10cSrcweir</topic>
41*cdf0e10cSrcweir</meta>
42*cdf0e10cSrcweir<body>
43*cdf0e10cSrcweir
44*cdf0e10cSrcweir
45*cdf0e10cSrcweir
46*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id7194738"><bookmark_value>read-only items in Data Navigator</bookmark_value>
47*cdf0e10cSrcweir<bookmark_value>Data Navigator;adding/editing items</bookmark_value>
48*cdf0e10cSrcweir</bookmark>
49*cdf0e10cSrcweir  <comment>MW added a new entry and deleted "editing;" and "adding;"</comment>
50*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10547" role="heading" level="1" l10n="NEW">Add / Edit</paragraph>
51*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN1054B" role="paragraph" l10n="CHG"><ahelp hid=".">Adds a new item or edits the selected item in the XForms Data Navigator.</ahelp> Items can be elements, attributes, submissions, or bindings.</paragraph>
52*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10560" role="paragraph" l10n="CHG"><ahelp hid=".">%PRODUCTNAME inserts a new item directly after the currently selected item in the Data Navigator. A new attribute is added to the currently selected element.</ahelp></paragraph>
53*cdf0e10cSrcweir
54*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:Edit:RID_SVXDLG_ADD_DATAITEM:ED_NAME" id="bm_id5775627" localize="false"/>
55*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10563" role="heading" level="3" l10n="NEW">Name</paragraph>
56*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10567" role="paragraph" l10n="NEW"><ahelp hid=".">Enter the name of the item.</ahelp></paragraph>
57*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN1056A" role="note" l10n="CHG">The attribute names must be unique within the same group.</paragraph>
58*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN1056D" role="heading" level="3" l10n="NEW">Type</paragraph>
59*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10571" role="paragraph" l10n="NEW"><ahelp hid=".">Select the type of a new item. You cannot change the type of an edited item.</ahelp></paragraph>
60*cdf0e10cSrcweir
61*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:Edit:RID_SVXDLG_ADD_DATAITEM:ED_DEFAULT" id="bm_id9302041" localize="false"/>
62*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10574" role="heading" level="3" l10n="NEW">Default value</paragraph>
63*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10578" role="paragraph" l10n="NEW"><ahelp hid=".">Enter a default value for the selected item.</ahelp></paragraph>
64*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN1057B" role="heading" level="2" l10n="NEW">Settings</paragraph>
65*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN1057F" role="paragraph" l10n="NEW"><ahelp hid=".">Specifies the properties of the selected item.</ahelp></paragraph>
66*cdf0e10cSrcweir
67*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:ListBox:RID_SVXDLG_ADD_DATAITEM:LB_DATATYPE" id="bm_id5551011" localize="false"/>
68*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10582" role="heading" level="3" l10n="NEW">Data type</paragraph>
69*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10586" role="paragraph" l10n="NEW"><ahelp hid=".">Select the data type for the selected item.</ahelp></paragraph>
70*cdf0e10cSrcweir
71*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_SVXDLG_ADD_DATAITEM:CB_REQUIRED" id="bm_id2487258" localize="false"/>
72*cdf0e10cSrcweir
73*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_XSD_REQUIRED" id="bm_id1239661" localize="false"/>
74*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10589" role="heading" level="3" l10n="NEW">Required</paragraph>
75*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN1058D" role="paragraph" l10n="NEW"><ahelp hid=".">Specifies if the item must be included on the XForm.</ahelp></paragraph>
76*cdf0e10cSrcweir
77*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:PushButton:RID_SVXDLG_ADD_DATAITEM:PB_REQUIRED" id="bm_id1404156" localize="false"/>
78*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10590" role="paragraph" l10n="NEW">The <emph>Condition</emph> button opens the <link href="text/shared/01/xformsdataaddcon.xhp">Add Condition</link> dialog where you can enter used namespaces and full XPath expressions.</paragraph>
79*cdf0e10cSrcweir
80*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_SVXDLG_ADD_DATAITEM:CB_RELEVANT" id="bm_id8867458" localize="false"/>
81*cdf0e10cSrcweir
82*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_XSD_RELEVANT" id="bm_id3679616" localize="false"/>
83*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN105AA" role="heading" level="3" l10n="NEW">Relevant</paragraph>
84*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN105AE" role="paragraph" l10n="NEW"><ahelp hid=".">Declares the item as relevant.</ahelp></paragraph>
85*cdf0e10cSrcweir
86*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:PushButton:RID_SVXDLG_ADD_DATAITEM:PB_RELEVANT" id="bm_id3488570" localize="false"/>
87*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN105B1" role="paragraph" l10n="NEW">The <emph>Condition</emph> button opens the <link href="text/shared/01/xformsdataaddcon.xhp">Add Condition</link> dialog where you can enter used namespaces and full XPath expressions.</paragraph>
88*cdf0e10cSrcweir
89*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_SVXDLG_ADD_DATAITEM:CB_CONSTRAINT" id="bm_id2007812" localize="false"/>
90*cdf0e10cSrcweir
91*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_XSD_CONSTRAINT" id="bm_id8594622" localize="false"/>
92*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN105CB" role="heading" level="3" l10n="NEW">Constraint</paragraph>
93*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN105CF" role="paragraph" l10n="NEW"><ahelp hid=".">Declares the item as a constraint.</ahelp></paragraph>
94*cdf0e10cSrcweir
95*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:PushButton:RID_SVXDLG_ADD_DATAITEM:PB_CONSTRAINT" id="bm_id2240058" localize="false"/>
96*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN106C7" role="paragraph" l10n="NEW">The <emph>Condition</emph> button opens the <link href="text/shared/01/xformsdataaddcon.xhp">Add Condition</link> dialog where you can specify the constraint condition.</paragraph>
97*cdf0e10cSrcweir
98*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_SVXDLG_ADD_DATAITEM:CB_READONLY" id="bm_id6203192" localize="false"/>
99*cdf0e10cSrcweir
100*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_XSD_READONLY" id="bm_id4252449" localize="false"/>
101*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN105E4" role="heading" level="3" l10n="NEW">Read-only</paragraph>
102*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN105E8" role="paragraph" l10n="NEW"><ahelp hid=".">Declares the item as read-only.</ahelp></paragraph>
103*cdf0e10cSrcweir
104*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:PushButton:RID_SVXDLG_ADD_DATAITEM:PB_READONLY" id="bm_id165105" localize="false"/>
105*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN105EB" role="paragraph" l10n="NEW">The <emph>Condition</emph> button opens the <link href="text/shared/01/xformsdataaddcon.xhp">Add Condition</link> dialog where you can enter used namespaces and full XPath expressions.</paragraph>
106*cdf0e10cSrcweir
107*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_SVXDLG_ADD_DATAITEM:CB_CALCULATE" id="bm_id6361583" localize="false"/>
108*cdf0e10cSrcweir
109*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_XSD_CALCULATION" id="bm_id383617" localize="false"/>
110*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10605" role="heading" level="3" l10n="CHG">Calculate / Calculation<comment>UFI: inconsistent use of name</comment></paragraph>
111*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10609" role="paragraph" l10n="NEW"><ahelp hid=".">Declares that the item is calculated.</ahelp></paragraph>
112*cdf0e10cSrcweir
113*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:PushButton:RID_SVXDLG_ADD_DATAITEM:PB_CALCULATE" id="bm_id2518997" localize="false"/>
114*cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN1076B" role="paragraph" l10n="NEW">The <emph>Condition</emph> button opens the <link href="text/shared/01/xformsdataaddcon.xhp">Add Condition</link> dialog where you can enter the calculation.</paragraph>
115*cdf0e10cSrcweir </body>
116*cdf0e10cSrcweir</helpdocument>
117