Domande frequenti - Writer

    From The Document Foundation Wiki
    < Faq‎ | Writer
    This page is a translated version of the page Faq/Writer/155 and the translation is 38% complete.

    This page (may) contain content that is old and/or out of date.
    If you have experience in this area, please review this page for accuracy.
    Reason: Dialog boxes are changed and a tab is removed since. The steps are very confusing and insufficient to produce anything useful. The screenshots must change to English.

    Other languages:

    Avviso di bug

    A causa del seguente bug, è impossibile ottenere l'effetto desiderato in questo momento.

    Se sapete come scrivere e correggere il codice, non esitare a contattarci. La Document Foundation ha bisogno del vostro aiuto.

    Tutto ciò che segue non funzionerebbe a meno che il bug sopra menzionato non venga corretto.

    Come utilizzare i campi privati ​​nella finestra "Biglietti da visita"

    Volete creare biglietti da visita “privati” utilizzando il menu File ▸ Nuovo ▸ Biglietti da visita. La scheda Privato sembra ideale per acquisire le informazioni che dovrebbero apparire sulle carte ma, quando viene creato un nuovo documento, questi dati non sono presenti.

    schermata di dialogo biglietti da visita
    Biglietti da visita

    Il programma non crea biglietti da visita dal nulla. Ogni scheda si basa su un AutoText. La seguente tecnica vi consente di "progettare" i vostri biglietti esattamente come desiderate.

    The AutoText is chosen in the “Business Cards” tab, but the dialog box can integrate the data (surname, given name, etc.), only if the AutoText you are using contains User Fields that follow certain criteria.

    copie d’écran dialogue cartes de visite
    Choix de l’AutoTexte

    As shown in the screenshot above, the dialog File ▸ New ▸ Business Cards ▸ AutoText - Section shows only a default category Business Cards, Work (3½ x 2). Similarly the menu Edit ▸ AutoText contains only the same default category.

    The trick is to create new AutoTexts that contain the “right” fields. You can also create a new category “Private Business Cards” to store them in. How do you name these user fields so that the dialog will recognise them and the Business Cards window can use them?

    The answer is given by inspecting a “professional” AutoText:

    • in a Writer document, go to Tools ▸ AutoText ▸ Business Cards, Work;
    • choose Elegant, with name, then click on Insert. Some example text appears;
    • go to Insert ▸ Fields ▸ More Fields.... On the Variable tab, click on User Fields to display the list of fields created in this AutoText;
    copie d’écran dialogue Insertion Champs Autres
    Champs utilisateurs “professionnels” disponibles dans l'AutoTexte

    You can see in this screenshot that the names of most of the fields begin with BC_COMP_, but some (NAME and FIRSTNAME) begin with BC_PRIV_. It is clear that you need to insert user fields built on the same model, but replacing COMP by PRIV. Enter them by using the Name and Value boxes at the bottom.

    copie d’écran autotexte avec champs utilisateur
    Champs utilisateurs “privés” à créer dans l’AutoTexte

    To delete the unwanted company field names, first delete the corresponding values in the text example. Then insert the new private fields where you want them, using the Insert button. The next screenshot shows the modified example text with the required fields. All you then need to do is select this text after creating it and use the Edit AutoText dialog to create an AutoText based on it (inserted for example in a new category “Private Business Cards” cf. above.

    • from now on, the Private tab in the wizard will be functional (if you have correctly chosen an AutoText containing these fields).