|
|
|
|
|
- Overview of the Word Processing control
- Creating a Word Processing control
- Characteristics of Word Processing control
The Word Processing control
Overview of the Word Processing control The "Word processing" control is an advanced control that allows the end user to create and edit documents in docx format directly on a WINDEV application. There are many advantages: time saving, consistent interface, no other software to install/drive/manage. This control allows you to: - Open, create, modify and save "docx" files,
- Convert docx files to PDF or to HTML to send emails,
- Manage images and tables,
- Manage text areas,
- Save documents in HFSQL databases,
- Use a spelling checker,
- Perform prints, ...
A menu associated to this control allows to carry out the most current manipulations. This menu can be displayed: Several keyboard shortcuts are also available:
| | | | Shortcut | Effect | Shortcut | Effect |
---|
Ctrl + A | Selects the entire text. | Ctrl + C | Copies the selection to the clipboard. | Ctrl + F | Starts the search. | Ctrl + G | Makes the selection bold | Ctrl + H | Starts find/replace | Ctrl + I | Italicizes the selection | Ctrl + S | Saves the document | Ctrl + U | Switches the selection to underlined | Ctrl + V | Pastes the content of the clipboard. | Ctrl + X | Cust the selection and places it in the clipboard. | Ctrl + Y | Redoes the last action. | Ctrl + Z | Undoes the last action. | Ctrl + mouse wheel | Changes the zoom. | Ctrl + 0 | Sets zoom at 100% | Ctrl + home | Moves to the beginning of the document. | Ctrl + End | Moves to the end of the document. | Page Up | Displays the previous page. | Page Down | Displays the next page. |
Creating a Word Processing control To create a Word Processing control: - On the "Creación" tab, in the "Controles gráficos" group, expand "Ofimática" and click "Word processing".
- Click at the desired location to create the control.
Observación: Las dimensiones del control que se creó se optimizan para ocupar el espacio disponible en la ubicación indicada. Si el tamaño del control no es el indicado, pulse Ctrl+Z: el control volverá al tamaño predeterminado. To view the characteristics of the control, select "Description" in the context menu. Characteristics of Word Processing control The "General" tab in the description window of the Word Processing control proposes the following options: - Documento inicial: Used to indicate the initial document displayed in the Word Processing control.
- Editing options:
- Bar management: An Word Processing control toolbar may or may not be displayed. . The available options are:
- None: control won't display any toolbars.
- Ribbon: The control handling options are grouped together in a ribbon..
- Mini toolbar: control handling options will be grouped together in a minibar.
- FI Source: In the case of a ribbon or minibar, this parameter is used to specify whether or not the display should be customized.. The available options are:
- "None": the ribbon (or minibar) proposed by Default will be used.
- "Preset window": the ribbon (or mini-bar) proposed by Default can be customized.
Simply select the "Custom" option. In this case, an internal window is automatically added to your project, in the internal Component WDFAA. This internal window (available in English and French) can be modified according to your needs. This window contains all the code required to manage the Word Processing control. It is recommended to check for UI errors and make sure the window works properly after any change is made. If you use the ribbon , the "FI_WinDevFAA_RubanTT" window is added. If you use the minibar , the "FI_WINDEV_ AAF _BarreTT" window is added. - Project internal window: If your project contains internal windows, you can use one of these windows to propose a specific ribbon or minibar..
Any internal window of your project can be used to create this bar.
It is also possible to apply the project's skin template. - Permitir cambiar de documento (Abrir, Nuevo, etc.): Adapts the ribbon to allow the user to handle external documents. This option is used to display the "New", "Open" and "Save" buttons of ribbon. If this option is checked, the document opening and backup must be performed by the application.
Remark: This option is ignored if the ribbon is entirely customized (with an internal window of application for example). - Limitar la edición para simplificar la exportación HTML: Adapts the ribbon and the display of document to only display the options taken into account by the HTML export. If this option is checked:
- the following options are not available:
- Management of headers and footers,
- Management of page layout,
- Management of page breaks.
- the document is forced to be displayed in "Display for the Web" mode.
- Other settings:
- Activar [Revisar ortografía] de forma predeterminada: Specifies whether the spelling checker should be enabled. For more details, see Check spelling based on Hunspell dictionaries.
- Detectar y definir el formato de los enlaces automáticamente: Enables automatic detection of links (http) present in the document displayed in the control. In this case, links are detected during input, after pressing Space, Tab or Enter. If these links are valid, they can be opened with Ctrl + Click.
Remark: This option is checked by default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|