summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/swriter/01/04090001.xhp
blob: 60c1cca85835fa201a59642249f22fb9a7b5f0b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<?xml version="1.0" encoding="UTF-8"?>



<!--
 ***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: 04090001.xhp,v $
 * $Revision: 1.8 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************
 -->


		<helpdocument version="1.0">
<meta>
<topic id="textswriter0104090001xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Document</title>
<filename>/text/swriter/01/04090001.xhp</filename>
</topic>
</meta>
<body>
<section id="dokument">
<bookmark xml-lang="en-US" branch="hid/HID_FLD_DOK" id="bm_id3145246" localize="false"/><paragraph role="heading" id="hd_id3150017" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/swriter/01/04090001.xhp" name="Document">Document</link></paragraph>
<paragraph role="paragraph" id="par_id3147167" xml-lang="en-US" l10n="U" oldref="2">Fields are used to insert information about the current document, for example, file name, template, statistics, user data, date, and time.</paragraph>
</section>
<section id="howtoget">
  <embed href="text/swriter/00/00000404.xhp#felddokument"/>
</section>
<paragraph role="note" id="par_id3154470" xml-lang="en-US" l10n="U" oldref="3">For the HTML export and import of date and time fields, <link href="text/swriter/01/04090007.xhp#datumuhrzeit" name="special $[officename] formats">special $[officename] formats</link> are used.</paragraph>
<section id="feldtyp">
<bookmark xml-lang="en-US" branch="hid/SW:LISTBOX:TP_FLD_DOK:LB_DOKTYPE" id="bm_id3153666" localize="false"/><paragraph role="heading" id="hd_id3151312" xml-lang="en-US" level="2" l10n="U" oldref="4">Type</paragraph>
<paragraph role="paragraph" id="par_id3153672" xml-lang="en-US" l10n="U" oldref="5"><ahelp hid="SW:LISTBOX:TP_FLD_DOK:LB_DOKTYPE">Lists the available field types. To add a field to your document, click a field type, click a field in the <emph>Select </emph>list, and then click <emph>Insert</emph>.</ahelp> The following fields are available:</paragraph>
</section>
<table id="tbl_id3149686">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3155182" xml-lang="en-US" l10n="U" oldref="6">Type</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3143272" xml-lang="en-US" l10n="U" oldref="7">Meaning</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3151248" xml-lang="en-US" l10n="U" oldref="10">Author</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3148975" xml-lang="en-US" l10n="U" oldref="11">Inserts the name of the user who first saved the document. </paragraph>
<paragraph role="tablecontent" id="par_id3147093" xml-lang="en-US" l10n="CHG" oldref="66">To view the name of the author, choose <emph>File - Properties</emph>, click the <emph>General</emph> tab, and then look at the <emph>Created </emph>line. The name of the author is appended to the <emph>Created</emph> line only if the <emph>Apply user data</emph> check box is selected.<comment>we must define the difference of (first) Author and (current) User somewhere, so it is here next to the Author index entry</comment></paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3145759" xml-lang="en-US" l10n="U" oldref="18">Chapter</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3149172" xml-lang="en-US" l10n="U" oldref="19">Inserts the chapter number and/or the chapter name.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3145771" xml-lang="en-US" l10n="U" oldref="14">Date</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3151370" xml-lang="en-US" l10n="CHG" oldref="15">Inserts the current date. You can insert the date as a fixed field - <item type="literal">Date (fixed)</item> - that does not change, or as a dynamic field - <item type="literal">Date</item> - that it is updated automatically. To manually update the <item type="literal">Date</item> field, press F9.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150699" xml-lang="en-US" l10n="U" oldref="12">File name</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150122" xml-lang="en-US" l10n="U" oldref="13">Inserts the filename and/or the directory path of the current document, as well as the filename without extension.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3147495" xml-lang="en-US" l10n="U" oldref="20">Page</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3145264" xml-lang="en-US" l10n="U" oldref="21">Inserts the page number of the current, previous, or next page.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150561" xml-lang="en-US" l10n="U" oldref="8">Sender</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3146341" xml-lang="en-US" l10n="U" oldref="9">Inserts fields containing user data. You can change the user-data that is displayed by choosing<link href="text/shared/optionen/01010100.xhp" name="Tools - Options - $[officename] - User Data"><emph>Tools - Options - $[officename] - User Data</emph></link>.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3148863" xml-lang="en-US" l10n="U" oldref="22">Statistics</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3151091" xml-lang="en-US" l10n="U" oldref="23">Inserts document statistics, such as page and word counts, as a field. To view the statistics of a document, choose <emph>File - Properties</emph>, and then click the<emph> Statistics tab. </emph>
</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3153302" xml-lang="en-US" l10n="U" oldref="16">Templates</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3156123" xml-lang="en-US" l10n="U" oldref="17">Inserts the filename, the path, or the filename without the file extension of the current template. You can also insert the names of the "Category" and the "Style" formats used in the current template. To view the names of the template categories and the styles used in the templates, choose <emph>File - Templates -</emph><link href="text/shared/01/01110100.xhp" name="Organize"><emph>Organize</emph></link>.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3146939" xml-lang="en-US" l10n="U" oldref="24">Time</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3154340" xml-lang="en-US" l10n="CHG" oldref="25">Inserts the current time. You can insert the time as a fixed field - <item type="literal">Time (fixed)</item> - that does not change, or as a dynamic field - <item type="literal">Time</item> - that it is updated automatically. To manually update the <item type="literal">Time</item> field, press F9.</paragraph>
</tablecell>
</tablerow>
</table>
<section id="hinweis">
<paragraph role="note" id="par_id3154631" xml-lang="en-US" l10n="U" oldref="26">The following fields can only be inserted if the corresponding field type is selected in the <emph>Type </emph>list.</paragraph>
</section>
<section id="auswahl">
<bookmark xml-lang="en-US" branch="hid/SW:LISTBOX:TP_FLD_DOK:LB_DOKSELECTION" id="bm_id3150671" localize="false"/><paragraph role="heading" id="hd_id3150660" xml-lang="en-US" level="2" l10n="CHG" oldref="27">Select<comment>on "Document" and "DocInformation" tab page this is called "Select", on the other tab pages "Selection"</comment></paragraph>
<paragraph role="paragraph" id="par_id3150678" xml-lang="en-US" l10n="U" oldref="28"><ahelp hid="SW:LISTBOX:TP_FLD_DOK:LB_DOKSELECTION">Lists the available fields for the field type selected in the <emph>Type </emph>list. To insert a field, click the field, and then click <emph>Insert</emph>.</ahelp></paragraph>
<paragraph role="tip" id="par_id3155537" xml-lang="en-US" l10n="U" oldref="53">To quickly insert a field from the list, hold down <switchinline select="sys"><caseinline select="MAC">Command 
</caseinline><defaultinline>Ctrl</defaultinline></switchinline> and double-click the field.</paragraph>
<table id="tbl_id3148722">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3155359" xml-lang="en-US" l10n="U" oldref="30">Fields</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3154220" xml-lang="en-US" l10n="U" oldref="31">Function</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3145107" xml-lang="en-US" l10n="U" oldref="32">Previous page</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3149595" xml-lang="en-US" l10n="U" oldref="33">Inserts the page number of the previous page in the document.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3146896" xml-lang="en-US" l10n="U" oldref="34">Next page </paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3148923" xml-lang="en-US" l10n="U" oldref="35">Inserts the page number of the next page in the document.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3156032" xml-lang="en-US" l10n="U" oldref="36">Page Number </paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3159212" xml-lang="en-US" l10n="U" oldref="37">Inserts the current page number.</paragraph>
</tablecell>
</tablerow>
</table>
<paragraph role="paragraph" id="par_id3159229" xml-lang="en-US" l10n="U" oldref="38">In the <emph>Format</emph>, click the numbering format that you want to use.</paragraph>
<paragraph role="paragraph" id="par_id3145188" xml-lang="en-US" l10n="U" oldref="39">If you want, you can enter an <emph>Offset </emph>for the displayed page number. With an <emph>Offset</emph> value of 1, the field will display a number that is 1 more than the current page number, but only if a page with that number exists. On the last page of the document, this same field will be empty.</paragraph>
</section>
<section id="korrektur">
<bookmark xml-lang="en-US" branch="hid/SW:EDIT:TP_FLD_DOK:ED_DOKVALUE" id="bm_id3150903" localize="false"/><paragraph role="heading" id="hd_id3150891" xml-lang="en-US" level="2" l10n="U" oldref="45">Offset</paragraph>
<paragraph role="paragraph" id="par_id3155312" xml-lang="en-US" l10n="U" oldref="46"><ahelp hid="SW:EDIT:TP_FLD_DOK:ED_DOKVALUE">Enter the offset value that you want to apply to a page number field, for example "+1".</ahelp></paragraph>
</section>
<paragraph role="tip" id="par_id3154948" xml-lang="en-US" l10n="U" oldref="54">If you want to change the actual page number and not the displayed number, do not use the <emph>Offset</emph> value. To change page numbers, read the <link href="text/swriter/guide/pagenumbers.xhp" name="Page Numbers"><emph>Page Numbers</emph></link> guide.</paragraph>
<section id="format">
<bookmark xml-lang="en-US" branch="hid/SW:LISTBOX:TP_FLD_DOK:LB_DOKFORMAT" id="bm_id3145607" localize="false"/><paragraph role="heading" id="hd_id3145595" xml-lang="en-US" level="2" l10n="U" oldref="41">Format</paragraph>
<paragraph role="paragraph" id="par_id3145613" xml-lang="en-US" l10n="U" oldref="42"><ahelp hid="SW:LISTBOX:TP_FLD_DOK:LB_DOKFORMAT">Click the format that you want to apply to the selected field, or click "Additional formats" to define a custom format.</ahelp></paragraph>
</section>
<paragraph role="paragraph" id="par_id3150138" xml-lang="en-US" l10n="U" oldref="49"><variable id="datumuhrzeitformat">When you click "Additional formats", the <link href="text/shared/01/05020300.xhp" name="Number Format"><emph>Number Format</emph></link> dialog opens, where you can define a custom format. 
</variable></paragraph>
<paragraph role="paragraph" id="par_id3154867" xml-lang="en-US" l10n="U" oldref="50">If you choose "Chapter number without separator" for a chapter field, the separators that are specified for chapter number in <link href="text/swriter/01/06060000.xhp" name="Tools - Chapter numbering"><emph>Tools - Chapter numbering</emph></link> are not displayed.</paragraph>
<paragraph role="paragraph" id="par_id3156079" xml-lang="en-US" l10n="U" oldref="63">If you choose "chapter number" as the <emph>format</emph> for reference fields, only the number of the chapter heading containing the referenced object is displayed in the field. If the paragraph style for the chapter heading is not numbered, the field is left blank.</paragraph>
<paragraph role="paragraph" id="par_id3148682" xml-lang="en-US" l10n="U" oldref="56">The following number range formats are for paragraphs formatted with numbered or bulleted lists:</paragraph>
<table id="tbl_id3149976">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150006" xml-lang="en-US" l10n="U" oldref="57">Category and number</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3155386" xml-lang="en-US" l10n="U" oldref="58">The format contains everything between the beginning of the paragraph and directly after the number-range field</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3146919" xml-lang="en-US" l10n="U" oldref="59">Caption text</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3155929" xml-lang="en-US" l10n="U" oldref="60">The format contains the text following the number-range field up to the end of the paragraph</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3148733" xml-lang="en-US" l10n="U" oldref="61">Number</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3148755" xml-lang="en-US" l10n="U" oldref="62">The format only contains the reference number</paragraph>
</tablecell>
</tablerow>
</table>
<bookmark xml-lang="en-US" branch="hid/SW:CHECKBOX:TP_FLD_DOK:CB_DOKFIXEDCONTENT" id="bm_id3153014" localize="false"/><embed href="text/swriter/01/04090004.xhp#inhaltfix"/>
<bookmark xml-lang="en-US" branch="hid/SW:NUMERICFIELD:TP_FLD_DOK:ED_DOKLEVEL" id="bm_id3153038" localize="false"/><paragraph role="heading" id="hd_id3153026" xml-lang="en-US" level="2" l10n="U" oldref="43">Layer</paragraph>
<paragraph role="paragraph" id="par_id3154580" xml-lang="en-US" l10n="U" oldref="44"><ahelp hid="SW:NUMERICFIELD:TP_FLD_DOK:ED_DOKLEVEL">Select the chapter heading level that you want to include in the selected field.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/SW:NUMERICFIELD:TP_FLD_DOK:ED_DOKDATEOFF" id="bm_id3154610" localize="false"/><paragraph role="heading" id="hd_id3154598" xml-lang="en-US" level="2" l10n="U" oldref="51">Offset in days/minutes</paragraph>
<paragraph role="paragraph" id="par_id3154899" xml-lang="en-US" l10n="U" oldref="52"><ahelp hid="SW:NUMERICFIELD:TP_FLD_DOK:ED_DOKDATEOFF">Enter the offset that you want to apply to a date or time field.</ahelp></paragraph>
<section id="wert">
<paragraph role="heading" id="hd_id3154922" xml-lang="en-US" level="2" l10n="U" oldref="47">Value</paragraph>
<paragraph role="paragraph" id="par_id3153049" xml-lang="en-US" l10n="U" oldref="48"><ahelp hid="SW:NUMERICFIELD:TP_FLD_DOK:ED_DOKDATEOFF">Enter the contents that you want to add to a user-defined fields.</ahelp></paragraph>
</section>
</body>
</helpdocument>