issue99:libreoffice
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue99:libreoffice [2015/08/01 18:01] – créée auntiee | 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.** |
- | Embed a Sheet in Writer with OLE | + | Jimmy Fixit est un travailleur manuel indépendant. Il fait de la charpente, des toitures, de la plomberie, l' |
+ | |||
+ | **Embed a Sheet in Writer with OLE | ||
Jimmy solved his problem by using Object Linking and Embedding (OLE) to embed a Calc sheet in his writer document. By embedding a sheet in his document, he was able to use formulas to do calculations on the tax and the total. The embedded sheet worked like a mini spreadsheet within his document. He was able to format the cells, adjust columns and rows, merge cells, and anything else he might do in a spreadsheet opened in Calc. | Jimmy solved his problem by using Object Linking and Embedding (OLE) to embed a Calc sheet in his writer document. By embedding a sheet in his document, he was able to use formulas to do calculations on the tax and the total. The embedded sheet worked like a mini spreadsheet within his document. He was able to format the cells, adjust columns and rows, merge cells, and anything else he might do in a spreadsheet opened in Calc. | ||
Ligne 7: | Ligne 9: | ||
To embed the sheet into his document, Jimmy selected the position in the document where he wanted the sheet to appear. Insert > Object > OLE Object brought up the Insert OLE Object dialog. From the dialog, he selected LibreOffice Spreadsheet from the list. After selecting the spreadsheet object type, he clicked on OK, and Writer created a mini Calc spreadsheet inside Jimmy' | To embed the sheet into his document, Jimmy selected the position in the document where he wanted the sheet to appear. Insert > Object > OLE Object brought up the Insert OLE Object dialog. From the dialog, he selected LibreOffice Spreadsheet from the list. After selecting the spreadsheet object type, he clicked on OK, and Writer created a mini Calc spreadsheet inside Jimmy' | ||
- | 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' |
- | OLE Link to an Existing Document | + | 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 | ||
Later on, Jimmy started tracking his customers in a Calc document – with each customer' | Later on, Jimmy started tracking his customers in a Calc document – with each customer' | ||
Ligne 15: | Ligne 25: | ||
Insert> Object > OLE Object once again brought up the Insert OLE Object dialog. Instead of selecting the object type, this time Jimmy clicked “Create from file.” Clicking on the Search button, Jimmy browsed to the location of the spreadsheet containing his customers' | Insert> Object > OLE Object once again brought up the Insert OLE Object dialog. Instead of selecting the object type, this time Jimmy clicked “Create from file.” Clicking on the Search button, Jimmy browsed to the location of the spreadsheet containing his customers' | ||
- | 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.** |
- | The Difference Between Linking and Embedding | + | Lien OLE vers un document existant |
- | 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 | + | Plus tard, Jimmy commença à suivre ses clients dans un document |
- | Linking Only a Part of a Sheet with DDE | + | 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 | ||
+ | |||
+ | 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 | ||
As time passed on, Jimmy hired an accountant to keep his books. At the end of every month, Jimmy asked for the business financial status, and the accountant would send him a balance spreadsheet. Jimmy plowed through the long sheet for a few months before deciding it was too much. | As time passed on, Jimmy hired an accountant to keep his books. At the end of every month, Jimmy asked for the business financial status, and the accountant would send him a balance spreadsheet. Jimmy plowed through the long sheet for a few months before deciding it was too much. | ||
Ligne 29: | Ligne 51: | ||
The accountant began copying the summary section of the sheet and sending it to Jimmy, but now, Jimmy was asking for the summary two or three times a week. | The accountant began copying the summary section of the sheet and sending it to Jimmy, but now, Jimmy was asking for the summary two or three times a week. | ||
- | 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.** |
- | 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. | + | 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. | ||
Once the accountant created the document, he no longer had to worry about it. Jimmy could open the document at any time, and the table would update with the latest data in the spreadsheet. Anytime Jimmy asked him for a summary of the business financial status, the accountant just sent him a link to the document containing the DDE link. | Once the accountant created the document, he no longer had to worry about it. Jimmy could open the document at any time, and the table would update with the latest data in the spreadsheet. Anytime Jimmy asked him for a summary of the business financial status, the accountant just sent him a link to the document containing the DDE link. | ||
- | 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.1438444913.txt.gz · Dernière modification : 2015/08/01 18:01 de auntiee