Revision: 01afd4ea0bef
Author: yves.savourel <
yves.s...@gmail.com>
Date: Wed Jul 30 11:23:33 2014 UTC
Log: Edited wiki page newDesign_Inline_Content through web user
interface.
http://code.google.com/p/okapi/source/detail?r=01afd4ea0bef&repo=wiki
Modified:
/newDesign_Inline_Content.wiki
=======================================
--- /newDesign_Inline_Content.wiki Mon Jul 28 13:19:27 2014 UTC
+++ /newDesign_Inline_Content.wiki Wed Jul 30 11:23:33 2014 UTC
@@ -2,13 +2,13 @@
A content is made of Unicode characters and inline objects.
-There are three types of inline object:
+There are several types of inline object:
- * Original codes, representing non-textual content of the original format.
+ * Original codes, representing non-textual content of the original
format. Codes can be spans (like the representation of an HTML bold
element) or placeholders (like the representation of an HTML BR element).
* Markers, representing spans of content associated with one or more
annotations.
- * Protected content, representing an hidden span of non-translatable
content.
+ * Protected content, representing an hidden span of non-translatable
content. This is a special type of object that denotes only a transient
state and not part of the normal content.
-The representation of these inline objects in the content correspond to
tags. There are three types of tags:
+These inline objects are represented in the content by tags. There are
three types of tags:
* Opening, representing the start of a span of content.
* Closing, representing the end of a span of content.
@@ -22,19 +22,19 @@
A *coded text* is a Unicode string with normal text and _tag references_.
-A *tag reference* is a pair of special characters representing a _tag_.
The first character represents both the type of tag and the type of inline
object the tag represents:
+A *tag reference* is a pair of special characters representing a _tag_.
The first character represents both the type of inline object and the type
of tag the tag represents:
- * U+E101 OPENING_CODE
- * U+E102 CLOSING_CODE
- * U+E103 STANDALONE_CODE
- * U+E104 OPENING_MARKER
- * U+E105 CLOSING_MARKER
- * U+E106 STANDALONE_PCONT
+ * U+E101 CODE_OPENING
+ * U+E102 CODE_CLOSING
+ * U+E103 CODE_STANDALONE
+ * U+E104 MARKER_OPENING
+ * U+E105 MARKER_CLOSING
+ * U+E106 PCONT_STANDALONE
-The second character is a value between U+E110 and U+F8FF and represents
the index for the given type of tag/object.
+The second character is a value between U+E110 and U+F8FF and represents
the index for the given type of object/tag.
The two characters composing a tag reference are in the Private Use Area
(PUA) range of Unicode and they have always distinct values.
An *annotation* is some information pertaining to the content it is
attached to. Annotations can be attached to annotation markers or original
codes.
-A *protected content* is a section of the content that must not be
modified (e.g. translated) but is not represented as inline code. For
example, the HTML content {{{"<span translate='no'>text</span>"}}} is a
protected content. It includes two inline codes as well as some text.
+A *protected content* is a section of the content that must not be
modified (e.g. translated) but is not represented as inline code. For
example, the HTML content {{{"<span translate='no'>text</span>"}}} is a
protected content. It includes at least the two the two tags that delimits
the content, and it may contain other tags as well as some text.