Difference between revisions of "Documentation/OOo3 User Guides/Calc Guide/Formatting data"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
(12 intermediate revisions by 4 users not shown)
Line 5: Line 5:
 
|NextPage=Documentation/OOo3_User_Guides/Calc Guide/Autoformat and themes
 
|NextPage=Documentation/OOo3_User_Guides/Calc Guide/Autoformat and themes
 
}}
 
}}
在Calc的數據格式,展現在幾個方面.它可以是編輯的一部分單元格樣式,以便它自動應用,也可以手動應用到單元。有些手動格式可用於使用工具欄圖標。為了更好控制和額外的選項,選擇相應的單元格或單元格,滑鼠右鍵點擊,然後選擇單元格格式,所有的格式選項在下面討論。
+
The data in Calc can be formatting in several ways. It can either be edited as part of a cell style so that it is automatically applied, or it can be applied manually to the cell. Some manual formatting can be applied using toolbar icons. For more control and extra options, select the appropriate cell or cells, right-click on it, and select '''Format Cells'''. All of the format options are discussed below.
  
{{Documentation/Note| 本節所討論的所有設定為一部分的風格樣式和格式,見第十章有更多描述。}}
+
{{Note| All the settings discussed in this section can also be set as a part of the cell style. See [[Documentation/OOo3_User_Guides/Calc_Guide/Styles_and_Templates|Using Styles and Templates in Calc]] for more information.}}
  
 
== Formatting multiple lines of text ==
 
== Formatting multiple lines of text ==
Line 33: Line 33:
 
[[Image:CalcShrinkText.png|thumb|none|500px|''Shrinking font size to fit cells'']]
 
[[Image:CalcShrinkText.png|thumb|none|500px|''Shrinking font size to fit cells'']]
  
== 格式化 數字 ==
+
== Formatting numbers ==
數字格式可應用於圖標格式工具欄上,選擇單元格,然後點擊相關的圖標。.
+
Several number formats can be applied to cells by using icons on the Formatting toolbar. Select the cell, then click the relevant icon. Some icons may not be visible in a default setup; click the down-arrow at the end of the Formatting bar and select other icons to display.
  
[[Image:CalcNumberFormats.png|Calc number formats]]<br>''數字格式圖標,從左到右依次為:貨幣,百分比,日期,指數,標準,小數點後添加,刪除小數位。''
+
[[Image:CalcNumberFormats.png|Calc number formats]]<br>''Number format icons. Left to right: currency, percentage, date, exponential, standard, add decimal place, delete decimal place.''
  
欲了解更多的控制或選擇其他數字格式,請使用數字選項
+
For more control or to select other number formats, use the ''Numbers'' tab of the Format Cells dialog.
  
* 在類別列表的資料適用於任何類型的資料.
+
* Apply any of the data types in the Category list to the data.
* 控制小數點的位置與前置零.
+
* Control the number of decimal places and leading zeros.
* 輸入自訂格式的代碼.
+
* Enter a custom format code.
  
語言與地方的設定因不同而有不同的格式,如訂單的日期和貨幣的標誌。.
+
The Language setting controls the local settings for the different formats such as the date order and the currency marker.
  
 
[[Image:CalcFormatNumbers.png|thumb|none|500px|''Format Cells > Numbers'']]
 
[[Image:CalcFormatNumbers.png|thumb|none|500px|''Format Cells > Numbers'']]
  
== 字體格式 ==
+
== Formatting the font ==
在單元格中,快速選擇使用的字型,或是選擇單元格,然後從列表中,點擊旁邊的箭頭字體工具欄上的字體選擇
+
To quickly choose the font used in a cell, select the cell, then click the arrow next to the Font Name box on the Formatting toolbar and choose a font from the list.
  
{{Documentation/Tip| 要選擇是否顯示的字體名稱的字體或在純文本,進入“ 工具 > 選項 ”> OpenOffice.org“在字體列表部分,查看並選擇或取消預覽的字體選擇。.有關更多資訊,見附錄D}}
+
{{Tip| To choose whether to show the font names in their font or in plain text, go to '''Tools > Options > OpenOffice.org > View''' and select or deselect the Show preview of fonts option in the Font Lists section. For more information, see [[Documentation/OOo3 User Guides/Calc Guide/Customizing Calc|Setting Up and Customizing Calc]].}}
  
