.. highlightlang:: us .. index:: Edit Object=>Placeholder-Dialog .. index:: Text Objects; Field Functions .. index:: Field Functions .. index:: Field Functions; File Name .. index:: Legend .. index:: y^edit-object-place-holder-dialog .. _edit-objectplaceholder-dialog: .. _edit-object-place-holder-dialog: Edit Object=>Placeholder-Dialog ------------------------------- This dialog box can be used to edit the placeholder text of the active page. .. image:: S:/uniplot-obj/images/EditPlaceholder-en.* .. us.dlgitem **Text** The first column contains the placeholder name without the enclosing $-signs. The second column contains the placeholder text. .. us.comment **Comment** The cell name can contain a placeholder. A placeholder is text that begins with a dollar sign, followed by the text, followed by another dollar sign, e.g. $Operator$. The placeholders can be edited using a special dialog box or the text can be loaded from a data file using the data browser or using the command **Load Placeholder Text from File** (Right click outside the page to open the page context menu.) To load the data from a data file the text within the $ symbols must agree with text in the global attributes of the selected NC file. The placeholder text is case sensitive. Values will be converted into strings. If the NC attribute contains a vector, the elements will be separated by a comma followed by a blank. To access attributes of a specific variable the variable name must be separated from the attribute name by a period. Example: $Torque.long_name$. The placeholder text can be loaded from a data file using the data browser. See :ref:`the-data-browser`. Select the type ``Text: Load Placeholder Text``. See also: :ref:`text-placeholder`. Examples for Placeholders: .. list-table:: :header-rows: 1 * - Placeholder - Description * - ``$Operator$`` - Global NC-File attribute ``Operator``. * - ``$Origin$`` - Global NC-File attribute ``Origin``. This attribute contains usually the file name of the original data file. * - ``$speed.units$`` - Attribute ``units`` of the speed channel. * - ``$File1:Origin$`` - Global attribute ``Origin`` from the first data file. * - ``$(2)File1:Origin$`` - The number in parenthesis at the placeholder beginning sets the display order in the dialog box. * - ``$File1:speed.units$`` - Attribute units of the speed channel from the first file. * - ``$File1:speed.1; %.2lf$`` - Displays the first value of the speed channel with two decimal places. * - ``$File1:speed.-2; %.1lf$`` - Displays the second last value of the speed channel with one decimal place. If the document contains multiple pages you can use :ref:`diagrammore-diagram-functionsglobal-placeholders` to select placeholders that should show the same text in all pages. .. seealso:: :ref:`table-objects`, :ref:`edit-objecttable-configuration`, :ref:`text-objects`, :ref:`the-data-browser` :sub:`id-1113067`