summaryrefslogtreecommitdiff
path: root/source/text/swriter/01/04090001.xhp
blob: 25402d88c4fd1ad91221da429d31d2527d6faad7 (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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->

<meta>
  <topic id="textswriter0104090001xml" indexer="include">
    <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/modules/swriter/ui/flddocumentpage/FldDocumentPage" id="bm_id3145246" localize="false"/>

<paragraph id="hd_id3150017" role="heading" level="1" xml-lang="en-US"><link href="text/swriter/01/04090001.xhp" name="Document">Document</link></paragraph>
<paragraph id="par_id3147167" role="paragraph" xml-lang="en-US">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 id="par_id3154470" role="note" xml-lang="en-US">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/modules/swriter/ui/flddocumentpage/type" id="bm_id3153666" localize="false"/>

<paragraph id="hd_id3151312" role="heading" level="2" xml-lang="en-US">Type</paragraph>
<paragraph id="par_id3153672" role="paragraph" xml-lang="en-US"><ahelp hid="modules/swriter/ui/flddocumentpage/type">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>
      <paragraph id="par_id3155182" role="tablehead" xml-lang="en-US">Type</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3143272" role="tablehead" xml-lang="en-US">Meaning</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3151248" role="tablecontent" xml-lang="en-US">Author</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3148975" role="tablecontent" xml-lang="en-US">Inserts the name of the current user. </paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3145759" role="tablecontent" xml-lang="en-US">Chapter</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3149172" role="tablecontent" xml-lang="en-US">Inserts the chapter number and/or the chapter name.</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3145771" role="tablecontent" xml-lang="en-US">Date</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3151370" role="tablecontent" xml-lang="en-US">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>
      <paragraph id="par_id3150699" role="tablecontent" xml-lang="en-US">File name</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3150122" role="tablecontent" xml-lang="en-US">Inserts the filename and/or the directory path of the current document, as well as the filename without extension.</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3147495" role="tablecontent" xml-lang="en-US">Page</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3145264" role="tablecontent" xml-lang="en-US">Inserts the page number of the current, previous, or next page.</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3150561" role="tablecontent" xml-lang="en-US">Sender</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3146341" role="tablecontent" xml-lang="en-US">Inserts fields containing user data. You can change the user-data that is displayed by choosing <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph>
</caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - </emph><link href="text/shared/optionen/01010100.xhp" name="$[officename] - User Data"><emph>$[officename] - User Data</emph></link>.</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3148863" role="tablecontent" xml-lang="en-US">Statistics</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3151091" role="tablecontent" xml-lang="en-US">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</emph> tab. </paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3153302" role="tablecontent" xml-lang="en-US">Templates</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3156123" role="tablecontent" xml-lang="en-US">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.</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3146939" role="tablecontent" xml-lang="en-US">Time</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3154340" role="tablecontent" xml-lang="en-US">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 id="par_id3154631" role="note" xml-lang="en-US">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/modules/swriter/ui/flddocumentpage/select" id="bm_id3150671" localize="false"/>

<paragraph id="hd_id3150660" role="heading" level="2" xml-lang="en-US">Select<comment>on "Document" and "DocInformation" tab page this is called "Select", on the other tab pages "Selection"</comment></paragraph>
<paragraph id="par_id3150678" role="paragraph" xml-lang="en-US"><ahelp hid="modules/swriter/ui/flddocumentpage/select">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 id="par_id3155537" role="tip" xml-lang="en-US">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>
      <paragraph id="par_id3155359" role="tablehead" xml-lang="en-US">Fields</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3154220" role="tablehead" xml-lang="en-US">Function</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3145107" role="tablecontent" xml-lang="en-US">Previous page</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3149595" role="tablecontent" xml-lang="en-US">Inserts the page number of the previous page in the document.</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3146896" role="tablecontent" xml-lang="en-US">Next page </paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3148923" role="tablecontent" xml-lang="en-US">Inserts the page number of the next page in the document.</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3156032" role="tablecontent" xml-lang="en-US">Page Number </paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3159212" role="tablecontent" xml-lang="en-US">Inserts the current page number.</paragraph>
    </tablecell>
  </tablerow>
</table>

<paragraph id="par_id3159229" role="paragraph" xml-lang="en-US">In the <emph>Format</emph>, click the numbering format that you want to use.</paragraph>
<paragraph id="par_id3145188" role="paragraph" xml-lang="en-US">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/modules/swriter/ui/flddocumentpage/value" id="bm_id3150903" localize="false"/>

<paragraph id="hd_id3150891" role="heading" level="2" xml-lang="en-US">Offset</paragraph>
<paragraph id="par_id3155312" role="paragraph" xml-lang="en-US"><ahelp hid="modules/swriter/ui/flddocumentpage/value">Enter the offset value that you want to apply to a page number field, for example "+1".</ahelp></paragraph>
</section>
<paragraph id="par_id3154948" role="tip" xml-lang="en-US">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/modules/swriter/ui/flddocumentpage/format" id="bm_id3145607" localize="false"/>

<paragraph id="hd_id3145595" role="heading" level="2" xml-lang="en-US">Format</paragraph>
<paragraph id="par_id3145613" role="paragraph" xml-lang="en-US"><ahelp hid="modules/swriter/ui/flddocumentpage/format">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 id="par_id3150138" role="paragraph" xml-lang="en-US"><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 id="par_id3154867" role="paragraph" xml-lang="en-US">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 id="par_id3156079" role="paragraph" xml-lang="en-US">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 id="par_id3148682" role="paragraph" xml-lang="en-US">The following number range formats are for paragraphs formatted with numbered or bulleted lists:</paragraph>

<table id="tbl_id3149976">
  <tablerow>
    <tablecell>
      <paragraph id="par_id3150006" role="tablecontent" xml-lang="en-US">Category and number</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3155386" role="tablecontent" xml-lang="en-US">The format contains everything between the beginning of the paragraph and directly after the number-range field</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3146919" role="tablecontent" xml-lang="en-US">Caption text</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3155929" role="tablecontent" xml-lang="en-US">The format contains the text following the number-range field up to the end of the paragraph</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3148733" role="tablecontent" xml-lang="en-US">Number</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3148755" role="tablecontent" xml-lang="en-US">The format only contains the reference number</paragraph>
    </tablecell>
  </tablerow>
</table>

<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/flddocumentpage/fixed" id="bm_id3153014" localize="false"/>
<paragraph id="par_id0902200804313432" role="paragraph" xml-lang="en-US"><ahelp hid="." visibility="hidden">Inserts the field as static content, that is, the field cannot be updated.</ahelp></paragraph>
<embed href="text/swriter/01/04090004.xhp#inhaltfix"/>
<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/flddocumentpage/level" id="bm_id3153038" localize="false"/>

<paragraph id="hd_id3153026" role="heading" level="2" xml-lang="en-US">Level</paragraph>
<paragraph id="par_id3154580" role="paragraph" xml-lang="en-US"><ahelp hid="modules/swriter/ui/flddocumentpage/level">Select the chapter heading level that you want to include in the selected field.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/flddocumentpage/offset" id="bm_id3154610" localize="false"/>

<paragraph id="hd_id3154598" role="heading" level="2" xml-lang="en-US">Offset in days/minutes</paragraph>
<paragraph id="par_id3154899" role="paragraph" xml-lang="en-US"><ahelp hid="modules/swriter/ui/flddocumentpage/offset">Enter the offset that you want to apply to a date or time field.</ahelp></paragraph>

<section id="wert">

<paragraph id="hd_id3154922" role="heading" level="2" xml-lang="en-US">Value</paragraph>
<paragraph id="par_id3153049" role="paragraph" xml-lang="en-US"><ahelp hid="modules/swriter/ui/flddocumentpage/offset">Enter the contents that you want to add to a user-defined field.</ahelp></paragraph>
</section>
</body>

</helpdocument>