要選擇字體的大小,點選格式工具欄上,對於其他格式,您可以使用粗體,斜體,或下劃線圖標。.
+
To choose the size of the font, click the arrow next to the Font Size box on the Formatting toolbar. For other formatting, you can use the Bold, Italic, or Underline icons.
要選擇字體顏色,請單選旁邊的箭頭圖標,字體顏色顯示調色板.單擊所需的顏色。
+
 
 +
To choose a font color, click the arrow next to the Font Color icon to display a color palette. Click on the required color.
  
 
[[Image:CalcFontColors.png]]
 
[[Image:CalcFontColors.png]]
  
(自訂顏色, 請使用 '''工具> 選項 > OpenOffice.org > 顏色 。請見附錄D獲得更多資訊.)
+
(To define custom colors, use '''Tools > Options > OpenOffice.org > Colors'''. See [[Documentation/OOo3 User Guides/Calc Guide/Customizing Calc|Setting up and Customising Calc]] for more information.)
 
+
要指定有用的語言單元格(因為它允許存在不同的語言在同一文件中,並正確拼寫檢查),使用字體選項上的格式對話框。請見第10章獲得更多資訊。.
+
 
+
== 字體效果 ==
+
字體效果標籤的格式對話框,提供了更多的字體選項。
+
  
[[Image:CalcFontEffects.png|thumb|none|500px|''Format Cells > Font Effects'']]
+
To specify the language of the cell (useful because it allows different languages to exist in the same document and be spell checked correctly), use the ''Font'' tab of the Format Cells dialog. See [[Documentation/OOo3 User Guides/Calc Guide/Styles_and_Templates|Styles and Templates]] for more information.
  
=== 底線 ===
+
== Choosing font effects ==
底線強調了下面的數字.
+
The ''Font Effects ''tab of the Format Cells dialog offers more font options.
  
[[Image:CG3Ch2F14.png|thumb|none|500px|''Calc underline options'']]
+
[[Image:CalcFontEffects3.png|thumb|none|500px|''Format Cells > Font Effects'']]
  
底線的顏色也在選項中改變
+
'''Overlining and underlining'''
  
=== 刪除線 ===
+
You can choose from a variety of overlining and underlining options  (solid lines, dots, short and long dashes, in various combinations) and the color of the line.
刪除線選項在下列數字中概述
+
  
[[Image:CG3Ch2F15.png|thumb|none|500px|''Calc strikethrough options'']]
+
'''Strikethrough'''
  
=== 浮雕 ===
+
The strikethrough options include lines, slashes, and Xs.
浮雕選項:浮凸、雕刻、輪廓和陰影,如下所示。
+
  
[[Image:CG3Ch2F16.png|thumb|none|500px|''Calc relief options'']]
+
'''Relief'''
 +
The relief options are embossed (raised text), engraved (sunken text), outline, and shadow.
  
== 設定表格的對齊方式與方式 ==
+
== Setting cell alignment and orientation ==
有些表格的對齊方式和方向不會顯示格式工具欄上,展示出來,可以點選工具欄,從列表中選擇它們的圖標。
+
Some of the cell alignment and orientation icons are not shown by default on the Formatting toolbar. To show them, click on the small arrow at the right-hand end of the toolbar and select them from the list of icons.
  
 
[[Image:CG3Ch2F17.png|thumb|none|500px|''Cell alignment and orientation'']]
 
[[Image:CG3Ch2F17.png|thumb|none|500px|''Cell alignment and orientation'']]
  
對齊方式和方向圖標僅當您有亞洲佈局模式(複雜文本)語言功能(在工具 “> 選項 ”> 語言設置 “> 語言 )。如果您從列表中,選擇一個不可用圖標,它不會出現在工具欄上。
+
Some of the alignment and orientation icons are available only if you have Asian or CTL (Complex Text Layout) languages enabled (in '''Tools > Options > Language Settings > Languages'''). If you choose an unavailable icon from the list, it does not appear on the toolbar.
  
為了更好控制和選擇,使用對齊選項格式對話框中設置水平和垂直對齊和旋轉文本。如果您有亞洲語言的啟用,則文本方向部分顯示多了一種選擇(標有亞洲佈局模式 )下的垂直堆疊選項,如下所示。
+
For more control and other choices, use the ''Alignment'' tab  of the Format Cells dialog to set the horizontal and vertical alignment and rotate the text. If you have Asian languages enabled, then the ''Text orientation'' section shows an extra option (labeled '''Asian layout mode''') under the '''Vertically stacked''' option, as shown below.
  
 
[[Image:CG3Ch2F18.png|thumb|none|500px|''Asian layout mode option'']]
 
[[Image:CG3Ch2F18.png|thumb|none|500px|''Asian layout mode option'']]
  
亞洲之間的佈局模式或關閉結果的差別如下所示。
+
The difference in results between having '''Asian layout mode''' on or off is shown below.
  
 
[[Image:CG3Ch2F19.png|thumb|none|500px|''Types of vertical stacking'']]
 
[[Image:CG3Ch2F19.png|thumb|none|500px|''Types of vertical stacking'']]
  
== 邊框的格式 ==
+
== Formatting the cell borders ==
要迅速選擇線條樣式和顏色的邊界單元格,請按一下圖標格式工具欄上線條樣式和線條顏色。在每一種情況下,調色板的選擇顯示。
+
To quickly choose a line style and color for the borders of a cell, click the small arrows next to the Line Style and Line Color icons on the Formatting toolbar. In each case, a palette of choices is displayed. (If the Line Style and Line Color icons are not displayed in the formatting toolbar, select the down arrow on the right side of the bar, then Visible Buttons.)
  
欲了解更多的控制,包括間距之間的單元格邊框和文本,使用邊框選項格式對話框。參見第10章的細節。在那裡,您還可以定義陰影。
+
For more control, including the spacing between the cell borders and the text, use the ''Borders'' tab of the Format Cells dialog. There you can also define a shadow. See [[Documentation/OOo3 User Guides/Calc Guide/Styles and Templates|Styles and Templates]] for details.
  
{{Documentation/Note| 邊框屬性應用於一個單元格,才能更改,如果你正在編輯的單元格。例如,如果單元格C3有頂部邊框,要選擇C3才能刪除。它並不能刪除在C2。}}
+
{{Note| The cell border properties apply to a cell, and can only be changed if you are editing that cell. For example, if cell C3 has a top border (which would be equivalent visually to a bottom border on C2), that border can only be removed by selecting C3. It cannot be removed in C2.}}
  
== 表格背景格式 ==
+
== Formatting the cell background ==
要迅速選擇背景顏色,按一下圖標背景顏色格式工具欄。 背景顏色的選擇,與字體顏色選擇相同。
+
To quickly choose a background color for a cell, click the small arrow next to the Background Color icon on the Formatting toolbar. A palette of color choices, similar to the Font Color palette, is displayed.
  
(想自訂顏色,請使用工具 “> 選項 ”> OpenOffice.org“顏色 。見附錄D獲得更多資訊。)
+
(To define custom colors, use '''Tools > Options > OpenOffice.org > Colors'''. See [[Documentation/OOo3 User Guides/Calc Guide/Customizing Calc|Setting up and Customizing Calc]] for more information.)
  
您也可以使用背景選項卡格式對話框。請參見第10章的細節。
+
You can also use the ''Background'' tab of the Format Cells dialog. See [[Documentation/OOo3 User Guides/Calc Guide/Styles and Templates|Styles and Templates]] for details.
  
  
 
{{CCBY}}
 
{{CCBY}}
 
[[Category: Calc Guide (Documentation)]]
 
[[Category: Calc Guide (Documentation)]]

Latest revision as of 20:49, 15 July 2018



The data in Calc can be formatting in several ways. It can either be edited as part of a cell style so that it is automatically applied, or it can be applied manually to the cell. Some manual formatting can be applied using toolbar icons. For more control and extra options, select the appropriate cell or cells, right-click on it, and select Format Cells. All of the format options are discussed below.

Documentation note.png All the settings discussed in this section can also be set as a part of the cell style. See Using Styles and Templates in Calc for more information.

Formatting multiple lines of text

Multiple lines of text can be entered into a single cell using automatic wrapping or manual line breaks. Each method is useful for different situations.

Using automatic wrapping

To set text to wrap at the end of the cell, right-click on the cell and select Format Cells (or choose Format > Cells from the menu bar, or press Ctrl+1). On the Alignment tab, under Properties, select Wrap text automatically.

Format Cells > Alignment dialog

The results are shown below.

Automatic text wrap

Using manual line breaks

To insert a manual line break while typing in a cell, press Ctrl+Enter. This method does not work with the cursor in the input line. When editing text, first double-click the cell, then single-click at the position where you want the line break.

When a manual line break is entered, the cell width does not change. The figure below shows the results of using two manual line breaks after the first line of text.

Cell with manual line breaks

Shrinking text to fit the cell

The font size of the data in a cell can automatically adjust to fit in a cell. To do this, select the Shrink to fit cell option in the Format Cells dialog. The figure below shows the results.

Shrinking font size to fit cells

Formatting numbers

Several number formats can be applied to cells by using icons on the Formatting toolbar. Select the cell, then click the relevant icon. Some icons may not be visible in a default setup; click the down-arrow at the end of the Formatting bar and select other icons to display.

Calc number formats
Number format icons. Left to right: currency, percentage, date, exponential, standard, add decimal place, delete decimal place.

For more control or to select other number formats, use the Numbers tab of the Format Cells dialog.

  • Apply any of the data types in the Category list to the data.
  • Control the number of decimal places and leading zeros.
  • Enter a custom format code.

The Language setting controls the local settings for the different formats such as the date order and the currency marker.

Format Cells > Numbers

Formatting the font

To quickly choose the font used in a cell, select the cell, then click the arrow next to the Font Name box on the Formatting toolbar and choose a font from the list.

Tip.png To choose whether to show the font names in their font or in plain text, go to Tools > Options > OpenOffice.org > View and select or deselect the Show preview of fonts option in the Font Lists section. For more information, see Setting Up and Customizing Calc.


To choose the size of the font, click the arrow next to the Font Size box on the Formatting toolbar. For other formatting, you can use the Bold, Italic, or Underline icons.

To choose a font color, click the arrow next to the Font Color icon to display a color palette. Click on the required color.

CalcFontColors.png

(To define custom colors, use Tools > Options > OpenOffice.org > Colors. See Setting up and Customising Calc for more information.)

To specify the language of the cell (useful because it allows different languages to exist in the same document and be spell checked correctly), use the Font tab of the Format Cells dialog. See Styles and Templates for more information.

Choosing font effects

The Font Effects tab of the Format Cells dialog offers more font options.

Format Cells > Font Effects

Overlining and underlining

You can choose from a variety of overlining and underlining options (solid lines, dots, short and long dashes, in various combinations) and the color of the line.

Strikethrough

The strikethrough options include lines, slashes, and Xs.

Relief The relief options are embossed (raised text), engraved (sunken text), outline, and shadow.

Setting cell alignment and orientation

Some of the cell alignment and orientation icons are not shown by default on the Formatting toolbar. To show them, click on the small arrow at the right-hand end of the toolbar and select them from the list of icons.

Cell alignment and orientation

Some of the alignment and orientation icons are available only if you have Asian or CTL (Complex Text Layout) languages enabled (in Tools > Options > Language Settings > Languages). If you choose an unavailable icon from the list, it does not appear on the toolbar.

For more control and other choices, use the Alignment tab of the Format Cells dialog to set the horizontal and vertical alignment and rotate the text. If you have Asian languages enabled, then the Text orientation section shows an extra option (labeled Asian layout mode) under the Vertically stacked option, as shown below.

Asian layout mode option

The difference in results between having Asian layout mode on or off is shown below.

Types of vertical stacking

Formatting the cell borders

To quickly choose a line style and color for the borders of a cell, click the small arrows next to the Line Style and Line Color icons on the Formatting toolbar. In each case, a palette of choices is displayed. (If the Line Style and Line Color icons are not displayed in the formatting toolbar, select the down arrow on the right side of the bar, then Visible Buttons.)

For more control, including the spacing between the cell borders and the text, use the Borders tab of the Format Cells dialog. There you can also define a shadow. See Styles and Templates for details.

Documentation note.png The cell border properties apply to a cell, and can only be changed if you are editing that cell. For example, if cell C3 has a top border (which would be equivalent visually to a bottom border on C2), that border can only be removed by selecting C3. It cannot be removed in C2.

Formatting the cell background

To quickly choose a background color for a cell, click the small arrow next to the Background Color icon on the Formatting toolbar. A palette of color choices, similar to the Font Color palette, is displayed.

(To define custom colors, use Tools > Options > OpenOffice.org > Colors. See Setting up and Customizing Calc for more information.)

You can also use the Background tab of the Format Cells dialog. See Styles and Templates for details.


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools