Since you do need to reformat each text block type differently to produce the correct HTML output, a state machine seems like a natural solution.
由于需要以不同方式重新格式化每个文本块以生成正确的HTML输出,状态机似乎就是自然的解决方案。
Figure 1 illustrates how the behavior rules would position an image with a margin relative to a text block.
图1展示了这些行为原则是如何定位一个边框与文本块相关的图像的。
Instead of treating financial information as a block of text - as in a standard Internet page or a printed document - it provides an identifying tag for each individual item of data.
它并没有把财务信息看作一个简单的文本块(比如一个标准的网页或打印好的文档),而是为每个单独的数据项提供一个识别标记。
This will be used to select the news summary information to output, and then output the appropriate block of text to be spoken.
这用来选择要输出的新闻摘要信息,然后输出适当的要进行朗读的文本块。
This function is starting the AJAX request and adding an DIV Block with some more text.
这个函数启动AJAX请求并添加一个包含文本的div块。
You can easily embed the text specification into a VXML document by using a CDATA block.
我们可以方便地将文本规范嵌入到VXML文档中,方法是使用一个cdata块。
Code block: it allows you to format text as code blocks. Simple select the text and format it by clicking the "code block" ToolBar button.
代码块:这个编辑器允许你把文本格式化为代码块,只要简单地选中文本,然后点击“代码块”按钮来进行格式化即可。
For instance, a user could spot that the input for a text block is being echoed on the following page and take advantage of that echo.
例如,用户可以发现文本块的输入被返回到以下页面上并且要利用那些返回信息。
The latter wraps the text in a CDATA block.
后者可以将文本包装在CDATA 块中。
One space after a period is plenty to signal the end of a sentence. It also keeps the text block even.
一个空格足够区分二个句子,同时还能保证文本块的连续性。
Unlike the .ini file example, text block types can occur in any order.
不像.ini文件示例,文本块类型可以任何顺序出现。
The CommentBlock function is then called to convert that text into a comment block.
CommentBlock函数随后被调用,以将文本转换为一个注释块。
The row_label helper takes a block and places the block text in the label tag, with no other row contents.
row_label助手将获取一个块并将块文本(而非其他行内容)放入标签标记中。
For example, to edit the documentation in the Model Editor using Linux, click the edit button underneath the documentation block to display a dialog that will allow you to edit the rich text.
例如,要利用Linux在ModelEditor中编辑这个文本,点击这个文本板块下面的Edit按钮,从而显示一个允许您编辑这个富文本的对话框。
Finally, a Lingua: : EN: : Fathom object is created, and a wrapped block of text (see text: : wrap) is passed to it for analysis.
最后,创建Lingua:EN:Fathom对象,并将封装的文本块(请参阅Text:Wrap)传递给它,供其分析。
A block of text looks like a texture from a distance.
一块文本就如同由间距产生的纹理结构。
Each entry contains descriptive metadata, including a title, a block of text or HTML content, and a URL for more information.
每个项都包含描述性元数据,其中包括一个名称、一块文本或HTML内容,以及一个指向更多信息的URL。
The third block of code (lines 8-11) handles writing the document to an output stream as text.
第三个代码块(第 8-11 行)处理将文档作为文本写入输出流。
A state machine is really only worth implementing if the transitions between types of text require some calculation based on the content within a single state-block.
实际上,在单一状态块中,仅当文本类型之间的转移需要基于内容的计算时,才有必要实现状态机。
Segmentation is the breaking down of a block of text into smaller translatable segments of text, such as a sentence, a paragraph, or a phrase.
分段就是将文本块分解成更小的可翻译文本段,比如句子、段落或短语。
Research has show that a block of text in all capitals is harder to read than the same block in mixed capitals and lower-case letters.
研究表明,一段文本全部大写比同样文本大小写混合使用,更难读。
This technique comes in handy when you want to append a block of text at a particular place in a file.
当您希望在文件中的特定位置追加文本块时,此项技术就会派上用场。
Callout with pointer centered at bottom of text block. Selection handles adjust paragraph width.
指针位于文本块底部中间的标注。选择手柄可调整段落宽度。
The user would select a block of text and then click on an icon to see a list of activities.
用户可以选择一个文本块,然后点击一个图标查看activities的列表。
The info tag can contain anything from text to large block-level elements.
info标签可以包含从文本到大型块级元素的任何内容。
Callout with border line and pointer at bottom of text block. Selection handles control paragraph width.
位于文本块底部带边框线和指针的标注。选择手柄可控制段落宽度。
Callout with border line and pointer at side of text block. Selection handle controls paragraph width.
边框线和指针位于文本块侧边的标注。选择手柄可控制段落宽度。
Callout with outline box and elbow pointer at side of text block. Selection handle adjusts paragraph width.
外框和肘形指针位于文本块侧边的标注。选择手柄可调整段落宽度。
Callout with oval outline and pointer from center of text block. Control handles adjust width and height.
从文本块中央引出的具有椭圆轮廓线和指针的标注。控制手柄可调整宽度和高度。
Callout with oval outline and pointer from center of text block. Control handles adjust width and height.
从文本块中央引出的具有椭圆轮廓线和指针的标注。控制手柄可调整宽度和高度。
应用推荐