You are on page 1of 217

1

BBeB Standard

BBeB XML Xylog File Format Specification


Version 1.01

Sony Corporation
2006/12/18

Do Not Copy

2003-2007 Sony Corporation

Table of Contents
Introduction ................................................................................................................................6
BBeB XML Xylog Files...............................................................................................................7
Type definition ...........................................................................................................................8
Coordinate system used in this specification .............................................................................9
Overview of the BBeB Book Format ........................................................................................10
Definitions of Terms.................................................................................................................12
Explanation of Elements ..........................................................................................................15
1. BBeBXylog .......................................................................................................................15
2. Property............................................................................................................................15
3. BookInformation ...............................................................................................................15
4. Info ...................................................................................................................................15
5. BookInfo ...........................................................................................................................16
6. Title ..................................................................................................................................16
7. Author...............................................................................................................................16
8. BookID .............................................................................................................................17
9. Publisher ..........................................................................................................................17
10. Label ..............................................................................................................................17
11. Category.........................................................................................................................18
12. Classification ..................................................................................................................18
13. FreeText.........................................................................................................................18
14. DocInfo...........................................................................................................................18
15. Cthumbnail .....................................................................................................................18
16. Language .......................................................................................................................19
17. Creator ...........................................................................................................................19
18. SumPage .......................................................................................................................19
19. Keyword .........................................................................................................................19
20. TOC................................................................................................................................19
21. TocLabel ........................................................................................................................20
22. Main ...............................................................................................................................20
23. Page...............................................................................................................................20
24. ShowOrder .....................................................................................................................27
25. Show ..............................................................................................................................27
26. Wait ................................................................................................................................28
27. TextBlock .......................................................................................................................28
28. P.....................................................................................................................................42
29. Plot .................................................................................................................................49

Do Not Copy

2003-2007 Sony Corporation

30. CR ..................................................................................................................................51
31. PlotText ..........................................................................................................................51
32. Fill ..................................................................................................................................52
33. Space .............................................................................................................................52
34. CharButton .....................................................................................................................53
35. Rubi................................................................................................................................53
36. Oyamoji ..........................................................................................................................53
37. Gaiji................................................................................................................................54
38. AltString..........................................................................................................................54
39. Org .................................................................................................................................55
40. Alt ...................................................................................................................................55
41. Rubimoji .........................................................................................................................55
42. Box .................................................................................................................................55
43. EmpDots ........................................................................................................................56
44. EmpLine .........................................................................................................................58
45. AutoSpacing...................................................................................................................59
46. Sub.................................................................................................................................59
47. Sup.................................................................................................................................59
48. Yoko ...............................................................................................................................59
49. Tate ................................................................................................................................59
50. Nekase ...........................................................................................................................60
51. NoBR..............................................................................................................................60
52. DrawChar .......................................................................................................................60
53. Span...............................................................................................................................60
54. Italic................................................................................................................................67
55. Bold ................................................................................................................................67
56. SetText...........................................................................................................................67
57. div ..................................................................................................................................74
58. ImageBlock ....................................................................................................................81
59. ButtonBlock ....................................................................................................................88
60. BaseButton.....................................................................................................................93
61. FocusinButton ................................................................................................................93
62. JumpTo ..........................................................................................................................94
63. Run.................................................................................................................................95
64. SendMessage ................................................................................................................96
65. SoundStop .....................................................................................................................97
66. CloseWindow .................................................................................................................97
67. PushButton.....................................................................................................................97
68. UpButton ........................................................................................................................98
69. SimpleTextBlock ............................................................................................................98

Do Not Copy

2003-2007 Sony Corporation

70. BlockSpace ..................................................................................................................108


71. Canvas .........................................................................................................................109
72. PutObj ..........................................................................................................................112
73. MoveObj.......................................................................................................................113
74. CanvasSetting..............................................................................................................115
75. Moveto .........................................................................................................................116
76. Lineto ...........................................................................................................................117
77. DrawBox.......................................................................................................................118
78. DrawEllipse ..................................................................................................................120
79. ViewPoint .....................................................................................................................121
80. MiniPage ......................................................................................................................122
81. PageDiv........................................................................................................................125
82. RuledLine .....................................................................................................................126
83. BlockList.......................................................................................................................128
84. Text ..............................................................................................................................133
85. SimpleText ...................................................................................................................142
86. Locate ..........................................................................................................................147
87. Import ...........................................................................................................................148
88. ObjLink .........................................................................................................................148
89. FileLink.........................................................................................................................149
90. Solo ..............................................................................................................................150
91. Pages ...........................................................................................................................150
92. Template ......................................................................................................................151
93. TemplateSet.................................................................................................................151
94. Style .............................................................................................................................151
95. BookStyle .....................................................................................................................152
96. SetDefault ....................................................................................................................152
97. RegistFont....................................................................................................................157
98. BookSetting..................................................................................................................158
99. TextStyle ......................................................................................................................159
100. BlockStyle ..................................................................................................................168
101. SpanStyle...................................................................................................................173
102. PageStyle...................................................................................................................180
103. Objects .......................................................................................................................186
104. Window ......................................................................................................................186
105. PopUpWin ..................................................................................................................188
106. Sound.........................................................................................................................189
107. SoundStream .............................................................................................................191
108. ImageStream..............................................................................................................192
109. Header .......................................................................................................................192

Do Not Copy

2003-2007 Sony Corporation

110. Footer.........................................................................................................................194
111. eSound.......................................................................................................................196
112. Font ............................................................................................................................197
113. Image .........................................................................................................................198
114. Button.........................................................................................................................200
BBeB XML Xylog DTD ...........................................................................................................202

Do Not Copy

2003-2007 Sony Corporation

Introduction
Overview
This specification defines the intermediate file format based on XML to create BBeB Book
contents.
This specification is defined with the objective of ensuring compatibility between devices and
the smooth use of contents defined in the BBeB standard.
Scope
The scope of this specification is the data and the devices

necessary for creating BBeB

Book contents based on the BBeB standard.

Do Not Copy

2003-2007 Sony Corporation

BBeB XML Xylog Files


The extension for BBeB XML Xylog" files is .lrs.
The BBeB XML Xylog" file format is based on XML 1.0, "Extensible Markup Language (XML)
1.0 Specification (Second Edition)".
T. Bray, J. Paoli, C. M. Sperberg-McQueen, E. Maler, 6 October 2000.
Latest version available at: http://www.w3.org/TR/REC-xml

Do Not Copy

2003-2007 Sony Corporation

Type definition
This specification uses the following type definition as the XML Attribute value.
Type definition

Meaning

Example

String

Specifies a normal string of

after, solid

characters.
String for sorting

Only able to use the character

John F. Kennedy

string defined in the Character


Set for Sorting Specification.
File path
Decimal string

Specifies the path in which the

D:/sample.jpg,

file is located.

../data/white.mp3

Specifies a decimal numeral as

10, 20

a character string.
Hexadecimal string

Specifies a hexadecimal

0x12, 0x3333

numeral as a character string.


0x is placed at the start of the
numeral to show it is
hexadecimal.
Style string
Object ID string

Specifies a character string

Main Block, Cover Page,

used in style labels.

Section Title Text

Specifies a character string

33, Object12

used in object IDs.


COLORREF string

Specifies 32-bit hexadecimal

0x00ff0000 (red)

character string signifying color.


The description format is
0xaarrggbb. (aa: alpha channel
[specified as 00 or ff in these
specifications], rr: red value,
gg: green value, bb: blue
value)

Do Not Copy

2003-2007 Sony Corporation

Coordinate system used in this specification


This specification uses a two-dimensional coordinate system (X,Y) that depends on the vertical
layout or the horizontal layout.
X

Horizontal layout

Do Not Copy

Vertical layout

2003-2007 Sony Corporation

10

Overview of the BBeB Book Format


Layout
The BBeB Book Format uses the Block layout concept. In the Block layout, the content to
be shown is displayed in an area called a Block. The layout is composed of multiple Blocks.
Each Block is in a relative location. The BBeB XML Xylog" file format defines the
implementation rules of this Block layout concept.
Conceptual diagram of the Block layout

Block

Relative
arrangement
Page

Block
This specification defines the TextBlock, ImageBlock, ButtonBlock, SimpleTextBlock, MiniPage
and Canvas elements. These are positioned on a Page as a Block. These are described as
sub elements of the Page element with the BlockSpace element that shows the relative
arrangement position.
It is possible to specify background image, background color and frame in the Blocks.
View
As the composition of a Page is based on the Block layout concept in the BBeB Book
Format", a Page is sometimes different to a visible page. For this reason, this specification
uses the term View for the visible page.
A single Page is more than one View.

Do Not Copy

2003-2007 Sony Corporation

11

Objects
The BBeB Book Format uses the concept of the Object. The BBeB XML Xylog" file format
also uses the same concept of the Object and specifies objid as an attribute value for
Object elements.
objid and objlabel
The Object elements defined in this specification require the objid and objlabel. The objid
is used as information to specify a particular Object element. The objlabel is used as
information to be recognized by the editor in the editing process. Therefore, the content can be
created even if the objlabel is changed unintentionally. However, contradiction in contents is
generated when the "objid" is changed, and there is a possibility that an error occurs.

Do Not Copy

2003-2007 Sony Corporation

12

Definitions of Terms
Page layout
In this format, the page layout is as follows.
Page layout composition

Screen size

topmargin

Header area

headheight

textwidth
headsep
oddsidemargin
evensidemargin
textheight
Main text area

textwidth

footspace

Do Not Copy

Footer area
textwidth

footheight

2003-2007 Sony Corporation

13

Block layout
In this format, the block layout is as follows.
Block layout composition

Main text area

Block
topskip
Rendering area

sidemargin
parindent

Today is very fine without a cloud. Our


blockheight

family is in camp at the foot of a mountain.

Paragraph

parskip
We will go fishing at a river near here
and have a barbecue.

footskip

blockwidth

Do Not Copy

2003-2007 Sony Corporation

14

Specification descriptions
Explanation of Elements in this specification describes Attribute Name, Default Value,
Data Type and Comments for each attribute.
The terms error and warning are used in Comments, and they refer to the treatment in the
content making process when an incorrect value is set.

Do Not Copy

2003-2007 Sony Corporation

15

Explanation of Elements
1. BBeBXylog
<!ELEMENT BBeBXylog

(Property?,BookInformation,Main,Solo?,Template?,Style,Objects) >

<!ATTLIST BBeBXylog
version

CDATA

Attribute Name

Default Value

version

#REQUIRED

>

Data Type

Comments

String

Defines as 1.0.

(Required)
1.1

version

The version attribute specifies the relevant format version for the BBeB XML Xylog" file
format. The present version is 1.0.

2. Property
The Property element specifies information required by authoring tools, etc. This is a reserved
element at present.
<!ELEMENT Property

EMPTY >

3. BookInformation
The BookInformation element specifies bibliographical information and the TOC (table of
content) information.
<!ELEMENT BookInformation

(Info,TOC) >

4. Info
The Info element specifies the bibliographical information and the additional information of the
content. Refer to BBeB Standard, BBeB Book Operational Regulations of Bibliographical
Information

for details.

<!ELEMENT Info

(BookInfo,DocInfo,Keyword*) >

<!ATTLIST Info
version

Attribute Name
version

CDATA

Default Value

#REQUIRED

>

Data Type

Comments

String

Defines as 1.0.

(Required)

Do Not Copy

2003-2007 Sony Corporation

16

4.1

version

The version attribute specifies the version of the bibliographical information format.
The present version is 1.0.

5. BookInfo
The BookInfo element specifies the bibliographical information of the content.
<!ELEMENT BookInfo (Title,Author,BookID,Publisher,Label,Category*,Classification,
FreeText) >

6. Title
The Title element specifies the title of the content. The title is used for displaying lists and
displaying book information.
<!ELEMENT Title

