LibreOffice 25.2 Hjälp
Variable fields let you add dynamic content to your document. For example, you can use a variable to reset the page numbering.
| Typ | Beskrivning | 
|---|---|
| Sätt variabel | Defines a variable and its value. You can change the value of a variable by clicking in front of the variable field, and then choosing . | 
| Visa variabel | Inserts the current value of the variable that you click in the Select list. | 
| DDE-fält | Infogar en DDE-länk i dokumentet som du kan uppdatera så ofta du vill via det tilldelade namnet. | 
| Infoga formel | Infogar ett fast tal eller resultatet av en formel. | 
| Inmatningsfält | Infogar ett nytt värde för en variabel eller ett användarfält. Värdet på en variabel i ett inmatningsfält är bara giltigt från det ställe där fältet är infogat och framåt. Du kan ändra värdet på variabeln senare i dokumentet genom att infoga ett annat inmatningsfält med samma namn, men med ett annat värde. Värdet i ett användarfält ändras dock globalt. The variables are displayed in the Select field. When you click the Insert button, the dialog Review Fields appears, where you can enter the new value or additional text as a remark. | 
| Nummersekvens | Inserts automatic numbering for tables, graphics, or frames. | 
| Sätt sidvariabel | Infogar en referenspunkt i dokumentet, efter vilken sidnumreringen ska börja om. Välj "på" om du vill aktivera referenspunkten, och "av" om du vill deaktivera den. Du kan också ange en korrigering som startar sidnumreringen på ett annat nummer. | 
| Visa sidvariabel | Visar antalet sidor från referenspunkten "Sätt sidvariabel" till det här fältet. | 
| Användarfält | Infogar en användardefinierad global variabel. Du kan använda användarfältet för att definiera en variabel för ett villkorsuttryck. När du ändrar ett användarfält uppdateras alla förekomster av variabeln i dokumentet. | 
Lists the available fields for the field type selected in the Type list. To insert a field, click the field, and then click Insert.
To quickly insert a field from the Select list, hold down CommandCtrl and double-click the field.
Type the name of the user-defined field that you want to create. This option is available for "Set variable", "DDE field", "Number range" and "User Field" field types.
Användardefinierade fält är bara tillgängliga i det aktuella dokumentet.
I listan Format kan du ange om värdet ska infogas som text eller som ett tal.
I ett HTML dokument är ytterligare två fält tillgängliga för fälttypen "Sätt variabel": HTML_ON och HTML_OFF. Den text du skriver i rutan Värde konverteras till en inledande HTML-tagg (<Värde>) eller en avslutande HTML-tagg (</Värde>) när filen sparas som ett HTML dokument, beroende på vilket alternativ du väljer.
This option is only available if the "DDE field" field type is selected.
This option is only available if the "Insert Formula" field type is selected.
This option is only available if the "Set page variable" field type is selected.
Hides the field contents in the document. The field is inserted as a thin gray mark in the document. This option is only available for the "Set Variable" and "User Field" field types.
Use this option to display a heading number before a “number range” field. The heading number comes from a heading prior to the location of the field.
With typical use of headings in the document, the selected number will indicate how many levels of heading number (starting from level 1) to display. The selected value indicates the maximum number of levels to show. The actual number may have fewer levels. For example, if the immediately prior heading number is 2.6, and is selected, then only 2.6 is displayed . If is selected, no heading number is displayed.
Specify the character to use as a separator between the heading number and the field number.
With Heading Number, Up to level and Separator are only available for the “Number range” field type.
Adds the user-defined field to the Select list.
Removes the user-defined field from the select list. You can only remove fields that are not used in the current document. To remove a field that is used in the current document from the list, first delete all instances of the field in the document, and then remove it from the list.
Radera