ࡱ > s u r q` R bjbjqPqP 2. : : $ $ $ $ $ , n[ $ $ $ $ $ % % % Z Z Z Z Z Z Z $ b] h _ [ % % % % % [ $ $ ([ 2 2 2 % $ $ Z 2 % Z 2 2 j MU Z $ $ O-a $ i+ W 2 Z >[ 0 n[ ;W J ` G0 ` d Z ` Z T % % 2 % % % % % [ [ 2 % % % n[ % % % %
uoml draft sample document
abstract
this document consists of three part:
1) current part, the abstract
2) structure of uoml draft document
3) three sample
structure of uoml draft
This section suggests a structure of the draft specification. The form of the draft spec certainly conforms to the templates of oasis. This section (from 2.1 to 2.4) provides the substantive parts of the toc(table of content) of the draft, the other parts of the draft are regulated by the templates of oasis, and not provided here.
introduction
document structure
docbase
doclist
doc
shared data at doc level
font definition
embedded font data
image data
metadata
page set
page
shared data at page level
font definition
embedded font data
image data
initial graphics status
layer set
layer
viewstream
command
viewable objects
line
rect
arc
bezier curve
text
image
vector path
security
document manipulation instruction
uoml_open
uoml_close
uoml_get
uoml_set
uoml_insert
uoml_delete
uoml_use
uoml_system
uoml_query
uoml_ret
samples
uoml_ret
schema
return value of operation
function
uoml_ret element is used to represent the return value of other uoml instructions. this element can contain zero to unlimited number of return values.
convention
in general, uoml_ret element contains at least one "boolVal" sub element. the value of the sub element's "name" attribute is "SUCCESS", its "val" attribute describes whether the previous operation succeeds. in case of failure condition, uoml_ret also contains another "stringVal" sub element, value of its "name" attribute is "ERR_INFO", and its "val" attribute describes the specific error condition. in case of success condition, besides the fixed "boolVal" sub element, other sub elements is determined by specific uoml instructions.
diagram
uoml_open
schema
uoml open
2 function and parameter
uoml_open is used to open or create docbase. sub element "path" will contain the location of the docbase, it can be local file system path or URL(universal resource locator). attribute "create" determines whether creating the docbase or not.
3 return values
in case of success, the returned uoml_ret element will contain one "stringVal" sub element. value of the sub element's "name" attribute is "HANDLE", its "val" attribute is an opaque string value representing the docbase opened or created.
4 diagram
uomlo_text
1 schema
text
2 semantic
uomlo_text is a ComplexType defined in uoml schema, its used to represent texts. uomlo_text has three attributes : txtEncoding, txtData, txtCharSpacingList, and one sub element : txtPos. txtEncoding is a string describes the texts encoding(or charset). txtData is a string contains the texts data. txtCharSpacingList is also a string, it describes the distance between adjacent characters, it contains numbers separated by commas, theses numbers defines distance between adjacent characters. txtPoss type is UOMLO_RECT, is a rectangle defines left-top and bottom-right point of the texts external border.
3 diagram
(
)
o
p
( . / > ? H O P R ^ h q ! , - ÷߲߮کߤߟߛߛڟ߈ڛ~ j hX Uo( hK nHo(tHj hX Uo( hx hx o( hD$ o( hx% o(hV4 hV4 o(h!e h!e nHo(tHh!e nHo(tHh6 nHo(tH ht
o( h6 o(h6 hx h6 CJ, aJ, hH nHo(tHj hH U 0 & M l
!
<
I
Z
c
" gdD$ gd!e gd!e gd6 gd8 $a$gdH " ? Q s $ ? H n z gdD$ gdx% gd6
,
@
N 2 k ( > O X ^gd6 gd6 gd8 gd8 gd8 ! , 3 T h
! V l gds
gd6 gd8 gd8 gdx gdx ^gd6 * + . / : ; ? @ J O Q W X ] _ i l o q | } *hs
B*CJ o(ph *hs
B*CJ ph *hs
B*CJ ph *hs
B*
CJ ph *hs
B*CJ ph ht
o( hs
o(hs
G , < m ~ A T a gdx gds
7$ 8$ H$ gds
7$ 8$ H$ `gds
gds
, - 2 4 = @ B D R S T X b H I W X ½µµ½˫ jw h[ Uo( h[ h: h: o( h[ o(hs
hs
o(*hs
B*
CJ ph *hs
B*CJ ph *hs
B*CJ ph *hs
B*CJ ph +0 182P . A!"#$% S D d J 0! H
C $ A o a s i s b L
@K@2rl ( D n
@K@2rlPNG
IHDR J z PLTE: o[+~Xք=X* bKGD H cmPPJCmp0712 Om IDATho:9
QgRV\(3QA_=|II;ǟ'c7IFmFm~OwOF6ؘƭOKc;Vh<魴W4{5xizۆ^:`fefd$[CoURk炳mfVfG>ȟVgʇ{d8uh%M
42>xQgjyF}X0Ag->E8i#B8iO}8iqj!(YIԱAѹq荢NvQe."pKx38VQǡoD.!_S7_]B*qIcdigE[{1 2t*@f82rC* IDATL['<Ox9?HSxA<
6A^=2EIbK̒nf1E"+LF85-;([~Ì=(8C?3(upv؊M4i09e8sRQu݁8^,=w>T<'7^Ccqz8x?8A@,'wwCg`E*+3.YD=Dk(V1Ιq
MhߏP+8upgG8M C#mGX--iwFw&
УrC=!`Pۣ1;ꇌhVlj[QңqҰto1LC1 h\&yK4ۙ[ӗ#yP3.c5_>4ѯXfk2^]!KwU2h6d J- IENDB` D d U D
C A r e t b rDK27g$N , n rDK27g$NPNG
IHDR [ D m gAMA a PLTE MQS268@CE[^`ʭilm䄆vyz Ħ{ |IDATx^흋v*D(FQTֺZܖ
'}<1e;4C^C_g6?3?j8p3#,`<نlMGw[FҀmJa
ﲀ I
ĜTgf2fV8Il)9OE,p]ru6ar}{5mrEyqYlLzB,8d۱w: p 4j3-u@8 lqp[EnG %[\6Vq^#<
]Gn=_͖tЍ{N