(#PCDATA) >

<!ATTLIST Title
reading

Attribute Name

CDATA

Default Value

#REQUIRED

>

Data Type

Comments

reading

String for

An error occurs when a character other

(Required)

sorting

than those specified in Character Set for


Sorting Specification is used.

6.1

reading

The reading attribute specifies the string to sort the content by the title. Refer to BBeB
Standard, BBeB Standard Character Set Specification Appendix: Character Set for Sorting
Specification for details of the specified characters.

7. Author
The Author element specifies the author name of the content. If customer want to
describemore than one author's namecustomer must describe authors names serially in an
element. Author is used for displaying lists and displaying book information
<!ELEMENT Author

(#PCDATA) >

<!ATTLIST Author
reading

Attribute Name

CDATA

Default Value

#REQUIRED

Data Type

reading

String

(Required)

sorting

>

Comments

for An error occurs when a character other


than those specified in Character Set for
Sorting Specification is used.

Do Not Copy

2003-2007 Sony Corporation

17

7.1

reading

The reading attribute specifies the string to sort the content by the author. Refer to BBeB
Standard, BBeB Standard Character Set Specification Appendix: Character Set for
Sorting Specification

for details of the specified characters.

8. BookID
The BookID element specifies ID information of the content. Refer to BBeB Standard, Content
ID Specification for details.
<!ELEMENT BookID

(#PCDATA) >

9. Publisher
The Publisher element specifies the publisher name of the content.
<!ELEMENT Publisher
<!ATTLIST Publisher
reading

Attribute Name

(#PCDATA) >
CDATA

Default Value

#REQUIRED

>

Data Type

Comments

reading

String for

An error occurs when a character other than

(Required)

sorting

those specified in Character Set for Sorting


Specification is used.

9.1

reading

The reading attribute specifies the string to sort the content by the publisher. Refer to
BBeB Standard, BBeB Standard Character Set Specification Appendix: Character Set for
Sorting Specification

for details of the specified characters.

10. Label
The Label element specifies the label name.
<!ELEMENT Label

(#PCDATA) >

<!ATTLIST Label
reading

Attribute Name

CDATA

Default Value

#REQUIRED

>

Data Type

Comments

reading

String for

An error occurs when a character other than

(Required)

sorting

those specified in Character Set for Sorting


Specification is used.

Do Not Copy

2003-2007 Sony Corporation

18

10.1

reading

The reading attribute specifies the string to sort the content by the label. Refer to BBeB
Standard, BBeB Standard Character Set Specification Appendix: Character Set for
Sorting Specification

for details of the specified characters.

11. Category
The Category element specifies the genre of the content. Up to two elements can be defined in
the content.
<!ELEMENT Category (#PCDATA) >

12. Classification
The Classification element specifies information on what kind of data is included in the
content.
<!ELEMENT Classification

(#PCDATA) >

13. FreeText
The FreeText element specifies free description about the content.
<!ELEMENT FreeText

(#PCDATA) >

14. DocInfo
The DocInfo element specifies the thumbnail, language information, etc.
<!ELEMENT DocInfo

(CThumbnail,Language,Creator,SumPage) >

15. Cthumbnail
The Cthumbnail element specifies the file name of the thumbnail image for the content.
<!ELEMENT CThumbnail

EMPTY >

<!ATTLIST CThumbnail
file CDATA

Attribute Name

Do Not Copy

Default Value

#REQUIRED

>

Data Type

Comments

2003-2007 Sony Corporation

19

File path

File

Specifies the absolute path or the


accessible relative path of the file to be

(Required)

used as a thumbnail image. An error occurs


in the event there is no file present in the
specified path or the file path character
string is incorrect.
15.1

file

The file attribute specifies the file name and path in which the thumbnail file is located.

16. Language
The Language element specifies the main language used in the content. It should use ISO
639 language codes, e.g. Japanese: ja.
<!ELEMENT Language

(#PCDATA) >

17. Creator
The Creator element specifies the creator or studio of the content.
<!ELEMENT Creator

(#PCDATA) >

18. SumPage
The SumPage element specifies the number of Views (visible pages for the BookSetting
element conditions) of the content.
<!ELEMENT SumPage

(#PCDATA) >

19. Keyword
The Keyword element specifies keywords necessary for searching the content.
<!ELEMENT Keyword

(#PCDATA) >

20. TOC
The TOC element specifies the table of the content information.
<!ELEMENT TOC

Do Not Copy

(TocLabel*) >

2003-2007 Sony Corporation

20

21. TocLabel
The TocLabel element specifies the character string shown as the table of content list. By
selecting the range defined by this string, it is possible to jump to the page showing that
content.
<!ELEMENT TocLabel

(#PCDATA) >

<!ATTLIST TocLabel
refobj CDATA
refpage CDATA

Attribute Name

Default Value

#REQUIRED
#REQUIRED

>

Data Type

Comments

refobj

Object ID

Specifies the objid of TextBlock,

(Required)

string

ImageBlock, SimpleTextBlock, ButtonBlock,


Canvas and MiniPage elements. An error
occurs when the specified objid does not
exist or when it is the objid except for the
above elements.

refpage

Object ID

Specifies the objid of the Page element.

(Required)

string

An error occurs when the specified objid


does not exist or when it is the objid
except for the Page element.

21.1

refobj

The refobj attribute specifies the objid of the element specified as the Jump target. The
element specified as objid should be located in the Page element specified as refpage.
21.2

refpage

The refpage attribute specifies the objid of the Page element including the element
specifying as the Jump target.

22. Main
The Main element specifies the Main content. In BBeB Book, it is possible to define
independent pages other than the main text, but these are defined under Solo.
<!ELEMENT Main

(Page+) >

23. Page
The Page element specifies the elements composed of the Page and the its layout
information itself. The attribute of the Page element is recommended to describe the only

Do Not Copy

2003-2007 Sony Corporation

21

different information from the PageStyle element information specified by "pagestyle".


<!ELEMENT Page (ShowOrder?,(TextBlock | ImageBlock | ButtonBlock | SimpleTextBlock |
BlockSpace | Wait | SoundStop | Canvas | MiniPage | Import | PageDiv |
RuledLine)*) >
<!ATTLIST Page
pagestyle CDATA
#REQUIRED
refbgimage CDATA
#IMPLIED
setemptyview (show | empty)
#IMPLIED
setwaitprop CDATA
#IMPLIED
pageposition (upper | lower | any)
#IMPLIED
oddheaderid CDATA
#IMPLIED
evenheaderid CDATA
#IMPLIED
oddfooterid CDATA
#IMPLIED
evenfooterid CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
evensidemargin CDATA
#IMPLIED
footheight CDATA
#IMPLIED
headheight CDATA
#IMPLIED
headsep CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
oddsidemargin CDATA
#IMPLIED
textheight CDATA
#IMPLIED
textwidth CDATA
#IMPLIED
topmargin CDATA
#IMPLIED
objid CDATA
#REQUIRED
footspace CDATA
#IMPLIED
objlabel CDATA
#IMPLIED >

Attribute Name
bgimagemode

Default Value

Data Type

Comments

String

Specifies fix, tile or


centering. A warning is
issued and the command
is not assigned when any
other character string is
specified. In addition, an
error occurs and the
command is not assigned
when the bgimagemode
attribute is not specified
at the same time.

evenfooterid

Object ID string

Specifies the objid of


the Footer element. A
warning is issued and
command is not assigned
when the specified objid
does not exist or when it
is the objid except for
the Footer element.

Do Not Copy

2003-2007 Sony Corporation

22

Object ID string

evenheaderid

Specifies the objid of


the Header element. A
warning is issued and
command is not assigned
when the specified objid
does not exist or when it
is the objid except for
the Header element.

evensidemargin

(Unsigned integer)

Decimal string

[dot]

footheight

(Signed integer)

Decimal string

[dot]

footspace

(Signed integer)

Decimal string

[dot]

headheight

(Signed integer)

Decimal string

[dot]

headsep

(Signed integer)

Decimal string

[dot]

String

Specifies LrTb or

layout

TbRl. A warning is
issued and the command
is not assigned when any
other string is specified.
String

objid

Specifies the only


character string in the file.

(Required)
Object ID string

oddfooterid

Specifies the objid of


the Footer element. A
warning is issued and the
command is not assigned
when the specified objid
does not exist or when it
is the objid except for
the Footer element.

Object ID string

oddheaderid

Specifies the objid of


the Header element. A
warning is issued and the
command is not assigned
when the specified objid
does not exist or when it
is the objid except for
the Header element.

oddsidemargin

Do Not Copy

(Unsigned integer)

Decimal string

[dot]

2003-2007 Sony Corporation

23

String

pageposition

Specifies upper, lower


or any. A warning is
issued and the command
is not assigned when a
character string other
than these is specified.

Style string

pagestyle

An error occurs when the


specified style string is

(Required)

not the PageStyle


element.
Object ID string

refbgimage

Specifies the objid of


the Image element. A
warning is issued and the
command is not assigned
when the specified objid
does not exist or when it
is the objid except for
the Image element. In
addition, a warning is
issued and the command
is not assigned when the
bgimagemode attribute
is not specified at the
same time.

String

setemptyview

Specifies show or
empty. A warning is
issued and the command
is not assigned for strings
other than these.

String

setwaitprop

Specifies replay or
noreplay. A warning is
issued and the command
is not assigned when the
specified string is not one
of these.

textheight

(Unsigned integer)

Decimal string

[dot]

textwidth

(Unsigned integer)

Decimal string

[dot]

Do Not Copy

2003-2007 Sony Corporation

24

(Signed integer)

topmargin
objlabel

Decimal string

[dot]

string

Specifies a character
string to identify this
element.

23.1

pagestyle

The pagestyle attribute specifies the "stylelabel" of the PageStyle element with necessary
information for the "Page" layout.
23.2

refbgimage

The refgbimage attribute specifies the objid of the Image element to be shown as the
background of the Page element. When the "objid" is not specified, the image is not
displayed.
23.3

setemptyview

The setemptyview attribute specifies whether to display a View with a Header and
Footer or a completely empty View when showing a blank page on the screen.
The Header and Footer are shown when the show is specified, and a completely
empty View is shown when the empty is specified.
23.4

setwaitprop

The setwaitprop attribute specifies the Wait process within the Page element. The
following table is used to specify whether the process is replayed.
Wait flag value

Operation
specification

23.5

replay

Replay

noreplay

No replay

pageposition

The pageposition attribute specifies whether the start position is the left page or the right
page on the 2 screen display.
upper is specified when it is shown on the upper side, lower is specified when it is
shown on the lower side, and any is specified when it is shown after the preceding page.
The bindingdirection attribute Rl (mostly vertical flow content) in the BookSetting
element:
upper means the start page is the right,
lower means the start page is the left.

Do Not Copy

2003-2007 Sony Corporation

25

The bindingdirection attribute Lr (mostly horizontal flow content) in the BookSetting


element:
upper means the start page is the left,
lower means the start page is the right.
23.6

oddheaderid

The oddheaderid attribute specifies the objid of the Header element shown in the odd
Page (upper page) on the 2 screen display .
23.7

evenheaderid

The evenheaderid attribute specifies the objid of the Header element shown in the even
Page (lower pages) on the 2 screen display .
23.8

oddfooterid

The oddfooterid attribute specifies the objid of the Footer element shown in the odd
Page (upper page) on the 2 screen display.
23.9

evenfooterid

The evenfooterid attribute specifies the objid of the Footer element shown in the even
Page (lower pages) on the 2 screen display.
23.10 bgimagemode
The bgimagemode attribute specifies how the Image specified in the refbgimage
attribute should be positioned.
The value is fix: The image position is at the origin of the main text area.
The value is tile: The images fill the main text area from the origin.
The value is center: The image position is the center of the main text area.

Example

fix

Do Not Copy

tile

centering

2003-2007 Sony Corporation

26

23.11 evensidemargin
The evensidemargin attribute sets the left margin of the Page layout composition on the
2 screen display:the left page in the horizontal layout, and the right page in the vertical
layout.
The value of the evensidemargin attribute should be used. If evensidemargin is not
specified, the value specified in oddsidemargin is used. oddsidemargin is given preference
when not using a two page spread.
23.12 footheight
The footheight attribute sets the footheight of the Page layout composition.
23.13 footspace
The footspace attribute sets the footspace of the Page layout composition.
23.14 headheight
The headheight attribute sets the headheight of the Page layout composition.
23.15 headsep
The headsep attribute sets the headsep of the Page layout composition.
23.16 layout
The layout attribute specifies the coordinate system of the Page element. When LrTb is
specified, the origin is in the top left, the X-axis is toward the right and the is toward the
bottom. When TbRl is specified, the origin is in the top right, the X-axis is toward the
bottom and the Y-axis is toward the left.
X

X
height
width

LrTb

TbRl

The coordinate system varies depending on the layout specified.


However, width and height remain unchanged.

Do Not Copy

2003-2007 Sony Corporation

27

23.17 oddsidemargin
The oddsidemargin attribute sets the left margin of the Page layout composition on the
2 screen display :
the right page in the horizontal layout,
the left page in the vertical layout. If the "oddsidemargin" is not specified, the value
specified in the "evensidemargin" is used.
On the 1 screen display, the value of the "oddsidemargin" from the "evensidemargin" is
used.
23.18 textheight
The textheight attribute sets the textheight of the Page layout composition.
23.19 textwidth
The textwidth attribute sets the textwidth of the Page layout composition.
23.20 topmargin
The topmargin attribute sets the topmargin of the Page layout composition.
23.21 objid
The objid attribute specifies a unique character string in the content for each element.
23.22 objlabel
The objlabel attribute specifies an identifiable name for the element.

24. ShowOrder
The ShowOrder element specifies the order of showing each element arranged on the Page
element. The layout is not changed by controlling how it is shown.
<!ELEMENT ShowOrder

(Show | Wait)* >

25. Show
The Show element specifies the element to be shown.
<!ELEMENT Show

EMPTY >

<!ATTLIST Show
refobj

Do Not Copy

CDATA

#REQUIRED

>

2003-2007 Sony Corporation

28

Attribute Name

Default Value

refobj

Data Type

Comments

Object ID string

Specifies the objid of the

(Required)

TextBlock, ImageBlock,
ButtonBlock, SimpleTextBlock,
Canvas and MiniPage elements. An
error occurs when the specified
objid does not exist or when it is the
objid except for the above
elements.

25.1

refobj

The refobj attribute specifies the objid of the element specified as the ShowOrder
target.

26. Wait
The Wait element specifies the timer control operation.
<!ELEMENT Wait

EMPTY >

<!ATTLIST Wait
time

CDATA

#REQUIRED

>

Attribute Name

Default Value

Data Type

time

(Signed

Decimal string

(Required)

integer)

26.1

Comments

time

The time attribute specifies the timer.


When the time is 0, it keeps waiting even for the input operation.
When the time is a positive value, nothing is done for the set time ( 100ms).
When the time is a negative value, nothing is done for the shorter time of which the
absolute value of the set time ( 100ms) or the input operation.
Example: nothing is done for 5 seconds.
<Wait time=50 />

27. TextBlock
The TextBlock element specifies the set up information of the "Block" and Text to express the
"Block" on the screen. The attribute of the TextBlock element is recommended to describe only

Do Not Copy

2003-2007 Sony Corporation

29

different information from the TextStyle and BlockStyle element information specified by
"textstyle" and blockstyle.
<!ELEMENT TextBlock

(P | SetText | CR | div)* >

<!ATTLIST TextBlock
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontescapement CDATA
#IMPLIED
fontorientation CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
column CDATA
#IMPLIED
columnsep CDATA
#IMPLIED
align (head | center | foot)
#IMPLIED
textlinewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
textstyle CDATA
#REQUIRED
fontweight CDATA
#IMPLIED
objid CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
blockstyle CDATA
#REQUIRED
blockwidth CDATA
#IMPLIED
footskip CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
framewidth CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
refbgimage CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
toclabel CDATA
#IMPLIED
topskip CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
objlabel CDATA
#IMPLIED
autoindex CDATA
#IMPLIED >

Attribute Name
align

Default Value

Data Type

Comments

String

Specifies head, center


or foot. A warning is
issued and the command
is not assigned when any
other character string is
specified.

Do Not Copy

2003-2007 Sony Corporation

30

baselineskip

(Signed

Decimal string

[pt]*10

integer)
bgcolor

COLORREF string

bgimagemode

String

Specifies fix, tile or


centering. A warning is
issued and the command
is not assigned when any
other character string is
specified. In addition, an
error occurs and the
command is not assigned
when the bgimagemode
attribute is not specified at
the same time.

blockheight

(Unsigned

Decimal string

[dot]

String

Specifies horz-fixed,

integer)
blockrule

horz-adjustable,
vert-fixed or
vert-adjustable as the
blockrule attribute of the
TextBlock element. The
command is not assigned
when any other character
string is specified.
Style string

blockstyle

An error occurs when the


specified style character

(Required)

string is not the same as


stylelabel of the
BlockStyle element.
blockwidth

(Unsigned

Decimal string

[dot]

Decimal string

[pt]*10

Decimal string

Specifies an integer
between 1 and 9. A
warning is issued and the
command is not assigned
when any other value is
specified.

integer)
charspace

(Signed
integer)

column

Do Not Copy

2003-2007 Sony Corporation

31

columnsep

(Signed

Decimal string

[pt]*10

Hexadecimal string

Specifies the character

integer)
empdotscode

code used as an emphasis


dot. In addition, a warning
is issued and the
command is not assigned
when the
empdotsfontname and
refempdotsfont attributes
are not specified at the
same time.
empdotsposition

String

Specifies before or
after. A warning is issued
and the command is not
assigned when any other
character string is
specified.

emplinetype

String

Specifies none, solid,


dotted, double or
dashed. A warning is
issued and the command
is not assigned when any
other character string is
specified.

emplineposition

String

Specifies before or
after. A warning is issued
and the command is not
assigned when any other
character string is
specified.

fontescapement

Decimal string

Specifies 0 or 2700. A
warning is issued and the
command is not assigned
when any other character
string is specified.

fontfacename

Do Not Copy

String

Specifies the font name.

2003-2007 Sony Corporation

32

Decimal string

fontorientation

Specifies 0 or 2700. A
warning is issued and the
command is not assigned
when any other character
string is specified.

fontsize

(Signed integer)

fontweight

Decimal string

[pt] * 10

Decimal string

Specifies a value between


1 and 1000. A warning
is issued and the
command is not assigned
when any other value is
specified.

fontwidth

(Signed integer)

Decimal string

[pt]*10
Specifies -10 when not
changing the font shape.

footskip

(Unsigned

Decimal string

[dot]

integer)
framecolor

COLORREF string

framemode

String

Specifies curve or
square. A warning is
issued and the command
is not assigned when any
other character string is
specified.

framewidth

(Unsigned

Decimal string

[dot]

String

Specifies LrTb or TbRl.

integer)
layout

A warning is issued and


the command is not
assigned when any other
character string is
specified.
letterspace

(Signed integer)

Decimal string

[pt]*10

COLORREF string

linecolor
linespace

(Signed integer)

Decimal string

[pt]*10

textlinewidth

(Unsigned

Decimal string

[pt]*10

String

Specifies the only

integer)
objid
(Required)

Do Not Copy

character string in the file.

2003-2007 Sony Corporation

33

parindent

(Signed integer)

Decimal string

[pt]*10

parskip

(Signed integer)

Decimal string

[pt]*10

Object ID string

Specifies the objid of the

refbgimage

Image element. A warning


is issued and the
command is not assigned
when the specified objid
does not exist or when it is
the objid except for the
Image element. In
addition, a warning is
issued and the command
is not assigned when the
bgimagemode attribute is
not specified at the same
time.
String

rubyalign

Specifies start or
center. A warning is
issued and the command
is not assigned when any
other character string is
specified.

String

rubyadjust

Specifies the line-edge


or none character string.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

String

rubyoverhang

Specifies the auto or


none character string. A
warning is issued and the
command is not assigned
when any other character
string is specified.

sidemargin

(Unsigned

Decimal string

[dot]

integer)
textbgcolor

COLORREF string

textcolor

COLORREF string

Do Not Copy

2003-2007 Sony Corporation

34

Style string

textstyle

An error occurs when the


specified style character

(Required)

string is not the same as


stylelabel of the
TextStyle element.
Specifies the character

toclabel

string used in the TOC list.


topskip

(Unsigned

Decimal string

[dot]

Decimal string

[pt]*10

String

Specifies the font name of

integer)
wordspace
empdotsfontname

(Signed integer)

the font used for


emphasis dots. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
refempdotsfont
attributes

are not

specified at the same


time.
refempdotsfont

Object ID String

Specifies the objid of the


Font element. A warning
is issued and the
command is not assigned
when the specified objid
does not exist or when it is
the objid except for the
Footer element. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
empdotsfontname
attributes

are not

specified at the same


time.

Do Not Copy

2003-2007 Sony Corporation

35

objlabel

String

Specifies a character
string to identify this
element.

autoindex
27.1

String

Specifies on or off.

fontsize

The fontsize attribute specifies the font size. Units are 10 times pt.
Example: To specify a font size of 10.5pt.
<TextBlock fontsize=105 />
27.2

fontwidth

The fontwidth attribute specifies the width of the font. Normally, the optimal width is
provided depending on the font size, but this is used when the width is changed
intentionally. Units are 10 times pt.
27.3

fontescapement

The fontescapement attribute specifies the character feed direction. 0 is specified for
horizontal font and 2700 is specified for vertical font. Other specifications are not
accepted.
27.4

fontorientation

The fontorientation attribute specifies the direction of character rotation. 0 is specified


for horizontal font and 2700 is specified for vertical font. Other specifications are not
accepted.
27.5

fontfacename

The fontfacename attribute specifies the name of the font to be used. The standard font is
used if nothing is specified.
27.6

textcolor

The textcolor attribute specifies the color of the text to be used. Black (0x00000000) is
used if nothing is specified.
27.7

textbgcolor

The textbgcolor attribute specifies the background color of the text. A transparent
(0xff000000) background is normally used if nothing is specified.
27.8

wordspace

The wordspace attribute specifies the width of spaces between words of Western
languages. Units are 10 times pt.

Do Not Copy

2003-2007 Sony Corporation

36

27.9

letterspace

The letterspace attribute the size of spaces between letters of Western languages. Units
are 10 times pt.
27.10 charspace
The charspace attribute specifies the size of spaces between Japanese characters. Units
are 10 times pt.
27.11 baselineskip
The baselineskip attribute specifies the space between the lines. Units are 10 times pt.
27.12 linespace
The linespace attribute specifies the minimum guaranteed space for the direction of lines.
Units are 10 times pt.
27.13 parindent
The parindent attribute specifies the start position of the first line of the paragraph. A
negative value means overhanging. The maximum value of overhanging is equal to that
specified in the sidemargin attribute. Units are 10 times pt.
27.14 parskip
The parskip attribute specifies the width of the spaces between paragraphs. Units are 10
times pt.
27.15 rubyalign
The rubyalign attribute specifies the alignment of the Ruby characters. The alignment
values are specified below.
Alignment value
Start

Center

aligned

aligned

start

center

27.16 rubyadjust
The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head
or end position of the Ruby Text at the line edge position line break refers to the method
used to line up the starting edge or ending edge when the Ruby Text is longer than the
Ruby Base.

Do Not Copy

2003-2007 Sony Corporation

37

Line break operation


value
Operation

Operation

used

not used

line-edge

none

27.17 rubyoverhang
The rubyoverhang attribute specifies whether the overhanging operation for the Ruby
character is executed or not. The operation values are specified below.
RubyOverhang

Overhang
Value

Overhang

auto

No overhang

none

27.18 empdotsposition
The empdotsposition attribute specifies the position of emphasis dots. The values are
specified below.
EmpDotsPosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
27.19 empdotscode
The empdotscode attribute specifies the character (or symbol) code used as an emphasis
dot.
27.20 emplineposition
The emplineposition attribute specifies the position of the emphasis line. The values are
specified below.

Do Not Copy

2003-2007 Sony Corporation

38

EmpLinePosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left,

after

horizontal layout: under)


27.21 emplinetype
The emplinetype attribute specifies the type of emphasis line. The values are specified
below.
Type of line

Line mode value

None

none

Solid line

solid

Dotted line

dotted

Dashed line

dashed

Double line

double

27.22 column
The column attribute specifies the step number of columns.
27.23 columnsep
The columnsep attribute specifies the space between columns. Units are 10 times pt.
27.24 align
The align attribute specifies the alignment direction of the text.
Direction

Value

Head

head

Center

center

Foot

foot

27.25 textlinewidth
The textlinewidth attribute specifies the line width for the Empline and Box elements.
Units are 10 times pt.
27.26 linecolor
The linecolor attribute specifies the line color for the Empline and Box elements.

Do Not Copy

2003-2007 Sony Corporation

39

27.27 textstyle
The textstyle attribute specifies the stylelabel of the TextStyle element that specifies the
information necessary for rendering the text.
27.28 fontweight
The fontweight attribute specifies the weight of the text. The value 400 is normal weight
and 800 is Bold.
27.29 objid
The objid attribute specifies a unique character string in the content for each element.
27.30 bgcolor
The bgcolor attribute specifies the background color of the Block.
27.31 bgimagemode
The bgimagemode attribute specifies how the Image specified in the refbgimage
attribute should be positioned.
The value is fix: The image position is at the origin of the Block.
The value is tile: The images fill the Block from the origin.
The value is center: The image position is in the center of the Block.
Example

fix

tile

centering

27.32 blockheight
The blockheight attribute specifies the height of the Block.
27.33 blockrule
The blockrule attribute specifies how to expand the Block size when the customer is
increasing character size on the viewer devices. The values for the TextBlock element are
specified horz-fixed, horz-adjustable, vert-fixed and vert-adjustable.

Do Not Copy

2003-2007 Sony Corporation

40

Rule Value

Rule

horz-fixed

Block width cannot be changed.

horz-adjustable

Block width may be changed.

vert-fixed

Block height cannot be changed.

vert-adjustable

Block height may be changed.

block-fixed

Block width and height cannot be


changed.

block-adjustable

Block width and height may be


changed proportionally.

27.34 blockstyle
The blockstyle attribute specifies the stylelabel of the BlockStyle element specifying the
information necessary for rendering the text.
27.35 blockwidth
The blockwidth attribute specifies the width of the Block.
27.36 footskip
The footskip attribute sets the footskip of the Block layout composition.
27.37 framecolor
The framecolor attribute specifies the frame color of the Block.
27.38 framemode
The framemode attribute specifies the frame type of the Block. It is possible to specify
two types of frame: square means right angles in four corners and curve means
rounded corners.
27.39 framewidth
The framewidth attribute specifies the frame line width of the Block. When this value is
0 or not specified, no frame is rendered.
27.40 layout
The layout attribute specifies the coordinate system of the TextBlock element. When
LrTb is specified, the origin is in the top left, the X-axis is toward the right and the Y-axis is
toward the bottom. When TbRl is specified, the origin is in the top right, the X-axis is
toward the bottom and the Y-axis is toward the left.

Do Not Copy

2003-2007 Sony Corporation

41

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, width and height remain unchanged.

27.41 refbgimage
The refgbimage attribute specifies the objid of the Image element to be shown as the
background of the TextBlock element. No image is shown if the objid is not specified.
27.42 sidemargin
The sidemargin attribute sets the sidemargin of the Block layout composition.
27.43 toclabel
The toclabel attribute specifies the character string to be shown as the TOC list on the
viewer devices. If the toclabel is specified, the Authoring tool picks up this labels
information and sets this label into the TOC element information in auto TOC creation
mode.
27.44 topskip
The topskip attribute specifies the topskip of the Block layout composition.
27.45 empdotsfontname
The empdotsfontname attribute specifies the font name of the character (or symbol) used
as emphasis dots.
27.46 refempdotsfont
The refempdotsfont attribute specifies the objid of the Font element used as emphasis
dots. When the value is 0, the font of the main text is used.
27.47 objlabel
The objlabel attribute specifies an identifiable name for the element.

Do Not Copy

2003-2007 Sony Corporation

42

27.48 autoindex
The autoindex attribute specifies whether the same character string from the text content
(the first P element)is used as toclabel or not. The value on means to use it
automatically at content creation process. The value off means not to use it.

28. P
The P element specifies the minimum unit in the document. In a general novel, this means
Paragraph. This P element is handled as the smallest unit that can be specified as an
electronic expression.

<!ELEMENT P %DrawChar; >


<!ATTLIST P
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED
refesound CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED >
<!ENTITY % DrawChar "(#PCDATA | Plot | CR | PlotText | Fill | Space | CharButton |
Rubi | Yoko | Tate | Nekase | Sup | Sub | NoBR | EmpLine | EmpDots |
DrawChar | Box | AutoSpacing | Gaiji | AltString | Span | Italic |
Bold)*" >

Attribute Name

Default Value

Data Type

Comments

baselineskip

(Signed

Decimal string

[pt]*10

Decimal string

[pt]*10

integer)
charspace

(Signed
integer)

Do Not Copy

2003-2007 Sony Corporation

43

Hexadecimal string

empdotscode

Specifies the character


code used as an
emphasis dot. In addition,
a warning is issued and
the command is not
assigned when the
empdotsfontname and
refempdotsfont
attributes are not
specified at the same
time.

String

empdotsposition

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

String

emplinetype

Specifies none, solid,


dotted, double or
dashed as the line mode
value. A warning is issued
and the command is not
assigned when any other
character string is
specified.

String

emplineposition

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

fontfacename
fontsize

(Signed

String

Specify the font name.

Decimal string

[pt]*10

Decimal string

Specify a value between

integer)
fontweight

1 and 1000. A warning


is issued and the
command is not assigned
when any other value is
specified.

Do Not Copy

2003-2007 Sony Corporation

44

fontwidth

(Signed

Decimal string

integer)

[pt]*10
Specifies -10 when not
changing the font shape.

letterspace

(Signed

Decimal string

[pt]*10

integer)
COLORREF string

linecolor
linespace

(Signed

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

Specifies the objid of the

integer)
textlinewidth

(Signed
integer)

parindent

(Signed
integer)

parskip

(Signed
integer)

refesound

eSound element. An error


occurs when the object for
the specified objid does
not exist or the specified
objid is not for the
eSound element.
rubyalign

String

Specifies the start or


center character string.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

rubyadjust

String

Specifies the line-edge


or none character string.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

Do Not Copy

2003-2007 Sony Corporation

45

String

rubyoverhang

Specifies the auto or


none character string. A
warning is issued and the
command is not assigned
when any other character
string is specified.

textbgcolor

COLORREF string

textcolor

COLORREF string

wordspace

(Signed

Decimal string

[pt]*10

String

Specifies the font name of

integer)
empdotsfontname

the font used for


emphasis dots. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
refempdotsfont
attributes

are not

specified at the same


time.
refempdotsfont

Object ID string

Specifies the objid of the


Font element. A warning
is issued and the
command is not assigned
when the specified objid
does not exist or when it
is the objid except for
the Footer element. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
empdotsfontname
attributes are not
specified at the same
time.

Do Not Copy

2003-2007 Sony Corporation

46

28.1

fontsize

The fontsize attribute specifies the font size. Units are 10 times pt.
Example: To specify a font size of 10.5pt.
<TextBlock fontsize=105 />
28.2

fontwidth

The fontwidth attribute specifies the width of the font. Normally, the optimal width is
provided depending on the font size, but this is used when the width is changed
intentionally. Units are 10 times pt.
28.3

fontweight

The fontweight attribute specifies the weight of the text. The value 400 is normal weight
and 800 is Bold.
28.4

fontfacename

The fontfacename attribute specifies the name of the font to be used.


28.5

textcolor

The textcolor attribute specifies the color of the text to be used. Black (0x00000000) is
used if nothing is specified.
28.6

textbgcolor

The textbgcolor attribute specifies the background color of the text. A transparent
(0xff000000) background is normally used if nothing is specified.
28.7

wordspace

The wordspace attribute specifies the width of spaces between words of Western
languages. Units are 10 times pt.
28.8

charspace

The charspace attribute specifies the size of spaces between Japanese characters. Units
are 10 times pt.
28.9

letterspace

The letterspace attribute specifies the size of spaces between letters of Western
languages. Units are 10 times pt.
28.10 baselineskip
The baselineskip attribute specifies the space between the lines. Units are 10 times pt.

Do Not Copy

2003-2007 Sony Corporation

47

28.11 linespace
The linespace attribute specifies the minimum guaranteed space for the direction of lines.
Units are 10 times pt.
28.12 parindent
The parindent attribute specifies the start position of the first line of the paragraph. A
negative value means overhanging. The maximum value of overhanging is equal to that
specified in the sidemargin attribute. Units are 10 times pt.
28.13 parskip
The parskip attribute specifies the width of the spaces between paragraphs. Units are 10
times pt.
28.14 rubyalign
The rubyalign attribute specifies the alignment of the Ruby Text. The alignment values
are specified below.
Alignment value
Start

Center

aligned

aligned

start

center

28.15 rubyadjust
The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head
or end position of the Ruby Text at the line edge position when the Ruby Text is longer
than the Ruby Base.
Line break operation
value
Operation

Operation

used

not used

line-edge

none

28.16 rubyoverhang
The rubyoverhang attribute specifies whether the overhanging operation for the Ruby
character is executed or not. The operation values are specified below.

Do Not Copy

2003-2007 Sony Corporation

48

RubyOverhang

Overhang
Value

Overhang

auto

No overhang

none

28.17 empdotsposition
The empdotsposition attribute specifies the position of emphasis dots. The values are
specified below.
EmpDotsPosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
28.18 empdotscode
The empdotscode attribute specifies the character (or symbol) code used as an emphasis
dot.
28.19 emplineposition
The emplineposition attribute specifies the position of the emphasis line. The values are
specified below.
EmpLinePosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
28.20 emplinetype
The emplinetype attribute specifies the type of the emphasis line. The values are
specified below.

Do Not Copy

2003-2007 Sony Corporation

49

Type of

Line mode value

line
None

none

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
28.21 linecolor
The linecolor attribute specifies the line color for the Empline and Box elements.
28.22 textlinewidth
The textlinewidth attribute specifies the line width for the Empline and Box elements.
Units are 10 times pt.
28.23 refesound
The refesound attribute specifies the objid of the eSound element used as the
embedded sound playback. If an embedded sound is specified here, the sound is played
back at the same time of the P element showing.
28.24 empdotsfontname
The empdotsfontname attribute specifies the font name of the character (or symbol) used
as emphasis dots.
28.25 refempdotsfont
The refempdotsfont attribute specifies the objid of the Font element used as emphasis
dots. When the value is 0, the font of the main text is used.

29. Plot
The Plot element specifies the inline image and button.
<!ELEMENT Plot

(#PCDATA) >

<!ATTLIST Plot
xsize CDATA
#REQUIRED
ysize CDATA
#REQUIRED
refobj CDATA
#REQUIRED
adjustment (center | baseline | top | bottom)
>

Do Not Copy

"bottom"

2003-2007 Sony Corporation

50

Attribute Name

Default Value

Data Type

Comments

adjustment

bottom

String

Specifies center, baseline,


top or bottom. A warning is
issued and bottom is assigned
when a character string other
than these is specified.

Object ID string

refobj
(Required)

Specifies the objid of the


Image or Button element. An
error occurs when the object for
the objid does not exist or the
specified objid is not for the
Image or Button element.

xsize

(Unsigned

(Required)

integer)

ysize

(Unsigned

(Required)

integer)

29.1

Decimal string

[pt]*10

Decimal string

[pt]*10

xsize

The xsize attribute specifies the X direction size of the inline image or inline button. Units
are 10 times pt.
29.2

ysize

The ysize attribute specifies the Y direction size of the inline image or inline button. Units
are 10 times pt.
29.3

refobj

The refobj attribute specifies the objid of the element (the Image and Button elements)
specified as the inline target.
29.4

adjustment

The adjustment attribute specifies the position of the inline image or inline button for the
text line.
In case of the horizontal layout; The value top is to match the top edge of both the inline
image and botton, and the text line. The value center is to match the centerline of both.
The value baseline means to match the baseline of both. The value bottom means to
match the bottom edge of both.
In case of the vertical layout; The value top is to match the right edge of both the inline

Do Not Copy

2003-2007 Sony Corporation

51

image and botton, and the text line. The value center is to match the centerline of both.
The value baseline means to match the baseline of both. The value bottom means to
match the left edge of both.

30. CR
The CR element specifies a compulsory line break. When this is specified immediately after the
P element, the baseline space is the sum of the baselineskip and parskip.
<!ELEMENT CR

EMPTY >

31. PlotText
The PlotText element specifies the inline text . If the length of the inline text is longer than the
length specified as the xsize attribute, the inline text is rendered in the plural lines.
<!ELEMENT PlotText

EMPTY >

<!ATTLIST PlotText
refobj CDATA
#REQUIRED
adjustment (center | baseline | top | bottom)
xsize

CDATA

#REQUIRED

"bottom"

>

Attribute Name

Default Value

Data Type

Comments

adjustment

bottom

String

Specifies center, baseline,


top, and bottom. A warning is
issued and bottom is assigned
when a character string other
than these is specified.

Object ID string

refobj
(Required)

Specifies the objid of the Text


or SimpleText element. An error
occurs when the object for the
objid does not exist or the
specified objid is not for the
Text element.

xsize

(Unsigned

(Required)

integer)

31.1

Decimal string

[pt]*10

refobj

The refobj attribute specifies the objid of the element (the Text and SimpleText
elements) specified as inline text target.

Do Not Copy

2003-2007 Sony Corporation

52

31.2

adjustment

The adjustment attribute specifies the position of the inline image or inline button for the
text line.
In case of the horizontal layout; The value top is to match the top edge of both the inline
image or inline button and the text line. The value center is to match the centerline of both.
The value baseline means to match the baseline of both. The value bottom means to
match the bottom edge of both.
In case of the vertical layout; The value top is to match the right edge of both the inline
image and botton, and the text line. The value center is to match the centerline of both.
The value baseline means to match the baseline of both. The value bottom means to
match the left edge of both.
31.3

xsize

The xsize attribute specifies the X direction size of the inline text. Units are 10 times pt.

32. Fill
The Fill element specifies the lead character, which has variable length.
<!ELEMENT Fill

EMPTY >

<!ATTLIST Fill
code CDATA

Attribute Name

#REQUIRED >

Data Type

Comments

code

Hexadecim

Can be specified between 0x0020 and

(Required)

al string

0xffff.

32.1

Default Value

code

The code attribute specifies the character code number (UTF-16) that is used in the Fill
element.

33. Space
The Space element specifies the spacing and kerning between characters.
<!ELEMENT Space

EMPTY >

<!ATTLIST Space
xsize CDATA

Do Not Copy

#REQUIRED >

2003-2007 Sony Corporation

53

Attribute Name

Default Value

Data Type

Comments

xsize

(Signed

Decimal

[dot]

(Required)

integer)

string

33.1

xsize

The xsize attribute specifies the space in the X-axis direction. The kerning is performed
when a negative value is specified.

34. CharButton
The CharButton element specifies the text button set some actions.
<!ELEMENT CharButton %SimpleChar1; >
<!ATTLIST CharButton
refobj CDATA

#REQUIRED >

<!ENTITY % SimpleChar1 "(#PCDATA | Rubi | Gaiji | Box | EmpDots | EmpLine |


AutoSpacing | AltString | Sub | Sup | Space)*" >

Attribute Name

Default Value

refobj

Data Type

Comments

Object ID string

Specifies the objid of the Button


element. An error occurs when the

(Required)

object for the specified objid does


not exist or the specified objid is not
for the Button element.
34.1

refobj

The refobj attribute specifies the objid of the element (the Button element) specified as
the Button character target.

35. Rubi
The Rubi element specifies the Ruby Text and the Ruby Base.
<!ELEMENT Rubi (Oyamoji,Rubimoji)+ >

36. Oyamoji
The Oyamoji element specifies the Ruby Base. The character string specified in the Rubimoji
element defined immediately afterwards is drawn with the ruby base specified here.

Do Not Copy

2003-2007 Sony Corporation

54

<!ELEMENT Oyamoji %SimpleChar0; >


<!ENTITY % SimpleChar0 "(#PCDATA | Gaiji | AltString)*" >

37. Gaiji
The Gaiji element specifies the character code (UTF-16) of the external character and the
alternative character string in case the external character cannot be rendered.
<!ELEMENT Gaiji (#PCDATA) >
<!ATTLIST Gaiji
refobj CDATA
#REQUIRED
fontfacename CDATA
#IMPLIED
code CDATA
#REQUIRED >

Attribute Name

Default Value

Code

Data Type

Comments

Hexadecimal string

Can be specified between


0x0020 and 0xffff.

(Required)
fontfacename

String

Specifies the font name.

Object ID string

Specifies the objid of the

(Required)
Refobj
(Required)

Font element. An error occurs


when the object for the
specified objid does not exist
or the specified objid is not
for the Font element.

37.1

refobj

The refobj attribute specifies the objid of the element (the Font element) specified as the
Gaiji character target.
37.2

fontfacename

The fontfacename attribute specifies the name of the font to be used.


37.3

code

The code attribute specifies the character code that is used as the external character.

38. AltString
The AltString element specifies the alternative character string. The alternative character
string is used when the display device cannot render the original character string.
<!ELEMENT AltString (Org,Alt) >

Do Not Copy

2003-2007 Sony Corporation

55

39. Org
The Org element specifies the original character string that customer want.
<!ELEMENT Org (#PCDATA) >

40. Alt
The Alt element specifies the alternative character string instead of the Org element.
<!ELEMENT Alt (#PCDATA) >

41. Rubimoji
The Rubimoji element specifies the Ruby Text for the Ruby Base specified in the Oyamoji
element.
<!ELEMENT Rubimoji %SimpleChar0; >

42. Box
The Box element specifies the character string to be surrounded by a box line.
<!ELEMENT Box %SimpleChar0; >
<!ATTLIST Box
linetype CDATA

Attribute Name

Default Value

linetype

#IMPLIED >

Data Type

Comments

String

solid, dotted, dashed or double is


selected.

(Required)
42.1

linetype

The linetype attribute specifies the line type of the box. The values are specified below.
Type of line Line mode value

Do Not Copy

Solid line

Solid

Dotted line

Dotted

Dashed line

Dashed

Double line

Double

2003-2007 Sony Corporation

56

43. EmpDots
The EmpDots element specifies the character string that is added the emphasis dots.
<!ELEMENT EmpDots %SimpleChar0; >
<!ATTLIST EmpDots
empdotscode CDATA
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED >

Attribute Name
Empdotscode

Default Value

Data Type

Comments

Hexadecimal string

Specifies the character


code used as an
emphasis dot. In addition,
a warning is issued and
the command is not
assigned when the
empdotsfontname and
refempdotsfont
attributes are not
specified at the same
time.

Empdotsposition

String

Specifies before or
after. A warning is issued
and the command is not
assigned when any other
character string is
specified.

Empdotsfontname

String

Specifies the font name


used as the emphasis
dots. In addition, a
warning is issued and the
command is not assigned
when the empdotscode
and refempdotsfont
attributes

are not

specified at the same


time.

Do Not Copy

2003-2007 Sony Corporation

57

Object ID string

Refempdotsfont

Specifies the objid of the


Font element. A warning
is issued and command is
not assigned when the
specified objid does not
exist or when it is the
objid except for the
Footer element. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
empdotsfontname
attributes

are not

specified at the same


time.
43.1

empdotsposition

The empdotsposition attribute specifies the position of emphasis dots. The values are
specified below.
EmpDotsPosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
43.2

empdotscode

The empdotscode attribute specifies the character (or symbol) code used as an
emphasis dot.
43.3

empdotsfontname

The empdotsfontname attribute specifies the font name of the character (or symbol) used
as emphasis dots.
43.4

refempdotsfont

The refempdotsfont attribute specifies the objid of the Font element used as emphasis
dots. When the value is 0, the font of the main text is used.

Do Not Copy

2003-2007 Sony Corporation

58

44. EmpLine
The Empline element specifies the character string that is added the emphasis line.
<!ELEMENT EmpLine %SimpleChar0; >
<!ATTLIST EmpLine
emplinetype CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED >

Attribute Name

Default Value

emplinetype

Data Type

Comments

String

Specifies none, solid, dotted, dashed


or double. A warning is issued and the
command is not assigned when any other
character string is specified.

String

emplineposition

Specifies before or after. A warning is


issued and the command is not assigned
when any other character string is specified.

44.1

emplineposition

The emplineposition attribute specifies the position of the emphasis line. The values are
specified below.
EmpLinePosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
44.2

emplinetype

The emplinetype attribute specifies the type of emphasis line. The values are specified
below.
Type of

Line mode value

line
None

none

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line

Do Not Copy

2003-2007 Sony Corporation

59

45. AutoSpacing
The AutoSpacing element specifies the character string to equalize space. The width of the
equalized space is set by the space attribute.
<!ELEMENT AutoSpacing %SimpleChar0; >
<!ATTLIST AutoSpacing
space CDATA

#REQUIRED >

Attribute Name

Default Value

Data Type

Comments

space

(Unsigned

Decimal

Specifies the

(Required)

integer)

string

number of
characters.

45.1

space

The space attribute specifies the secured length as the AutoSpacing element.

46. Sub
The Sub element specifies a subscript character string.
<!ELEMENT Sub %SimpleChar0; >

47. Sup
The Sub element specifies a superscript character string.
<!ELEMENT Sup %SimpleChar0; >

48. Yoko
The Yoko element specifies the character string that is changed the baseline direction to
horizontal in the vertical layout.
<!ELEMENT Yoko %SimpleChar0; >

49. Tate
The Tate element specifies the Western character string that is rotated 90 degrees counter
clockwise in the vertical layout.
<!ELEMENT Tate %SimpleChar2; >
<!ENTITY % SimpleChar2 "(#PCDATA | Gaiji | Plot | AltString)*" >

Do Not Copy

2003-2007 Sony Corporation

60

50. Nekase
The Nekase element specifies the vertical character string that is rotated 90 degrees clockwise
in the vertical layout.
<!ELEMENT Nekase %SimpleChar2; >

51. NoBR
The NoBR element specifies the character string that is not allowed to divide.
<!ELEMENT NoBR %SimpleChar1; >

52. DrawChar
The DrawChar element specifies the drop caption character.
<!ELEMENT DrawChar %SimpleChar0; >
<!ATTLIST DrawChar
line CDATA

#REQUIRED >

Attribute Name

Default Value

Data Type

Comments

line

(Unsigned

Decimal

Specifies the number of lines. An error

(Required)

integer)

string

occurs when not specified.

52.1

line

The line attribute specifies the number of lines for the characters specified as drop
caption.

53. Span
The Span element specifies the particular portion of the text where the text attributes are
needed to change.
<!ELEMENT Span %DrawChar; >
<!ATTLIST Span
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none) #IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED

Do Not Copy

2003-2007 Sony Corporation

61

emplinetype CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED
spanstyle CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED >

Attribute Name

Default Value

Data Type

Comments

charspace

(Signed

Decimal s

[pt]*10

Hexadecimal string

Specifies the character

integer)
empdotscode

code used as an
emphasis dot. In addition,
a warning is issued and
the command is not
assigned when the
empdotsfontname and
refempdotsfont
attributes are not
specified at the same
time.
empdotsposition

String

Specifies before or
after. A warning is
issued and the command
is not assigned when a
character string other
than these is specified.

emplinetype

String

Specifies none, solid,


dashed, dotted or
double as the line mode
value. A warning is issued
and the command is not
assigned when any other
character string is
specified.

emplineposition

String

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

Do Not Copy

2003-2007 Sony Corporation

62

fontfacename
fontsize

(Signed

String

Specifies the font name.

Decimal string

[pt]*10

Decimal string

Specifies a value between

integer)
fontweight

1 and 1000. A warning


is issued and the
command is not assigned
when any other value is
specified..
fontwidth

(Signed

Decimal string

[pt]*10

integer)

Specifies -10 when not


changing the font shape.

letterspace

(Signed

Decimal string

[pt]*10

integer)
COLORREF string

linecolor
textlinewidth

(Unsigned

Decimal character string

[pt]*10

String

Specifies the start or

integer)
rubyalign

center character string.


A warning is issued and
the command is not
assigned when any other
character string is
specified.
rubyadjust

String

Specifies the line-edge


or none character string.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

rubyoverhang

String

Specifies the auto or


none character string. A
warning is issued and the
command is not assigned
when any other character
string is specified.

textbgcolor

COLORREF string

textcolor

COLORREF string

Do Not Copy

2003-2007 Sony Corporation

63

(Signed

wordspace

Decimal string

[pt]*10

String

Specifies the font name of

integer)
empdotsfontname

the font used for


emphasis dots. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
refempdotsfont
attributes

are not

specified at the same


time.
refempdotsfont

Object ID string

Specifies the objid of the


Font element. A warning
is issued and command is
not assigned when the
specified objid does not
exist or when it is the
objid except for the
Footer element. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
empdotsfontname
attributes are not
specified at the same
time.

Style string

spanstyle

An error occurs when the


specified style character
string is not the same as
stylelabel of the
SpanStyle element.

53.1

fontsize

The fontsize attribute specifies the font size. Units are 10 times pt.
Example: To specify a font size of 10.5pt.
<TextBlock fontsize=105 />

Do Not Copy

2003-2007 Sony Corporation

64

53.2

fontwidth

The fontwidth attribute specifies the width of the font. Normally, the optimal width is
provided depending on the font size, but this is used when the width is changed
intentionally. Units are 10 times pt.
53.3

fontweight

The fontweight attribute specifies the weight of the text. The value 400 is normal weight
and 800 is Bold.
53.4

fontfacename

The fontfacename attribute specifies the name of the font to be used.


53.5

textcolor

The textcolor attribute specifies the color of the text to be used. Black (0x00000000) is
used if nothing is specified.
53.6

textbgcolor

The textbgcolor attribute specifies the background color of the text. A transparent
(0xff000000) background is normally used if nothing is specified.
53.7

wordspace

The wordspace attribute specifies the width of spaces between words of Western
languages. Units are 10 times pt.
53.8

charspace

The charspace attribute specifies the size of spaces between Japanese characters. Units
are 10 times pt.
53.9

letterspace

The letterspace attribute specifies the size of spaces between letters of Western
languages. Units are 10 times pt.
53.10 parindent
The parindent attribute specifies the start position of the first line of the paragraph. A
negative value means overhanging. The maximum value of overhanging is equal to that
specified in the sidemargin attribute. Units are 10 times pt.
53.11 parskip
The parskip attribute specifies the width of the spaces between paragraphs. Units are 10
times pt.

Do Not Copy

2003-2007 Sony Corporation

65

53.12 rubyalign
The rubyalign attribute specifies the alignment of the Ruby Text. The alignment values
are specified below.
Alignment value
Start

Center

aligned

aligned

start

center

53.13 rubyadjust
The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head
or end position of the Ruby Text at the line edge position when the Ruby Text is longer
than the Ruby Base.
Line break operation
value
Operation

Operation

used

not used

line-edge

none

53.14 rubyoverhang
The rubyoverhang attribute specifies whether the overhanging operation for the Ruby
character is executed or not. The operation values are specified below.
RubyOverhang

Overhang
Value

Overhang

auto

No overhang

none

53.15 empdotsposition
The empdotsposition attribute specifies the position of emphasis dots. The values are
specified below.
EmpDotsPosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)

Do Not Copy

2003-2007 Sony Corporation

66

53.16 empdotscode
The empdotscode attribute specifies the character (or symbol) code used as an emphasis
dot.
53.17 emplineposition
The emplineposition attribute specifies the position of the emphasis line. The values are
specified below.
EmpLinePosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
53.18 emplinetype
The emplinetype attribute specifies the type of emphasis line. The values are specified
below.
Type of

Line mode value

line
None

none

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
53.19 linecolor
The linecolor attribute specifies the line color for the Empline and Box elements.
53.20 textlinewidth
The textlinewidth attribute specifies the lines width for the Empline and Box elements.
Units are 10 times pt.
53.21 spanstyle
The spanstyle attribute specifies the stylelabel of the SpanStyle element specifying the
information necessary for rendering the text.

Do Not Copy

2003-2007 Sony Corporation

67

53.22 empdotsfontname
The empdotsfontname attribute specifies the font name of the character (or symbol) used
as emphasis dots.
53.23 refempdotsfont
The refempdotsfont attribute specifies the objid of the Font element used as emphasis
dots. When the value is 0, the font of the main text is used.

54. Italic
The Italic element specifies the character string in italics.
<!ELEMENT Italic %DrawChar; >

55. Bold
The Bold element specifies the character string in bold.
<!ELEMENT Bold %DrawChar; >

56. SetText
The SetText element specifies the attribute change for the text.
<!ELEMENT SetText

EMPTY >

<!ATTLIST SetText
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none) #IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED >

Do Not Copy

2003-2007 Sony Corporation

68

Attribute Name

Default Value

Data Type

Comments

charspace

(Signed

Decimal string

[pt]*10

Hexadecimal string

Specifies the character

integer)
empdotscode

code used as an
emphasis dot. In addition,
a warning is issued and
the command is not
assigned when the
empdotsfontname and
refempdotsfont
attributes are not
specified at the same
time.
String

empdotsposition

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

String

emplinetype

Specifies none, solid,


dotted, dashed or
double as the line mode
value. A warning is issued
and the command is not
assigned when any other
character string is
specified.

String

emplineposition

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

fontfacename
fontsize

(Signed

String

Specifies the font name.

Decimal string

[pt]*10

integer)

Do Not Copy

2003-2007 Sony Corporation

69

Decimal string

fontweight

Specify a value between


"1" and "1000". A warning
is issued and the
command is not assigned
when any other value is
specified.

fontwidth

(Signed

Decimal string

integer)

[pt]*10 Specifies "-10"


when not changing the
font shape.

letterspace

(Signed

Decimal string

[pt]*10

integer)
COLORREF string

linecolor
textlinewidth

(Unsigned

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

String

Specifies the start or

integer)
parindent

(Signed
integer)

parskip

(Signed
integer)

rubyalign

center character string.


A warning is issued and
the command is not
assigned when any other
character string is
specified.
rubyadjust

String

Specifies the line-edge


or none character string.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

rubyoverhang

String

Specifies the auto or


none character string. A
warning is issued and the
command is not assigned
when any other character
string is specified.

textbgcolor

Do Not Copy

COLORREF string

2003-2007 Sony Corporation

70

COLORREF string

textcolor
(Signed

wordspace

Decimal string

[pt]*10

String

Specifies the font name of

integer)
empdotsfontname

the font used for


emphasis dots. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
refempdotsfont
attributes are not
specified at the same
time.
Object ID string

refempdotsfont

Specifies the objid of the


Font element. A warning
is issued and the
command is not assigned
when the specified objid
does not exist or when it
is the objid except for
the Footer element. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
empdotsfontname
attributes are not
specified at the same
time.

baselineskip

(Signed

Decimal string

[pt]*10

Decimal string

[pt]*10

integer)
(Signed

linespace

integer)
56.1

fontsize

The fontsize attribute specifies the font size. Units are 10 times pt.
Example: To specify a font size of 10.5pt.
<TextBlock fontsize=105 />

Do Not Copy

2003-2007 Sony Corporation

71

56.2

fontwidth

The fontwidth attribute specifies the width of the font. Normally, the optimal width is
provided depending on the font size, but this is used when the width is changed
intentionally. Units are 10 times pt.
56.3

fontweight

The fontweight attribute specifies the weight of the text. The value 400 is normal weight
and 800 is Bold.
56.4

fontfacename

The fontfacename attribute specifies the name of the font to be used.


56.5

textcolor

The textcolor attribute specifies the color of the text to be used. Black (0x00000000) is
used if nothing is specified.
56.6

textbgcolor

The textbgcolor attribute specifies the background color of the text. A transparent
(0xff000000) background is normally used if nothing is specified.
56.7

wordspace

The wordspace attribute specifies the width of spaces between words of Western
languages. Units are 10 times pt.
56.8

letterspace

The letterspace attribute specifies the size of spaces between letters of Western
languages. Units are 10 times pt.
56.9

charspace

The charspace attribute specifies the size of spaces between Japanese characters. Units
are 10 times pt.
56.10 parindent
The parindent attribute specifies the start position of the first line of the paragraph. A
negative value means overhanging. The maximum value of overhanging is equal to that
specified in the sidemargin attribute. Units are 10 times pt.
56.11 parskip
The parskip attribute specifies the width of the spaces between paragraphs. Units are 10
times pt.

Do Not Copy

2003-2007 Sony Corporation

72

56.12 textlinewidth
The textlinewidth attribute specifies the lines width for the Empline and Box elements.
Units are 10 times pt.
56.13 linecolor
The linecolor attribute specifies the line color for the Empline and Box elements.
56.14 rubyalign
The rubyalign attribute specifies the alignment of the Ruby Text. The alignment values
are specified below.
Alignment value
Start

Center

aligned

aligned

start

center

56.15 rubyadjust
The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head
or end position of the Ruby Text at the line edge position when the Ruby Text is longer
than the Ruby Base.
Line break operation
value
Operation

Operation

used

not used

line-edge

none

56.16 rubyoverhang
The rubyoverhang attribute specifies whether the overhanging operation for the Ruby
character is executed or not. The operation values are specified below.
RubyOverhang

Overhang
Value

Do Not Copy

Overhang

auto

No overhang

none

2003-2007 Sony Corporation

73

56.17 empdotsposition
The empdotsposition attribute specifies the position of emphasis dots. The values are
specified below.
EmpDotsPosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
56.18 empdotscode
The empdotscode attribute specifies the character (or symbol) code used as an emphasis
dot.
56.19 emplineposition
The emplineposition attribute specifies the position of the emphasis line. The values are
specified below.
EmpLinePosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
56.20 emplinetype
The emplinetype attribute specifies the type of the emphasis line. The values are
specified below.
Type of

Line mode value

line
None

none

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line

Do Not Copy

2003-2007 Sony Corporation

74

56.21 empdotsfontname
The empdotsfontname attribute specifies the font name of the character (or symbol) used
as emphasis dots.
56.22 refempdotsfont
The refempdotsfont attribute specifies the objid of the Font element used as emphasis
dots. When the value is 0, the font of the main text is used.
56.23 baselineskip
The baselineskip attribute specifies the space between the lines. Units are 10 times pt.
56.24 linespace
The linespace attribute specifies the minimum guaranteed space for the direction of lines.
Units are 10 times pt.

57. div
The div element specifies the attribute change for the plural P elements at once.
<!ELEMENT div (P*) >
<!ATTLIST div
charspace CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
empdotsposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
fontsize CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none) #IMPLIED
textbgcolor CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED >

Attribute Name

Default Value

Data Type

Comments

charspace

(Signed

Decimal string

[pt]*10

integer)

Do Not Copy

2003-2007 Sony Corporation

75

Hexadecimal string

empdotscode

Specifies the character


code used as an
emphasis dot. In addition,
a warning is issued and
the command is not
assigned when the
empdotsfontname and
refempdotsfont
attributes are not
specified at the same
time.

String

empdotsposition

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

String

emplinetype

Specifies none, solid,


dotted, dashed or
double as the line mode
value. A warning is issued
and the command is not
assigned when any other
character string is
specified.

String

emplineposition

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

fontfacename
fontsize

(Signed

String

Specifies the font name.

Decimal String

[pt]*10

Decimal string

Specify a value between

integer)
fontweight

"1" and "1000". A warning


is issued and the
command is not assigned
when any other value is
specified.

Do Not Copy

2003-2007 Sony Corporation

76

fontwidth

(Signed

Decimal string

integer)

[pt]*10 Specifies "-10"


when not changing the
font shape.

letterspace

(Signed

Decimal string

[pt]*10

integer)
COLORREF string

linecolor
textlinewidth

(Unsigned

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

String

Specifies the start or

integer)
parindent

(Signed
integer)

parskip

(Signed
integer)

rubyalign

center character string.


A warning is issued and
the command is not
assigned when any other
character string is
specified.
String

rubyadjust

Specifies the line-edge


or none character string.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

String

rubyoverhang

Specifies the auto or


none character string. A
warning is issued and the
command is not assigned
when any other character
string is specified.

textbgcolor

COLORREF string

textcolor

COLORREF string

wordspace

(Signed

Decimal string

[pt]*10

integer)

Do Not Copy

2003-2007 Sony Corporation

77

String

empdotsfontname

Specifies the font name of


the font used for
emphasis dots. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
refempdotsfont
attributes are not
specified at the same
time.

Object ID string

refempdotsfont

Specifies the objid of the


Font element. A warning
is issued and command is
not assigned when the
specified objid does not
exist or when it is the
objid except for the
Footer element. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
empdotsfontname
attributes are not
specified at the same
time.

baselineskip

(Signed

Decimal string

[pt]*10

Decimal string

[pt]*10

integer)
(Signed

linespace

integer)
57.1

charspace

The charspace attribute specifies the size of spaces between Japanese characters. Units
are 10 times pt.
57.2

empdotscode

The empdotscode attribute specifies the character (or symbol) code used as an emphasis
dot.

Do Not Copy

2003-2007 Sony Corporation

78

57.3

empdotsposition

The empdotsposition attribute specifies the position of emphasis dots. The values are
specified below.
EmpDotsPosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
57.4

emplinetype

The emplinetype attribute specifies the type of the emphasis line. The values are
specified below.
Type of

Line mode value

line
None

none

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
57.5

emplineposition

The emplineposition attribute specifies the position of the emphasis line. The values are
specified below.
EmpLinePosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
57.6

fontfacename

The fontfacename attribute specifies the name of the font to be used.

Do Not Copy

2003-2007 Sony Corporation

79

57.7

fontsize

The fontsize attribute specifies the font size. Units are 10 times pt.
Example: To specify a font size of 10.5pt.
<TextBlock fontsize=105 />
57.8

fontweight

The fontweight attribute specifies the weight of the text. The value 400 is normal weight
and 800 is Bold.
57.9

fontwidth

The fontwidth attribute specifies the width of the font. Normally, the optimal width is
provided depending on the font size, but this is used when the width is changed
intentionally. Units are 10 times pt.
57.10 letterspace
The letterspace attribute specifies the size of spaces between letters of Western
languages. Units are 10 times pt.
57.11 linecolor
The linecolor attribute specifies the line color for the Empline and Box elements.
57.12 textlinewidth
The textlinewidth attribute specifies the lines width for the Empline and Box elements.
Units are 10 times pt.
57.13 parindent
The parindent attribute specifies the start position of the first line of the paragraph. A
negative value means overhanging. The maximum value of overhanging is equal to that
specified in the sidemargin attribute. Units are 10 times pt.
57.14 parskip
The parskip attribute specifies the width of the spaces between paragraphs. Units are 10
times pt.
57.15 rubyalign
The rubyalign attribute specifies the alignment of the Ruby Text. The alignment values
are specified below.

Do Not Copy

2003-2007 Sony Corporation

80

Alignment value
Start

Center

aligned

aligned

start

center

57.16 rubyadjust
The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head
or end position of the Ruby Text at the line edge position when the Ruby Text is longer
than the Ruby Base.
Line break operation
value
Operation

Operation

used

not used

line-edge

none

57.17 rubyoverhang
The rubyoverhang attribute specifies whether the overhanging operation for the Ruby
character is executed or not. The operation values are specified below.
RubyOverhang

Overhang
Value

Overhang

auto

No overhang

none

57.18 textbgcolor
The textbgcolor attribute specifies the background color of the text. A transparent
(0xff000000) background is normally used if nothing is specified.
57.19 textcolor
The textcolor attribute specifies the color of the text to be used. Black (0x00000000) is
used if nothing is specified.
57.20 wordspace
The wordspace attribute specifies the width of spaces between words of Western
languages. Units are 10 times pt.

Do Not Copy

2003-2007 Sony Corporation

81

57.21 empdotsfontname
The empdotsfontname attribute specifies the font name of the character (or symbol) used
as emphasis dots.
57.22 refempdotsfont
The refempdotsfont attribute specifies the objid of the Font element used as emphasis
dots. When the value is 0, the font of the main text is used.
57.23 baselineskip
The baselineskip attribute specifies the space between the lines. Units are 10 times pt.
57.24 linespace
The linespace attribute specifies the minimum guaranteed space for the direction of lines.
Units are 10 times pt.

58. ImageBlock
The ImageBlock element specifies the set up information of the "Block" and Image to
express the "Block" on the screen. The attribute of the ImageBlock element is recommended
to describe only different information from the BlockStyle element information specified by the
blockstyle. The alternative character string is specified in case the image file cannot be
opened.
<!ELEMENT ImageBlock (#PCDATA) >
<!ATTLIST ImageBlock
x0 CDATA
#REQUIRED
y0 CDATA
#REQUIRED
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
xsize CDATA
#REQUIRED
ysize CDATA
#REQUIRED
refstream CDATA
#IMPLIED
refimport CDATA
#IMPLIED
objid CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
bgimagemode (fix | tile | centering) #IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
blockstyle CDATA
#REQUIRED
blockwidth CDATA
#IMPLIED
footskip CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square) #IMPLIED
framewidth CDATA
#IMPLIED
layout (LrTb | TbRl) #IMPLIED
refbgimage CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
toclabel CDATA
#IMPLIED
topskip CDATA
#IMPLIED
objlabel CDATA
#IMPLIED >

Do Not Copy

2003-2007 Sony Corporation

82

Attribute Name

Default Value

Data Type

Comments

x0

(Unsigned

Decimal string

[dot]

(Required)

integer)

y0

(Unsigned

Decimal string

[dot]

(Required)

integer)

x1

(Unsigned

Decimal string

[dot]

(Required)

integer)

y1

(Unsigned

Decimal string

[dot]

(Required)

integer)

xsize

(Unsigned

Decimal string

[dot]

(Required)

integer)

ysize

(Unsigned

Decimal string

[dot]

(Required)

integer)
Object ID string

Specifies the objid of the

refstream

ImageStream element. An
error occurs when the object
for the specified objid does
not exist or the specified
objid is not for the
ImageStream element. Only
refstream or refimport can
be selected in the Image
element.
refimport

Object ID string

Specifies the objid of the


Import element. An error
occurs when the object for
the specified objid does not
exist or the specified objid
is not for the Import element.
Only refstream or
refimport can be selected in
the Image element.

objid

String

string in the file.

(Required)
bgcolor

Do Not Copy

Specifies the only character

COLORREF string

2003-2007 Sony Corporation

83

String

bgimagemode

Specifies fix, tile or


centering. A warning is
issued and the command is
not assigned when any other
character string is specified.
In addition, an error occurs
and the command is not
assigned when the
bgimagemode attribute is
not specified at the same
time.

blockheight

(Unsigned

Decimal string

[dot]

String

block-fixed or

integer)
blockrule

block-adjustable is
specified for the ImageBlock
blockrule attribute. A warning
is issued and the command
is not assigned when neither
is specified.
Style string

blockstyle

An error occurs when the


specified style character

(Required)

string is not the same as


stylelabel of the BlockStyle
element.
blockwidth

(Unsigned

Decimal string

[dot]

Decimal string

[dot]

integer)
footskip

(Unsigned
integer)

framecolor

COLORREF string

framemode

String

Specifies curve or square.


A warning is issued and the
command is not assigned
when any other character
string is specified.

framewidth

(Unsigned

Decimal string

[dot]

integer)

Do Not Copy

2003-2007 Sony Corporation

84

String

layout

Specifies LrTb or TbRl. A


warning is issued and the
command is not assigned
when any other character
string is specified.

Object ID string

refbgimage

Specifies the objid of the


Image element. A warning is
issued and the command is
not assigned when the
specified objid does not
exist or when it is the objid
except for the Image
element. In addition, a
warning is issued and the
command is not assigned
when the bgimagemode
attribute is not specified at
the same time.

(Unsigned

sidemargin

Decimal string

[dot]

String

Specifies the character string

integer)
toclabel

used in the TOC list.


(Unsigned

topskip

Decimal string

[dot]

String

Specifies a character string

integer)
objlabel

to identify this element.


58.1

x0

The x0 attribute specifies the X coordinate of the upper left corner required for extracting
the portion that needs to be displayed from the source image.
58.2

y0

The y0 attribute specifies the Y coordinate of the upper left corner required for extracting
the portion that needs to be displayed from the source image.
58.3

x1

The x1 attribute specifies the X coordinate of the lower right corner required for extracting
the portion that needs to be displayed from the source image.

Do Not Copy

2003-2007 Sony Corporation

85

58.4

y1

The y1 attribute specifies the Y coordinate of the lower right corner required for extracting
the portion that needs to be displayed from the source image.
58.5

xsize

The xsize attribute specifies the size of the extracted image in the X direction. This refers
to expansion along the X axis if this size is greater than (x1-x0), and contraction along the
X-axis if less than (x1-x0).
58.6

ysize

The ysize specifies the size of the extracted image in the Y direction. This refers to
expansion along the Y-axis if this size is greater than (y1-y0), and contraction along the
Y-axis if less than (y1-y0).
58.7

refstream

The refstream attribute specifies the "objid" of the ImageStream element containing the
source image data to be displayed.
58.8

refimport

The refimport attribute specifies the "objid" of the Import element specifying the source
image to be displayed.
58.9

objid

The objid attribute specifies a unique character string in the content for each element.
58.10 bgcolor
The bgcolor attribute specifies the background color of the Block.
58.11 bgimagemode
The bgimagemode attribute specifies how the Image specified in the refbgimage
attribute should be positioned.
The value is fix: The image position is at the origin of the Block.
The value is tile: The images fill the Block from the origin.
The value is center: The image position is in the center of the Block.

Do Not Copy

2003-2007 Sony Corporation

86

Example

fix

tile

centering

58.12 blockheight
The blockheight attribute specifies the height of the Block.
58.13 blockrule
The blockrule attribute specifies how to expand the Block size when the customer is
increasing character size on the viewer devices. The values for the ImageBlock element
are specified as block-fixed and block-adjustable.

Rule Value

Rule

horz-fixed

Block width cannot be changed.

horz-adjustable

Block width may be changed.

vert-fixed

Block height cannot be changed.

vert-adjustable

Block height may be changed.

block-fixed

Block width and height cannot be


changed.

block-adjustable

Block width and height may be


changed proportionally.

58.14 blockstyle
The blockstyle attribute specifies the stylelabel of the BlockStyle element specifying the
information necessary for rendering the text.
58.15 blockwidth
The blockwidth attribute specifies the width of the Block.
58.16 footskip
The footskip attribute sets the footskip of the Block layout composition.

Do Not Copy

2003-2007 Sony Corporation

87

58.17 framecolor
The framecolor attribute specifies the frame color of the Block.
58.18 framemode
The framemode attribute specifies the frame type of the Block. It is possible to specify
two types of frame: square means right angles in four corners and curve means
rounded corners.
58.19 framewidth
The framewidth attribute specifies the frame line width of the Block. When this value is
0 or not specified, no frame is rendered.
58.20 layout
The layout attribute specifies the coordinate system of the ImageBlock element. When
LrTb is specified, the origin is in the top left, the X axis is toward the right and the Y axis is
toward the bottom. When TbRl is specified, the origin is in the top right, the X axis is
toward the bottom and the Y axis is toward the left.
X

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, width and height remain unchanged.

58.21 refbgimage
The refgbimage attribute specifies the objid of the Image element to be shown as the
background of the ImageBlock element. No image is shown if the objid is not specified.
58.22 sidemargin
The sidemargin attribute sets the sidemargin of the Block layout composition.

Do Not Copy

2003-2007 Sony Corporation

88

58.23 toclabel
The toclabel attribute specifies the character string to be shown as the TOC list on the
viewer devices. If the toclabel is specified, the Authoring tool picks up this labels
information and sets this label into the TOC element information in auto TOC creation
mode.
58.24 topskip
The topskip attribute specifies the topskip of the Block layout composition.
58.25 objlabel
The objlabel attribute specifies an identifiable name for the element.

59. ButtonBlock
The ButtonBlock element specifies the set up information of the "Block" and Text to express
the "Block" on the screen. The attribute of the ButtonBlock element is recommended to
describe only different information from the BlockStyle element information specified by the
blockstyle. Also the ButtonBlock element specifies the action when the button is operated.
<!ELEMENT ButtonBlock (BaseButton?,FocusinButton?,PushButton?,UpButton?) >
<!ATTLIST ButtonBlock
objid CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
bgimagemode (fix | tile | centering) #IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
blockstyle CDATA
#REQUIRED
blockwidth CDATA
#IMPLIED
footskip CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square) #IMPLIED
framewidth CDATA
#IMPLIED
layout (LrTb | TbRl) #IMPLIED
refbgimage CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
toclabel CDATA
#IMPLIED
topskip CDATA
#IMPLIED
objlabel CDATA
#IMPLIED >

Do Not Copy

2003-2007 Sony Corporation

89

Attribute Name

Default Value

objid

Data Type

Comments

String

Specifies the only character


string in the file.

(Required)
bgcolor

COLORREF string

bgimagemode

String

Specifies fix, tile or


centering. A warning is
issued and the command is
not assigned when any other
character string is specified.
In addition, an error occurs
and the command is not
assigned when the
bgimagemode attribute is
not specified at the same
time.

blockheight

(Unsigned

Decimal string

[dot]

String

block-fixed or

integer)
blockrule

block-adjustable is
specified for the ButtonBlock
blockrule attribute. A warning
is issued and the command
is not assigned when neither
is specified.
Style string

blockstyle

An error occurs when the


specified style character

(Required)

string is not the same as


stylelabel of the BlockStyle
element.
blockwidth

(Unsigned

Decimal string

[dot]

Decimal string

[dot]

integer)
footskip

(Unsigned
integer)

framecolor

COLORREF string

framemode

String

Specifies curve or square.


A warning is issued and the
command is not assigned
when any other character
string is specified.

Do Not Copy

2003-2007 Sony Corporation

90

(Unsigned

framewidth

Decimal string

[dot]

String

Specifies LrTb or TbRl. A

integer)
layout

warning is issued and the


command is not assigned
when any other character
string is specified.
Object ID string

refbgimage

Specifies the objid of the


Image element. A warning is
issued and command is not
assigned when the specified
objid does not exist or when
it is the objid except for the
Image element. In addition, a
warning is issued and the
command is not assigned
when the bgimagemode
attribute is not specified at
the same time.

(Unsigned

sidemargin

Decimal string

[dot]

String

Specifies the character string

integer)
toclabel

used in the TOC list.


(Unsigned

topskip

Decimal string

[dot]

String

Specifies a character string

integer)
objlabel

to identify this element.

59.1

objid

The objid attribute specifies a unique character string in the content for each element.
objid gives a unique ID to the content for identifying the button.
59.2

bgcolor

The bgcolor attriburte specifies the background color of the Block.


59.3

bgimagemode

The bgimagemode attribute specifies how the Image specified in the refbgimage
attribute should be positioned.

Do Not Copy

2003-2007 Sony Corporation

91

The value is fix: The image position is at the origin of the Block.
The value is tile: The images fill the Block from the origin.
The value is center: The image position is in the center of the Block.
Example

fix

59.4

tile

centering

blockheight

The blockheight attribute specifies the height of the Block.


59.5

blockrule

The blockrule attribute specifies how to expand the Block size when the customer is
increasing character size on the viewer devices. The values for the ButtonBlock element
are specified as block-fixed and block-adjustable.
Rule Value

Rule

horz-fixed

Block width cannot be changed.

horz-adjustable

Block width may be changed.

vert-fixed

Block height cannot be changed.

vert-adjustable

Block height may be changed.

block-fixed

Block width and height cannot be


changed.

block-adjustable

Block width and height may be


changed proportionally.

59.6

blockstyle

The blockstyle attribute specifies the stylelabel of the BlockStyle element specifying the
information necessary for rendering the text.
59.7

blockwidth

The blockwidth attribute specifies the width of the Block.

Do Not Copy

2003-2007 Sony Corporation

92

59.8

footskip

The footskip attribute sets the footskip of the Block layout composition.
59.9

framecolor

The framecolor attribute specifies the frame color of the Block.


59.10 framemode
The framemode attribute specifies the frame type of the Block. It is possible to specify
two types of frame: square means right angles in four corners and curve means
rounded corners.
59.11 framewidth
The framewidth attribute specifies the frame line width of the Block. When this value is
0 or not specified, no frame is rendered.
59.12 layout
The layout attribute specifies the coordinate system of the ButtonBlock element. When
LrTb is specified, the origin is in the top left, the X axis is toward the right and the Y axis is
toward the bottom. When TbRl is specified, the origin is in the top right, the X axis is
toward the bottom and the Y axis is toward the left.
X

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, width and height remain unchanged.

59.13 refbgimage
The refgbimage attribute specifies the objid of the Image element to be shown as the
background of the ButtonBlock element. No image is shown if the objid is not specified.

Do Not Copy

2003-2007 Sony Corporation

93

59.14 sidemargin
The sidemargin attribute sets the sidemargin of the Block layout composition.
59.15 toclabel
The toclabel attribute specifies the character string to be shown as the TOC list on the
viewer devices. If the toclabel is specified, the Authoring tool picks up this labels
information and sets this label into the TOC element information in auto TOC creation
mode.
59.16 topskip
The topskip attribute specifies the topskip of the Block layout composition.
59.17 objlabel
The objlabel attribute specifies an identifiable name for the element.

60. BaseButton
The BaseButton element specifies the image of the button under the normal state.
<!ELEMENT BaseButton

EMPTY >

<!ATTLIST BaseButton
refimage CDATA

Attribute

Default Value

#IMPLIED >

Data Type

Comments

Object ID string

Specifies the objid of the Image

Name
refimage

element. An error occurs when the


object for the specified objid does
not exist or the specified objid is
not for the Image element.
60.1

refimage

The refimage attribute specifies the "objid" of the Image element displayed as a button. In
case that the button is the CharButton element, an image is not displayed even if specified.

61. FocusinButton
The FocusinButton element specifies the image and the action of the button under the
focus-in state. It is possible to specify multiple button operations. These are executed in the
sequence specified.

Do Not Copy

2003-2007 Sony Corporation

94

<!ELEMENT FocusinButton (JumpTo | Run | SendMessage | SoundStop | CloseWindow)* >


<!ATTLIST FocusinButton
refimage CDATA

Attribute

Default Value

#IMPLIED >

Data Type

Comments

Object ID string

Specifies the objid of the Image

Name
refimage

element. An error occurs when the


object for the specified objid does
not exist or the specified objid is
not for the Image element.
61.1

refimage

The refimage attribute specifies the "objid" of the Image element displayed as a button. In
case that the button is the CharButton element, an image is not displayed even if specified.

62. JumpTo
The JumpTo element specifies the movement of the button that jumps to a certain element.
<!ELEMENT JumpTo

EMPTY >

<!ATTLIST JumpTo
refpage CDATA
#REQUIRED
refobj CDATA
#REQUIRED >

Attribute

Default Value

Data Type

Comments

Object ID string

Specifies the objid of TextBlock,

Name
refobj
(Required)

ButtonBlock, ImageBlock,
SimpleTextBlock, Canvas or
Minipage element. An error occurs
when the object for the specified
objid does not exist or the
specified objid is not for the
TextBlock, ButtonBlock,
ImageBlock, SimpleTextBlock,
Canvas or Minipage element.

Do Not Copy

2003-2007 Sony Corporation

95

Object ID string

refpage

Specifies the objid of the Page


element. An error occurs when the

(Required)

object for the specified objid does


not exist or the specified objid is
not for the Page element.
62.1

refpage

The refpage attribute specifies the objid of the Page element including the target
element.
62.2

refobj

The refobj attribute specifies the objid of the element specified as Jump target. The
element specified as objid should be located in the Page element specified as refpage.

63. Run
The Run element specifies the action such as Window, Popup window and Sound
playback.
<!ELEMENT Run

EMPTY >

<!ATTLIST Run
runoption (normal | opposite | center | opposite-center) "normal"
refobj CDATA

Attribute

#REQUIRED >

Default Value

Data Type

Comments

normal

String

Specifies normal, opposite,

Name
runoption
(Required)

center or opposite-center. A
warning is issued and normal is
assigned when a character string
other than these is specified.

refobj

Object ID string

(Required)

Specifies the objid of the


PopUpWin, Window or Sound
element. An error occurs when the
object for the specified objid
does not exist or the specified
objid is not for a the PopUpWin,
Window or Sound element.

63.1

runoption

The runoption attribute specifies the position of the display in the 2 screen display. The
values are specified below.

Do Not Copy

2003-2007 Sony Corporation

96

Position

Position option

Button side

normal

screen
Opposite button

opposite

side screen
Center of button

center

side screen
Center of

opposite-center

opposite button
side screen
63.2

refobj

The refobj attribute specifies the objid of the element (the Window, PopUpWin and
Sound element) specified as the Run action target.

64. SendMessage
The SendMessage element specifies a message sent to an application.
<!ELEMENT SendMessage (#PCDATA) >
<!ATTLIST SendMessage
messagelabel CDATA
#REQUIRED
messagetype (any | cid | url | path | exec | close)

Attribute

Default Value

#REQUIRED >

Data Type

Comments

String

Specifies an arbitrary character string

String

Specifies the operation category

Name
messagelabel
(Required)
messagetype

number.

(Required)
64.1

messagelabel

The messagelabel attribute specifies information for identifying the message to be sent.
64.2

messagetype

The messagetype attribute specifies the type of message. The values are specified below.
The method of treatment for the character string of the SendMessage element is
determined by the messagetype.

Do Not Copy

2003-2007 Sony Corporation

97

Operation category

Operation
category
number

Operation not specified

any

OpenID (Open the book specified in the SendMessage element)

cid

OpenURL (Open the address specified in the SendMessage element)

url

OpenFile (Open the file that exists in the path specified in the

path

SendMessage element)
Exec (Execute the application specified in the SendMessage element)

exec

Close (Close the application with the label identifiable by the

close

SendMessage element)
Note: The any, path, exec and close messagetype attributes for of the SendMessage
element are merely reserved words in this version and do not actually function.

65. SoundStop
The SoundStop element forcibly stops the asynchronous sound playback.
<!ELEMENT SoundStop

EMPTY >

66. CloseWindow
The CloseWindow element forcibly closes the window being displayed.
<!ELEMENT CloseWindow

EMPTY >

67. PushButton
The PushButton element specifies the image and the action of the button under the
button-push state. It is possible to specify multiple button operations. These are executed in the
sequence specified.
<!ELEMENT PushButton (JumpTo | Run | SendMessage | SoundStop | CloseWindow)* >
<!ATTLIST PushButton
refimage CDATA

Do Not Copy

#IMPLIED >

2003-2007 Sony Corporation

98

Attribute

Default Value

Data Type

Comments

Object ID string

Specifies the objid of the Image

Name
refimage

element. An error occurs when the


object for the specified objid does
not exist or the specified objid is
not for the Image element.
67.1

refimage

The refimage attribute specifies the objid of the Image element displayed as a button. In
case that the button is the CharButton element, an image is not displayed even if specified.

68. UpButton
The UpButton element specifies the image and the action of the button under the button-up
state. It is possible to specify multiple button operations. These are executed in the sequence
specified. Regarding the PopUpWin element, it cannot be invoked by the Run element.
<!ELEMENT UpButton

(JumpTo | Run | SendMessage | SoundStop | CloseWindow)* >

<!ATTLIST UpButton
refimage

Attribute

Default Value

CDATA

#IMPLIED

>

Data Type

Comments

Object ID string

Specifies the objid of the Image

Name
refimage

element. An error occurs when the


object for the specified objid does
not exist or the specified objid is
not for the Image element.
68.1

refimage

The refimage attribute specifies the objid of the Image element displayed as a button. In
case that the button is the CharButton element, an image is not displayed even if specified.

69. SimpleTextBlock
The SimpleTextBlock element specifies the set up information of "Block" and Text to express
"Block" on the screen. The attribute of the SimpleTextBlock element is recommended to
describe only different information from the TextStyle and BlockStyle element information

Do Not Copy

2003-2007 Sony Corporation

99

specified by "textstyle" and blockstyle. SimpleTextBlock has the limitation of expression for
TextBlock to be treated as simple sequence.
<!ELEMENT SimpleTextBlock (P | CR)* >
<!ATTLIST SimpleTextBlock
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontescapement CDATA
#IMPLIED
fontorientation CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none) #IMPLIED
textlinewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
textstyle CDATA
#REQUIRED
fontweight CDATA
#IMPLIED
objid CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
bgimagemode (fix | tile | centering) #IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
blockstyle CDATA
#REQUIRED
blockwidth CDATA
#IMPLIED
footskip CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square) #IMPLIED
framewidth CDATA
#IMPLIED
layout (LrTb | TbRl) #IMPLIED
refbgimage CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
toclabel CDATA
#IMPLIED
topskip CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
objlabel CDATA
#IMPLIED
autoindex CDATA
#IMPLIED >

Attribute Name

Default Value

Data Type

Comments

fontsize

(Signed

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

Specifies 0 or 2700. A
warning is issued and the
command is not assigned
when any other character
string is specified.

integer)
fontwidth

(Signed
integer)

fontescapement

Do Not Copy

2003-2007 Sony Corporation

100

fontorientation

Decimal string

Specifies 0 or 2700. A
warning is issued and the
command is not assigned
when any other character
string is specified.

fontfacename

String

Specifies the font name.

textcolor

COLORREF string

textbgcolor

COLORREF string

wordspace

(Signed

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

String

Specifies the start or

integer)
letterspace

(Signed
integer)

charspace

(Signed
integer)

baselineskip

(Signed
integer)

linespace

(Signed
integer)

parindent

(Signed
integer)

parskip

(Signed
integer)

rubyalign

center character string. A


warning is issued and the
command is not assigned
when any other character
string is specified.
rubyadjust

String

Specifies the line-edge or


none character string. A
warning is issued and the
command is not assigned
when any other character
string is specified.

rubyoverhang

String

Specifies the auto or


none character string. A
warning is issued and the
command is not assigned
when any other character
string is specified.

Do Not Copy

2003-2007 Sony Corporation

101

textlinewidth

(Unsigned

Decimal string

[pt]*10

integer)
linecolor

COLORREF string

textstyle

Style string

An error occurs when the


specified style character

(Required)

string is not the same as


stylelabel of the TextStyle
element.
Decimal string

fontweight

Specify a value between "1"


and "1000". A warning is
issued and the command is
not assigned when any
other value is specified.

String

objid

Specifies the only character


string in the file.

(Required)
bgcolor

COLORREF string

bgimagemode

String

Specifies fix, tile or


centering. A warning is
issued and the command is
not assigned when any
other character string is
specified. In addition, an
error occurs and the
command is not assigned
when the bgimagemode
attribute is not specified at
the same time.

blockheight

(Unsigned

Decimal string

[dot]

String

Specifies horz-fixed,

integer)
blockrule

horz-adjustable,
vert-fixed or
vert-adjustable as the
blockrule attribute of the
SimpleTextBlock element.
A warning is issued and the
command is not assigned
when any other character
string is specified.

Do Not Copy

2003-2007 Sony Corporation

102

Style string

blockstyle

An error occurs when the


specified style character

(Required)

string is not the same as


stylelabel of the
BlockStyle element.
blockwidth

(Unsigned

Decimal string

[dot]

Decimal string

[dot]

integer)
footskip

(Unsigned
integer)

framecolor

COLORREF string

framemode

String

Specifies curve or
square. A warning is
issued and the command is
not assigned when any
other character string is
specified.

framewidth

(Unsigned

Decimal string

[dot]

String

Specifies LrTb or TbRl. A

integer)
layout

warning is issued and the


command is not assigned
when any other character
string is specified.
refbgimage

Object ID string

Specifies the objid of the


Image element. A warning
is issued and the command
is not assigned when the
specified objid does not
exist or when it is the objid
except for the Image
element. In addition, a
warning is issued and the
command is not assigned
when the bgimagemode
attribute is not specified at
the same time.

sidemargin

(Unsigned

Decimal string

[dot]

String

Specifies the character

integer)
toclabel

string used in the TOC list.

Do Not Copy

2003-2007 Sony Corporation

103

topskip

Decimal string

[dot]

objlabel

String

Specifies a character string


to identify this element.

String

autoindex
69.1

Specifies on or off.

fontsize

The fontsize attribute specifies the font size. Units are 10 times pt.
Example: To specify a font size of 10.5pt.
<TextBlock fontsize=105 />
69.2

fontwidth

The fontwidth attribute specifies the width of the font. Normally, the optimal width is
provided depending on the font size, but this is used when the width is changed
intentionally. Units are 10 times pt.
69.3

fontescapement

The fontescapement attribute specifies the character feed direction. 0 is specified for
horizontal font and 2700 is specified for vertical font. Other specifications are not
accepted.
69.4

fontorientation

The fontorientation attribute specifies the direction of character rotation. 0 is specified


for horizontal font and 2700 is specified for vertical font. Other specifications are not
accepted.
69.5

fontfacename

The fontfacename attribute specifies the name of the font to be used. The standard font is
used if nothing is specified.
69.6

textcolor

The textcolor attribute specifies the color of the text to be used. Black (0x00000000) is
used if nothing is specified.
69.7

textbgcolor

The textbgcolor attribute specifies the background color of the text. A transparent
(0xff000000) background is normally used if nothing is specified.

Do Not Copy

2003-2007 Sony Corporation

104

69.8

wordspace

The wordspace attribute specifies the width of spaces between words of Western
languages. Units are 10 times pt.
69.9

letterspace

The letterspace attribute specifies the size of spaces between letters of Western
languages. Units are 10 times pt.
69.10 charspace
The charspace attribute specifies the size of spaces between Japanese characters. Units
are 10 times pt.
69.11 baselineskip
The baselineskip attribute specifies the space between the lines. Units are 10 times pt.
69.12 linespace
The linespace attribute specifies the minimum guaranteed space for the direction of lines.
Units are 10 times pt.
69.13 parindent
The parindent attribute specifies the start position of the first line of the paragraph. A
negative value means overhanging. The maximum value of overhanging is equal to that
specified in the sidemargin attribute. Units are 10 times pt.
69.14 parskip
The parskip attribute specifies the width of the spaces between paragraphs. Units are 10
times pt.
69.15 rubyalign
The rubyalign attribute specifies the alignment of the Ruby Text. The alignment values
are specified below.
Alignment value
Start

Center

aligned

aligned

start

center

69.16 rubyadjust
The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head

Do Not Copy

2003-2007 Sony Corporation

105

or end position of the Ruby Text at the line edge position when the Ruby Text is longer
than the Ruby Base.
Line break operation
value
Operation

Operation

used

not used

line-edge

none

69.17 rubyoverhang
The rubyoverhang attribute specifies whether the overhanging operation for the Ruby
character is executed or not. The operation values is specified below.
RubyOverhang

Overhang
Value

Overhang

auto

No overhang

none

69.18 textlinewidth
The textlinewidth attribute specifies the line width for the Empline and Box elements.
Units are 10 times pt.
69.19 linecolor
The linecolor attribute specifies the line color for the Empline and Box elements.
69.20 textstyle
The textstyle attribute specifies the stylelabel of the TextStyle element specifying the
information necessary for rendering the text.
69.21 fontweight
The fontweight attribute specifies the weight of the text. The value 400 is normal weight
and 800 is Bold.
69.22 objid
The objid attribute specifies a unique character string in the content for the Simple text
block.
69.23 bgcolor
The bgcolor attriburte specifies the background color of the the Simple text block.

Do Not Copy

2003-2007 Sony Corporation

106

69.24 bgimagemode
The bgimagemode attribute specifies how the Image specified in the refbgimage
attribute should be positioned.
The value is fix: The image position is at the origin of the the Simple text block.
The value is tile: The images fill the the Simple text block from the origin.
The value is center: The image position is the center of the the Simple text block.
Example

fix

tile

centering

69.25 blockheight
The blockheight attribute specifies the height of the Block.
69.26 blockrule
The blockrule attribute specifies how to expand the the Simple text block size when the
customer is increasing character size on the viewer devices. The values for the
SimpleTextBlock element are specified horz-fixed, horz-adjustable, vert-fixed and
vert-adjustable.
Rule Value

Rule

horz-fixed

Block width cannot be changed.

horz-adjustable

Block width may be changed.

vert-fixed

Block height cannot be changed.

vert-adjustable

Block height may be changed.

block-fixed

Block width and height cannot be


changed.

block-adjustable

Block width and height may be


changed proportionally.

69.27 blockstyle
The blockstyle attribute specifies the stylelabel of the BlockStyle element specifying the
information necessary for rendering the Block.

Do Not Copy

2003-2007 Sony Corporation

107

69.28 blockwidth
The blockwidth attribute specifies the width of the Block.
69.29 footskip
The footskip attribute sets the footskip of the Block layout composition.
69.30 framecolor
The framecolor attribute specifies the frame color of the Block.
69.31 framemode
The framemode attribute specifies the frame type of the Block. It is possible to specify
two types of frame: square means right angles in four corners and curve means
rounded corners.
framemode specifies the type of the frame surrounding the block. It is possible to specify
two types of frame: square renders a frame with right angles in four corners and curve
renders a frame with rounded corners.
69.32 framewidth
The framewidth attribute specifies the frame line width of the Block. When this value is
0 or not specified, no frame is rendered.
69.33 layout
The layout attribute specifies the coordinate system of the SimpleTextBlock element.
When LrTb is specified, the origin is in the top left, the X axis is toward the right and the Y
axis is toward the bottom. When TbRl is specified, the origin is in the top right, the X axis
is toward the bottom and the Y axis is toward the left.
X

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, width and height remain unchanged.

Do Not Copy

2003-2007 Sony Corporation

108

69.34 refbgimage
The refgbimage attribute specifies the objid of the Image element to be shown as the
background of the SimpleTextBlock element. No image is shown if the objid is not
specified.
69.35 sidemargin
The sidemargin attribute sets the sidemargin of the Simple text.
69.36 toclabel
The toclabel attribute specifies the character string to be shown as the TOC list on the
viewer devices. If the toclabel is specified, the Authoring tool picks up this labels
information and sets this label into the TOC element information in auto TOC creation
mode.
69.37 topskip
The topskip attribute specifies the topskip of the Simple text.
69.38 objlabel
The objlabel attribute specifies an identifiable name for the element.
69.39 autoindex
The autoindex attribute specifies whether some character strings from the top of the
sentence is used as toclabel or not. The value on means to use it as toclabel at auto
TOC creation mode. The value off means not to use it.

70. BlockSpace
The BlockSpace element specifies the position of "Block" on the Page or the Window
element.
<!ELEMENT BlockSpace

EMPTY >

<!ATTLIST BlockSpace
xspace CDATA
yspace CDATA

Attribute

#IMPLIED
#IMPLIED >

Default Value

Data Type

Comments

(Signed

Decimal tring

[dot]

Decimal String

[dot]

Name
xspace

integer)
yspace

(Signed
integer)

Do Not Copy

2003-2007 Sony Corporation

109

70.1

xspace

The xspace attribute specifies the space in the X-axis direction.


70.2

yspace

The yspace attribute specifies the space in the Y-axis direction.

71. Canvas
The Canvas element specifies the absolute coordinates area to create the complex layout.
<!ELEMENT Canvas (PutObj | Wait | SoundStop | MoveObj | CanvasSetting | Moveto |
Lineto | DrawBox | DrawEllipse | ViewPoint)* >
<!ATTLIST Canvas
canvaswidth CDATA
#REQUIRED
canvasheight CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
objid CDATA
#REQUIRED
toclabel CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
setwaitprop CDATA
#IMPLIED
setwaitsync CDATA
#IMPLIED
objlabel CDATA
#IMPLIED >

Attribute

Default Value

Data Type

Comments

Bgcolor

0xff000000

COLORREF string

blockrule

block-fixed

String

Name
Specifies block-fixed or
block-adjustable as the
blockrule attribute value of
the Canvas element.

If

neither is specified, a
warning is issued,
and block-fixed is
assigned.
canvasheight

0 (Unsigned

Decimal string

[dot]

Decimal string

[dot]

integer)
canvaswidth

0 (Unsigned
integer)

framecolor

0x00000000

COLORREF string

framewidth

0 (Unsigned

Decimal string

[dot]

integer)

Do Not Copy

2003-2007 Sony Corporation

110

LrTb

layout

String

Specifies LrTb or TbRl.


When any other character
string is specified, a warning
is issued, and LrTb is
assigned.

String

objid

Specifies the only character


string in the file.

(Required)
String

toclabel

Specifies the character


string used in the TOC list.

framemode

square

String

Specifies curve
or square. When any other
value is specified, a warning
is issued, and square is
assigned.

setwaitprop

replay

String

Specifies replay or
noreplay. When any other
value is specified, a warning
is issued, and replay is
assigned.

setwaitsync

async

String

Specifies sync or async.


When any other value is
specified, a warning is
issued, and async is
assigned.

String

objlabel

Specifies a character string


to identify this element.

71.1

canvaswidth

The canvaswidth attribute specifies the width of the Canvas element area.
71.2

canvasheight

The canvasheight attribute specifies the height of the Canvas element area.
71.3

bgcolor

The bgcolor attriburte specifies the background color of the the Canvas element area.
71.4

layout

The layout attribute specifies the coordinate system of the Canvas element. When LrTb
is specified, the origin is in the top left, the X axis is toward the right and the Y axis is

Do Not Copy

2003-2007 Sony Corporation

111

toward the bottom. When TbRl is specified, the origin is in the top right, the X axis is
toward the bottom and the Y axis is toward the left.
X

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, width and height remain unchanged.

71.5

framewidth

The framewidth attribute specifies the frame line width of the Canvas. When this value is
0 or not specified, no frame is rendered.
71.6

framecolor

The framecolor attribute specifies the frame color of the Canvas.


71.7

blockrule

The blockrule attribute specifies how to expand the Block size when the customer is
increasing character size on the viewer devices. The values for the Canvas element are
specified as block-fixed and block-adjustable.
Rule Value

Rule

horz-fixed

Block width cannot be changed.

horz-adjustable

Block width may be changed.

vert-fixed

Block height cannot be changed.

vert-adjustable

Block height may be changed.

block-fixed

Block width and height cannot be


changed.

block-adjustable

Block width and height may be


changed proportionally.

Do Not Copy

2003-2007 Sony Corporation

112

71.8

objid

The objid attribute specifies a unique character string in the content for each element.
71.9

toclabel

Toclabel assigns an item name for the "Canvas" for use in the table of contents list.
The toclabel attribute specifies the character string to be shown as the TOC list on the
viewer devices. If the toclabel is specified, the Authoring tool picks up this labels
information and sets this label into the TOC element information in auto TOC creation
mode.
71.10 framemode
The framemode attribute specifies the frame type of the Block. It is possible to specify
two types of frame: square means right angles in four corners and curve means
rounded corners.
71.11 setwaitprop
The setwaitprop attribute specifies the Wait process within the Canvas element. The
following table is used to specify whether the process is replayed.
Wait flag value

Operation
specification

replay

Replay

noreplay

No replay

71.12 setwaitsync
The setwaitsync attribute specifies whether the Wait element is done as synchronous
replay or not in the Canvas element.
Value

Operation

sync

Synchronous replay

async

Asynchronous replay

71.13 objlabel
The objlabel attribute specifies an identifiable name for the element.

72. PutObj
The PutObj element specifies the position of elements on the Canvas element.
<!ELEMENT PutObj

Do Not Copy

EMPTY >

2003-2007 Sony Corporation

113

<!ATTLIST PutObj
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
refobj CDATA
#REQUIRED

Attribute

Default Value

>

Data Type

Comments

Object ID string

Specifies the objid of the

Name
refobj
(Required)

PopUpWin, TextBlock,
SimpleTextBlock, ImageBlock,
ButtonBlock or Sound element.
An error occurs when the object for
the specified objid does not exist
or the specified objid is not for the
PopUpWin, TextBlock,
SimpleTextBlock, ImageBlock,
ButtonBlock or Sound element.
Further, when used in the Header
or Footer element, TextBlock,
SimpleTextBlock, and
ImageBlock can be specified.
(Unsigned

x1

Decimal string

[dot]

Decimal string

[dot]

(Required) integer)
(Unsigned

y1

(Required) integer)
72.1

x1

The x1 attribute specifies the X-axis coordinates for locating the origin point of the objid
element specified with refobj.
72.2

y1

The y1 attribute specifies the Y-axis coordinates for locating the origin point of the objid
element specified with refobj.
72.3

refobj

The refobj attribute specifies the objid of the element specified as the shown element.

73. MoveObj
The MoveObj element specifies the element that is moved from the start point to the end point
within the specified time.

Do Not Copy

2003-2007 Sony Corporation

114

<!ELEMENT MoveObj

EMPTY >

<!ATTLIST MoveObj
x0 CDATA
y0 CDATA
x1 CDATA
y1 CDATA
refobj CDATA
time CDATA

Attribute

Default Value

#REQUIRED
#REQUIRED
#REQUIRED
#REQUIRED
#REQUIRED
#REQUIRED >

Data Type

Comments

Object ID string

Specifies the objid of the

Name
refobj
(Required)

PopUpWin, TextBlock,
SimpleTextBlock, ImageBlock or
ButtonBlock element. An error
occurs when the object for the
specified objid does not exist or
the specified objid is not for the
PopUpWin, TextBlock,
SimpleTextBlock, ImageBlock or
ButtonBlock element.
(Signed

time

Decimal string

[ms]/100

Decimal string

[dot]

Decimal string

[dot]

Decimal string

[dot]

Decimal string

[dot]

(Required) integer)
(Unsigned

x0

(Required) integer)
(Unsigned

x1

(Required) integer)
(Unsigned

y0

(Required) integer)
(Unsigned

y1

(Required) integer)
73.1

x0

The x0 attribute specifies the X-coordinate value of the start point for moving the element.
73.2

y0

The y0 attribute specifies the Y-coordinate value of the start point for moving the element.
73.3

x1

The x1 attribute specifies the X-coordinate value of the end point for moving the element.

Do Not Copy

2003-2007 Sony Corporation

115

73.4

y1

The y1 attribute specifies the Y-coordinate value of the end point for moving the element.
73.5

refobj

The refobj attribute specifies the objid of the element specified as Moving object target.
73.6

time

The time attribute specifies the time to elapse when moving from the start point (x0,y0) to
the end point (x1,y1).
Example: Moving an object element with the object ID 100 from (10,20) to (100,25) in
300ms.
<MoveObj x0=10 y0=20 x1=100 y1=25 refobj=100 time=3 />

74. CanvasSetting
The CanvasSetting element specifies the method of drawing in the Canvas element.
<!ELEMENT CanvasSetting

EMPTY >

<!ATTLIST CanvasSetting
linewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
linetype CDATA
#IMPLIED
fillcolor CDATA
#IMPLIED
arrowtype CDATA
#IMPLIED

Attribute

Default Value

>

Data Type

Comments

Name
fillcolor

COLORREF string

linecolor

COLORREF string

linetype

String

Set solid, dotted, dashed,


or double.

arrowtype
(Unsigned

linewidth

String

Set none, begin, end, or both.

Decimal string

[dot]

integer)
74.1

linewidth

The linewidth attribute specifies the width of lines, the lines of rectangles, and the lines of
ovals, drawn in the Canvas element.

Do Not Copy

2003-2007 Sony Corporation

116

74.2

linecolor

The linecolor attribute specifies the line color for the Canvas element.
74.3

linetype

The linetype attribute specifies the type of line, the lines of rectangles, and the lines of
ovals, drawn in the Canvas element. The values are specified below.
Line type

Line mode value

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
74.4

arrowtype

The arrowtype attribute specifies whether the line drawn in the Canvas element is a
straight line or an arrow.
Arrow yype

Value

Straight line

none

Start point

begin

arrow
End point

end

arrow
Both end

both

arrows
74.5

fillcolor

The fillcolor attribute fills the body color for the DrawBox and DrawEllipse elements in
the Canvas element.

75. Moveto
The Moveto element specifies the next start position of the Lineto, DrawBox and DrawEllipse
in the Canvas element.
<!ELEMENT Moveto
<!ATTLIST Moveto
x1

Do Not Copy

EMPTY >
CDATA

#REQUIRED

2003-2007 Sony Corporation

117

y1

Attribute

CDATA

#REQUIRED

>

Default Value

Data Type

Comments

(Signed

Decimal string

[dot]

Decimal string

[dot]

Name
x1

(Required) integer)
(Signed

y1

(Required) integer)
75.1

x1

The x1 attribute specifies the X coordinate of the drawing start point.


75.2

y1

The y1 attribute specifies the Y coordinate of the drawing start point.

76. Lineto
The Lineto element specifies a straight line drawing in the Canvas element. The straight line is
drawn from the start point to the position (end point) specified by the Lineto element. After the
line has been drawn, the specified drawing end point becomes the next drawing start point.
<!ELEMENT Lineto

EMPTY >

<!ATTLIST Lineto
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
linewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
linetype CDATA
#IMPLIED
arrowtype CDATA
#IMPLIED

Attribute

Default Value

>

Data Type

Comments

Name
Linecolor

COLORREF string

Linetype

String

Specifies solid, dotted, dashed,


or double.

String

arrowtype

Specifies none, begin, end, or


both.

Linewidth

(Unsigned

Decimal string

[dot]

Decimal string

[dot]

Decimal string

[dot]

integer)
x1

(Signed

(Required) integer)
y1

(Signed

(Required) integer)

Do Not Copy

2003-2007 Sony Corporation

118

76.1

x1

The x1 attribute specifies the X coordinate of the drawing end point.


76.2

y1

The y1 attribute specifies the Y coordinate of the drawing end point.


76.3

linewidth

The linewidth attribute specifies the width of the line to be drawn.


76.4

linecolor

The linecolor attribute specifies the line color for the Lineto element.
76.5

linetype

The linetype attribute specifies the line type to be drawns are specified below.
Line type

Line mode value

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
76.6

arrowtype

The arrowtype attribute specifies whether the line drawn in the Canvas element is a
straight line or an arrow.
Arrow yype

Value

Straight line

none

Start point

begin

arrow
End point

end

arrow
Both end

both

arrows

77. DrawBox
The DrawBox element specifies a rectangular drawing in the Canvas element. The quadrangle

Do Not Copy

2003-2007 Sony Corporation

119

is drawn as the diagonal from the start point to the end point specified by the DrawBox
element.
<!ELEMENT DrawBox

EMPTY >

<!ATTLIST DrawBox
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
linewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
linetype CDATA
#IMPLIED
fillcolor CDATA
#IMPLIED >

Attribute

Default Value

Data Type

Comments

Name
fillcolor

COLORREF string

linecolor

COLORREF string

linetype

String

Specifies solid, dotted, dashed,


or double.

(Unsigned

linewidth

Decimal string

[dot]

Decimal string

[dot]

ecimal string

[dot]

integer)
x1

(Signed

(Required)

integer)

y1

(Signed

(Required)

integer)

77.1

x1

The x1 attribute specifies the X coordinate of the drawing end point.


77.2

y1

The y1 attribute specifies the Y coordinate of the drawing end point.


77.3

linewidth

The linewidth attribute specifies the line width of the rectangle to be drawn.
77.4

linecolor

The linecolor attribute specifies the line color for the DrawBox element.
77.5

linetype

The linetype attribute specifies the line type of the rectangle to be drawn. The values are
specified below.

Do Not Copy

2003-2007 Sony Corporation

120

Line type

Line mode value

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
77.6

fillcolor

The fillcolor attribute fills the body color of the rectangle to be drawn.

78. DrawEllipse
The DrawEllipse element specifies an ellipse drawing in the Canvas element. The quadrangle
is drawn as the diagonal from the start point to the end point specified by the DrawEllipse
element.
<!ELEMENT DrawEllipse

EMPTY >

<!ATTLIST DrawEllipse
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
linewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
linetype CDATA
#IMPLIED
fillcolor CDATA
#IMPLIED >

Attribute

Default Value

Data Type

Comments

Name
fillcolor

COLORREF string

linecolor

COLORREF string

linetype

string

Specifies solid, dotted, dashed,


or double.

(Uunsigned

linewidth

Decimal string

[dot]

Decimal string

[dot]

Decimal string

[dot]

integer)
x1

(Signed

(Required)

integer)

y1

(Signed

(Required)

integer)

78.1

x1

The x1 attribute specifies the X coordinate of the drawing end point.

Do Not Copy

2003-2007 Sony Corporation

121

78.2

y1

The y1 attribute specifies the Y coordinate of the drawing end point.


78.3

linewidth

The linewidth attribute specifies the line width of the ellipse to be drawn.
78.4

linecolor

The linecolor attribute specifies the line color for the DrawEllipse element.
78.5

linetype

The linetype attribute specifies the line type of the ellipse to be drawn. The values are
specified below.
Line type

Line mode value

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
78.6

fillcolor

The fillcolor attribute fills the body color of the ellipse to be drawn.

79. ViewPoint
The ViewPoint specifies the center coordinates of the area to be enlarged by the user action.
<!ELEMENT ViewPoint

EMPTY >

<!ATTLIST ViewPoint
x0 CDATA
y0 CDATA

Attribute

#REQUIRED
#REQUIRED

>

Default Value

Data Type

Comments

(Unsigned

Decimal string

[dot]

Decimal string

[dot]

Name
x0

(Required) integer)
y0

(Unsigned

(Required) integer)

Do Not Copy

2003-2007 Sony Corporation

122

79.1

x0

The x0 attribute specifies the X coordinate of the center point area to be enlarged.
79.2

y0

The y0 attribute specifies the Y coordinate of the center point area to be enlarged.

80. MiniPage
The MiniPage element specifies the area to express more complex layout.
In the Page element, the Blocks cannot be located in the character feed direction. But in the
MiniPage element, the Blocks can be located in the character feed direction.
<!ELEMENT MiniPage (TextBlock | ImageBlock | ButtonBlock | SimpleTextBlock | Wait |
SoundStop | Canvas | PageDiv | RuledLine | BlockList | Locate)* >
<!ATTLIST MiniPage
minipagewidth CDATA
#REQUIRED
minipageheight CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
refbgimage CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
toclabel CDATA
#IMPLIED
objid CDATA
#REQUIRED
objlabel CDATA
#IMPLIED >

Attribute Name

Default Value

Data Type

bgcolor

0xff000000

COLORREF string

bgimagemode

fix

String

framecolor

0x00000000

COLORREF string

framemode

square

String

Comments
Specifies fix, tile or
centering. A warning is
issued and the command is
not assigned when any
other character string is
specified. In addition, an
error occurs and the
command is not assigned
when the bgimagemode
attribute is not specified at
the same time.
Specifies curve or
square.

If anything else

is specified, a warning is
issued, and square is
assigned.

Do Not Copy

2003-2007 Sony Corporation

123

0 (Unsigned

framewidth

Decimal string

[dot]

String

Specifies LrTb or TbRl.

integer)
LrTb

layout

When any other character


string is specified, a warning
is issued, and LrTb is
assigned.
minipageheight

0 (Unsigned

Decimal string

[dot]

Decimal string

[dot]

String

Specifies the only character

integer)
minipagewidth

0 (Unsigned
integer)

objid

string in the file.

(Required)
refbgimage

Object ID string

Specifies the objid of the


Image element. A warning is
issued and command is not
assigned when the specified
objid does not exist or
when it is the objid except
for the Image element. In
addition, a warning is issued
and the command is not
assigned when the
bgimagemode attribute is
not specified at the same
time.

String

toclabel

Specifies the character


string used in the TOC list.

String

objlabel

Specifies a character string


to identify this element.

80.1

minipagewidth

The minipagewidth attribute specifies the width of the MiniPage element.


80.2

minipageheight

The minipageheight attribute specifies the height of the MiniPage element.


80.3

bgcolor

The bgcolor attriburte specifies the background color of the MiniPage element.

Do Not Copy

2003-2007 Sony Corporation

124

80.4

layout

The layout attribute specifies the coordinate system of the MiniPage element. When
LrTb is specified, the origin is in the top left, the X axis is toward the right and the Y axis is
toward the bottom. When TbRl is specified, the origin is in the top right, the X axis is
toward the bottom and the Y axis is toward the left.
X

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, width and height remain unchanged.

80.5

framewidth

The framewidth attribute specifies the frame line width of the MiniPage. When this value
is 0 or not specified, no frame is rendered.
80.6

framecolor

The framecolor attribute specifies the frame color of the MiniPage.


80.7

framemode

The framemode attribute specifies the frame type of the Block. It is possible to specify
two types of frame: square means right angles in four corners and curve means
rounded corners.
80.8

refbgimage

The refgbimage attribute specifies the objid of the Image element to be shown as the
background of the MiniPage element. No image is shown if the objid is not specified.
80.9

bgimagemode

The bgimagemode attribute specifies how the Image specified in the refbgimage
attribute should be positioned.
The value is fix: The image position is at the origin of the MiniPage.

Do Not Copy

2003-2007 Sony Corporation

125

The value is tile: The images fill with MiniPage from the origin.
The value is center: The image position is the center of the MiniPage.
Example

fix

tile

centering

80.10 toclabel
The toclabel attribute specifies the character string to be shown as the TOC list on the
viewer devices. If the toclabel is specified, the Authoring tool picks up this labels
information and sets this label into the TOC element information in auto TOC creation
mode.
80.11 objid
The objid attribute specifies a unique character string in the content for each element.
80.12 objlabel
The objlabel attribute specifies an identifiable name for the element.

81. PageDiv
The PageDiv element specifies the division of the text area on the Page element.
<!ELEMENT PageDiv

EMPTY >

<!ATTLIST PageDiv
linetype CDATA
#IMPLIED
pain CDATA
#REQUIRED
spacesize CDATA
#REQUIRED
linewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED >

Attribute

Default Value

Data Type

Comments

String

Specifies none, solid, dotted,

Name
linetype
(Required)

Do Not Copy

dashed, or double.

2003-2007 Sony Corporation

126

pain

Decimal string

Use an integer value from "1" to "9".

Decimal string

[dot]

(Required)
spacesize

(Unsigned

(Required)

integer)

linecolor

0x00000000

COLORREF
string

linewidth

(Unsigned

(Required)

integer)

81.1

Decimal string

[dot]

linetype

The linetype attribute specifies the center line type located between devided panes. The
values are specified below.
Line type

Line mode value

No line

none

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
81.2

pain

The pain attribute specifies the number of divisions.


81.3

spacesize

The spacesize attribute specifies the distance between divided panes.


81.4

linecolor

The linecolor attribute specifies the line color for the PageDiv element.
81.5

linewidth

The linewidth attribute specifies the center line width located between the divided panes.

82. RuledLine
The RuledLine element specifies the ruled lines.
<!ELEMENT RuledLine

Do Not Copy

EMPTY >

2003-2007 Sony Corporation

127

<!ATTLIST RuledLine
linewidth CDATA
linelength CDATA
linetype CDATA
linecolor CDATA

Attribute

#IMPLIED
#IMPLIED
#IMPLIED
#IMPLIED >

Default Value

Data Type

Comments

linelength

(Unsigned

Decimal string

[dot]

(Required)

integer)
string

Specifies solid, dotted, dashed, or

Name

linetype

double.

(Required)
linewidth

(Unsigned

(Required)

integer)

linecolor

0x00000000

Decimal string

[dot]

COLORREF
string

82.1

linewidth

The linewidth attribute specifies the width of the ruled line.


82.2

linelength

The linelength attribute specifies the length of the ruled line. If the length is not specified,
the ruled line will be drawn with its length extending through the entire available drawning
area.
82.3

linetype

The linetype attribute specifies the type of the rule line. The values are specified below.
Line type

Line mode value

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
82.4

linecolor

The linecolor attribute specifies the line color for the RuledLine element.

Do Not Copy

2003-2007 Sony Corporation

128

83. BlockList
The BlockList element specifies the list of the Blocks that specifies the position in which the
character flows. Only the head BlockList can be specified by the Text and SimpleText
element of the child element of BlockList". At this time, the Block information referred to from
the Text and SimpleText elements is ignored. Moreover, only the end BlockList can select
either "horz-fixed", "horz-adjustable", "vert-fixed" or "vert-adjustable" as the blockrule value,
and other BlockList can select only "block-fixed" or "block-adjustable".
<!ELEMENT BlockList

(Text | SimpleText)? >

<!ATTLIST BlockList
parentblocklist CDATA
#REQUIRED
childblocklist CDATA
#REQUIRED
objid CDATA
#REQUIRED
blocklistlength CDATA
#IMPLIED
blockwidth CDATA
#IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
bgcolor CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
topskip CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
footskip CDATA
#IMPLIED
refbgimage CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
blockstyle CDATA
#REQUIRED >

Attribute Name

Default Value

Data Type

Comments

bgcolor

COLORREF string

bgimagemode

String

Specifies fix, tile or


centering. A warning is
issued and the command is
not assigned when any other
character string is specified.
In addition, an error occurs
and the command is not
assigned when the
bgimagemode attribute is
not specified at the same
time.

Decimal string

[dot]

Decimal string

Specifies the number of


Block composed as the
BlockList element.
However, this command
must only be set for the
beginning BlockList.

blockheight

(Unsigned
integer)

blocklistlength

Do Not Copy

2003-2007 Sony Corporation

129

String

blockrule

If the "blockrule" value in the


ending BlockList is
not block-fixed
or block-adjustable, an
error occurs.

If the

BlockList with the child is


not block-fixed or
block-adjustable, a warning
is issued,
and block-adjustable is
assigned.
blockwidth

(Unsigned

Decimal string

[dot]

Object ID string

Specifies the objid of the

integer)
childblocklist
(Required)

BlockList element. If the


object for the specified
objid does not exist, or if
the specified objid is not the
BlockList element, an error
occurs.

However, if there is

no child, 0 is assigned.
footskip

(Unsigned

Decimal string

[dot]

integer)
framecolor

COLORREF string

framemode

String

Specifies curve or square.


A warning is issued and the
command is not assigned
when any other character
string is specified.

framewidth

(Unsigned

Decimal string

[dot]

String

Specifies LrTb or TbRl.

integer)
layout

A warning is issued and the


command is not assigned
when any other character
string is specified.
objid

String

string in the file.

(Required)
parentblocklist

Do Not Copy

Specifies the only character

Object ID string

Specifies the objid of the

2003-2007 Sony Corporation

130

(Required)

BlockList element. If the


object for the specified
objid does not exist, or if
the specified objid is not the
BlockList element, an error
occurs. However, if there is
no parent, 0 is assigned.
Object ID string

refbgimage

Specifies the objid of the


Image element. A warning is
issued and the command is
not assigned when the
specified objid does not
exist or when it is the objid
except for the Image
element. In addition, a
warning is issued and the
command is not assigned
when the bgimagemode
attribute is not specified at
the same time.

(Unsigned

sidemargin

Decimal string

[dot]

Decimal string

[dot]

Style string

An error occurs when the

integer)
(Unsigned

topskip

integer)
blockstyle

specified style character

(Required)

string is not the same as


stylelabel of the
BlockStyle element.
83.1

parentblocklist

The parentblocklist attribute specifies the "objid" of the parent "BlockList" if a parent
"BlockList" exists in this BlockList.
83.2

childblocklist

The childblocklist attribute specifies the "objid" of the child "BlockList" if a child
"BlockList" exists in this BlockList.

Do Not Copy

2003-2007 Sony Corporation

131

83.3

objid

The objid attribute specifies a unique character string in the content for each element.
83.4

blocklistlength

The blocklistlength attribute specifies the total Block number that belongs to the
BlockList element. This information is specified in the beginning BlockList only.
83.5

blockwidth

The blockwidth attribute specifies the width of the Block.


83.6

blockheight

The blockheight attribute specifies the height of the Block.


83.7

blockrule

The blockrule attribute specifies how to expand the Block size when the customer is
increasing character size on the viewer devices. The values for the ending of the
BlockList element are specified horz-fixed, horz-adjustable, vert-fixed and
vert-adjustable. The values block-fixed and block-adjustable are available for all
others.
Rule value

Rule

horz-fixed

Block width cannot be changed.

horz-adjustable

Block width may be changed.

vert-fixed

Block height cannot be changed..

vert-adjustable

Block height may be changed.

block-fixed

Block width and height cannot be


changed.

block-adjustable

Block width and height may be


changed proportionally.

83.8

bgcolor

The bgcolor attriburte specifies the background color of the BlockList.


83.9

layout

The layout attribute specifies the coordinate system of the BlockList element. When
LrTb is specified, the origin is in the top left, the X axis is toward the right and the Y axis is
toward the bottom. When TbRl is specified, the origin is in the top right, the X axis is
toward the bottom and the Y axis is toward the left.

Do Not Copy

2003-2007 Sony Corporation

132

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, width and height remain unchanged.

83.10 framewidth
The framewidth attribute specifies the frame line width of the BlockList. When this value
is 0 or no child is specified, no frame is rendered.
83.11 framecolor
The framecolor attribute specifies the frame color of the Block.
83.12 framemode
The framemode attribute specifies the frame type of the Block. It is possible to specify
two types of frame: square means right angles in four corners and curve means
rounded corners.
83.13 topskip
The topskip attribute specifies the topskip of the Block layout composition.
83.14 sidemargin
The sidemargin attribute sets the sidemargin of the Block layout composition.
83.15 footskip
The footskip attribute sets the footskip of the Block layout composition.
83.16 refbgimage
The refgbimage attribute specifies the objid of the Image element to be shown as the
background of the BlockList element. No image is shown if the objid is not specified.

Do Not Copy

2003-2007 Sony Corporation

133

83.17 bgimagemode
The bgimagemode attribute specifies how the Image specified in the refbgimage
attribute should be positioned.
The value is fix: The image position is at the origin of the BlockList.
The value is tile: The images fill with BlockList from the origin.
The value is center: The image position is in the center of the BlockList.
Example

fix

tile

centering

84. Text
The Text element specifies the set up information of Text to express "Block" on the screen.
The attribute of the Text element is recommended to describe only different information from
the TextStyle element information specified by "textstyle".

<!ELEMENT Text

(P | SetText | CR | div)* >

<!ATTLIST Text
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontescapement CDATA
#IMPLIED
fontorientation CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
column CDATA
#IMPLIED
columnsep CDATA
#IMPLIED
align (head | center | foot)
#IMPLIED
textlinewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED

Do Not Copy

2003-2007 Sony Corporation

134

textstyle CDATA
#REQUIRED
fontweight CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
objid CDATA
#REQUIRED
rubyadjust CDATA
#IMPLIED
objlabel CDATA
#IMPLIED >

Attribute Name

Default Value

Data Type

Comments

fontsize

(Signed integer)

Decimal string

[pt] *10

fontwidth

(Signed integer)

Decimal string

[pt]*10 Specifies -10


when not changing the
font shape.

Decimal string

fontescapement

Specifies 0 or 2700.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

Decimal string

fontorientation

Specifies 0 or 2700.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

fontfacename

String

Specifies the font name.

textcolor

COLORREF string

textbgcolor

COLORREF string

wordspace

(Signed integer)

Decimal string

[pt]*10

letterspace

(Signed integer)

Decimal string

[pt]*10

charspace

(Signed integer)

Decimal string

[pt]*10

baselineskip

(Signed integer)

Decimal string

[pt]*10

linespace

(Signed integer)

Decimal string

[pt]*10

parindent

(Signed integer)

Decimal string

[pt]*10

parskip

(Signed integer)

Decimal string

[pt]*10

String

Specifies the start or

rubyalign

center character string.


A warning is issued and
the command is not
assigned when any other
character string is
specified.

Do Not Copy

2003-2007 Sony Corporation

135

rubyadjust

String

Specifies the line-edge


or none character
string.

A warning is

issued and the command


is not assigned when any
other character string is
specified.
rubyoverhang

String

Specifies the auto or


none character string.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

empdotsposition

String

Specifies before or
after.

A warning is

issued and the command


is not assigned when any
other character string is
specified.
empdotscode

Hexadecimal string

Specifies the character


code used as an
emphasis dot. In addition,
a warning is issued and
the command is not
assigned when the
empdotsfontname and
refempdotsfont
attributes are not
specified at the same
time.

emplineposition

String

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

Do Not Copy

2003-2007 Sony Corporation

136

String

emplinetype

Specifies none, solid,


dotted, dashed, or
double.

A warning is

issued and the command


is not assigned when any
other character string is
specified..
Decimal string

column

Specifies an integer
value from 1 to 9.

warning is issued and the


command is not assigned
when any other value is
specified.
columnsep

(Signed integer)

align

Decimal string

[pt]*10

String

Specifies head,
center, or foot. A
warning is issued and the
command is not assigned
when any other character
string is specified.

textlinewidth

(Unsigned

Decimal string

[pt]*10

integer)
linecolor

COLORREF string

textstyle

Style string

An error occurs when the


specified style character

(Required)

string is not the same as


stylelabel of the
TextStyle element.
fontweight

Decimal string

Specifies a value from 1


to 1,000.

A warning is

issued and the command


is not assigned when any
other value is specified.

Do Not Copy

2003-2007 Sony Corporation

137

empdotsfontname

String

Specifies the font name


of the font used for
emphasis dots. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
refempdotsfont attribute
are not specified at the
same time.

refempdotsfont

Object ID string

Specifies the objid of


the Font element. A
warning is issued and
command is not assigned
when the specified objid
does not exist or when it
is the objid except for
the Footer element. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
empdotsfontname
attribute

are not

specified at the same


time.
String

objid

Specifies the only


character string in the

(Required)

file.
String

objlabel

Specifies a character
string to identify this
element.

84.1

fontsize

The fontsize attribute specifies the the font size. Units are 10 times pt.
Example: To specify a font size of 10.5pt.
<TextBlock fontsize=105 />

Do Not Copy

2003-2007 Sony Corporation

138

84.2

fontwidth

The fontwidth attribute specifies the width of the font. Normally, the optimal width is
provided depending on the font size, but this is used when the width is changed
intentionally. Units are 10 times pt.
84.3

fontescapement

The fontescapement attribute specifies the character feed direction. 0 is specified for
horizontal font and 2700 is specified for vertical font. Other specifications are not
accepted.
84.4

fontorientation

The fontorientation attribute specifies the direction of character rotation. 0 is specified


for horizontal font and 2700 is specified for vertical font. Other specifications are not
accepted.
84.5

fontfacename

The fontfacename attribute specifies the name of the font to be used. The standard font is
used if nothing is specified.
84.6

textcolor

The textcolor attribute specifies the color of the text to be used. Black (0x00000000) is
used if nothing is specified.
84.7

textbgcolor

The textbgcolor attribute specifies the background color of the text. A transparent
(0xff000000) background is normally used if nothing is specified.
84.8

wordspace

The wordspace attribute specifies the width of spaces between words of Western
languages. Units are 10 times pt.
84.9

letterspace

The letterspace attribute specifies the size of spaces between letters of Western
languages. Units are 10 times pt.
84.10 charspace
The charspace attribute specifies the size of spaces between Japanese characters. Units
are 10 times pt.

Do Not Copy

2003-2007 Sony Corporation

139

84.11 baselineskip
The baselineskip attribute specifies the space between the lines. Units are 10 times pt.
84.12 linespace
The linespace attribute specifies the minimum guaranteed space for the direction of lines.
Units are 10 times pt.
84.13 parindent
The parindent attribute specifies the start position of the first line of the paragraph. A
negative value means overhanging. The maximum value of overhanging is equal to that
specified in the sidemargin attribute. Units are 10 times pt.
84.14 parskip
The parskip attribute specifies the width of the spaces between paragraphs. Units are 10
times pt.
84.15 rubyalign
The rubyalign attribute specifies the alignment of the Ruby Text. The alignment values
are specified below.
Alignment value
Start

Center

aligned

aligned

start

center

84.16 rubyadjust
The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head
or end position of the Ruby Text at the line edge position when the Ruby Text is longer
than the Ruby Base.
Line break operation
value
Operation

Operation

used

not used

line-edge

none

84.17 rubyoverhang
The rubyoverhang attribute specifies whether the overhanging operation for the Ruby

Do Not Copy

2003-2007 Sony Corporation

140

character is executed or not. The operation values are specified below.


RubyOverhang

Overhang
Value

Overhang

auto

No overhang

none

84.18 empdotsposition
The empdotsposition attribute specifies the position of emphasis dots. The values are
specified below.
EmpDotsPosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
84.19 empdotscode
The empdotscode attribute specifies the character (or symbol) code used as an emphasis
dot.
84.20 emplineposition
The emplineposition attribute specifies the position of the emphasis line. The values are
specified below.
EmpLinePosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
84.21 emplinetype
The emplinetype attribute specifies the type of emphasis line. The values are specified
below.

Do Not Copy

2003-2007 Sony Corporation

141

Type of

Line mode value

line
None

none

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
84.22 column
The column attribute specifies the step number of columns.
84.23 columnsep
The columnsep attribute specifies the space between columns. Units are 10 times pt.
84.24 align
The align attribute specifies the alignment direction of the text.
Direction

Value

Head

head

Center

center

Foot

foot

84.25 textlinewidth
The textlinewidth attribute specifies the lines width for the Empline and Box elements.
Units are 10 times pt.
84.26 linecolor
The linecolor attribute specifies the line color for the Empline and Box elements.
84.27 textstyle
The textstyle attribute specifies the stylelabel of the TextStyle element specifying the
information necessary for rendering the text.
84.28 fontweight
The fontweight attribute specifies the weight of the text. The value 400 is normal weight
and 800 is Bold.

Do Not Copy

2003-2007 Sony Corporation

142

84.29 empdotsfontname
The empdotsfontname attribute specifies the font name of the character (or symbol) used
as emphasis dots.
84.30 refempdotsfont
The refempdotsfont attribute specifies the objid of the Font element used as emphasis
dots. When the value is 0, the font of main text is used.
84.31 objid
The objid attribute specifies a unique character string in the content for each elements.
84.32 objlabel
The objlabel attribute specifies an identifiable name for the element.

85. SimpleText
The SimpleText element specifies the set up information of Text to express "Block" on the
screen. The attribute of the SimpleText element is recommended to describe only different
information from the TextStyle element information specified by "textstyle".
<!ELEMENT SimpleText

(P | CR)* >

<!ATTLIST SimpleText
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontescapement CDATA
#IMPLIED
fontorientation CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
textlinewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
textstyle CDATA
#REQUIRED
fontweight CDATA
#IMPLIED
objid CDATA
#REQUIRED
rubyadjust CDATA
#IMPLIED
objlabel CDATA
#IMPLIED >

Attribute Name

Default Value

Data Type

Comments

fontsize

(signed integer)

Decimal String

[pt]*10

fontwidth

(signed integer)

Decimal String

[pt]*10

Do Not Copy

2003-2007 Sony Corporation

143

Decimal String

fontescapement

Specifies 0 or 2700. A
warning is issued and the
command is not assigned
when any other character
string is specified..

Decimal String

fontorientation

Specifies 0 or 2700. A
warning is issued and the
command is not assigned
when any other character
string is specified..

fontfacename

String

textcolor

COLORREF String

textbgcolor

COLORREF String

Specifies the font name.

wordspace

(signed integer)

Decimal String

[pt]*10

letterspace

(signed integer)

Decimal String

[pt]*10

charspace

(signed integer)

Decimal String

[pt]*10

baselineskip

(signed integer)

Decimal String

[pt]*10

linespace

(signed integer)

Decimal String

[pt]*10

parindent

(signed integer)

Decimal String

[pt]*10

parskip

(signed integer)

Decimal String

[pt]*10

String

Specifies the start or center

rubyalign

character string. When any


other character string is
specified, a warning is issued,
and the command is not
assigned.
String

rubyadjust

Specifies the line-edge or


none character string. When
any other character string is
specified, a warning is issued,
and the command is not
assigned.

String

rubyoverhang

Specifies the auto or none


character string. A warning is
issued and the command is not
assigned when any other
character string is specified.

textlinewidth

(unsigned

Decimal String

[pt]*10

integer)

Do Not Copy

2003-2007 Sony Corporation

144

linecolor

COLORREF String

textstyle

Style String

An error occurs when the


specified style character string

(Required)

is not the same as stylelabel


of the TextStyle element.
Decimal String

fontweight

Specifies a value from "1" to


"1,000". A warning is issued
and the command is not
assigned when any other value
is specified.

String

objid

Specifies the only character


string in the file.

(Required)
String

objlabel

Specifies a character string to


identify this element.

85.1

fontsize

The fontsize attribute specifies the the font size. Units are 10 times pt.
Example: To specify a font size of 10.5pt.
<TextBlock fontsize=105 />
85.2

fontwidth

The fontwidth attribute specifies the width of the font. Normally, the optimal width is
provided depending on the font size, but this is used when the width is changed
intentionally. Units are 10 times pt.
85.3

fontescapement

The fontescapement attribute specifies the character feed direction. 0 is specified for
horizontal font and 2700 is specified for vertical font. Other specifications are not
accepted.
85.4

fontorientation

The fontorientation attribute specifies the direction of character rotation. 0 is specified


for horizontal font and 2700 is specified for vertical font. Other specifications are not
accepted.
85.5

fontfacename

The fontfacename attribute specifies the name of the font to be used. The standard font is
used if nothing is specified.

Do Not Copy

2003-2007 Sony Corporation

145

85.6

textcolor

The textcolor attribute specifies the color of the text to be used. Black (0x00000000) is
used if nothing is specified.
85.7

textbgcolor

The textbgcolor attribute specifies the background color of the text. A transparent
(0xff000000) background is normally used if nothing is specified.
85.8

wordspace

The wordspace attribute specifies the width of spaces between words of Western
languages. Units are 10 times pt.
85.9

letterspace

The letterspace attribute specifies the size of spaces between letters of Western
languages. Units are 10 times pt.
85.10 charspace
The charspace attribute specifies the size of spaces between Japanese characters. Units
are 10 times pt.
85.11 baselineskip
The baselineskip attribute specifies the space between the lines. Units are 10 times pt.
85.12 linespace
The linespace attribute specifies the minimum guaranteed space for the direction of lines.
Units are 10 times pt.
85.13 parindent
The parindent attribute specifies the start position of the first line of the paragraph. A
negative value means - overhanging. The maximum value of overhanging is equal to
that specified in the sidemargin attribute. Units are 10 times pt.
85.14 parskip
The parskip attribute specifies the width of the spaces between paragraphs. Units are 10
times pt.
85.15 rubyalign
The rubyalign attribute specifies the alignment of the Ruby Text. The alignment values
are

specified below.

Do Not Copy

2003-2007 Sony Corporation

146

Alignment value
Start

Center

aligned

aligned

start

center

85.16 rubyadjust
The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head
or end position of the Ruby Text at the line edge position when the Ruby Text is longer
than the Ruby Base.
Line break operation
value
Operation

Operation

used

not used

line-edge

none

85.17 rubyoverhang
The rubyoverhang attribute specifies whether the overhanging operation for the Ruby
character is executed or not. The operation values are specified below.
RubyOverhang

Overhang
Value

Overhang

auto

No overhang

none

85.18 textlinewidth
The textlinewidth attribute specifies the line width for the Empline and Box elements.
Units are 10 times pt.
85.19 linecolor
The linecolor attribute specifies the line color for the Empline and Box elements.
85.20 textstyle
The textstyle attribute specifies the stylelabel of the TextStyle element specifying the
information necessary for rendering the text.
85.21 fontweight
The fontweight attribute specifies the weight of the text. The value 400 is normal weight

Do Not Copy

2003-2007 Sony Corporation

147

and 800 is Bold.


85.22 objid
The objid attribute specifies a unique character string in the content for each element.
85.23 objlabel
The objlabel attribute specifies an identifiable name for the element.

86. Locate
The Locate element specifies the relative location of Blocks in the MiniPage element.
<!ELEMENT Locate

EMPTY >

<!ATTLIST Locate
xspace CDATA
#IMPLIED
yspace CDATA
#IMPLIED
pos CDATA
#IMPLIED >

Attribute Default Value

Data Type

Comments

Name
xspace

Decimal string

[dot]

yspace

Decimal string

[dot]

pos

bottomleft

String

Specifies bottomleft, bottomright,


topright, or base. When any other
character string is specified, a warning is
issued, and bottomleft is assigned.

86.1

xspace

The xspace attribute specifies the amount of space in the X-axis direction.
86.2

yspace

The yspace attribute specifies the amount of space in the Y-axis direction.
86.3

pos

The Pos attribute specifies the location of the start point for specifying the relative location.
The value bottomleft means the start position is the previous blocks bottom left.
The value bottomright means the start position is the previous blocks bottom right.
The value topleft means the start position is the previous blocks top left.
The value topright means the start position is the previous blocks top right.
The value base means the start position is the intersection between the Y-axis and the
item drawn on the largest direction of Y coordinates among the bottoms of all blocks in the

Do Not Copy

2003-2007 Sony Corporation

148

MiniPage element.

87. Import
The Import element specifies the referred external objects and files.
<!ELEMENT Import

(ObjLink | FileLink) >

<!ATTLIST Import
importtype CDATA
#REQUIRED
objlabel CDATA
#IMPLIED
objid CDATA
#REQUIRED >

Attribute

Default Value

Data

Name

Type

importtype

String

Comments
Only the ImageStream and SoundStream
elements can be described in the current version.

(Required)
objlabel

String

Specifies a character string to identify this element.

objid

String

Specifies the only character string in the file.

(Required)
87.1

importtype

The importtype attribute specifies what type of the element is used for the Import
element.
87.2

objlabel

The objlabel attribute specifies an identifiable name for the element.


87.3

objid

The objid attribute specifies a unique character string in the content for each element.

88. ObjLink
The ObjLink element specifies the accessed external object. The format of the ObjLink
element depends on the accesstype attribute.
<!ELEMENT ObjLink

(#PCDATA) >

<!ATTLIST ObjLink
accesstype (url | cid | path) "path"
refobj CDATA
#REQUIRED >

Do Not Copy

2003-2007 Sony Corporation

149

Attribute

Default Value

Data Type

Comments

path

String

Specifies url, cid, or path.

Name
accesstype

When any other character string

(Required)

is specified, a warning is issued,


and path is assigned.
Decimal string

refobj

Only the objid of the

(Required)

ImageStream or SoundStream
element can be specified in the
current version. If the object for
the specified objid does not
exist, an error occurs.

88.1

accesstype

The accesstype attribute specifies the access method. The values are specified below.
Access method

Access format
number

URL access

url

Libro access

cid

Relative path

path

access
88.2

refobj

The refobj attribute specifies the objid of the element (the ImageStream and
SoundStream elements) specified as the Link target.

89. FileLink
The FileLink element specifies the accessed external files. The format of the FileLink element
depends on the accesstype attribute.
<!ELEMENT FileLink

(#PCDATA) >

<!ATTLIST FileLink
accesstype (url | cid | path)

Attribute

Default Value

Name
accesstype
(Required)

Do Not Copy

Data

"path" >

Comments

Type
path

String

Specifies url or path. When any other character


string is specified, an error occurs.

2003-2007 Sony Corporation

150

89.1

accesstype

The accesstype attribute specifies the access method. The values are specified below.
Access method

Access format
number

URL access

url

Relative path

path

access

90. Solo
The Solo element specifies the independent Page of the Main element. The independent
Page can only be used by the JumpTo, etc. action from an element in the Main element.
<!ELEMENT Solo

(Pages+) >

91. Pages
The Pages element specifies the continuous page group. The continuity of turning page is
guaranteed within the same Pages, but there is no continuity between other Pages.
<!ELEMENT Pages

(Page+) >

<!ATTLIST Pages
objid CDATA
#REQUIRED
objlabel CDATA
#IMPLIED

Attribute

Default Value

Data

Name

Type

objid

String

>

Comments
Specifies the only character string in the
file.

(Required)
String

objlabel

Specifies a character string to identify this


element.

91.1

objid

The objid attribute specifies a unique character string in the content for each element.
91.2

objlabel

The objlabel attribute specifies an identifiable name for the element.

Do Not Copy

2003-2007 Sony Corporation

151

92. Template
The Template element specifies the information used as standard styles and objects when
creating contents. Multiple sets of standard styles and objects can be maintained, and are
separated by the TemplateSet element.
An objid used in the TemplateSet element is information used in only this element.
Information on "TemplateSet" that wants to be used is copied onto Style and the Objects
element described after the Template element, and used.
<!ELEMENT Template

(TemplateSet+) >

<!ATTLIST Template
version

Attribute

Default Value

Name

CDATA

#REQUIRED

Data

>

Comments

Type
1.0

version

String

Defines as 1.0.

(Required)
92.1

version

The version attribute specifies the format version of Template. The current version is 1.0.

93. TemplateSet
The TemplateSet element specifies the set including the Style and Objects elements. A local
"objid" is used in it.
<!ELEMENT TemplateSet

(Style,Objects) >

<!ATTLIST TemplateSet
templatelabel

Attribute

Default Value

CDATA

Data

Name

Type

templatelabel

String

#REQUIRED

>

Comments

(Required)
93.1

templatelabel

The templatelabel attribute specifies an identifiable name of the TemplateSet element.

94. Style
The Style element specifies the each type of Style information.
<!ELEMENT Style

Do Not Copy

(BookStyle,(TextStyle | BlockStyle | SpanStyle | PageStyle)*) >

2003-2007 Sony Corporation

152

95. BookStyle
The BookStyle element specifies the content information.
<!ELEMENT BookStyle

(SetDefault?,RegistFont*,BookSetting) >

<!ATTLIST BookStyle
stylelabel CDATA
#REQUIRED
objid CDATA
#REQUIRED >

Attribute

Default Value

Data Type

Comments

Style string

Specifies the style character string.

String

Specifies the only character string in the

Name
stylelabel
(Required)
objid

file.

(Required)
95.1

stylelabel

The stylelabel attribute specifies an identifiable name of the Style element.


95.2

objid

The objid attribute specifies a unique character string in the content for each element.

96. SetDefault
The SetDefault element specifies the default value of the available layout information in the
content. The value set here will be the default value for using each type of object.
<!ELEMENT SetDefault

EMPTY >

<!ATTLIST SetDefault
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
setwaitprop CDATA
#IMPLIED >

Attribute Name

Default Value

Data Type

Comments

rubyalign

start

String

Specifies the start or

(Required)

center character string.


When any other character
string is specified, a
warning is issued,
and start is assigned.

Do Not Copy

2003-2007 Sony Corporation

153

rubyadjust

none

String

Specifies the line-edge


or none character string.

(Required)

When any other character


string is specified, a
warning is issued,
and none is assigned.
rubyoverhang

none

String

Specifies the auto or


none character string.

(Required)

When any other character


string is specified, a
warning is issued, and
no is assigned.
empdotsposition

before

String

Specifies before or
after. When any other

(Required)

character string is
specified, a warning is
issued, and before is
assigned.
emplineposition

before

String

Specifies before or
after. When any other

(Required)

character string is
specified, a warning is
issued, and before is
assigned.
emplinetype

none

Hexadecimal string

Specifies the line mode


value as none, solid,
dotted, dashed, or
double. When any other
value is specified, a
warning is issued,
and none is assigned.

String

Specifies the font name of


the font used for
emphasis dots. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
refempdotsfont
attributes are not
specified at the same
time.

(Required)

empdotsfontname
(Required)

Do Not Copy

2003-2007 Sony Corporation

154

Object ID string

refempdotsfont
(Required)

Specifies the objid of the


Font element. A warning
is issued and the
command is not assigned
when the specified objid
does not exist or when it
is the objid except for
the Footer element. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
empdotsfontname
attributes are not
specified at the same
time.

empdotscode

0x3001

Hexadecimal string

Specifies the character


code used as an

(Required)

emphasis dot. In addition,


a warning is issued and
the command is not
assigned when the
empdotsfontname and
refempdotsfont
attributes are not
specified at the same
time.
setwaitpropt

noreplay

String

Specifies replay or
noreplay. If the specified

(Required)

character string is neither


of these, a warning is
issued, and noreplay is
assigned.

96.1

rubyalign

The rubyalign attribute specifies the alignment of the Ruby Text. The alignment values
are specified below.

Do Not Copy

2003-2007 Sony Corporation

155

Alignment value

96.2

Start

Center

aligned

aligned

start

center

rubyadjust

The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head
or end position of the Ruby Text at the line edge position when the Ruby Text is longer
than the Ruby Base.
Line break operation
value

96.3

Operation

Operation

used

not used

line-edge

none

rubyoverhang

The rubyoverhang attribute specifies whether the overhanging operation for the Ruby
character is executed or not. The operation values are specified below.
RubyOverhang

Overhang
Value

96.4

Overhang

auto

No overhang

none

empdotsposition

The empdotsposition attribute specifies the position of emphasis dots. The values are
specified below.
EmpDotsPosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
96.5

empdotscode

The empdotscode attribute specifies the character (or symbol) code used as an emphasis
dot.

Do Not Copy

2003-2007 Sony Corporation

156

96.6

emplineposition

The emplineposition attribute specifies the position of the emphasis line. The values are
specified below.
EmpLinePosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
96.7

emplinetype

The emplinetype attribute specifies the type of emphasis line. The values are specified
below.
Type of

Line mode value

line
None

none

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
96.8

empdotsfontname

The empdotsfontname attribute specifies the font name of the character (or symbol) used
as emphasis dots.
96.9

refempdotsfont

The refempdotsfont attribute specifies the objid of the Font element used as emphasis
dots. When the value is 0, the font of the main text is used.
96.10 setwaitprop
The setwaitprop attribute specifies the Wait process within the Page element. The
following table is used to specify whether the process is replayed.

Do Not Copy

2003-2007 Sony Corporation

157

Wait flag value

Operation
specification

Replay

Replay

noreplay

No replay

97. RegistFont
The RegistFont element specifies the font to be opened in advance.
<!ELEMENT RegistFont

EMPTY >

<!ATTLIST RegistFont
fontfilename CDATA
#REQUIRED
file CDATA
#REQUIRED
fontname CDATA
#REQUIRED
encoding CDATA
#REQUIRED >

Attribute

Default Value

Data Type

Comments

String

Specifies the after-open file name.

File path string

Describes with the files absolute

Name
fontfilename
(Required)
file

path or accessible relative path.

(Required)
String

encoding

Specifies TTF, OTF, or BF.


When any other character string is

(Required)

specified, an error occurs.


String

fontname

Specifies the font name.

(Required)
97.1

fontfilename

The fontfilename attribute specifies the file name to be used after open.
97.2

file

The file attribute specifies the path for the font file to be embedded, and its file name.
97.3

fontname

The fontname attribute specifies the font name of the font to be embedded.
97.4

encoding

The encoding attribute specifies the data format of the font file. Character strings that can
be described are TTF, OTF, and BF. However, in this version, OTF and BF are

Do Not Copy

2003-2007 Sony Corporation

158

reserved words, and cannot actually be set.

98. BookSetting
The BookSetting element specifies the assumed environment when the content was created.
<!ELEMENT BookSetting

EMPTY >

<!ATTLIST BookSetting
bindingdirection (Lr | Rl)
#REQUIRED
dpi CDATA
#REQUIRED
screenwidth CDATA
#REQUIRED
screenheight CDATA
#REQUIRED
colordepth CDATA "24" >

Attribute Name

Default Value

bindingdirection

Data Type

Comments

String

Specifies Lr or Rl. When any other


character string is specified, an error

(Required)

occurs.
(Unsigned

dpi
(Required)

integer)

screeneheight

(Unsigned

(Required)

integer)

screenwidth

(Unsigned

(Required)

integer)

colordepth

24 (Unsigned
integer)

Decimal string

[dpi]*10

Decimal string

[dot]

Decimal string

[dot]

Decimal string

Specifies the color depth in bits. If the


value is not suitable, a warning is
issued and 24 is assigned.

98.1

bindingdirection

The bindingdirection attribute specifies the page flow direction of the content.If Lr is
specified, the page advances from left to right, and if Rl is specified, the page advances
from right to left.
98.2

dpi

The dpi attribute specifies the assumed dpi value when the layout of the content was
determined.
98.3

screenwidth

The screenwidth attribute specifies the assumed width of the display area when the layout
of the content was determined.

Do Not Copy

2003-2007 Sony Corporation

159

98.4

screenheight

The screenheight attribute specifies the assumed height of the display area when the
layout of the content was determined.
98.5

colordepth

The colordepth attribute specifies the bits the color depth required to display the content
as it is.

99. TextStyle
The TextStyle element specifies the available Text information in the content.
<!ELEMENT TextStyle

EMPTY >

<!ATTLIST TextStyle
objid CDATA
#REQUIRED
stylelabel CDATA
#REQUIRED
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontescapement CDATA
#IMPLIED
fontorientation CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
column CDATA
#IMPLIED
columnsep CDATA
#IMPLIED
align (head | center | foot)
#IMPLIED
textlinewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
charspace CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
autoindex CDATA
#IMPLIED >

Attribute Name

Default Value

objid

Data Type

Comments

String

Specifies the only


character string in the file.

(Required)
Style string

stylelabel

character string.

(Required)
Fontsize

Specifies the style

0 (Signed

Decimal string

[pt]*10

integer)

Do Not Copy

2003-2007 Sony Corporation

160

Fontwidth

-10 (Signed

Decimal string

integer)

[pt]*10 Specifies -10


when not changing the
font shape.

Fontescapement

Decimal string

Specifies 0 or 2700.
When any other value is
specified, a warning is
issued and 0 is
assigned.

Fontorientation

Decimal string

Specifies 0 or 2700.
When any other value is
specified, a warning is
issued, and 0 is
assigned.

String

fontfacename

Specifies the font name.

(Required)
textcolor

0x00000000

COLORREF string

textbgcolor

0xff000000

COLORREF string

wordspace

0 (Signed

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

String

Specifies the start or

integer)
letterspace

0 (Signed
integer)

baselineskip

0 (Signed
integer)

linespace

0 (Signed
integer)

parindent

0 (Signed
integer)

parskip

0 (Signed
integer)

rubyalign

center character string.


A warning is issued and
the command is not
assigned when any other
character string is
specified.

Do Not Copy

2003-2007 Sony Corporation

161

rubyadjust

String

Specifies the line-edge


or none character string.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

rubyoverhang

String

Specifies the auto or


none character string.
When any other character
string is specified, a
warning is issued,
and no is assigned.

empdotsposition

String

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

empdotscode

String

Specifies the character


code used as an
emphasis dot. In addition,
a warning is issued and
the command is not
assigned when the
empdotsfontname and
refempdotsfont
attributes are not
specified at the same
time.

emplineposition

String

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

Do Not Copy

2003-2007 Sony Corporation

163

String

emplinetype

Specifies the line mode


value as none, solid,
dotted, dashed, or
double. A warning is
issued and the command
is not assigned when any
other character string is
specified.

column

Decimal string

Specifies an integer value


from "1" to "9". When any
other value is specified, a
warning is issued, and 1
is assigned.

columnsep

Decimal string

[pt]*10

align

head

String

Specifies head, center,


or foot. When any other
character string is
specified, a warning is
issued, and head is
assigned.

textlinewidth

0 (Unsigned

Decimal string

[pt]*10

integer)
linecolor

0x00000000

COLORREF string

charspace

0 (Signed

Decimal string

[pt]*10

Decimal string

Specifies a value from "1"


to "1,000". When any
other value is specified, a
warning is issued,
and 400 is assigned.

String

Specifies the font name of


the font used for
emphasis dots. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
refempdotsfont
attributes are not
specified at the same
time.

integer)
fontweight

empdotsfontname

Do Not Copy

400

2003-2007 Sony Corporation

164

Object ID string

refempdotsfont

Specifies the objid of the


Font element. A warning
is issued and command is
not assigned when the
specified objid does not
exist or when it is the
objid except for the
Footer element. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
empdotsfontname
attributes are not
specified at the same
time.

off

autoindex
99.1

String

Specifies on or off.

objid

The objid attribute specifies a unique character string in the content for each element.
99.2

stylelabel

The stylelabel attribute specifies an identifiable name of the Style element.


99.3

fontsize

The fontsize attribute specifies the the font size. Units are 10 times pt.
Example: To specify a font size of 10.5pt.
<TextBlock fontsize=105 />
99.4

fontwidth

The fontwidth attribute specifies the width of the font. Normally, the optimal width is
provided depending on the font size, but this is used when the width is changed
intentionally. Units are 10 times pt.
99.5

fontescapement

The fontescapement attribute specifies the character feed direction. 0 is specified for
horizontal font and 2700 is specified for vertical font. Other specifications are not
accepted.

Do Not Copy

2003-2007 Sony Corporation

165

99.6

fontorientation

The fontorientation attribute specifies the direction of character rotation. 0 is specified


for horizontal font and 2700 is specified for vertical font. Other specifications are not
accepted.
99.7

fontfacename

The fontfacename attribute specifies the name of the font to be used. The standard font is
used if nothing is specified.
99.8

textcolor

The textcolor attribute specifies the color of the text to be used. Black (0x00000000) is
used if nothing is specified.
99.9

textbgcolor

The textbgcolor attribute specifies the background color of the text. A transparent
(0xff000000) background is normally used if nothing is specified.
99.10 wordspace
The wordspace attribute specifies the width of spaces between words of Western
languages. Units are 10 times pt.
99.11 letterspace
The letterspace attribute specifies the size of spaces between letters of Western
languages. Units are 10 times pt.
99.12 baselineskip
The baselineskip attribute specifies the space between the lines. Units are 10 times pt.
99.13 linespace
The linespace attribute specifies the minimum guaranteed space for the direction of lines.
Units are 10 times pt.
99.14 parindent
The parindent attribute specifies the start position of the first line of the paragraph. A
negative value means overhanging. The maximum value of overhanging is equal to that
specified in the sidemargin attribute. Units are 10 times pt.
99.15 parskip
The parskip attribute specifies the width of the spaces between paragraphs. Units are 10
times pt.

Do Not Copy

2003-2007 Sony Corporation

166

99.16 rubyalign
The rubyalign attribute specifies the alignment of the Ruby Text. The alignment values
are specified below.
Alignment value
Start

Center

aligned

aligned

start

center

99.17 rubyadjust
The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head
or end position of the Ruby Text at the line edge position when the Ruby Text is longer
than the Ruby Base.
Line break operation
value
Operation

Operation

used

not used

line-edge

none

99.18 rubyoverhang
The rubyoverhang attribute specifies whether the overhanging operation for the Ruby
character is executed or not. The operation values are specified below.
RubyOverhang

Overhang
Value

Overhang

auto

No overhang

none

99.19 empdotsposition
The empdotsposition attribute specifies the position of emphasis dots. The values are
specified below.
EmpDotsPosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)

Do Not Copy

2003-2007 Sony Corporation

167

99.20 empdotscode
The empdotscode attribute specifies the character (or symbol) code used as an emphasis
dot.
99.21 emplineposition
The emplineposition attribute specifies the position of the emphasis line. The values are
specified below.
EmpLinePosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
99.22 emplinetype
The emplinetype attribute specifies the type of the emphasis line. The values are
specified below.
Type of

Line mode value

line
None

none

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
99.23 column
The column attribute specifies the step number of columns.
99.24 columnsep
The columnsep attribute specifies the space between columns. Units are 10 times pt.
99.25 align
The align attribute specifies the alignment direction of the text.

Do Not Copy

2003-2007 Sony Corporation

168

Direction

Value

Head

head

Center

center

Foot

foot

99.26 textlinewidth
The textlinewidth attribute specifies the line width for the Empline and Box elements.
Units are 10 times pt.
99.27 linecolor
The linecolor attribute specifies the line color for the Empline and Box elements.
99.28 charspace
The charspace attribute specifies the size of spaces between Japanese characters. Units
are 10 times pt.
99.29 fontweight
The fontweight attribute specifies the weight of the text. The value 400 is normal weight
and 800 is Bold.
99.30 empdotsfontname
The empdotsfontname attribute specifies the font name of the character (or symbol) used
as emphasis dots.
99.31 refempdotsfont
The refempdotsfont attribute specifies the objid of the Font element used as emphasis
dots. When the value is 0, the font of the main text is used.
99.32 autoindex
The autoindex attribute specifies whether the same character string from the top of the
sentence is used as toclabel or not. The value on means to use it as toclabel in auto
TOC creation mode. The value off means not to use it.

100. BlockStyle
The BlockStyle element specifies the available Block information in the content.
<!ELEMENT BlockStyle

EMPTY >

<!ATTLIST BlockStyle
stylelabel CDATA
#REQUIRED
objid CDATA
#REQUIRED

Do Not Copy

2003-2007 Sony Corporation

169

blockwidth CDATA
#IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
bgcolor CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
topskip CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
footskip CDATA
#IMPLIED
refbgimage CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED

Attribute Name

Default Value

stylelabel

Data Type

Comments

Style string

Specifies a style character


string.

(Required)
String

objid

Specifies the only character


string in the file.

(Required)
blockwidth

>

0 (Unsigned

Decimal string

[dot]

Decimal string

[dot]

integer)
blockheight

0 (Unsigned
integer)

blockrule

horz-adjustable String

Specifies horz-fixed,
horz-adjustable,
vert-fixed,
vert-adjustable,
block-fixed, or
block-adjustable. If none of
these is specified, a warning
is issued,
and horz-adjustable is
assigned.

bgcolor

0xff000000

COLORREF string

layout

LrTb

String

Selects LrTb or TbRl.


When any other character
string is specified, a warning
is issued, and LrTb is
assigned.

framewidth

0 (Unsigned

Decimal string

[dot]

integer)
framecolor

Do Not Copy

0x00000000

COLORREF string

2003-2007 Sony Corporation

170

framemode

square

String

Specifies curve or
square. When any other
character string is specified,
a warning is issued,
and square is assigned.

topskip

0 (Unsigned

Decimal string

[dot]

Decimal string

[dot]

Decimal string

[dot]

Object ID string

Specifies the objid of the

integer)
sidemargin

0 (Unsigned
integer)

footskip

0 (Unsigned
integer)

refbgimage

Image element. A warning is


issued and the command is
not assigned when the
specified objid does not
exist or when it is the objid
except for the Image
element. In addition, a
warning is issued and the
command is not assigned
when the bgimagemode
attribute is not specified at
the same time.
bgimagemode

fix

String

Specifies fix, tile or


centering. A warning is
issued and the command is
not assigned when any other
character string is specified.
In addition, an error occurs
and the command is not
assigned when the
bgimagemode attribute is
not specified at the same
time.

100.1 stylelabel
The stylelabel attribute specifies an identifiable name of the Style element.

Do Not Copy

2003-2007 Sony Corporation

171

100.2 objid
The objid attribute specifies a unique character string in the content for each element.
100.3 blockwidth
The blockwidth attribute specifies the width of the Block.
100.4 blockheight
The blockheight attribute specifies the height of the Block.
100.5 blockrule
The blockrule attribute specifies how to expand the Block size when the customer is
increasing character size on the viewer devices. The values for the TextBlock,
ImageBlock, SimpleTextBlock and ButtonBlock elements are specified as block-fixed
and block-adjustable.
Rule Value

Rule

horz-fixed

Block width cannot be changed.

horz-adjustable

Block width may be changed.

vert-fixed

Block height cannot be changed.

vert-adjustable

Block height may be changed.

block-fixed

Block width and height cannot be


changed.

block-adjustable

Block width and height may be


changed proportionally.

100.6 bgcolor
The bgcolor attriburte specifies the background color of the Block.
100.7 layout
The layout attribute specifies the coordinate system of the TextBlock, ImageBlock,
ButtonBlock and SimpleTextBlock elements. When LrTb is specified, the origin is in
the top left, the X axis is toward the right and the Y axis is toward the bottom. When TbRl
is specified, the origin is in the top right, the X axis is toward the bottom and the Y axis is
toward the left.

Do Not Copy

2003-2007 Sony Corporation

172

X
height
width

LrTb

TbRl

The coordinate system varies depending on the layout specified.


However, width and height remain unchanged.

100.8 framewidth
The framewidth attribute specifies the frame line width of the Block. When this value is
0 or not specified, no frame is rendered.
100.9 framecolor
The framecolor attribute specifies the frame color of the Block.
100.10 framemode
The framemode attribute specifies the frame type of the Block. It is possible to specify
two types of frame: square means right angles in four corners and curve means
rounded corners.
100.11 topskip
The topskip attribute specifies the topskip of the Block layout composition.
100.12 sidemargin
The sidemargin attribute sets the sidemargin of the Block layout composition.
100.13 footskip
The footskip attribute sets the footskip of the Block layout composition.
100.14 refbgimage
The refgbimage attribute is specifies the objid of the Image element to be shown as the
background of the BlockStyle element. No image is shown if the objid is not specified.

Do Not Copy

2003-2007 Sony Corporation

173

100.15 bgimagemode
The bgimagemode attribute specifies how the Image specified in the refbgimage
attribute should be positioned.
The value is fix: The image position is at the origin of the Block.
The value is tile: The images fill the Block from the origin.
The value is center: The image position is in the center of the Block.
Example

fix

tile

centering

101. SpanStyle
The SpanStyle element specifies the available Span for the part that has special meaning in
the character string.
<!ELEMENT SpanStyle

EMPTY >

<!ATTLIST SpanStyle
stylelabel CDATA
#REQUIRED
objid CDATA
#REQUIRED
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED >

Attribute Name
stylelabel
(Required)

Do Not Copy

Default Value

Data Type

Comments

Style string

Specifies the style


character string.

2003-2007 Sony Corporation

174

String

objid

character string in the file.

(Required)
fontsize

Specifies the only

(Signed

Decimal string

[pt]*10

Decimal string

[pt]*10 Specifies -10

integer)
fontwidth

(Signed
integer)

when not changing the


font shape.
Decimal string

fontweight

Specifies a value from 1


to 1,000. A warning is
issued and the command
is not assigned when any
other value is specified.

fontfacename

String

textcolor

COLORREF string

textbgcolor

COLORREF string

wordspace

(Signed

Specifies the font name.

Decimal string

[pt]*10

Decimal string

[pt]*10

Decimal string

[pt]*10

String

Specifies the start or

integer)
letterspace

(Signed
integer)

charspace

(Signed
integer)

rubyalign

center character string.


A warning is issued and
the command is not
assigned when any other
character string is
specified.
rubyadjust

String

Specifies the line-edge


or none character string.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

Do Not Copy

2003-2007 Sony Corporation

175

rubyoverhang

String

Specifies the auto or


none character string.
A warning is issued and
the command is not
assigned when any other
character string is
specified.

empdotsposition

String

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

empdotscode

String

Specifies the character


code used as an
emphasis dot. In addition,
a warning is issued and
the command is not
assigned when the
empdotsfontname and
refempdotsfont
attributes are not
specified at the same
time.

emplineposition

String

Specifies before or
after. A warning is
issued and the command
is not assigned when any
other character string is
specified.

emplinetype

String

Specifies the line mode


value as none, solid,
dotted, dashed, or
double. A warning is
issued and the command
is not assigned when any
other character string is
specified.

Do Not Copy

2003-2007 Sony Corporation

176

textlinewidth

(Unsigned

Decimal string

[pt]*10

integer)
linecolor

COLORREF string

empdotsfontname

String

Specifies the font name of


the font used for
emphasis dots. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
refempdotsfont
attributes are not
specified at the same
time.

refempdotsfont

Object ID string

Specifies the objid of the


Font element. A warning
is issued and the
command is not assigned
when the specified objid
does not exist or when it
is the objid except for
the Footer element. In
addition, a warning is
issued and the command
is not assigned when the
empdotscode and
empdotsfontname
attributes are not
specified at the same
time.

101.1 stylelabel
The stylelabel attribute specifies an identifiable name of the Style element.
101.2 objid
The objid attribute specifies a unique character string in the content for each element.
101.3 fontsize
The fontsize attribute specifies the the font size. Units are 10 times pt.

Do Not Copy

2003-2007 Sony Corporation

177

Example: To specify a font size of 10.5pt.


<TextBlock fontsize=105 />
101.4 fontwidth
The fontwidth attribute specifies the width of the font. Normally, the optimal width is
provided depending on the font size, but this is used when the width is changed
intentionally. Units are 10 times pt.
101.5 fontweight
The fontweight attribute specifies the weight of the text. The value 400 is normal weight
and 800 is Bold.
101.6 fontfacename
The fontfacename attribute specifies the name of the font to be used. The standard font is
used if nothing is specified.
101.7 textcolor
The textcolor attribute specifies the color of the text to be used. Black (0x00000000) is
used if nothing is specified.
101.8 textbgcolor
The textbgcolor attribute specifies the background color of the text. A transparent
(0xff000000) background is normally used if nothing is specified.
101.9 wordspace
The wordspace attribute specifies the width of spaces between words of Western
languages. Units are 10 times pt.
101.10 letterspace
The letterspace attribute specifies the size of spaces between letters of Western
languages. Units are 10 times pt.
101.11 charspace
The charspace attribute specifies the size of spaces between Japanese characters. Units
are 10 times pt.
101.12 rubyalign
The rubyalign attribute specifies the alignment of the Ruby Text. The alignment values
are specified below.

Do Not Copy

2003-2007 Sony Corporation

178

Alignment value
Start

Center

aligned

aligned

start

center

101.13 rubyadjust
The rubyadjust attribute specifies the operation of the Ruby Text at the line edge. The
values of the operation are specified below. The adjustment operation is to adjust the head
or end position of the Ruby Text at the line edge position when the Ruby Text is longer
than the Ruby Base.
Line break operation
value
Operation

Operation

used

not used

line-edge

none

101.14 rubyoverhang
The rubyoverhang attribute specifies whether the overhanging operation for the Ruby
character is executed or not. The operation values are specified below.
RubyOverhang

Overhang
Value

Overhang

auto

No overhang

none

101.15 empdotsposition
The empdotsposition attribute specifies the position of emphasis dots. The values are
specified below.
EmpDotsPosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)

Do Not Copy

2003-2007 Sony Corporation

179

101.16 empdotscode
The empdotscode attribute specifies the character (or symbol) code used as an emphasis
dot.
101.17 emplineposition
The emplineposition attribute specifies the position of the emphasis line. The values are
specified below.
EmpLinePosition

Position
value

Before (vertical layout: right,

before

horizontal layout: top)


After (vertical layout: left, horizontal

after

layout: under)
101.18 emplinetype
The emplinetype attribute specifies the type of the emphasis line. The values are
specified below.
Type of

Line mode value

line
None

none

Solid line

solid

Dotted line

dotted

Dashed

dashed

line
Double

double

line
101.19 textlinewidth
The textlinewidth attribute specifies the lines width for the Empline and Box elements.
Units are 10 times pt.
101.20 linecolor
The linecolor attribute specifies the line color for the Empline and Box elements.
101.21 empdotsfontname
The empdotsfontname attribute specifies the font name of the character (or symbol) used
as emphasis dots.

Do Not Copy

2003-2007 Sony Corporation

180

101.22 refempdotsfont
The refempdotsfont attribute specifies the objid of the Font element used as emphasis
dots. When the value is 0, the font of the main text is used.

102. PageStyle
The PageStyle element specifies the available Page information in the content.
<!ELEMENT PageStyle

EMPTY >

<!ATTLIST PageStyle
stylelabel CDATA
#REQUIRED
objid CDATA
#REQUIRED
refbgimage CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
evenfooterid CDATA
#IMPLIED
evenheaderid CDATA
#IMPLIED
oddfooterid CDATA
#IMPLIED
oddheaderid CDATA
#IMPLIED
pageposition (upper | lower | any)
#IMPLIED
setemptyview (show | empty)
#IMPLIED
setwaitprop CDATA
#IMPLIED
topmargin CDATA
#IMPLIED
headheight CDATA
#IMPLIED
headsep CDATA
#IMPLIED
oddsidemargin CDATA
#IMPLIED
evensidemargin CDATA
#IMPLIED
textheight CDATA
#IMPLIED
textwidth CDATA
#IMPLIED
footheight CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
footspace CDATA
#IMPLIED >

Attribute Name

Default Value

stylelabel

Data Type

Comments

Style string

Specifies a style character


string.

(Required)
String

objid

string in the file.

(Required)
refbgimage

Specifies the only character

Object ID string

Specifies the objid of the


Image element. A warning
is issued and command is
not assigned when the
specified objid does not
exist or when it is the objid
except for the Image
element. In addition, a
warning is issued and the
command is not assigned
when the bgimagemode
attribute is not specified at
the same time.

Do Not Copy

2003-2007 Sony Corporation

181

bgimagemode

fix

String

Specifies fix, tile or


centering. A warning is
issued and the command is
not assigned when any
other character string is
specified. In addition, an
error occurs and the
command is not assigned
when the bgimagemode
attribute is not specified at
the same time.

evenfooterid

Object ID string

Specifies the objid of the


Footer element. A warning
is issued and the command
is not assigned when the
specified objid does not
exist or when it is the objid
except for the Footer
element.

evenheaderid

Object ID string

Specifies the objid of the


Headter element. A
warning is issued and
command is not assigned
when the specified objid
does not exist or when it is
the objid except for the
Header element.

oddfooterid

Object ID string

Specifies the objid of the


Footer element. A warning
is issued and command is
not assigned when the
specified objid does not
exist or when it is the objid
except for the Footer
element.

Do Not Copy

2003-2007 Sony Corporation

182

oddheaderid

Object ID string

Specifies the objid of the


Headter element. A
warning is issued and
command is not assigned
when the specified objid
does not exist or when it is
the objid except for the
Header element.

pageposition

any

String

Specifies upper, lower,


or any.

When any other

character string is
specified, a warning is
issued, and any is
assigned.
setemptyview

show

String

Specifies show or
empty. When any other
character string is
specified, a warning is
issued, and show is
assigned.

String

setwaitprop

Specifies replay or
noreplay. A warning is
issued and the command is
not assigned when any
other character string is
specified.

topmargin

0 (Signed

Decimal string

[dot]

Decimal string

[dot]

Decimal string

[dot]

Decimal string

[dot]

Decimal string

[dot]

Decimal string

[dot]

integer)
headheight

0 (Signed
integer)

headsep

0 (Signed
integer)

oddsidemargin

0 (Unsigned
integer)

evensidemargin

0 (Unsigned
integer)

textheight

0 (Unsigned
integer)

Do Not Copy

2003-2007 Sony Corporation

183

0 (Unsigned

textwidth

Decimal string

[dot]

Decimal string

[dot]

String

Specifies LrTb or TbRl.

integer)
0 (Signed

footheight

integer)
LrTb

layout

When any other character


string is specified, a
warning is issued,
and LrTb is assigned.
0 (Signed

footspace

Decimal string

[dot]

integer)
102.1 stylelabel
The stylelabel attribute specifies an identifiable name of the Style element.
102.2 objid
The objid attribute specifies a unique character string in the content for each element.
102.3 refbgimage
The refgbimage attribute is specifies the objid of the Image element to be shown as the
background of the PageStyle element. No image is shown if the objid is not specified.
102.4 bgimagemode
The bgimagemode attribute specifies how the Image specified in the refbgimage
attribute should be positioned.
The value is fix: The image position is at the origin of the main text area.
The value is tile: The images fill the main text area from the origin.
The value is center: The image position is in the center of the main text area.
Example

fix

Do Not Copy

tile

centering

2003-2007 Sony Corporation

184

102.5 evenfooterid
The evenfooterid attribute specifies the objid of the Footer element shown in the even
Page (lower pages) on the 2 screen display .
102.6 evenheaderid
The evenheaderid attribute specifies the objid of the Header element shown in the even
Page (lower pages) on the 2 screen display .
102.7 oddfooterid
The oddfooterid attribute specifies the objid of the Footer element shown in the odd
Page (upper page) on the 2 screen display
102.8 oddheaderid
The oddheaderid attribute specifies the objid of the Header element shown in the odd
Page (upper page) on the 2 screen display .
102.9 pageposition
The pageposition attribute specifies ethe start position is on the left page or the right page
on the 2 screen display .
The bindingdirection attribute Rl (mostly vertical flow) in the BookSetting element :
upper means start page from the right,
lower means from the left.
The bindingdirection attribute Lr (mostly horizontal flow) in the BookSetting element :
upper means start page from the left,
lower means from the right.
102.10 setemptyview
The setemptyview attribute specifies whether to display the View with the Header and
Footer or a completely empty View for a blank page on the screen.
The Header and Footer are shown when show is specified, and a completely empty
View is shown when empty is specified.
102.11 setwaitprop
The setwaitprop attribute specifies the Wait process within the Page element. The
following table is used to specify whether the process is replayed.

Do Not Copy

2003-2007 Sony Corporation

185

Wait flag value

Operation
specification

replay

Replay

noreplay

No replay

102.12 topmargin
The topmargin attribute sets the topmargin of the Page layout composition.
102.13 headheight
The headheight attribute sets the headheight of the Page layout composition.
102.14 headsep
The headsep attribute sets the headsep of the Page layout composition.
102.15 oddsidemargin
The oddsidemargin attribute sets the left margin of the Page layout composition on the
2 screen display :
the right page in the horizontal layout,
the left page in the vertical layout.
The value of the oddsidemargin attribute should be used.
On the 1 screen display, the value of "Oddsidemargin" from "Evensidemargin" is used.
102.16 evensidemargin
The evensidemargin attribute sets the left margin of the Page layout composition on the
2 screen display:
the left page in the horizontal layout,
the right page in the vertical layout.
The value of the evensidemargin attribute should be used.
102.17 textheight
The textheight attribute sets the textheight of the Page layout composition.
102.18 textwidth
The textwidth attribute sets the textwidth of the Page layout composition.
102.19 footspace
The footspace attribute sets the footspace of the Page layout composition.

Do Not Copy

2003-2007 Sony Corporation

186

102.20 footheight
The footheight attribute sets the footheight of the Page layout composition.
102.21 layout
The layout attribute specifies the coordinate system of the Page element. When LrTb is
specified, the origin is in the top left, the X axis is toward the right and the Y axis is toward
the bottom. When TbRl is specified, the origin is in the top right, the X axis is toward the
bottom and the Y axis is toward the left.
X

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, width and height remain unchanged.

103. Objects
The Objects element specifies the elements that are used repeatedly and the independent
elements of the flow of the Main element, such as windows, sounds, etc. The order of
description of each element is free in the Objects.
<!ELEMENT Objects (TextBlock | ImageBlock | SimpleTextBlock | ButtonBlock | Canvas |
Window | PopUpWin | Sound | SoundStream | ImageStream | Header |
Footer | eSound | Import | Font | Image | Button | Text | SimpleText)* >

104. Window
The Window element specifies the area (Window) of one high hierarchy from the screen on
the main text display. It is possible to compose the layout of the character and the image in the
Window element.
The Window can be eliminated by performing the close operation, this is the different point
from PopUpWindow described later.

Do Not Copy

2003-2007 Sony Corporation

187

<!ELEMENT Window (TextBlock | ImageBlock | ButtonBlock | SimpleTextBlock | Canvas |


MiniPage | BlockSpace | Wait | SoundStop | PageDiv | RuledLine)* >
<!ATTLIST Window
windowwidth CDATA
#IMPLIED
windowheight CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
setwaitprop CDATA
#IMPLIED
objid CDATA
#REQUIRED
windowlabel CDATA
#IMPLIED >

Attribute

Default Value

Data Type

Comments

0 (Unsigned

Decimal string

[dot]

Decimal string

[dot]

String

Specifies the LrTb or TbRl character

Name
windowwidth

integer)
windowheight

0 (Unsigned
integer)

layout

LrTb

string. When any other character string is


specified, a warning is issued, and LrTb
is assigned.
setwaitprop

noreplay

String

Specifies the replay or noreplay


character string. When any other value is
specified, a warning is issued,
and noreplay is assigned.

objid

String

file.

(Required)
windowlabel

Specifies the only character string in the

String

(Required)
104.1 windowwidth
The windowwidth attribute specifies the width of the the Window element.
104.2 windowheight
The windowheight attribute specifies the height of the Window element.
104.3 layout
The layout attribute specifies the coordinate system of the Window element. When LrTb
is specified, the origin is in the top left, the X axis is toward the right and the Y axis is
toward the bottom. When TbRl is specified, the origin is in the top right, the X axis is
toward the bottom and the Y axis is toward the left.

Do Not Copy

2003-2007 Sony Corporation

188

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, windowwidth and windowheight remain unchanged.

104.4 setwaitprop
The setwaitprop attribute specifies the Wait process within the Window element. The
following table is used to specify whether the process is replayed.
Wait flag value

Operation
specification

replay

Replay

noreplay

No replay

104.5 objid
The objid attribute specifies a unique character string in the content for each element.
104.6 windowlabel
The windowlabel attribute specifies an identifiable name of the Window element.

105. PopUpWin
The PopUpWin element specifies the area (PopUpWindow) of one high hierarchy from the
screen on the main text display. It is possible to describe the character and the image in the
PopUpWin element.
<!ELEMENT PopUpWin

(TextBlock | ImageBlock | SimpleTextBlock) >

<!ATTLIST PopUpWin
objid CDATA
popupwinlabel

Do Not Copy

#REQUIRED
CDATA
#REQUIRED

>

2003-2007 Sony Corporation

189

Attribute Name

Default Value

Data

Comments

Type
String

objid

Specifies the only character string in the


file.

(Required)
String

popupwinlabel
(Required)
105.1 objid

The objid attribute specifies a unique character string in the content for each element.
105.2 popupwinlabel
The popuplabel attribute specifies an identifiable name of the PopUpWin element.

106. Sound
The Sound element specifies the information of sounds to be playbacked.
<!ELEMENT Sound

EMPTY >

<!ATTLIST Sound
times CDATA " 1"
playmode (sync | async) "sync"
refstream CDATA
#IMPLIED
objid CDATA
#REQUIRED
refimport CDATA
#IMPLIED
soundlabel CDATA
#IMPLIED

Attribute

>

Default Value

Data Type

Comments

Decimal string

Specifies the number of times

Name
times

sounds will be played.


0 specifies an unlimited
number of times.
playmode

sync

String

Specifies sync or async.


When any other character string
is specified, a warning is issued,
and sync is assigned.

Do Not Copy

2003-2007 Sony Corporation

190

refstream

Object ID string

Specifies the objid of the


SoundStrem element. A
warning is issued and the
command is not assigned when
the specified objid does not
exist or when it is the objid
except for the SoundStream
element. Futher, if neither the
refstream nor refimport
attribute is specified, an error
occurs.

objid

String

string in the file.

(Required)
refimport

Specifies the only character

Object ID string

Specifies the objid of the


Import element. A warning is
issued and the command is not
assigned when the specified
objid does not exist or when it
is the objid except for the
Import element. Futher, if
neither the refimport nor
refstream attribute is specified,
an error occurs.

soundlabel

String

(Required)
106.1 times
The times attribute specifies the number of times sounds will be played.
106.2 playmode
The playmode attribute specifies the method of playing sounds. It specifies sync for
synchronous play, or async for asynchronous play.
106.3 refstream
The refstream attribute specifies the "objid" of the SoundStream element that specifies
the sound source data.
106.4 objid
The objid attribute specifies a unique character string in the content for each element.

Do Not Copy

2003-2007 Sony Corporation

191

106.5 refimport
The refimport attribute specifies the "objid" of the Import element that specifies the sound
to be played.
106.6 soundlabel
The soundlabel attribute specifies an identifiable name of the Sound element.

107. SoundStream
The SoundStream element specifies the source data of the sound.
<!ELEMENT SoundStream

EMPTY>

<!ATTLIST SoundStream
encoding CDATA
#REQUIRED
file CDATA
#REQUIRED
objid CDATA
#REQUIRED
soundstreamlabel CDATA
#IMPLIED

Attribute Value

Default Value

>

Data
Type

Comments

encoding
(Required)

String

Specifies PCM or MP3. When any other


character string is specified, an error
occurs.

file
(Required)

File path Specifies the file path and file name that
contain the data.

objid
(Required)
soundstreamlabel

String

Specifies the only character string in the file.

String

107.1 encoding
The encoding attribute specifies the data format of the sound file. The character strings
that can be described are PCM and MP3.
107.2 file
The file attribute specifies the path and file name of the sound data.
107.3 objid
The objid attribute specifies a unique character string in the content for each element.
107.4 soundstreamlabel
The soundstreamlabel attribute specifies an identifiable name of the SoundSteam
element.

Do Not Copy

2003-2007 Sony Corporation

192

108. ImageStream
The ImageStream element specifies is the object that specifies the source data of the image.
<!ELEMENT ImageStream

(#PCDATA) >

<!ATTLIST ImageStream
encoding CDATA
#REQUIRED
file CDATA
#REQUIRED
objid CDATA
#REQUIRED
imagestreamlabel CDATA
#IMPLIED

Attribute Value

Default Value

Data

>

Comments

Type
String

encoding

Specifies JPEG, GIF, BMP, or PNG.


When any other character string is

(Required)

specified, an error occurs.


File path Specifies the file path and file name that

file

contain the data.

(Required)
String

objid

Specifies the only character string in the file.

(Required)
String

imagestreamlabel
108.1 encoding

The encoding attribute specifies the data format of the image file. The character strings
that can be described are JPEG, GIF, BMP, and PNG.
108.2 file
The file attribute specifies the path and file name of the image data.
108.3 objid
The objid attribute specifies a unique character string in the content for each elements.
108.4 imagestreamlabel
The imagestreamlabel attribute specifies an identifiable name of the PopUpWin element.

109. Header
The Header element specifies the information to be displayed in the header. The header area
is determined by the textwidth and headheight of the Page element.
<!ELEMENT Header

(PutObj | CanvasSetting | Moveto | Lineto | DrawBox | DrawEllipse)* >

<!ATTLIST Header
layout (LrTb | TbRl)
#IMPLIED
bgcolor CDATA
#IMPLIED

Do Not Copy

2003-2007 Sony Corporation

193

framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
objid CDATA
#REQUIRED
headerlabel CDATA
#IMPLIED >

Attribute

Default Value

Data Type

Comments

LrTb

String

Specifies LrTb or TbRl. When any

Value
layout

other character string is specified, a


warning is issued, and LrTb is
assigned.
bgcolor

0xff00000

COLORREF string

framewidth

0 (Signed

Decimal String

[dot]

integer)
framecolor

0x00000000

framemode

square

COLORREF string
Specifies curve or square.
When any other character string is
specified, a warning is issued,
and square is assigned.
String

objid

Specifies the only character string in


the file.

(Required)
String

headerlabel
109.1 layout

The layout attribute specifies the coordinate system of the Header element. When LrTb
is specified, the origin is in the top left, the X axis is toward the right and the Y axis is
toward the bottom. When TbRl is specified, the origin is in the top right, the X axis is
toward the bottom and the Y axis is toward the left.
X

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, width and height remain unchanged.

Do Not Copy

2003-2007 Sony Corporation

194

109.2 bgcolor
The bgcolor attriburte specifies the background color of the Header.
109.3 framewidth
The framewidth attribute specifies the frame line width of the Header. When this value is
0 or not specified, no frame is rendered.
109.4 framecolor
The framecolor attribute specifies the frame color of the Header.
109.5 framemode
The framemode attribute specifies the type of frame surrounding the header area. It is
possible to specify two types of frame: square means right angles in four corners and
curve means rounded corners.
109.6 objid
The objid attribute specifies a unique character string in the content for each element.
109.7 headerlabel
The headerlabel attribute specifies an identifiable name of the Header element.

110. Footer
The Footer element specifies the information to be displayed in the footer. The footer area is
determined by the textwidth and footheight of the Page element.
<!ELEMENT Footer

(PutObj | CanvasSetting | Moveto | Lineto | DrawBox | DrawEllipse)* >

<!ATTLIST Footer
layout (LrTb | TbRl)
#IMPLIED
bgcolor CDATA
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
objid CDATA
#REQUIRED
footerlabel CDATA
#IMPLIED >

Attribute

Default Value

Data Type

Comments

LrTb

String

Specifies LrTb or TbRl. When any

Value
layout

other character string is specified, a


warning is issued, and LrTb is
assigned.
bgcolor

Do Not Copy

0xff000000

COLORREF string

2003-2007 Sony Corporation

195

0 (Signed

framewidth

Decimal String

[dot]

integer)
framecolor

0x00000000

COLORREF string

framemode

square

String

Specifies curve or square.


When any other character string is
specified, a warning is issued,
and square is assigned.

String

objid

Specifies the only character string in


the file.

(Required)
String

footerlabel
110.1 layout

The layout attribute specifies the coordinate system of the Footer element. When LrTb
is specified, the origin is in the top left, the X axis is toward the right and the Y axis is
toward the bottom. When TbRl is specified, the origin is in the top right, the X axis is
toward the bottom and the Y axis is toward the left.
X

X
height
width

LrTb

TbRl
The coordinate system varies depending on the layout specified.
However, width and height remain unchanged.

110.2 bgcolor
The bgcolor attriburte specifies the background color of the Footer.
110.3 framewidth
The framewidth attribute specifies the frame line width of the Footer. When this value is
0 or not specified, no frame is rendered.

Do Not Copy

2003-2007 Sony Corporation

196

110.4 framecolor
The framecolor attribute specifies the frame color of the Footer.
110.5 framemode
The framemode attribute specifies the type of frame surrounding the footer area. It is
possible to specify two types of frame: square means right angles in four corners and
curve means rounded corners.
110.6 objid
The objid attribute specifies a unique character string in the content for each element.
110.7 footerlabel
The footerlabel attribute specifies an identifiable name of the Footer element.

111. eSound
The eSound element specifies the information of the embedded sound.
<!ELEMENT eSound

EMPTY >

<!ATTLIST eSound
objid CDATA
#REQUIRED
refstream CDATA
#IMPLIED
esoundlabel CDATA
#IMPLIED

Attribute

Default Value

>

Data Type

Comments

String

Specifies the only character

Value
objid

string in the file.

(Required)
refstream

Object ID string

(Required)

Specifies the objid of the


SoundStream element. A
warning is issued and the
command is not assigned
when the specified objid does
not exist or when it is the objid
except for the Sound element.

esoundlabel

String

Specifies a character string to


identify this element.

111.1 objid
The objid attribute specifies a unique character string in the content for each element.

Do Not Copy

2003-2007 Sony Corporation

197

111.2 refstream
The refstream attribute specifies the "objid" of the SoundStream element that specifies
the sound data to be played.
111.3 esoundlabel
The esoundlabel attribute specifies an identifiable name of the eSound element.

112. Font
The Font element specifies the information of the font.
<!ELEMENT Font

EMPTY >

<!ATTLIST Font
file CDATA
#REQUIRED
fontfilename CDATA
#REQUIRED
fontname CDATA
#REQUIRED
objid CDATA
#REQUIRED
encoding CDATA
#REQUIRED
fontlabel CDATA
#IMPLIED >

Attribute

Default Value

Data

Name

Type

file

String
String

Specifies the file name to be used when the font


file is opened.

(Required)
fontname

Specifies the file path and file name that contain


the data.

(Required)
fontfilename

Comments

String

Specifies the font name to be used.

String

Specifies the only character string in the file.

String

Specifies TTF, OTF, or BF. When any other

(Required)
objid
(Required)
encoding

character string is specified, an error occurs.

(Required)
fontlabel

String

Specifies a character string to identify this


element.

112.1 file
The file attribute specifies the path and file name for the font data.
112.2 fontfilename
The fontfilename attribute specifies the font file name to be used by the display software
when the font is opened.

Do Not Copy

2003-2007 Sony Corporation

198

112.3 fontname
The fontname attribute describes the font name of the font.
112.4 objid
The objid attribute specifies a unique character string in the content for each element.
112.5 encoding
The encoding attribute specifies the data format of the font file. Character strings that can
be described are TTF, OTF, and BF. However, in this version, OTF and BF are
reserved words, and cannot actually be set.
112.6 fontlabel
The fontlabel attribute specifies an identifiable name of the Font element.

113. Image
The Image element specifies the information of the image. Coordinates of the attribute used by
the Image element do not depend on various layouts, and are calculated in the coordinate
system where it makes all starting points on the left.
Moreover, if the Image element should not be an image file that cannot be displayed by the
viewer, the character string of substitution is specified for an element.
<!ELEMENT Image

(#PCDATA) >

<!ATTLIST Image
x0 CDATA
#REQUIRED
y0 CDATA
#REQUIRED
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
xsize CDATA
#REQUIRED
ysize CDATA
#REQUIRED
refstream CDATA
#IMPLIED
refimport CDATA
#IMPLIED
objid CDATA
#REQUIRED
objlabel CDATA
#IMPLIED >

Attribute

Default Value

Data Type

Comments

x0

(Unsigned

Decimal string

[dot]

(Required)

integer)

y0

(Unsigned

Decimal string

[dot]

(Required)

integer)

x1

(Unsigned

Decimal string

[dot]

(Required)

integer)

y1

(Unsigned

Decimal string

[dot]

Name

Do Not Copy

2003-2007 Sony Corporation

199

(Required)

integer)

xsize

(Unsigned

(Required)

integer)

ysize

(Unsigned

(Required)

integer)

refstream

Decimal string

[dot]

Decimal string

[dot]

Object ID string

Specifies the objid of the


ImageStream element. A
warning is issued and the
command is not assigned when
the specified objid does not
exist or when it is the objid
except for the Image element.
With the Image element, only
the attribute of either refstream
or refimport can be selected.

refimport

Object ID string

Specifies the objid of the


Import element. A warning is
issued and the command is not
assigned when the specified
objid does not exist or when it
is the objid except for the
Import element. With the Image
element, only the attribute of
either refstream or refimport
can be selected.

objid

String

string in the file.

(Required)
objlabel

Specifies the only character

String

Specifies a character string to


identify this element.

113.1 x0
The x0 attribute specifies the X coordinate of the upper left corner required for extracting
the portion that needs to be displayed from the source image.
113.2 y0
The y0 attribute specifies the Y coordinate of the upper left corner required for extracting
the portion that needs to be displayed from the source image.

Do Not Copy

2003-2007 Sony Corporation

200

113.3 x1
The x1 attribute specifies the X coordinate of the lower right corner required for extracting
the portion that needs to be displayed from the source image.
113.4 y1
The y1 attribute specifies the Y coordinate of the lower right corner required for extracting
the portion that needs to be displayed from the source image.
113.5 xsize
The xsize attribute specifies the size of the extracted image in the X direction. This refers
to expansion along the X axis if this size is greater than (x1-x0), and contraction along the
X-axis if less than (x1-x0).
113.6 ysize
The ysize attribute specifies the size of the extracted image in the Y direction. This refers
to expansion along the Y-axis if this size is greater than (y1-y0), and contraction along the
Y-axis if less than (y1-y0).
113.7 refstream
The refstream attribute specifies the objid of the ImageStream element that contains the
source image data to be displayed.
113.8 refimport
The refimport attribute specifies the "objid" of the Import element that specifies the
source image to be displayed.
113.9 objid
The objid attribute specifies a unique character string in the content for each element.
113.10 objlabel
The objlabel attribute specifies an identifiable name for the element.

114. Button
The Button element specifies the operation when the button is operated.
<!ELEMENT Button

(BaseButton?,FocusinButton?,PushButton?,UpButton?) >

<!ATTLIST Button
objid CDATA
#REQUIRED
objlabel CDATA
#IMPLIED

Do Not Copy

>

2003-2007 Sony Corporation

201

Attribute Default Value

Data

Name

Type

objid

String

Comments
Specifies the only character string in the
file.

objlabel

String

The

objlabel

attribute

specifies

an

identifiable name for the element.


114.1 objid
The objid attribute specifies a unique character string in the content for each element.
114.2 objlabel
The objlabel attryiying the dtopslue between ing the dtopslue between ng the dtopslue
between ibute specifies an identifiable name for the element.

Do Not Copy

2003-2007 Sony Corporation

202

BBeB XML Xylog DTD


<!ENTITY % DrawChar "(#PCDATA | Plot | CR | PlotText | Fill | Space | CharButton |
Rubi | Yoko | Tate | Nekase | Sup | Sub | NoBR | EmpLine | EmpDots |
DrawChar | Box | AutoSpacing | Gaiji | AltString | Span | Italic |
Bold)*" >
<!ENTITY % SimpleChar1 "(#PCDATA | Rubi | Gaiji | Box | EmpDots | EmpLine |
AutoSpacing | AltString | Sub | Sup | Space)*" >
<!ENTITY % SimpleChar0

"(#PCDATA | Gaiji | AltString)*" >

<!ENTITY % SimpleChar2

"(#PCDATA | Gaiji | Plot | AltString)*" >

<!ELEMENT BBeBXylog

(Property?,BookInformation,Main,Solo?,Template?,Style,Objects) >

<!ATTLIST BBeBXylog
version

CDATA

<!ELEMENT Property

>

EMPTY >

<!ELEMENT BookInformation
<!ELEMENT Info

#REQUIRED

(Info,TOC) >

(BookInfo,DocInfo,Keyword*) >

<!ATTLIST Info
version

CDATA

#REQUIRED

>

<!ELEMENT BookInfo (Title,Author,BookID,Publisher,Label,Category*,Classification,


FreeText) >
<!ELEMENT Title

(#PCDATA) >

<!ATTLIST Title
reading
<!ELEMENT Author

CDATA

>

#REQUIRED

>

#REQUIRED

>

#REQUIRED

>

(#PCDATA) >

<!ATTLIST Author
reading
<!ELEMENT BookID

CDATA

(#PCDATA) >

<!ELEMENT Publisher

(#PCDATA) >

<!ATTLIST Publisher
reading
<!ELEMENT Label

#REQUIRED

CDATA

(#PCDATA) >

<!ATTLIST Label
reading

CDATA

<!ELEMENT Category (#PCDATA) >


<!ELEMENT Classification
<!ELEMENT FreeText

(#PCDATA) >

(#PCDATA) >

<!ELEMENT DocInfo

(CThumbnail,Language,Creator,SumPage) >

<!ELEMENT CThumbnail

EMPTY >

<!ATTLIST CThumbnail
file CDATA
<!ELEMENT Language
<!ELEMENT Creator

Do Not Copy

#REQUIRED

>

(#PCDATA) >

(#PCDATA) >

2003-2007 Sony Corporation

203

<!ELEMENT SumPage
<!ELEMENT Keyword
<!ELEMENT TOC

(#PCDATA) >
(#PCDATA) >

(TocLabel*) >

<!ELEMENT TocLabel

(#PCDATA) >

<!ATTLIST TocLabel
refobj CDATA
refpage CDATA
<!ELEMENT Main

#REQUIRED
#REQUIRED

>

(Page+) >

<!ELEMENT Page (ShowOrder?,(TextBlock | ImageBlock | ButtonBlock | SimpleTextBlock |


BlockSpace | Wait | SoundStop | Canvas | MiniPage | Import | PageDiv |
RuledLine)*) >
<!ATTLIST Page
pagestyle CDATA
#REQUIRED
refbgimage CDATA
#IMPLIED
setemptyview (show | empty)
#IMPLIED
setwaitprop CDATA
#IMPLIED
pageposition (upper | lower | any)
#IMPLIED
oddheaderid CDATA
#IMPLIED
evenheaderid CDATA
#IMPLIED
oddfooterid CDATA
#IMPLIED
evenfooterid CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
evensidemargin CDATA
#IMPLIED
footheight CDATA
#IMPLIED
headheight CDATA
#IMPLIED
headsep CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
oddsidemargin CDATA
#IMPLIED
textheight CDATA
#IMPLIED
textwidth CDATA
#IMPLIED
topmargin CDATA
#IMPLIED
objid CDATA
#REQUIRED
footspace CDATA
#IMPLIED
objlabel CDATA
#IMPLIED >
<!ELEMENT ShowOrder
<!ELEMENT Show

EMPTY >

<!ATTLIST Show
refobj
<!ELEMENT Wait

(Show | Wait)* >

CDATA

#REQUIRED

>

EMPTY >

<!ATTLIST Wait
time
<!ELEMENT TextBlock

CDATA

#REQUIRED

>

(P | SetText | CR | div)* >

<!ATTLIST TextBlock
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontescapement CDATA
#IMPLIED
fontorientation CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED

Do Not Copy

2003-2007 Sony Corporation

204

empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
column CDATA
#IMPLIED
columnsep CDATA
#IMPLIED
align (head | center | foot)
#IMPLIED
linecolor CDATA
#IMPLIED
textstyle CDATA
#REQUIRED
fontweight CDATA
#IMPLIED
objid CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
blockstyle CDATA
#REQUIRED
blockwidth CDATA
#IMPLIED
footskip CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
framewidth CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
refbgimage CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
toclabel CDATA
#IMPLIED
topskip CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
objlabel CDATA
#IMPLIED
autoindex CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED >
<!ELEMENT P %DrawChar; >
<!ATTLIST P
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
refesound CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED >
<!ELEMENT Plot

(#PCDATA) >

<!ATTLIST Plot
xsize CDATA
#REQUIRED
ysize CDATA
#REQUIRED
refobj CDATA
#REQUIRED
adjustment (center | baseline | top | bottom)
>
<!ELEMENT CR

EMPTY >

<!ELEMENT PlotText

Do Not Copy

"bottom"

EMPTY >

2003-2007 Sony Corporation

205

<!ATTLIST PlotText
refobj CDATA
#REQUIRED
adjustment (center | baseline | top | bottom)
xsize
<!ELEMENT Fill

CDATA

#REQUIRED

>

#REQUIRED

>

#REQUIRED

>

"bottom"

EMPTY >

<!ATTLIST Fill
code
<!ELEMENT Space

CDATA
EMPTY >

<!ATTLIST Space
xsize

CDATA

<!ELEMENT CharButton

%SimpleChar1; >

<!ATTLIST CharButton
refobj CDATA
<!ELEMENT Rubi

#REQUIRED

>

(Oyamoji,Rubimoji)+ >

<!ELEMENT Oyamoji
<!ELEMENT Gaiji

%SimpleChar0; >

(#PCDATA) >

<!ATTLIST Gaiji
refobj CDATA
#REQUIRED
fontfacename CDATA
#IMPLIED
code CDATA
#REQUIRED >
<!ELEMENT AltString
<!ELEMENT Org

(Org,Alt) >

(#PCDATA) >

<!ELEMENT Alt

(#PCDATA) >

<!ELEMENT Rubimoji
<!ELEMENT Box

%SimpleChar0; >

%SimpleChar0; >

<!ATTLIST Box
linetype
<!ELEMENT EmpDots

CDATA

#IMPLIED >

%SimpleChar0; >

<!ATTLIST EmpDots
empdotscode CDATA
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED >
<!ELEMENT EmpLine

%SimpleChar0; >

<!ATTLIST EmpLine
emplinetype CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
<!ELEMENT AutoSpacing

%SimpleChar0; >

<!ATTLIST AutoSpacing
space CDATA

#REQUIRED

<!ELEMENT Sub

%SimpleChar0; >

<!ELEMENT Sup

%SimpleChar0; >

<!ELEMENT Yoko

%SimpleChar0; >

<!ELEMENT Tate

%SimpleChar2; >

<!ELEMENT Nekase

Do Not Copy

>

>

%SimpleChar2; >

2003-2007 Sony Corporation

206

<!ELEMENT NoBR

%SimpleChar1; >

<!ELEMENT DrawChar

%SimpleChar0; >

<!ATTLIST DrawChar
line CDATA
<!ELEMENT Span

#REQUIRED

>

%DrawChar; >

<!ATTLIST Span
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
spanstyle CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED >
<!ELEMENT Italic

%DrawChar; >

<!ELEMENT Bold

%DrawChar; >

<!ELEMENT SetText

EMPTY >

<!ATTLIST SetText
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED >
<!ELEMENT div

(P*) >

<!ATTLIST div
charspace CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
empdotsposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED

Do Not Copy

2003-2007 Sony Corporation

207

fontsize CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
textbgcolor CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED >
<!ELEMENT ImageBlock

(#PCDATA) >

<!ATTLIST ImageBlock
x0 CDATA
#REQUIRED
y0 CDATA
#REQUIRED
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
xsize CDATA
#REQUIRED
ysize CDATA
#REQUIRED
refstream CDATA
#IMPLIED
refimport CDATA
#IMPLIED
objid CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
blockstyle CDATA
#REQUIRED
blockwidth CDATA
#IMPLIED
footskip CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
framewidth CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
refbgimage CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
toclabel CDATA
#IMPLIED
topskip CDATA
#IMPLIED
objlabel CDATA
#IMPLIED >
<!ELEMENT ButtonBlock

(BaseButton?,FocusinButton?,PushButton?,UpButton?) >

<!ATTLIST ButtonBlock
objid CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
blockstyle CDATA
#REQUIRED
blockwidth CDATA
#IMPLIED
footskip CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
framewidth CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
refbgimage CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
toclabel CDATA
#IMPLIED
topskip CDATA
#IMPLIED
objlabel CDATA
#IMPLIED >
<!ELEMENT BaseButton

EMPTY >

<!ATTLIST BaseButton
refimage

CDATA

Do Not Copy

#IMPLIED

>

2003-2007 Sony Corporation

208

<!ELEMENT FocusinButton

(JumpTo | Run | SendMessage | SoundStop | CloseWindow)* >

<!ATTLIST FocusinButton
refimage CDATA
<!ELEMENT JumpTo

>

EMPTY >

<!ATTLIST JumpTo
refpage CDATA
refobj CDATA
<!ELEMENT Run

#IMPLIED

#REQUIRED
#REQUIRED >

EMPTY >

<!ATTLIST Run
runoption (normal | opposite | center | opposite-center)
refobj

CDATA

<!ELEMENT SendMessage

#REQUIRED

>

(#PCDATA) >

<!ATTLIST SendMessage
messagelabel CDATA
#REQUIRED
messagetype (any | cid | url | path | exec | close)
<!ELEMENT SoundStop

#REQUIRED

>

EMPTY >

<!ELEMENT CloseWindow
<!ELEMENT PushButton

EMPTY >
(JumpTo | Run | SendMessage | SoundStop | CloseWindow)* >

<!ATTLIST PushButton
refimage
<!ELEMENT UpButton

"normal"

CDATA

#IMPLIED

>

(JumpTo | Run | SendMessage | SoundStop | CloseWindow)* >

<!ATTLIST UpButton
refimage

CDATA

<!ELEMENT SimpleTextBlock

#IMPLIED

>

(P | CR)* >

<!ATTLIST SimpleTextBlock
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontescapement CDATA
#IMPLIED
fontorientation CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
linecolor CDATA
#IMPLIED
textstyle CDATA
#REQUIRED
fontweight CDATA
#IMPLIED
objid CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
blockstyle CDATA
#REQUIRED
blockwidth CDATA
#IMPLIED
footskip CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
framewidth CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
refbgimage CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED

Do Not Copy

2003-2007 Sony Corporation

209

toclabel CDATA
#IMPLIED
topskip CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
objlabel CDATA
#IMPLIED
autoindex CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED
<!ELEMENT BlockSpace
<!ATTLIST BlockSpace
xspace
yspace

>

EMPTY >
CDATA
CDATA

#IMPLIED
#IMPLIED >

<!ELEMENT Canvas (PutObj | Wait | SoundStop | MoveObj | CanvasSetting | Moveto |


Lineto | DrawBox | DrawEllipse | ViewPoint)* >
<!ATTLIST Canvas
canvaswidth CDATA
#REQUIRED
canvasheight CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
objid CDATA
#REQUIRED
toclabel CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
setwaitprop CDATA
#IMPLIED
setwaitsync CDATA
#IMPLIED
objlabel CDATA
#IMPLIED >
<!ELEMENT PutObj

EMPTY >

<!ATTLIST PutObj
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
refobj CDATA
#REQUIRED
<!ELEMENT MoveObj

EMPTY >

<!ATTLIST MoveObj
x0 CDATA
y0 CDATA
x1 CDATA
y1 CDATA
refobj CDATA
time CDATA
<!ELEMENT CanvasSetting

#REQUIRED
#REQUIRED
#REQUIRED
#REQUIRED
#REQUIRED
#REQUIRED >

EMPTY >

<!ATTLIST CanvasSetting
linewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
linetype CDATA
#IMPLIED
fillcolor CDATA
#IMPLIED
arrowtype CDATA
#IMPLIED
<!ELEMENT Moveto
<!ATTLIST Moveto
x1
y1

>

EMPTY >
CDATA
CDATA

<!ELEMENT Lineto

#REQUIRED
#REQUIRED

>

EMPTY >

<!ATTLIST Lineto
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
linewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
linetype CDATA
#IMPLIED
arrowtype CDATA
#IMPLIED
<!ELEMENT DrawBox

Do Not Copy

>

>

EMPTY >

2003-2007 Sony Corporation

210

<!ATTLIST DrawBox
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
linewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
linetype CDATA
#IMPLIED
fillcolor CDATA
#IMPLIED >
<!ELEMENT DrawEllipse

EMPTY >

<!ATTLIST DrawEllipse
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
linewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
linetype CDATA
#IMPLIED
fillcolor CDATA
#IMPLIED >
<!ELEMENT ViewPoint

EMPTY >

<!ATTLIST ViewPoint
x0 CDATA
y0 CDATA

#REQUIRED
#REQUIRED

>

<!ELEMENT MiniPage (TextBlock | ImageBlock | ButtonBlock | SimpleTextBlock | Wait |


SoundStop | Canvas | PageDiv | RuledLine | BlockList | Locate)* >
<!ATTLIST MiniPage
minipagewidth CDATA
#REQUIRED
minipageheight CDATA
#REQUIRED
bgcolor CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
refbgimage CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
toclabel CDATA
#IMPLIED
objid CDATA
#REQUIRED
objlabel CDATA
#IMPLIED >
<!ELEMENT PageDiv

EMPTY >

<!ATTLIST PageDiv
linetype CDATA
#IMPLIED
pain CDATA
#REQUIRED
spacesize CDATA
#REQUIRED
linewidth CDATA
#IMPLIED
linecolor CDATA
#IMPLIED >
<!ELEMENT RuledLine

EMPTY >

<!ATTLIST RuledLine
linewidth CDATA
linelength CDATA
linetype CDATA
linecolor CDATA
<!ELEMENT BlockList

#IMPLIED
#IMPLIED
#IMPLIED
#IMPLIED >

(Text | SimpleText)? >

<!ATTLIST BlockList
parentblocklist CDATA
#REQUIRED
childblocklist CDATA
#REQUIRED
objid CDATA
#REQUIRED
blocklistlength CDATA
#IMPLIED
blockwidth CDATA
#IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
bgcolor CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED

Do Not Copy

2003-2007 Sony Corporation

211

topskip CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
footskip CDATA
#IMPLIED
refbgimage CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
blockstyle CDATA
#REQUIRED >
<!ELEMENT Text

(P | SetText | CR | div)* >

<!ATTLIST Text
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontescapement CDATA
#IMPLIED
fontorientation CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
column CDATA
#IMPLIED
columnsep CDATA
#IMPLIED
align (head | center | foot)
#IMPLIED
linecolor CDATA
#IMPLIED
textstyle CDATA
#REQUIRED
fontweight CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
objid CDATA
#REQUIRED
rubyadjust CDATA
#IMPLIED
objlabel CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED >
<!ELEMENT SimpleText

(P | CR)* >

<!ATTLIST SimpleText
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontescapement CDATA
#IMPLIED
fontorientation CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
linecolor CDATA
#IMPLIED
textstyle CDATA
#REQUIRED
fontweight CDATA
#IMPLIED
objid CDATA
#REQUIRED
rubyadjust CDATA
#IMPLIED
objlabel CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED >
<!ELEMENT Locate

EMPTY >

<!ATTLIST Locate
xspace

Do Not Copy

CDATA

#IMPLIED

2003-2007 Sony Corporation

212

yspace CDATA
#IMPLIED
pos CDATA
#IMPLIED >
<!ELEMENT Import

(ObjLink | FileLink) >

<!ATTLIST Import
importtype CDATA
#REQUIRED
objlabel CDATA
#IMPLIED
objid CDATA
#REQUIRED >
<!ELEMENT ObjLink

(#PCDATA) >

<!ATTLIST ObjLink
accesstype (url | cid | path) "path"
refobj CDATA
#REQUIRED >
<!ELEMENT FileLink

(#PCDATA) >

<!ATTLIST FileLink
accesstype (url | cid | path)
<!ELEMENT Solo
<!ELEMENT Pages

"path" >

(Pages+) >
(Page+) >

<!ATTLIST Pages
objid CDATA
#REQUIRED
objlabel CDATA
#IMPLIED
<!ELEMENT Template

(TemplateSet+) >

<!ATTLIST Template
version

CDATA

<!ELEMENT TemplateSet

#REQUIRED

>

(Style,Objects) >

<!ATTLIST TemplateSet
templatelabel
<!ELEMENT Style

>

CDATA

#REQUIRED

>

(BookStyle,(TextStyle | BlockStyle | SpanStyle | PageStyle)*) >

<!ELEMENT BookStyle

(SetDefault?,RegistFont*,BookSetting) >

<!ATTLIST BookStyle
stylelabel CDATA
#REQUIRED
objid CDATA
#REQUIRED >
<!ELEMENT SetDefault

EMPTY >

<!ATTLIST SetDefault
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
setwaitprop CDATA
#IMPLIED >
<!ELEMENT RegistFont

EMPTY >

<!ATTLIST RegistFont
fontfilename CDATA
#REQUIRED
file CDATA
#REQUIRED
fontname CDATA
#REQUIRED
encoding CDATA
#REQUIRED >
<!ELEMENT BookSetting

EMPTY >

<!ATTLIST BookSetting
bindingdirection (Lr | Rl)
#REQUIRED
dpi CDATA
#REQUIRED

Do Not Copy

2003-2007 Sony Corporation

213

screenwidth CDATA
#REQUIRED
screenheight CDATA
#REQUIRED
colordepth CDATA "24" >
<!ELEMENT TextStyle

EMPTY >

<!ATTLIST TextStyle
objid CDATA
#REQUIRED
stylelabel CDATA
#REQUIRED
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontescapement CDATA
#IMPLIED
fontorientation CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
baselineskip CDATA
#IMPLIED
linespace CDATA
#IMPLIED
parindent CDATA
#IMPLIED
parskip CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED
rubyoverhang (auto | none)
#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
column CDATA
#IMPLIED
columnsep CDATA
#IMPLIED
align (head | center | foot)
#IMPLIED
linecolor CDATA
#IMPLIED
charspace CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
autoindex CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED >
<!ELEMENT BlockStyle

EMPTY >

<!ATTLIST BlockStyle
stylelabel CDATA
#REQUIRED
objid CDATA
#REQUIRED
blockwidth CDATA
#IMPLIED
blockheight CDATA
#IMPLIED
blockrule CDATA
#IMPLIED
bgcolor CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
topskip CDATA
#IMPLIED
sidemargin CDATA
#IMPLIED
footskip CDATA
#IMPLIED
refbgimage CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
<!ELEMENT SpanStyle

>

EMPTY >

<!ATTLIST SpanStyle
stylelabel CDATA
#REQUIRED
objid CDATA
#REQUIRED
fontsize CDATA
#IMPLIED
fontwidth CDATA
#IMPLIED
fontweight CDATA
#IMPLIED
fontfacename CDATA
#IMPLIED
textcolor CDATA
#IMPLIED
textbgcolor CDATA
#IMPLIED
wordspace CDATA
#IMPLIED
letterspace CDATA
#IMPLIED
charspace CDATA
#IMPLIED
rubyalign CDATA
#IMPLIED

Do Not Copy

2003-2007 Sony Corporation

214

rubyoverhang (auto | none)


#IMPLIED
empdotsposition CDATA
#IMPLIED
empdotscode CDATA
#IMPLIED
emplineposition CDATA
#IMPLIED
emplinetype CDATA
#IMPLIED
linecolor CDATA
#IMPLIED
empdotsfontname CDATA
#IMPLIED
refempdotsfont CDATA
#IMPLIED
rubyadjust CDATA
#IMPLIED
textlinewidth CDATA
#IMPLIED >
<!ELEMENT PageStyle

EMPTY >

<!ATTLIST PageStyle
stylelabel CDATA
#REQUIRED
objid CDATA
#REQUIRED
refbgimage CDATA
#IMPLIED
bgimagemode (fix | tile | centering)
#IMPLIED
evenfooterid CDATA
#IMPLIED
evenheaderid CDATA
#IMPLIED
oddfooterid CDATA
#IMPLIED
oddheaderid CDATA
#IMPLIED
pageposition (upper | lower | any)
#IMPLIED
setemptyview (show | empty)
#IMPLIED
setwaitprop CDATA
#IMPLIED
topmargin CDATA
#IMPLIED
headheight CDATA
#IMPLIED
headsep CDATA
#IMPLIED
oddsidemargin CDATA
#IMPLIED
evensidemargin CDATA
#IMPLIED
textheight CDATA
#IMPLIED
textwidth CDATA
#IMPLIED
footheight CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
footspace CDATA
#IMPLIED >
<!ELEMENT Objects (TextBlock | ImageBlock | SimpleTextBlock | ButtonBlock | Canvas |
Window | PopUpWin | Sound | SoundStream | ImageStream | Header |
Footer | eSound | Import | Font | Image | Button | Text | SimpleText)* >
<!ELEMENT Window (TextBlock | ImageBlock | ButtonBlock | SimpleTextBlock | Canvas |
MiniPage | BlockSpace | Wait | SoundStop | PageDiv | RuledLine)* >
<!ATTLIST Window
windowwidth CDATA
#IMPLIED
windowheight CDATA
#IMPLIED
layout (LrTb | TbRl)
#IMPLIED
setwaitprop CDATA
#IMPLIED
objid CDATA
#REQUIRED
windowlabel CDATA
#IMPLIED >
<!ELEMENT PopUpWin

(TextBlock | ImageBlock | SimpleTextBlock) >

<!ATTLIST PopUpWin
objid CDATA
popupwinlabel
<!ELEMENT Sound

#REQUIRED
CDATA
#REQUIRED

EMPTY >

<!ATTLIST Sound
times CDATA " 1"
playmode (sync | async) "sync"
refstream CDATA
#IMPLIED
objid CDATA
#REQUIRED
refimport CDATA
#IMPLIED
soundlabel CDATA
#IMPLIED
<!ELEMENT SoundStream

>

EMPTY >

<!ATTLIST SoundStream
encoding CDATA
#REQUIRED
file CDATA
#REQUIRED
objid CDATA
#REQUIRED
soundstreamlabel CDATA
#IMPLIED

Do Not Copy

>

>

2003-2007 Sony Corporation

215

<!ELEMENT ImageStream

(#PCDATA) >

<!ATTLIST ImageStream
encoding CDATA
#REQUIRED
file CDATA
#REQUIRED
objid CDATA
#REQUIRED
imagestreamlabel CDATA
#IMPLIED
<!ELEMENT Header

>

(PutObj | CanvasSetting | Moveto | Lineto | DrawBox | DrawEllipse)* >

<!ATTLIST Header
layout (LrTb | TbRl)
#IMPLIED
bgcolor CDATA
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
objid CDATA
#REQUIRED
headerlabel CDATA
#IMPLIED >
<!ELEMENT Footer

(PutObj | CanvasSetting | Moveto | Lineto | DrawBox | DrawEllipse)* >

<!ATTLIST Footer
layout (LrTb | TbRl)
#IMPLIED
bgcolor CDATA
#IMPLIED
framewidth CDATA
#IMPLIED
framecolor CDATA
#IMPLIED
framemode (curve | square)
#IMPLIED
objid CDATA
#REQUIRED
footerlabel CDATA
#IMPLIED >
<!ELEMENT eSound

EMPTY >

<!ATTLIST eSound
objid CDATA
#REQUIRED
refstream CDATA
#IMPLIED
esoundlabel CDATA
#IMPLIED
<!ELEMENT Font

>

EMPTY >

<!ATTLIST Font
file CDATA
#REQUIRED
fontfilename CDATA
#REQUIRED
fontname CDATA
#REQUIRED
objid CDATA
#REQUIRED
encoding CDATA
#REQUIRED
fontlabel CDATA
#IMPLIED >
<!ELEMENT Image

(#PCDATA) >

<!ATTLIST Image
x0 CDATA
#REQUIRED
y0 CDATA
#REQUIRED
x1 CDATA
#REQUIRED
y1 CDATA
#REQUIRED
xsize CDATA
#REQUIRED
ysize CDATA
#REQUIRED
refstream CDATA
#IMPLIED
refimport CDATA
#IMPLIED
objid CDATA
#REQUIRED
objlabel CDATA
#IMPLIED >
<!ELEMENT Button

(BaseButton?,FocusinButton?,PushButton?,UpButton?) >

<!ATTLIST Button
objid CDATA
#REQUIRED
objlabel CDATA
#IMPLIED

Do Not Copy

>

2003-2007 Sony Corporation

216

Revision History
[0.994]

Corrected typographical errors.

Added Regarding the Coordinate System Used in These Specifications.

[0.992]

Limited the attribute values that could be specified with the Locate command to bottomleft,
bottomright, topright, and base.

[0.991]

Changed the attribute name of items for which the unit of values for linewidth attribute value
specification is [pt]*10 to textlinewidth.

The unit for textlinewidth values remains [pt]*10.

Indicated the method of describing a type. (p. 8)

[0.990]

Classification command: Changed the description of the explanation text.

[0.982]

ObjLink command: Changed the type of the value that specifies refobj attributes from an
the objid character string to a Decimal character string.

PlotText command: Added the SimpleText object as an object that specifies refobj
attributes.

Do Not Copy

2003-2007 Sony Corporation

217

BBeB is a trademark of Sony Corporation.

Do Not Copy

2003-2007 Sony Corporation