|
- Overview of Word Processing control
- Creating a Word Processing control
- Characteristics of Word Processing control
The Word Processing control
Overview of Word Processing control The "Word processing" control is an evolved control allowing the end user to create and edit documents in docx format in his WINDEV application. Benefits can be seen immediately: time saving, consistent interface, no other software to install/drive/manage. This control allows you to: - Open, create, modify, save "docx" files,
- Convert docx to PDF, to HTML to send emails,
- Manage the images and tables,
- Manage the text areas,
- Save the documents in HFSQL databases,
- Use a spelling checker,
- Perform prints, ...
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 | Switches the selection to bold | Ctrl + H | Starts find/replace | Ctrl + I | Switches the selection to italic | 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 "Creation" pane, in the "Graphic controls" group, expand "Office" and click "Word processing".
- Click at the desired location to create the control.
Versions 20 and laterRemark: The dimensions of the control are optimized to take up the available space at the specified position. If the control size does not suit you, press Ctrl + Z: the control size will be reset to default. New in version 20Remark: The dimensions of the control are optimized to take up the available space at the specified position. If the control size does not suit you, press Ctrl + Z: the control size will be reset to default. Remark: The dimensions of the control are optimized to take up the available space at the specified position. If the control size does not suit you, press Ctrl + Z: the control size will be reset to default.To view the control characteristics, select "Description" in the popup menu of the control. Characteristics of Word Processing control The "General" tab in the description window of the Word Processing control proposes the following options: - Initial document: Used to indicate the initial document displayed in the Word Processing control.
- With ribbon: Indicates whether the ribbon must be displayed or not. If the ribbon must be displayed, you can specify the ribbon used via "IW source of ribbon".
If the option "IW source of ribbon" corresponds to: - "None": the ribbon proposed by default will be used.
- "Preset window": the ribbon proposed by default can be customized.
All you have to do is select the default preset window in the "IW source of ribbon" area. In this case, the "IW_WinDevAAF_WPBar" window is automatically included in your project. This internal window (available in English and in French) can be modified according to your needs. This window contains the code required to manage the Word Processing control. It is recommended to check UI errors and make sure the window works properly after any change is made. - Internal window of project: Allows you to use an internal window to propose a specific ribbon.
Any internal window of your project can be used to create this bar. You also have the ability to apply the project skin-template. Versions 23 and laterAllow change of document (Open, New, 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). New in version 23Allow change of document (Open, New, 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). Allow change of document (Open, New, 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). Versions 23 and laterLimit the edit to simplify the HTML export: 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.
New in version 23Limit the edit to simplify the HTML export: 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.
Limit the edit to simplify the HTML export: 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.
- Enable [Check spelling] by default: Specify whether the spelling checker must be enabled. See Check spelling based on Hunspell dictionaries for more details.
Related Examples:
|
Unit examples (WINDEV): The Word Processing control
[ + ] This example explains how to handle a Word Processing control by programming. You have the ability to add text and to format it by programming.
|
|
|
|
| |
| | https://youtu.be/0vd8qLaSWSA |
|
|
|
| |
| |
| |
| |
| |
| |
| | |
| |