Table Typesetting--word 2007 book Layout Complete Manual (vi)
Word2007 table has a clear classification, convenient application and other advantages, its role is text, pictures can not be replaced, so there will often be a number of books in the form of more or less. In this section, you'll learn how to use Word2007 tables and Excel2007 tables in books, and how to work with charts and how to get information from a database.
1. Adjustment form
(1) Adjust row height, column width
Point to the border where you want to change the column width or row height until the pointer changes to a double-headed arrow, and then press and hold the left mouse button until the width or height is satisfactory. If you want to precisely adjust the row height and column width of the table, select the column or row you want to adjust, or place the insertion point in the table, right-click the selection, and choose Table Properties on the shortcut menu, the dialog box pops up. Set the table size on the Table tab, set the row height on the Rows tab, set the column width on the Columns tab, and on the Cells tab, set the selected cell, as shown in Figure 18. Click Previous, next row, previous column, and later column to adjust row heights and column widths in turn.
Figure Word2007 Table Properties
Tip: If you only want to make a rough adjustment to the row and column dimensions of the entire table, simply move the mouse over the table. You can appear in the lower-right corner of the table a small hollow box, and then move the mouse over this square, the pointer becomes a two-headed arrow, then hold down the left mouse button to adjust the entire table size, the rows of each column in proportion to change.
(2) Adding rows or columns
Select a row or column, or click in any cell of a table or column. The design and layout two option area buttons appear in the Ribbon, and when you click Layout, there is a tool button that inserts rows and columns to the left, and clicks to insert rows or columns, and indicates that they are above, below, to the left, Insert right, as shown in Figure 19. When you need to insert a row or column again (same as the previous direction), just press the F4 key.
Figure Word2007 Add rows or columns
Tip: If you insert a row below the last line there is also a shortcut to place the insertion point outside the last cell in the final row, outside the table, and click the ENTER key to insert a row at the bottom.
(3) Delete cells, rows, columns, or tables
Select the cells you want to delete, row, column, or entire table, or just place the insertion point in the row, column, cell that you want to delete in the table, click the Delete option button in the ribbon shown in the following illustration, and select it in the Drop-down list, as shown in Figure 20.
Map Word2007 Delete cells, rows, columns, or tables
2. Format table
(1) Set the frame line and shading
Select the table part or the entire table where you want to set borders and shading, and click the table Design Feature button. Select the border or shading or pen style or stroke weight or pen color option buttons in the Drawing Border feature options section below, and select the desired box line, shading style, and border in the Drop-down list. Type, line width, color of the line. You can also select the appropriate table format for an existing table in the Table Styles list.
(2) Repeating table headers on multiple pages
If the table has more than one page, always want to automatically repeat the table's header row (that is, the first row of the table) at the top of the table at the next page to enhance the readability of the table. To do this, you can do this in the following ways.
Select the header row that you want to repeat as a title in the subsequent table (the selection must be one or more rows that begin in the first row of the table). Then select the Repeat header row option button in the upper-right corner of the table layout Ribbon (this option is not available if the row in the table is not selected, and if the selection includes text above the table, it will not appear The table layout feature option). (3) Cancel table break across pages
A table can be fully displayed on a single page, but sometimes the table is divided into two sections for the reason of the layout structure, which is called "break across pages." To keep the table intact in one page, you can do it in the following ways. Click anywhere in the table, and in the Table Properties dialog box, open the Rows tab, and clear the "Allow break across pages" check box for a small tick.
3. Use Excel Form
Excel spreadsheets are also easy to use in Word, so you can use Excel 2007 's powerful tabular data processing capabilities to work with tables, and then apply the resulting Excel spreadsheet to Word.
Word provides several ways to insert Excel tables or charts. For example, you can easily copy and paste an Excel worksheet or chart, or you can insert a worksheet or chart as a linked object or an embedded object (OLE) into Word.
One of the main differences between linking and embedding is that the data is stored in a different location and is updated differently after it is inserted into a Word document. The linked Excel object is not part of the destination file, its information is stored in the original Excel workbook, and whenever you modify the data in Excel, Word automatically updates the worksheet or chart in the file. While the embedded object becomes part of the destination file (Word file), the Word file is not automatically updated when you modify the data in the original file of Excel, and can only be updated manually.
(1) Create a linked object
Open both the Word document and the Excel workbook document, which contains worksheets that contain the data that you want to use to create the linked object. Switch to an Excel document, and then select the data range or chart on the worksheet, press the key combination "CTRL + C" or click the "Copy" button in the Ribbon.
Switch to a Word document, click where you want to insert the linked object, click the Paste option in the Start Ribbon, select Paste selective in the Drop-down list, and open the Paste Selective dialog box, as shown in Figure 21.
Figure 21 Paste Selective
Click the Paste Link radio button. Then select the options you want from the form list box. If you cannot determine which item to select, click an option to see its descriptive text from the Description box. To display a linked worksheet or chart as an icon, select the Display as Icon check box, and then click OK to exit.
If displayed as an icon, double-click the icon to open a child window that displays the linked worksheet data area or chart.
(2) Create an embedded object
The replication process is the same as creating a linked object. Switch to the Word2007 document, click where you want to insert the embedded object, click the Paste option in the Start Ribbon, select Paste selective in the Drop-down list, and open the Paste Selective dialog box.
Click the Paste radio button, click Microsoft Excel Worksheet object or Microsoft Excel chart Object command in the form list box, and then click OK.
(3) Quickly create a linked or embedded object
To quickly create a linked object or embedded object, click the Object option in the object Drop-down list in the text options area of the Insert Ribbon, open the Object dialog box, and click the Create by File tab, as shown in Figure 22.
Figure 22 Inserting an object
In the File name box, type the path and file name of the source worksheet, or click the Browse button to select a file from the list. Clear the Link to file check box to create the embedded object, and select to create the linked object.
Click the OK button to create a linked or embedded object for an Excel worksheet or chart at the insertion point.
4. Insert Chart
The "chart" above refers to an Excel chart that is based on worksheet data, and it has a data source. The chart here is different, refers to the new chart, although with Excel, but there is no data source, to enter the data themselves.
Click in the document where you want to insert the chart, click the Chart option in the Insert Ribbon illustration option, and then Word opens the Insert Chart dialog box, as shown in Figure 23.
Figure Word2007 Insert Chart
When you select a subcategory and click OK, Word2007 automatically appears with a sample Excel datasheet and a chart based on the data in the model datasheet, and you can modify the content and format of the data in the demo datasheet as needed. You can modify the contents of the cell by double-clicking it in the cell that you want to modify. When all the data in the datasheet has been modified, click the Close button to close the demo datasheet. You can then get the chart that meets your requirements in your document.