比较困难的部分是格式化单元格。
重构代码——计算表单元格的样式。
重构代码——计算表单元格的内容。
我们实现了内容单元格排序。
这就相当于从左上侧进入空白单元格。
This corresponds to entering the blank cell from the above-left.
清单6显示了该工作表的单元格提要。
产生的提要仅包含指定范围的单元格。
The resulting feed contains only the cells in the specified range.
清单6.循环所有单元格并打印值。
利用这种格式,行和单元格都很清楚。
每个单元格都包含一个泛型数据变量。
这个xml定义了行、列和单元格内容。
This single XML defines the rows, columns, and content of cells.
清单11显示了填充空白单元格的代码。
如何计算单元格的成本?
表1展示了单元格边界样式的通用规则。
Table 1 shows the generalized rules for the cell border styles.
有些单元格包含数值。
标记n的单元格表明选项的组合是不适用的。
The cells marked "n" indicate inapplicable combination of options.
索引号与电子表格中当前单元格的列号相同。
The index number is the same as the current cell's column number in the spreadsheet.
在这个转换中,许多代码清单都具有空单元格。
In this conversion, many of the code lists have empty cells.
用户指定输入单元格、输出单元格及其它参数。
The user specifies input cells, output cells and other parameters.
通过把页面均分为几个等份,来创建多个单元格。
Further divide the page into uniform parts and you've created a multiple unit grid.
表的一个通用模式是每一列包含一组重复的单元格。
The generalized pattern across the table is that each column contains a repeating group of cells.
该方法以数组形式返回每个行的各个元素(单元格)。
This method returns the individual elements (cells) of each row as an array.
单元格内容,包括文本内容和颜色,都在矩阵中重用。
The cell contents, both in text content and color, are reused across the matrix.
表中每行有多少单元格,这个数组中就有多少个函数。
There are as many functions in this array as there are cells in each table row.
不要在列头上单击,而是要单击列头下的三个单元格。
Don't click on the header but on the three cells below the column header.
计算器应用程序中的单元格包含文本字段和按钮部件。
The cells within our calculator application contain text-field and button widgets.
如果单元格中包含竞争者,则需要计算另外三个变量。
If the cell contains a contestant, you calculate three more variables.
可以在ListGrid单元格中嵌入widget。
在遍历单元格时,测试它们的数据类型,如清单7所示。
While iterating through the cells, test their data types, as in Listing 7.
表的行和列代表事件和状态,单元格内包含动作和转移。
Rows and columns represent events and states, and cells contain actions and transitions.
应用推荐