Ajuda do LibreOffice 25.2
Este separador Geral permite definir as propriedades gerais de um controlo de formulário. Estas propriedades diferem consoante o tipo de controlo. Nem todas as propriedades apresentadas em seguida se encontram disponíveis para cada controlo.
Se exportar o documento de formulário atual para HTML, são exportados os valores de controlo padrão e não os valores dos controlo atuais. Os valores padrão são determinados, dependendo do tipo de controlo, pelo valor padrão das propriedades (por exemplo, em campos de texto), pelo estado padrão (para caixas de seleção e campos de opção) e pela seleção padrão (para caixas de lista).
Especifica se os itens de ação são mostrados/ocultados na barra de controlo Navegação. Os itens de ação são os seguintes: Guardar registo, Desfazer, Novo registo, Eliminar registo e Recarregar.
The alignment options are left-aligned, right-aligned, and centered. These options are available for the following elements:
Título dos campos Etiqueta,
Conteúdo dos campos de texto,
Conteúdo dos campos da tabela nas colunas de um controlo de tabela,
Imagens ou texto utilizados em botões.
A opção Alinhamento para os botões é denominada Alinhamento de imagens.
Especifica se o botão de ação age como um botão de alternância. Se definir o alternador como "Sim", pode trocar entre os estados do controlo "selecionado" e "não selecionado" ao clicar no botão ou ao premir a barra de espaço se o foco estiver no controlo. É mostrado um botão "premido" no estado "selecionado".
Define a altura do controlo.
In table controls, enter a value for the row height. If you want, you can enter a value followed by valid measurement unit, for example, 2 cm.
No caso dos campos de texto, selecione o código final da linha a ser utilizado ao escrever texto numa coluna de base de dados.
Se definir esta opção como "Sim", o Botão de ação recebe o foco ao ser clicado.
If a control field has the property "Enabled" (Yes), the form user can use the control field. Otherwise (No), it is disabled and greyed out.
You can use navigation actions to design your own database navigation buttons.
A tabela seguinte descreve as ações que pode atribuir a um botão:
| Ação | Descrição | 
|---|---|
| Nenhuma | Não é executada qualquer ação. | 
| Enviar formulário | Envia os dados introduzidos noutros campos de controlo do formulário atual para o endereço especificado em Propriedades de formulário em URL. Introduza a URL na caixa de texto de propriedade de dados "URL" do formulário ao exportar um ficheiro PDF. | 
| Repor formulário | Resets the settings in other control fields to the predefined defaults: Default Status, Default Selection, Default Value. | 
| Abrir documento/página web | Abre o URL que é especificado em URL. É possível utilizar a Moldura para especificar a moldura destino. | 
| Primeiro registo | Desloca o formulário atual para o primeiro registo. | 
| Registo anterior | Desloca o formulário atual para o registo anterior. | 
| Registo seguinte | Desloca o formulário atual para o registo seguinte. | 
| Último registo | Desloca o formulário atual para o último registo. | 
| Guardar registo | Guarda o registo atual, caso seja necessário. | 
| Desfazer entrada de dados | Reverte as alterações do registo atual. | 
| Novo registo | Desloca o formulário atual para a linha de inserção. | 
| Eliminar registo | Elimina o último registo. | 
| Recarregar formulário | Recarrega a última versão guardada do formulário atual. | 
Adds the scrollbar type that you specify to a text box.
Specifies whether to display the Navigation bar on the lower border of the table control.
The "Default button" property specifies that the corresponding button will be operated when you press the Return key. If you open the dialog or form and do not carry out any further action, the button with this property is the default button.
Esta propriedade só deve ser atribuída a um único botão no documento.
When using Web page forms, you might come across this property in search masks. These are edit masks that contain a text field and a Submit type button. The search term is entered in the text field and the search is started by activating the button. If the button is defined as the default button, however, simply hit Enter after entering the search term in order to start the search.
Numerical fields, currency fields, date and time fields can be introduced as spin buttons in the form.
Specifies the source for the label of the control. The text of the label field will be used instead of the name of a database field. For example, in the Filter Navigator, Search dialog, and as a column name in the table view.
Para definir um carácter da etiqueta como mnemónica, para que seja possível ao utilizador aceder a este controlo premindo o carácter no teclado, insira, na etiqueta, um carácter til (~) antes do carácter.
Ao utilizar botões de opção, só é possível utilizar o texto de uma moldura de grupo como o campo de etiqueta. Este texto aplica-se a todos os botões de opção do mesmo grupo.
Ao clicar no botão ... junto do campo de texto, pode visualizar a caixa de diálogo Seleção de campos de etiqueta. Selecione uma etiqueta da lista.
Check the No assignment box to remove the link between a control and the assigned label field.
If the user enters a password, you can determine the characters that will be displayed instead of the characters typed by the user. Under Password character, enter the ASCII code of the desired character. You can use the values from 0 to 255.
The characters and their ASCII codes can be seen in the Special Characters dialog (Insert - Special Character).
For text and combo boxes, you can define the maximum number of characters that the user can enter. If this control field property is uncertain, the default setting will be zero.
Se o controlo estiver associado a uma base de dados e o comprimento do texto tiver de ser aceite a partir da definição de campos da base de dados, não deve introduzir o comprimento do texto neste campo. As definições só são aceites a partir da base de dados se a propriedade de controlo não tiver sido definida (estado "Indefinido").
With control fields that have a frame, you can determine the border display on the form using the "Border" property. You can select among the "Without frame", "3-D look" or "Flat" options.
A background color is available for most control fields. If you click on Background color, a list will open which enables you to select among various colors. The "Standard" option adopts the system setting. If the desired color is not listed, click the ... button to define a color in the Color dialog.
Specifies the border color for controls that have the "Border" property set to "flat".
Especifica a cor dos símbolos dos controlos, como por exemplo, das setas de uma barra de deslocação.
Determines a date which can not be exceeded by another value introduced by the user.
Determines the earliest date that a user can enter.
Define a data padrão.
Sets whether the value changes when the user scrolls a mouse wheel. Never: No change of the value. When focused: (default) The value changes when the control has the focus and the wheel is pointing at the control and gets scrolled. Always: The value changes when the wheel is pointing at the control and gets scrolled, no matter which control has the focus.
Please note the tips referring to the keyboard controls.
A entrada de lista padrão é introduzida na caixa de combinação Seleção padrão.
Tenha em atenção que as entradas de lista aqui introduzidas só são incorporadas no formulário se, no separador Dados em Tipo de conteúdo de lista, for selecionada a opção "Lista de valores".
Se não pretender que as entradas de lista sejam escritas na base de dados, nem transmitidas ao destinatário do formulário da Web, mas que sejam valores atribuídos que não sejam visíveis no formulário, é possível atribuir as entradas de lista a outros valores numa lista de valores. A lista de valores é determinada no separador Dados. Em Tipo de conteúdo de lista, selecione a opção "Lista de valores". Em seguida, introduza os valores a atribuir às entradas visíveis correspondentes do formulário em Conteúdo de lista. Para que a atribuição seja corretamente efetuada, a ordem da lista de valores é relevante.
Para documentos HTML, uma entrada de lista introduzida no separador Geral corresponde à etiqueta HTML <OPTION>; uma entrada da lista de valores introduzida no separador Dados em Conteúdo da lista corresponde à etiqueta <OPTION VALUE=...>.
Resizes the image to fit the size of the control.
Specifies whether an option or a check box is selected by default.
Para um botão do tipo Repor, pode definir o estado do controlo se o botão Repor for ativado pelo utilizador.
For grouped option fields, the status of the group corresponding to the default setting is defined by the "Default Status" property.
Specifies whether a check box can also represent ZERO values of a linked database apart from the TRUE and FALSE values. This function is only available if the database accepts three states: TRUE, FALSE and ZERO.
The "Tristate" property is only defined for database forms, not for HTML forms.
Specifies whether Check boxes and Option buttons are displayed in a 3D look (default) or a flat look.
The "Label" property sets the label of the control field that is displayed in the form. This property determines the visible label or the column header of the data field in table control forms.
When you create a new control, the description predefined in the "Name" property is used as the default for labeling the control. The label consists of the control field name and an integer numbering the control (for example, CommandButton1). With the "Title" property, you can assign another description to the control so that the label reflects the function of the control. Change this entry in order to assign an expressive label to the control that is visible to the user.
To create a multi-line title, open the combo box using the Arrow button. You can enter a line break by pressing Shift++Enter.
The "Title" property is only used for labeling a form element in the interface visible to the user. If you work with macros, note that at runtime, a control is always addressed through the "Name" property.
Specifies to show or hide the filtering and sorting items in a selected Navigation bar control. Filtering and sorting items are the following: Sort ascending, Sort descending, Sort, Automatic filter, Standard filter, Apply filter, Reset filter/sort.
Specifies the format code for the control. Click the ... button to select the format code.
With date fields you can determine the format for the date readout.
You can define the desired format for the time display.
You can have a format check with control fields that accept formatted contents (date, time, and so on). If the strict format function is activated (Yes), only the allowed characters are accepted. For example, in a date field, only numbers or date delimiters are accepted; all alphabet entries typed with your keyboard are ignored.
Especifique o valor a adicionar ou a subtrair se o utilizador clicar ao lado do cursor de deslocação na barra de deslocação.
Define a hora padrão.
An image button has a "Graphics" property. The "Graphics" property specifies the graphic's path and file name that you want to have displayed on the button. If you select the graphic file with the ... button, the path and file name will be automatically included in the text box.
Specifies whether you want the control field to appear in a document's printout.
You can preset the value intervals for numerical and currency spin buttons. Use the up and down arrows of the spin button to increase or decrease the value.
Sets the column width in the table control field in the units that are specified in the LibreOffice module options. If you want, you can enter a value followed by a valid measurement unit, for example, 2 cm.
Define a largura do controlo.
A control field with the dropdown property has an additional arrow button which opens the list of the existing form entries per mouse click. Under Line count, you can specify how many lines (or rows) should be displayed in the dropdown state. Combination fields can have the dropdown property.
Por norma, as caixas de combinação que foram inseridas como colunas num controlo de tabelas, são sempre suspensas.
The "Tabstop" property determines if a control field can be selected with the Tab key. The following options are available:
| Não | Ao utilizar a tecla Tab, o controlo é ignorado pelo foco. | 
| Sim | O controlo pode ser selecionado com a tecla Tab. | 
Specifies whether the first column is displayed with row labels, in which the current record is marked by an arrow.
You can also specify the target frame to display a URL that you open when you click a button that has been assigned to the "Open document or web page" action.
Ao clicar no campo, é possível selecionar uma opção da lista, que especifica a moldura em que deverá ser carregado o documento seguinte. Existem as seguintes possibilidades:
| Entrada | Significado | 
|---|---|
| _blank | O documento seguinte é criado numa nova moldura vazia. | 
| _parent | O documento seguinte é criado numa moldura ascendente. Se não existir qualquer ascendente, o documento é criado na mesma moldura. | 
| _self | O documento seguinte é criado na mesma moldura. | 
| _top | O documento seguinte é criado numa janela de nível superior, isto é, na moldura que se encontra na posição mais elevada na hierarquia; se a moldura atual for já uma janela superior, o documento é criado na moldura atual. | 
A propriedade "Moldura" é relevante para formulários HTML mas não para formulário de base de dados.
With masked fields you can specify a literal mask. A literal mask contains the initial values of a form, and is always visible after downloading a form. Using a character code for the Edit mask, you can determine the entries that the user can type into the masked field.
O tamanho da máscara de caracteres deve corresponder sempre ao tamanho da máscara de edição. Se não for este o caso, a máscara de edição é suprimida ou preenchida com espaços em todo seu comprimento.
Defines the edit mask. By specifying a character code you can determine what the user can enter in the control field. By specifying the character code in pattern fields, you can determine what the user can enter in the pattern field.
The length of the edit mask determines the number of the possible input positions. If the user enters characters that do not correspond to the edit mask, the input is rejected when the user leaves the field.
You can enter the following characters to define the edit mask:
| Carácter | Significado | 
|---|---|
| L | A text constant. This position cannot be edited. The character is displayed at the corresponding position of the Literal Mask. | 
| a | É possível introduzir os caracteres a-z e A-Z. Os caracteres maiúsculos não são convertidos para caracteres minúsculos. | 
| A | É possível introduzir os caracteres A-Z. Se for introduzir uma letra minúscula, esta é automaticamente convertida em maiúscula. | 
| c | É possível introduzir os caracteres a-z, A-Z e 0-9. Os caracteres maiúsculos não serão convertidos para caracteres minúsculos. | 
| C | É possível introduzir os caracteres A-Z e 0-9. Se introduzir uma letra minúscula, esta é automaticamente convertida em maiúscula. | 
| N | Apenas podem ser introduzir os caracteres entre 0-9. | 
| x | É possível introduzir todos os caracteres imprimíveis. | 
| X | Pode introduzir todos os caracteres imprimíveis. Se introduzir uma letra minúscula, esta é automaticamente convertida em maiúscula. | 
Para a máscara de caracteres "__.__.2000", por exemplo, defina a máscara de edição "NNLNNLLLLL", para que o utilizador possa introduzir apenas quatro dígitos ao inserir uma data.
Determines a time which can not be exceeded by another value introduced by the user.
Determines the minimum time that a user can enter.
Specifies to show or hide the navigation items in a selected Navigation bar control. Navigation items are the following: First record, Previous record, Next record, Last record.
Each control field and each form has a "Name" property through which it can be identified. The name will appear in the Form Navigator and, using the name, the control field can be referred to from a macro. The default settings already specify a name which is constructed from using the field's label and number.
Se trabalhar com macros, certifique-se de que os nomes dos controlos são exclusivos.
O nome é igualmente utilizado para agrupar diversos controlos que devem funcionar em conjunto, tais como botões de opção. Para tal, atribua o mesmo nome a todos os membros do grupo: os controlos com nomes idênticos constituem um grupo. Os controlos agrupados podem ser representados de forma gráfica, utilizando uma Caixa de grupo.
For combo boxes with the "Dropdown" property, you can specify how many lines should be displayed in the dropdown list. With control fields which do not have the Dropdown option, the line's display will be specified by the size of the control field and the font size.
Specifies whether a text selection on a control remains selected when the focus is no longer on a control. If you set Hide selection to "No", the selected text remains selected when the focus is no longer on the control that contains the text.
The "Tab order" property determines the order in which the controls are focused in the form when you press the Tab key. In a form that contains more than one control, the focus moves to the next control when you press the Tab key. You can specify the order in which the focus changes with an index under "Tab order".
The "Tab order" property is not available to Hidden Controls. If you want, you can also set this property for image buttons and image controls, so that you can select these controls with the Tab key.
When creating a form, an index is automatically assigned to the control fields that are added to this form; every control field added is assigned an index increased by 1. If you change the index of a control, the indices of the other controls are updated automatically. Elements that cannot be focused ("Tabstop = No") are also assigned a value. However, these controls are skipped when using the Tab key.
Também é possível definir os índices dos diferentes controlos da caixa de diálogo Ordem das tabulações de forma simples.
Especifica a orientação horizontal ou vertical de uma barra de deslocação ou de um botão rotativo.
Specify the value to add or subtract when the user clicks the Arrow icon on the scrollbar.
Specifies to show or hide the positioning items in a selected Navigation bar control. Positioning items are the following: Record label, Record position, Record count label, Record count.
Define a posição X do controlo em relação à âncora.
Define a posição Y do controlo em relação à âncora.
With numerical and currency fields you can determine the number of digits displayed to the right of the decimal point.
The AutoFill function displays a list of previous entries after you start to type an entry.
Mostra o texto em mais do que uma linha. Permite utilizar quebras de linha em caixas de texto, de modo a que possa introduzir mais do que uma linha de texto. Para introduzir quebras de linha manualmente, prima a tecla Enter.
Specifies if the action of a control such as a spin button repeats when you click the control and hold the mouse button down.
Specifies the delay in milliseconds between repeating events. A repeating event occurs when you click an arrow button or the background of a scrollbar, or one of the record navigation buttons of a Navigation bar, and you keep the mouse button pressed for some time. You can enter a value followed by a valid time unit, for example, 2 s or 500 ms.
Allows you to select more than one item in a list box.
Specifies the list box entry to mark as the default entry.
For a Reset type button, the Default selection entry defines the status of the list box if the reset button is activated by the user.
For a List box that contains a value list, you can click the ... button to open the Default selection dialog.
Na caixa de diálogo Seleção padrão, escolha as entradas que pretende marcar como selecionadas ao abrir o formulário que contém a caixa de lista.
With numerical and currency fields you can determine whether thousands separators are used.
In a currency field, you can predefine the currency symbol by entering the character or string in the "Currency symbol" property.
Determines if the currency symbol is displayed before or after the number when using currency fields. The default setting is currency symbols are not prefixed.
The "Read-only" property can be assigned to all controls in which the user can enter text. If you assign the read-only property to an image field which uses graphics from a database, the user will not be able to insert new graphics into the database.
Specifies whether the icons in a selected Navigation bar should be small or large.
Specifies the size of scrollbar thumb in "value units". A value of ("Scroll value max." minus "Scroll value min." ) / 2 would result in a thumb which occupies half of the background area.
If set to 0, then the thumb's width will equal its height.
Provides the option of entering a help text that will be displayed as a tip on the control. The tip shows the text in user mode when the mouse is moved over the control.
Para botões de tipo URL, é mostrado o texto de ajuda como uma dica em vez do endereço introduzido em URL.
In each control field you can specify additional information or a descriptive text for the control field. This property helps the programmer to save additional information that can be used in the program code. This field can be used, for example, for variables or other evaluation parameters.
Define o texto padrão para uma caixa de texto ou para uma caixa de combinação.
For control fields which have visible text or titles, select the display font that you want to use. To open the Font dialog, click the ... button. The selected font is used in control fields names and to display data in table control fields.
Permite utilizar quebras de linha e formatação em campos de controlos, tais como uma caixa de texto ou uma etiqueta. Para introduzir manualmente uma quebra de linha, prima a tecla Enter. Selecione "Multi-linha com formatação" para introduzir texto formatado.
Se o tipo de texto "Multilinha com formatação" estiver selecionado, não é possível restringir este controlo a um campo de base de dados.
Este controlo é denominado "Entrada multilinha" para uma coluna de texto inserida num controlo de tabela.
Enter the URL address for a Open document or web page button type in the URL box. The address opens when you click the button.
Se mover o rato sobre o botão em Modo de utilizador, o URL é apresentado como uma dica suplementar, desde que não tenha sido introduzido qualquer outro texto de ajuda.
Specifies a batch label in URL spelling which refers to a help document and which can be called with the help of the control field. The help for the control field help can be opened if the focus is positioned on the control field and the user presses F1.
In a hidden control, under Value, you can enter the data which is inherited by the hidden control. This data will be transferred when sending the form.
Determina os intervalos para adicionar ou subtrair a cada ativação do controlo do botão rotativo.
For numerical and currency fields, you can determine the maximum value that the user can enter.
Specify the maximum value of a scrollbar control.
For numerical and currency fields you can determine a minimum value to prevent the user from entering a smaller value.
Specify the minimum value of a scrollbar control.
Sets the default value for the control field. For example, the default value will be entered when a form is opened.
For a Reset type button, the Default value entry defines the status of the control if the reset button is activated by the user.
Sets the default value for the scrollbar.
Define se o controlo é visível no modo de utilização. No modo de design, o controlo é sempre visível.
Tenha em atenção que, caso esta propriedade esteja definida como "Sim" (o padrão), tal não significa necessariamente que o controlo irá ser mesmo apresentado no ecrã. Serão aplicadas restrições adicionais aquando do cálculo da visibilidade efetiva de um controlo. Por exemplo, um controlo colocado numa secção oculta do Writer nunca estará visível, até que a própria secção se torne visível.
Se a propriedade estiver definida como "Não", o controlo estará sempre oculto em direto.
Versões antigas do OpenOffice.org, até à 3.1, irão ignorar silenciosamente esta propriedade, ao lerem documentos que a utilizem.
Define o local onde o controlo será ancorado.