issue99:libreoffice
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue99:libreoffice [2015/08/07 20:41] – d52fr | issue99:libreoffice [2015/08/10 18:06] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
**Jimmy Fixit is a self-employed handyman. He does carpentry, roofs, plumbing, lawn work, and flooring. He created a spreadsheet to invoice his customers, but when a customer didn't pay in the allotted time, he needed to send them a late notice. The notice was a detailed letter of what they owed, and a request for them to pay by a certain date. He wanted to add in a table listing the work done and any payments made. He could use a Writer table and do the calculations himself, but if he could insert a spreadsheet into the middle of his text document, he would have everything he needed. Turned out, he can.** | **Jimmy Fixit is a self-employed handyman. He does carpentry, roofs, plumbing, lawn work, and flooring. He created a spreadsheet to invoice his customers, but when a customer didn't pay in the allotted time, he needed to send them a late notice. The notice was a detailed letter of what they owed, and a request for them to pay by a certain date. He wanted to add in a table listing the work done and any payments made. He could use a Writer table and do the calculations himself, but if he could insert a spreadsheet into the middle of his text document, he would have everything he needed. Turned out, he can.** | ||
- | Jimmy Fixit est un travailleur manuel indépendant. Il fait de la charpente, des toit, de la plomberie, | + | Jimmy Fixit est un travailleur manuel indépendant. Il fait de la charpente, des toitures, de la plomberie, |
**Embed a Sheet in Writer with OLE | **Embed a Sheet in Writer with OLE | ||
Ligne 10: | Ligne 10: | ||
Jimmy used the eight adjustment handles to fit the inserted object to his document. The cells behaved just like the cells in a regular Calc sheet. He adjusted his rows and columns as needed, formatted his total column, and inserted formulas to calculate the tax due and total. When Jimmy finished, he clicked outside the embedded object to return to writing his document. The tabs and row/column headers disappeared. If at any time, he noticed he had made a mistake, double-clicking inside the embedded object allowed him to edit it again. While editing the object, Writer' | Jimmy used the eight adjustment handles to fit the inserted object to his document. The cells behaved just like the cells in a regular Calc sheet. He adjusted his rows and columns as needed, formatted his total column, and inserted formulas to calculate the tax due and total. When Jimmy finished, he clicked outside the embedded object to return to writing his document. The tabs and row/column headers disappeared. If at any time, he noticed he had made a mistake, double-clicking inside the embedded object allowed him to edit it again. While editing the object, Writer' | ||
+ | |||
+ | Incorporer une feuille de calcul dans un texte Writer avec OLE | ||
+ | |||
+ | Jimmy a résolu son problème en utilisant OLE (Object Linking and Embedding - Liaison et incorporation d' | ||
+ | |||
+ | Pour incorporer la feuille dans son document, Jimmy a sélectionné l' | ||
+ | |||
+ | Jimmy utilisa les huit poignées d' | ||
**OLE Link to an Existing Document | **OLE Link to an Existing Document | ||
Ligne 18: | Ligne 26: | ||
Just like before, Jimmy got a mini Calc spreadsheet inserted into his document. However, this one was linked to the original spreadsheet document. On the tabs for the different sheets, he clicked the customer which he was creating the document for. Just like before, he had the full use of the Calc menus and toolbars as though he was editing the object directly in Calc. Once he clicked out of the linked sheet, the selected sheet showed in the document without tabs or row/column headers.** | Just like before, Jimmy got a mini Calc spreadsheet inserted into his document. However, this one was linked to the original spreadsheet document. On the tabs for the different sheets, he clicked the customer which he was creating the document for. Just like before, he had the full use of the Calc menus and toolbars as though he was editing the object directly in Calc. Once he clicked out of the linked sheet, the selected sheet showed in the document without tabs or row/column headers.** | ||
+ | |||
+ | Lien OLE vers un document existant | ||
+ | |||
+ | Plus tard, Jimmy commença à suivre ses clients dans un document Calc où les transactions de chaque client furent listées sur une feuille différente. Quand il a dû créer une lettre de rappel pour un client, il avait l' | ||
+ | |||
+ | Insertion > Objet > Objet OLE ouvrit à nouveau la boîte de dialogue Insérer un objet OLE. Au lieu de sélectionner le type d' | ||
+ | |||
+ | Comme précédemment, | ||
**The Difference Between Linking and Embedding | **The Difference Between Linking and Embedding | ||
When Jimmy selected “Link to file”, he created a link between the spreadsheet file and the object in his Writer document. If he had not selected “Link to file”, the spreadsheet would have been embedded instead. When Jimmy linked the two, he created a very powerful tool for himself. Any changes he makes to the original spreadsheet will automatically update in the Writer document. Likewise, any changes he makes to the object in the Writer document will update in the original spreadsheet. The link created a two-way connection between the two documents. He could edit the sheet only in one document at a time. If he opened one document and the other was already open, the spreadsheet opened as read-only copy in the second document. However, if he had only embedded the sheet into the Writer document, no connection is created. Changes to one document would not affect the other. When using OLE, it is important to decide which method is going to best suit your purposes. For Jimmy, linking was the best choice.** | When Jimmy selected “Link to file”, he created a link between the spreadsheet file and the object in his Writer document. If he had not selected “Link to file”, the spreadsheet would have been embedded instead. When Jimmy linked the two, he created a very powerful tool for himself. Any changes he makes to the original spreadsheet will automatically update in the Writer document. Likewise, any changes he makes to the object in the Writer document will update in the original spreadsheet. The link created a two-way connection between the two documents. He could edit the sheet only in one document at a time. If he opened one document and the other was already open, the spreadsheet opened as read-only copy in the second document. However, if he had only embedded the sheet into the Writer document, no connection is created. Changes to one document would not affect the other. When using OLE, it is important to decide which method is going to best suit your purposes. For Jimmy, linking was the best choice.** | ||
+ | |||
+ | La différence entre Lier et Incorporer | ||
+ | |||
+ | Quand Jimmy a sélectionné « Lier au fichier », il a créé un lien entre le fichier du tableur et l' | ||
**Linking Only a Part of a Sheet with DDE | **Linking Only a Part of a Sheet with DDE | ||
Ligne 32: | Ligne 52: | ||
The accountant needed an easier way; so, he did some studying and discovered Dynamic Data Exchange (DDE). DDE was the predecessor to OLE, but it had one feature he liked. He wanted the ability to give Jimmy a document that would automatically update, but a document Jimmy could not edit. DDE creates a one-way link from the original to the linked document. Formatting and cell styling do not transfer. The table looked like a plain Writer table. Jimmy could edit the cells, but when he reopened the document, any changes were replaced with the data in the original.** | The accountant needed an easier way; so, he did some studying and discovered Dynamic Data Exchange (DDE). DDE was the predecessor to OLE, but it had one feature he liked. He wanted the ability to give Jimmy a document that would automatically update, but a document Jimmy could not edit. DDE creates a one-way link from the original to the linked document. Formatting and cell styling do not transfer. The table looked like a plain Writer table. Jimmy could edit the cells, but when he reopened the document, any changes were replaced with the data in the original.** | ||
+ | |||
+ | Lier seulement une partie d'une feuille de calcul avec DDE | ||
+ | |||
+ | Le temps passant, Jimmy prit un comptable pour suivre ses comptes. A la fin de chaque mois, Jimmy demandait un état financier de son activité et le comptable lui envoyait une feuille de calcul de bilan. Jimmy la passa au peigne fin pendant quelques mois avant de décider que c' | ||
+ | |||
+ | « Donnez-moi juste un résumé », dit-il au comptable. | ||
+ | |||
+ | Le comptable commença par recopier la section « résumé du tableur » et l' | ||
+ | |||
+ | Le comptable avait besoin d'une solution plus facile ; aussi, il fit quelques recherches et découvrit DDE (Dynamic Data Exchange - Échange dynamique des données). DDE était le prédécesseur d'OLE mais il possédait une fonctionnalité qu'il apprécia. Il voulait avoir la possibilité de donner à Jimmy un fichier qui se mettrait à jour automatiquement, | ||
**To create the DDE link, the accountant copied the cells he needed from the original document. In the new document, he selected Edit > Paste Special. In the Paste Special dialog, the accountant chose the DDE Link option and clicked OK. The data was inserted into the document in a plain, unformatted table. | **To create the DDE link, the accountant copied the cells he needed from the original document. In the new document, he selected Edit > Paste Special. In the Paste Special dialog, the accountant chose the DDE Link option and clicked OK. The data was inserted into the document in a plain, unformatted table. | ||
Ligne 38: | Ligne 68: | ||
Jimmy started out with a simple need: to insert a sheet into his document. He was able to accomplish this by embedding a sheet in his document using OLE. As his needs became more complex, he switched to linking to his customer spreadsheet using OLE linking. When Jimmy hired an accountant, the accountant grew tired of providing Jimmy with updates on the business financial status; so, he used the old DDE method to create a link to the document that Jimmy could not change. OLE and DDE allowed Jimmy and his accountant to embed and link data to their documents and automate some of their work.** | Jimmy started out with a simple need: to insert a sheet into his document. He was able to accomplish this by embedding a sheet in his document using OLE. As his needs became more complex, he switched to linking to his customer spreadsheet using OLE linking. When Jimmy hired an accountant, the accountant grew tired of providing Jimmy with updates on the business financial status; so, he used the old DDE method to create a link to the document that Jimmy could not change. OLE and DDE allowed Jimmy and his accountant to embed and link data to their documents and automate some of their work.** | ||
+ | |||
+ | Pour créer le lien DDE, le comptable copia les cellules dont il avait besoin, à partir du document original. Dans le nouveau document, il sélectionna Édition > Collage spécial... Dans la boîte de dialogue Collage spécial, le comptable choisit l' | ||
+ | |||
+ | Une fois que le comptable eut créé le document, il n' | ||
+ | |||
+ | Jimmy avait commencé avec un besoin simple : insérer une feuille de calcul dans son document. Il le fit en incorporant le tableur dans son document en utilisant OLE. Quand ses besoins devenaient plus complexes, il passa à une liaison de son tableur clients à son document par un lien OLE. Quand Jimmy prit un comptable, le comptable en a eu assez de fournir à Jimmy des mises à jour de son état financier d' |
issue99/libreoffice.1438972860.txt.gz · Dernière modification : 2015/08/07 20:41 de d52fr