OpenDocument-schema-v1.1.rng 536 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. OASIS OpenDocument v1.1
  4. OASIS Standard, 1 Feb 2007
  5. Relax-NG Schema
  6. $Id$
  7. © 2002-2007 OASIS Open
  8. © 1999-2007 Sun Microsystems, Inc.
  9. -->
  10. <grammar
  11. xmlns="http://relaxng.org/ns/structure/1.0"
  12. xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
  13. datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
  14. xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
  15. xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
  16. xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
  17. xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
  18. xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
  19. xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
  20. xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
  21. xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
  22. xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
  23. xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
  24. xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
  25. xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
  26. xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
  27. xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
  28. xmlns:dc="http://purl.org/dc/elements/1.1/"
  29. xmlns:xlink="http://www.w3.org/1999/xlink"
  30. xmlns:math="http://www.w3.org/1998/Math/MathML"
  31. xmlns:xforms="http://www.w3.org/2002/xforms"
  32. xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
  33. xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
  34. xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
  35. >
  36. <define name="office-process-content">
  37. <optional>
  38. <attribute name="office:process-content" a:defaultValue="true">
  39. <ref name="boolean"/>
  40. </attribute>
  41. </optional>
  42. </define>
  43. <start>
  44. <choice>
  45. <ref name="office-document"/>
  46. <ref name="office-document-content"/>
  47. <ref name="office-document-styles"/>
  48. <ref name="office-document-meta"/>
  49. <ref name="office-document-settings"/>
  50. </choice>
  51. </start>
  52. <define name="office-document">
  53. <element name="office:document">
  54. <ref name="office-document-attrs"/>
  55. <ref name="office-document-common-attrs"/>
  56. <ref name="office-meta"/>
  57. <ref name="office-settings"/>
  58. <ref name="office-scripts"/>
  59. <ref name="office-font-face-decls"/>
  60. <ref name="office-styles"/>
  61. <ref name="office-automatic-styles"/>
  62. <ref name="office-master-styles"/>
  63. <ref name="office-body"/>
  64. </element>
  65. </define>
  66. <define name="office-document-content">
  67. <element name="office:document-content">
  68. <ref name="office-document-common-attrs"/>
  69. <ref name="office-scripts"/>
  70. <ref name="office-font-face-decls"/>
  71. <ref name="office-automatic-styles"/>
  72. <ref name="office-body"/>
  73. </element>
  74. </define>
  75. <define name="office-document-styles">
  76. <element name="office:document-styles">
  77. <ref name="office-document-common-attrs"/>
  78. <ref name="office-font-face-decls"/>
  79. <ref name="office-styles"/>
  80. <ref name="office-automatic-styles"/>
  81. <ref name="office-master-styles"/>
  82. </element>
  83. </define>
  84. <define name="office-document-meta">
  85. <element name="office:document-meta">
  86. <ref name="office-document-common-attrs"/>
  87. <ref name="office-meta"/>
  88. </element>
  89. </define>
  90. <define name="office-document-settings">
  91. <element name="office:document-settings">
  92. <ref name="office-document-common-attrs"/>
  93. <ref name="office-settings"/>
  94. </element>
  95. </define>
  96. <define name="office-document-common-attrs" combine="interleave">
  97. <optional>
  98. <attribute name="office:version">
  99. <ref name="string"/>
  100. </attribute>
  101. </optional>
  102. </define>
  103. <define name="office-document-attrs" combine="interleave">
  104. <attribute name="office:mimetype">
  105. <ref name="string"/>
  106. </attribute>
  107. </define>
  108. <define name="office-meta">
  109. <optional>
  110. <element name="office:meta">
  111. <ref name="office-meta-content"/>
  112. </element>
  113. </optional>
  114. </define>
  115. <define name="office-meta-content">
  116. <ref name="anyElements"/>
  117. </define>
  118. <define name="office-meta-content-strict">
  119. <zeroOrMore>
  120. <ref name="office-meta-data"/>
  121. </zeroOrMore>
  122. </define>
  123. <define name="office-body">
  124. <element name="office:body">
  125. <ref name="office-body-content"/>
  126. </element>
  127. </define>
  128. <define name="office-body-content" combine="choice">
  129. <element name="office:text">
  130. <ref name="office-text-attlist"/>
  131. <ref name="office-text-content-prelude"/>
  132. <zeroOrMore>
  133. <ref name="office-text-content-main"/>
  134. </zeroOrMore>
  135. <ref name="office-text-content-epilogue"/>
  136. </element>
  137. </define>
  138. <define name="office-text-content-prelude">
  139. <ref name="office-forms"/>
  140. <ref name="text-tracked-changes"/>
  141. <ref name="text-decls"/>
  142. <ref name="table-decls"/>
  143. </define>
  144. <define name="office-text-content-main">
  145. <choice>
  146. <zeroOrMore>
  147. <ref name="text-content"/>
  148. </zeroOrMore>
  149. <group>
  150. <ref name="text-page-sequence"/>
  151. <zeroOrMore>
  152. <choice>
  153. <ref name="draw-a"/>
  154. <ref name="shape"/>
  155. </choice>
  156. </zeroOrMore>
  157. </group>
  158. </choice>
  159. </define>
  160. <define name="text-content">
  161. <choice>
  162. <ref name="text-h"/>
  163. <ref name="text-p"/>
  164. <ref name="text-list"/>
  165. <ref name="text-numbered-paragraph"/>
  166. <ref name="table-table"/>
  167. <ref name="draw-a"/>
  168. <ref name="text-section"/>
  169. <ref name="text-soft-page-break"/>
  170. <ref name="text-table-of-content"/>
  171. <ref name="text-illustration-index"/>
  172. <ref name="text-table-index"/>
  173. <ref name="text-object-index"/>
  174. <ref name="text-user-index"/>
  175. <ref name="text-alphabetical-index"/>
  176. <ref name="text-bibliography"/>
  177. <ref name="shape"/>
  178. <ref name="change-marks"/>
  179. </choice>
  180. </define>
  181. <define name="office-text-content-epilogue">
  182. <ref name="table-functions"/>
  183. </define>
  184. <define name="office-text-attlist" combine="interleave">
  185. <optional>
  186. <attribute name="text:global" a:defaultValue="false">
  187. <ref name="boolean"/>
  188. </attribute>
  189. </optional>
  190. </define>
  191. <define name="office-text-attlist" combine="interleave">
  192. <optional>
  193. <attribute name="text:use-soft-page-breaks" a:defaultValue="false">
  194. <ref name="boolean"/>
  195. </attribute>
  196. </optional>
  197. </define>
  198. <define name="office-body-content" combine="choice">
  199. <element name="office:drawing">
  200. <ref name="office-drawing-attlist"/>
  201. <ref name="office-drawing-content-prelude"/>
  202. <ref name="office-drawing-content-main"/>
  203. <ref name="office-drawing-content-epilogue"/>
  204. </element>
  205. </define>
  206. <define name="office-drawing-attlist">
  207. <empty/>
  208. </define>
  209. <define name="office-drawing-content-prelude">
  210. <ref name="text-decls"/>
  211. <ref name="table-decls"/>
  212. </define>
  213. <define name="office-drawing-content-main">
  214. <zeroOrMore>
  215. <ref name="draw-page"/>
  216. </zeroOrMore>
  217. </define>
  218. <define name="office-drawing-content-epilogue">
  219. <ref name="table-functions"/>
  220. </define>
  221. <define name="office-body-content" combine="choice">
  222. <element name="office:presentation">
  223. <ref name="office-presentation-attlist"/>
  224. <ref name="office-presentation-content-prelude"/>
  225. <ref name="office-presentation-content-main"/>
  226. <ref name="office-presentation-content-epilogue"/>
  227. </element>
  228. </define>
  229. <define name="office-presentation-attlist">
  230. <empty/>
  231. </define>
  232. <define name="office-presentation-content-prelude">
  233. <ref name="text-decls"/>
  234. <ref name="table-decls"/>
  235. <ref name="presentation-decls"/>
  236. </define>
  237. <define name="office-presentation-content-main">
  238. <zeroOrMore>
  239. <ref name="draw-page"/>
  240. </zeroOrMore>
  241. </define>
  242. <define name="office-presentation-content-epilogue">
  243. <ref name="presentation-settings"/>
  244. <ref name="table-functions"/>
  245. </define>
  246. <define name="office-body-content" combine="choice">
  247. <element name="office:spreadsheet">
  248. <ref name="office-spreadsheet-attlist"/>
  249. <ref name="office-spreadsheet-content-prelude"/>
  250. <ref name="office-spreadsheet-content-main"/>
  251. <ref name="office-spreadsheet-content-epilogue"/>
  252. </element>
  253. </define>
  254. <define name="office-spreadsheet-content-prelude">
  255. <optional>
  256. <ref name="table-tracked-changes"/>
  257. </optional>
  258. <ref name="text-decls"/>
  259. <ref name="table-decls"/>
  260. </define>
  261. <define name="table-decls">
  262. <optional>
  263. <ref name="table-calculation-settings"/>
  264. </optional>
  265. <optional>
  266. <ref name="table-content-validations"/>
  267. </optional>
  268. <optional>
  269. <ref name="table-label-ranges"/>
  270. </optional>
  271. </define>
  272. <define name="office-spreadsheet-content-main">
  273. <zeroOrMore>
  274. <ref name="table-table"/>
  275. </zeroOrMore>
  276. </define>
  277. <define name="office-spreadsheet-content-epilogue">
  278. <ref name="table-functions"/>
  279. </define>
  280. <define name="table-functions">
  281. <optional>
  282. <ref name="table-named-expressions"/>
  283. </optional>
  284. <optional>
  285. <ref name="table-database-ranges"/>
  286. </optional>
  287. <optional>
  288. <ref name="table-data-pilot-tables"/>
  289. </optional>
  290. <optional>
  291. <ref name="table-consolidation"/>
  292. </optional>
  293. <optional>
  294. <ref name="table-dde-links"/>
  295. </optional>
  296. </define>
  297. <define name="office-body-content" combine="choice">
  298. <element name="office:chart">
  299. <ref name="office-chart-attlist"/>
  300. <ref name="office-chart-content-prelude"/>
  301. <ref name="office-chart-content-main"/>
  302. <ref name="office-chart-content-epilogue"/>
  303. </element>
  304. </define>
  305. <define name="office-chart-attlist">
  306. <empty/>
  307. </define>
  308. <define name="office-chart-content-prelude">
  309. <ref name="text-decls"/>
  310. <ref name="table-decls"/>
  311. </define>
  312. <define name="office-chart-content-main">
  313. <ref name="chart-chart"/>
  314. </define>
  315. <define name="office-chart-content-epilogue">
  316. <ref name="table-functions"/>
  317. </define>
  318. <define name="office-body-content" combine="choice">
  319. <element name="office:image">
  320. <ref name="office-image-attlist"/>
  321. <ref name="office-image-content-prelude"/>
  322. <ref name="office-image-content-main"/>
  323. <ref name="office-image-content-epilogue"/>
  324. </element>
  325. </define>
  326. <define name="office-image-attlist">
  327. <empty/>
  328. </define>
  329. <define name="office-image-content-prelude">
  330. <empty/>
  331. </define>
  332. <define name="office-image-content-main">
  333. <ref name="draw-frame"/>
  334. </define>
  335. <define name="office-image-content-epilogue">
  336. <empty/>
  337. </define>
  338. <define name="office-settings">
  339. <optional>
  340. <element name="office:settings">
  341. <oneOrMore>
  342. <ref name="config-config-item-set"/>
  343. </oneOrMore>
  344. </element>
  345. </optional>
  346. </define>
  347. <define name="config-config-item-set">
  348. <element name="config:config-item-set">
  349. <ref name="config-config-item-set-attlist"/>
  350. <ref name="config-items"/>
  351. </element>
  352. </define>
  353. <define name="config-items">
  354. <oneOrMore>
  355. <choice>
  356. <ref name="config-config-item"/>
  357. <ref name="config-config-item-set"/>
  358. <ref name="config-config-item-map-named"/>
  359. <ref name="config-config-item-map-indexed"/>
  360. </choice>
  361. </oneOrMore>
  362. </define>
  363. <define name="config-config-item-set-attlist" combine="interleave">
  364. <attribute name="config:name">
  365. <ref name="string"/>
  366. </attribute>
  367. </define>
  368. <define name="config-config-item">
  369. <element name="config:config-item">
  370. <ref name="config-config-item-attlist"/>
  371. <text/>
  372. </element>
  373. </define>
  374. <define name="config-config-item-attlist" combine="interleave">
  375. <attribute name="config:name">
  376. <ref name="string"/>
  377. </attribute>
  378. </define>
  379. <define name="config-config-item-attlist" combine="interleave">
  380. <attribute name="config:type">
  381. <choice>
  382. <value>boolean</value>
  383. <value>short</value>
  384. <value>int</value>
  385. <value>long</value>
  386. <value>double</value>
  387. <value>string</value>
  388. <value>datetime</value>
  389. <value>base64Binary</value>
  390. </choice>
  391. </attribute>
  392. </define>
  393. <define name="config-config-item-map-indexed">
  394. <element name="config:config-item-map-indexed">
  395. <ref name="config-config-item-map-indexed-attlist"/>
  396. <oneOrMore>
  397. <ref name="config-config-item-map-entry"/>
  398. </oneOrMore>
  399. </element>
  400. </define>
  401. <define name="config-config-item-map-indexed-attlist" combine="interleave">
  402. <attribute name="config:name">
  403. <ref name="string"/>
  404. </attribute>
  405. </define>
  406. <define name="config-config-item-map-entry">
  407. <element name="config:config-item-map-entry">
  408. <ref name="config-config-item-map-entry-attlist"/>
  409. <ref name="config-items"/>
  410. </element>
  411. </define>
  412. <define name="config-config-item-map-entry-attlist" combine="interleave">
  413. <optional>
  414. <attribute name="config:name">
  415. <ref name="string"/>
  416. </attribute>
  417. </optional>
  418. </define>
  419. <define name="config-config-item-map-named">
  420. <element name="config:config-item-map-named">
  421. <ref name="config-config-item-map-named-attlist"/>
  422. <oneOrMore>
  423. <ref name="config-config-item-map-entry"/>
  424. </oneOrMore>
  425. </element>
  426. </define>
  427. <define name="config-config-item-map-named-attlist" combine="interleave">
  428. <attribute name="config:name">
  429. <ref name="string"/>
  430. </attribute>
  431. </define>
  432. <define name="office-scripts">
  433. <optional>
  434. <element name="office:scripts">
  435. <zeroOrMore>
  436. <ref name="office-script"/>
  437. </zeroOrMore>
  438. <optional>
  439. <ref name="office-event-listeners"/>
  440. </optional>
  441. </element>
  442. </optional>
  443. </define>
  444. <define name="office-script">
  445. <element name="office:script">
  446. <ref name="office-script-attlist"/>
  447. <mixed>
  448. <ref name="anyElements"/>
  449. </mixed>
  450. </element>
  451. </define>
  452. <define name="office-script-attlist">
  453. <attribute name="script:language">
  454. <ref name="string"/>
  455. </attribute>
  456. </define>
  457. <define name="office-font-face-decls">
  458. <optional>
  459. <element name="office:font-face-decls">
  460. <zeroOrMore>
  461. <ref name="style-font-face"/>
  462. </zeroOrMore>
  463. </element>
  464. </optional>
  465. </define>
  466. <define name="office-styles">
  467. <optional>
  468. <element name="office:styles">
  469. <interleave>
  470. <ref name="styles"/>
  471. <zeroOrMore>
  472. <ref name="style-default-style"/>
  473. </zeroOrMore>
  474. <optional>
  475. <ref name="text-outline-style"/>
  476. </optional>
  477. <zeroOrMore>
  478. <ref name="text-notes-configuration"/>
  479. </zeroOrMore>
  480. <optional>
  481. <ref name="text-bibliography-configuration"/>
  482. </optional>
  483. <optional>
  484. <ref name="text-linenumbering-configuration"/>
  485. </optional>
  486. <zeroOrMore>
  487. <ref name="draw-gradient"/>
  488. </zeroOrMore>
  489. <zeroOrMore>
  490. <ref name="svg-linearGradient"/>
  491. </zeroOrMore>
  492. <zeroOrMore>
  493. <ref name="svg-radialGradient"/>
  494. </zeroOrMore>
  495. <zeroOrMore>
  496. <ref name="draw-hatch"/>
  497. </zeroOrMore>
  498. <zeroOrMore>
  499. <ref name="draw-fill-image"/>
  500. </zeroOrMore>
  501. <zeroOrMore>
  502. <ref name="draw-marker"/>
  503. </zeroOrMore>
  504. <zeroOrMore>
  505. <ref name="draw-stroke-dash"/>
  506. </zeroOrMore>
  507. <zeroOrMore>
  508. <ref name="draw-opacity"/>
  509. </zeroOrMore>
  510. <zeroOrMore>
  511. <ref name="style-presentation-page-layout"/>
  512. </zeroOrMore>
  513. </interleave>
  514. </element>
  515. </optional>
  516. </define>
  517. <define name="office-automatic-styles">
  518. <optional>
  519. <element name="office:automatic-styles">
  520. <interleave>
  521. <ref name="styles"/>
  522. <zeroOrMore>
  523. <ref name="style-page-layout"/>
  524. </zeroOrMore>
  525. </interleave>
  526. </element>
  527. </optional>
  528. </define>
  529. <define name="office-master-styles">
  530. <optional>
  531. <element name="office:master-styles">
  532. <interleave>
  533. <zeroOrMore>
  534. <ref name="style-master-page"/>
  535. </zeroOrMore>
  536. <optional>
  537. <ref name="style-handout-master"/>
  538. </optional>
  539. <optional>
  540. <ref name="draw-layer-set"/>
  541. </optional>
  542. </interleave>
  543. </element>
  544. </optional>
  545. </define>
  546. <define name="styles">
  547. <interleave>
  548. <zeroOrMore>
  549. <ref name="style-style"/>
  550. </zeroOrMore>
  551. <zeroOrMore>
  552. <ref name="text-list-style"/>
  553. </zeroOrMore>
  554. <zeroOrMore>
  555. <ref name="number-number-style"/>
  556. </zeroOrMore>
  557. <zeroOrMore>
  558. <ref name="number-currency-style"/>
  559. </zeroOrMore>
  560. <zeroOrMore>
  561. <ref name="number-percentage-style"/>
  562. </zeroOrMore>
  563. <zeroOrMore>
  564. <ref name="number-date-style"/>
  565. </zeroOrMore>
  566. <zeroOrMore>
  567. <ref name="number-time-style"/>
  568. </zeroOrMore>
  569. <zeroOrMore>
  570. <ref name="number-boolean-style"/>
  571. </zeroOrMore>
  572. <zeroOrMore>
  573. <ref name="number-text-style"/>
  574. </zeroOrMore>
  575. </interleave>
  576. </define>
  577. <define name="office-meta-data" combine="choice">
  578. <element name="meta:generator">
  579. <ref name="string"/>
  580. </element>
  581. </define>
  582. <define name="office-meta-data" combine="choice">
  583. <element name="dc:title">
  584. <ref name="string"/>
  585. </element>
  586. </define>
  587. <define name="office-meta-data" combine="choice">
  588. <element name="dc:description">
  589. <ref name="string"/>
  590. </element>
  591. </define>
  592. <define name="office-meta-data" combine="choice">
  593. <element name="dc:subject">
  594. <ref name="string"/>
  595. </element>
  596. </define>
  597. <define name="office-meta-data" combine="choice">
  598. <element name="meta:keyword">
  599. <ref name="string"/>
  600. </element>
  601. </define>
  602. <define name="office-meta-data" combine="choice">
  603. <element name="meta:initial-creator">
  604. <ref name="string"/>
  605. </element>
  606. </define>
  607. <define name="office-meta-data" combine="choice">
  608. <ref name="dc-creator"/>
  609. </define>
  610. <define name="dc-creator">
  611. <element name="dc:creator">
  612. <ref name="string"/>
  613. </element>
  614. </define>
  615. <define name="office-meta-data" combine="choice">
  616. <element name="meta:printed-by">
  617. <ref name="string"/>
  618. </element>
  619. </define>
  620. <define name="office-meta-data" combine="choice">
  621. <element name="meta:creation-date">
  622. <ref name="dateTime"/>
  623. </element>
  624. </define>
  625. <define name="office-meta-data" combine="choice">
  626. <ref name="dc-date"/>
  627. </define>
  628. <define name="dc-date">
  629. <element name="dc:date">
  630. <ref name="dateTime"/>
  631. </element>
  632. </define>
  633. <define name="office-meta-data" combine="choice">
  634. <element name="meta:print-date">
  635. <ref name="dateTime"/>
  636. </element>
  637. </define>
  638. <define name="office-meta-data" combine="choice">
  639. <element name="meta:template">
  640. <attribute name="xlink:href">
  641. <ref name="anyURI"/>
  642. </attribute>
  643. <optional>
  644. <attribute name="xlink:type" a:defaultValue="simple">
  645. <value>simple</value>
  646. </attribute>
  647. </optional>
  648. <optional>
  649. <attribute name="xlink:actuate" a:defaultValue="onRequest">
  650. <value>onRequest</value>
  651. </attribute>
  652. </optional>
  653. <optional>
  654. <attribute name="xlink:title">
  655. <ref name="string"/>
  656. </attribute>
  657. </optional>
  658. <optional>
  659. <attribute name="meta:date">
  660. <ref name="dateTime"/>
  661. </attribute>
  662. </optional>
  663. </element>
  664. </define>
  665. <define name="office-meta-data" combine="choice">
  666. <element name="meta:auto-reload">
  667. <optional>
  668. <attribute name="xlink:type" a:defaultValue="simple">
  669. <value>simple</value>
  670. </attribute>
  671. </optional>
  672. <optional>
  673. <attribute name="xlink:show" a:defaultValue="replace">
  674. <value>replace</value>
  675. </attribute>
  676. </optional>
  677. <optional>
  678. <attribute name="xlink:actuate" a:defaultValue="onLoad">
  679. <value>onLoad</value>
  680. </attribute>
  681. </optional>
  682. <optional>
  683. <attribute name="xlink:href">
  684. <ref name="anyURI"/>
  685. </attribute>
  686. </optional>
  687. <optional>
  688. <attribute name="meta:delay">
  689. <ref name="duration"/>
  690. </attribute>
  691. </optional>
  692. </element>
  693. </define>
  694. <define name="office-meta-data" combine="choice">
  695. <element name="meta:hyperlink-behaviour">
  696. <optional>
  697. <attribute name="office:target-frame-name">
  698. <ref name="targetFrameName"/>
  699. </attribute>
  700. </optional>
  701. <optional>
  702. <attribute name="xlink:show">
  703. <choice>
  704. <value>new</value>
  705. <value>replace</value>
  706. </choice>
  707. </attribute>
  708. </optional>
  709. </element>
  710. </define>
  711. <define name="office-meta-data" combine="choice">
  712. <element name="dc:language">
  713. <ref name="language"/>
  714. </element>
  715. </define>
  716. <define name="office-meta-data" combine="choice">
  717. <element name="meta:editing-cycles">
  718. <ref name="nonNegativeInteger"/>
  719. </element>
  720. </define>
  721. <define name="office-meta-data" combine="choice">
  722. <element name="meta:editing-duration">
  723. <ref name="duration"/>
  724. </element>
  725. </define>
  726. <define name="office-meta-data" combine="choice">
  727. <element name="meta:document-statistic">
  728. <optional>
  729. <attribute name="meta:page-count">
  730. <ref name="nonNegativeInteger"/>
  731. </attribute>
  732. </optional>
  733. <optional>
  734. <attribute name="meta:table-count">
  735. <ref name="nonNegativeInteger"/>
  736. </attribute>
  737. </optional>
  738. <optional>
  739. <attribute name="meta:draw-count">
  740. <ref name="nonNegativeInteger"/>
  741. </attribute>
  742. </optional>
  743. <optional>
  744. <attribute name="meta:image-count">
  745. <ref name="nonNegativeInteger"/>
  746. </attribute>
  747. </optional>
  748. <optional>
  749. <attribute name="meta:ole-object-count">
  750. <ref name="nonNegativeInteger"/>
  751. </attribute>
  752. </optional>
  753. <optional>
  754. <attribute name="meta:object-count">
  755. <ref name="nonNegativeInteger"/>
  756. </attribute>
  757. </optional>
  758. <optional>
  759. <attribute name="meta:paragraph-count">
  760. <ref name="nonNegativeInteger"/>
  761. </attribute>
  762. </optional>
  763. <optional>
  764. <attribute name="meta:word-count">
  765. <ref name="nonNegativeInteger"/>
  766. </attribute>
  767. </optional>
  768. <optional>
  769. <attribute name="meta:character-count">
  770. <ref name="nonNegativeInteger"/>
  771. </attribute>
  772. </optional>
  773. <optional>
  774. <attribute name="frame-count">
  775. <ref name="nonNegativeInteger"/>
  776. </attribute>
  777. </optional>
  778. <optional>
  779. <attribute name="sentence-count">
  780. <ref name="nonNegativeInteger"/>
  781. </attribute>
  782. </optional>
  783. <optional>
  784. <attribute name="syllable-count">
  785. <ref name="nonNegativeInteger"/>
  786. </attribute>
  787. </optional>
  788. <optional>
  789. <attribute name="non-whitespace-character-count">
  790. <ref name="nonNegativeInteger"/>
  791. </attribute>
  792. </optional>
  793. <optional>
  794. <attribute name="meta:row-count">
  795. <ref name="nonNegativeInteger"/>
  796. </attribute>
  797. </optional>
  798. <optional>
  799. <attribute name="meta:cell-count">
  800. <ref name="nonNegativeInteger"/>
  801. </attribute>
  802. </optional>
  803. </element>
  804. </define>
  805. <define name="office-meta-data" combine="choice">
  806. <element name="meta:user-defined">
  807. <attribute name="meta:name">
  808. <ref name="string"/>
  809. </attribute>
  810. <choice>
  811. <group>
  812. <attribute name="meta:value-type">
  813. <value>float</value>
  814. </attribute>
  815. <ref name="double"/>
  816. </group>
  817. <group>
  818. <attribute name="meta:value-type">
  819. <value>date</value>
  820. </attribute>
  821. <ref name="dateOrDateTime"/>
  822. </group>
  823. <group>
  824. <attribute name="meta:value-type">
  825. <value>time</value>
  826. </attribute>
  827. <ref name="duration"/>
  828. </group>
  829. <group>
  830. <attribute name="meta:value-type">
  831. <value>boolean</value>
  832. </attribute>
  833. <ref name="boolean"/>
  834. </group>
  835. <group>
  836. <attribute name="meta:value-type">
  837. <value>string</value>
  838. </attribute>
  839. <ref name="string"/>
  840. </group>
  841. <text/>
  842. </choice>
  843. </element>
  844. </define>
  845. <define name="text-h">
  846. <element name="text:h">
  847. <ref name="heading-attrs"/>
  848. <ref name="paragraph-attrs"/>
  849. <optional>
  850. <ref name="text-number"/>
  851. </optional>
  852. <zeroOrMore>
  853. <ref name="paragraph-content"/>
  854. </zeroOrMore>
  855. </element>
  856. </define>
  857. <define name="heading-attrs" combine="interleave">
  858. <attribute name="text:outline-level">
  859. <ref name="positiveInteger"/>
  860. </attribute>
  861. </define>
  862. <define name="heading-attrs" combine="interleave">
  863. <optional>
  864. <attribute name="text:restart-numbering" a:defaultValue="false">
  865. <ref name="boolean"/>
  866. </attribute>
  867. </optional>
  868. </define>
  869. <define name="heading-attrs" combine="interleave">
  870. <optional>
  871. <attribute name="text:start-value">
  872. <ref name="nonNegativeInteger"/>
  873. </attribute>
  874. </optional>
  875. </define>
  876. <define name="heading-attrs" combine="interleave">
  877. <optional>
  878. <attribute name="text:is-list-header" a:defaultValue="false">
  879. <ref name="boolean"/>
  880. </attribute>
  881. </optional>
  882. </define>
  883. <define name="text-number">
  884. <element name="text:number">
  885. <ref name="string"/>
  886. </element>
  887. </define>
  888. <define name="text-p">
  889. <element name="text:p">
  890. <ref name="paragraph-attrs"/>
  891. <zeroOrMore>
  892. <ref name="paragraph-content"/>
  893. </zeroOrMore>
  894. </element>
  895. </define>
  896. <define name="paragraph-attrs">
  897. <optional>
  898. <attribute name="text:style-name">
  899. <ref name="styleNameRef"/>
  900. </attribute>
  901. </optional>
  902. <optional>
  903. <attribute name="text:class-names">
  904. <ref name="styleNameRefs"/>
  905. </attribute>
  906. </optional>
  907. <optional>
  908. <attribute name="text:cond-style-name">
  909. <ref name="styleNameRef"/>
  910. </attribute>
  911. </optional>
  912. </define>
  913. <define name="paragraph-attrs" combine="interleave">
  914. <optional>
  915. <ref name="text-id"/>
  916. </optional>
  917. </define>
  918. <define name="text-page-sequence">
  919. <element name="text:page-sequence">
  920. <oneOrMore>
  921. <ref name="text-page"/>
  922. </oneOrMore>
  923. </element>
  924. </define>
  925. <define name="text-page">
  926. <element name="text:page">
  927. <ref name="text-page-attlist"/>
  928. <empty/>
  929. </element>
  930. </define>
  931. <define name="text-page-attlist">
  932. <attribute name="text:master-page-name">
  933. <ref name="styleNameRef"/>
  934. </attribute>
  935. </define>
  936. <define name="text-list">
  937. <element name="text:list">
  938. <ref name="text-list-attr"/>
  939. <optional>
  940. <ref name="text-list-header"/>
  941. </optional>
  942. <zeroOrMore>
  943. <ref name="text-list-item"/>
  944. </zeroOrMore>
  945. </element>
  946. </define>
  947. <define name="text-list-attr" combine="interleave">
  948. <optional>
  949. <attribute name="text:style-name">
  950. <ref name="styleNameRef"/>
  951. </attribute>
  952. </optional>
  953. </define>
  954. <define name="text-list-attr" combine="interleave">
  955. <optional>
  956. <attribute name="text:continue-numbering">
  957. <ref name="boolean"/>
  958. </attribute>
  959. </optional>
  960. </define>
  961. <define name="text-list-item">
  962. <element name="text:list-item">
  963. <ref name="text-list-item-attr"/>
  964. <ref name="text-list-item-content"/>
  965. </element>
  966. </define>
  967. <define name="text-list-item-content">
  968. <optional>
  969. <ref name="text-number"/>
  970. </optional>
  971. <zeroOrMore>
  972. <choice>
  973. <ref name="text-p"/>
  974. <ref name="text-h"/>
  975. <ref name="text-list"/>
  976. <ref name="text-soft-page-break"/>
  977. </choice>
  978. </zeroOrMore>
  979. </define>
  980. <define name="text-list-item-attr" combine="interleave">
  981. <optional>
  982. <attribute name="text:start-value">
  983. <ref name="nonNegativeInteger"/>
  984. </attribute>
  985. </optional>
  986. </define>
  987. <define name="text-list-header">
  988. <element name="text:list-header">
  989. <ref name="text-list-item-content"/>
  990. </element>
  991. </define>
  992. <define name="text-numbered-paragraph">
  993. <element name="text:numbered-paragraph">
  994. <ref name="text-numbered-paragraph-attr"/>
  995. <optional>
  996. <ref name="text-number"/>
  997. </optional>
  998. <choice>
  999. <ref name="text-p"/>
  1000. <ref name="text-h"/>
  1001. </choice>
  1002. </element>
  1003. </define>
  1004. <define name="text-numbered-paragraph-attr" combine="interleave">
  1005. <optional>
  1006. <attribute name="text:level" a:defaultValue="1">
  1007. <ref name="positiveInteger"/>
  1008. </attribute>
  1009. </optional>
  1010. </define>
  1011. <define name="text-numbered-paragraph-attr" combine="interleave">
  1012. <ref name="text-list-attr"/>
  1013. </define>
  1014. <define name="text-numbered-paragraph-attr" combine="interleave">
  1015. <ref name="text-list-item-attr"/>
  1016. </define>
  1017. <define name="text-section">
  1018. <element name="text:section">
  1019. <ref name="text-section-attr"/>
  1020. <choice>
  1021. <ref name="text-section-source"/>
  1022. <ref name="text-section-source-dde"/>
  1023. <empty/>
  1024. </choice>
  1025. <zeroOrMore>
  1026. <ref name="text-content"/>
  1027. </zeroOrMore>
  1028. </element>
  1029. </define>
  1030. <define name="text-section-attr" combine="interleave">
  1031. <ref name="sectionAttr"/>
  1032. </define>
  1033. <define name="sectionAttr" combine="interleave">
  1034. <optional>
  1035. <attribute name="text:style-name">
  1036. <ref name="styleNameRef"/>
  1037. </attribute>
  1038. </optional>
  1039. </define>
  1040. <define name="sectionAttr" combine="interleave">
  1041. <attribute name="text:name">
  1042. <ref name="string"/>
  1043. </attribute>
  1044. </define>
  1045. <define name="sectionAttr" combine="interleave">
  1046. <optional>
  1047. <attribute name="text:protected">
  1048. <ref name="boolean"/>
  1049. </attribute>
  1050. </optional>
  1051. </define>
  1052. <define name="sectionAttr" combine="interleave">
  1053. <optional>
  1054. <attribute name="text:protection-key">
  1055. <ref name="string"/>
  1056. </attribute>
  1057. </optional>
  1058. </define>
  1059. <define name="text-section-attr" combine="interleave">
  1060. <choice>
  1061. <attribute name="text:display">
  1062. <choice>
  1063. <value>true</value>
  1064. <value>none</value>
  1065. </choice>
  1066. </attribute>
  1067. <group>
  1068. <attribute name="text:display">
  1069. <value>condition</value>
  1070. </attribute>
  1071. <attribute name="text:condition">
  1072. <ref name="string"/>
  1073. </attribute>
  1074. </group>
  1075. <empty/>
  1076. </choice>
  1077. </define>
  1078. <define name="text-section-source">
  1079. <element name="text:section-source">
  1080. <ref name="text-section-source-attr"/>
  1081. </element>
  1082. </define>
  1083. <define name="text-section-source-attr" combine="interleave">
  1084. <optional>
  1085. <attribute name="xlink:href">
  1086. <ref name="anyURI"/>
  1087. </attribute>
  1088. <optional>
  1089. <attribute name="xlink:type" a:defaultValue="simple">
  1090. <value>simple</value>
  1091. </attribute>
  1092. </optional>
  1093. <optional>
  1094. <attribute name="xlink:show" a:defaultValue="embed">
  1095. <value>embed</value>
  1096. </attribute>
  1097. </optional>
  1098. </optional>
  1099. </define>
  1100. <define name="text-section-source-attr" combine="interleave">
  1101. <optional>
  1102. <attribute name="text:section-name">
  1103. <ref name="string"/>
  1104. </attribute>
  1105. </optional>
  1106. </define>
  1107. <define name="text-section-source-attr" combine="interleave">
  1108. <optional>
  1109. <attribute name="text:filter-name">
  1110. <ref name="string"/>
  1111. </attribute>
  1112. </optional>
  1113. </define>
  1114. <define name="text-section-source-dde">
  1115. <ref name="office-dde-source"/>
  1116. </define>
  1117. <define name="text-tracked-changes">
  1118. <optional>
  1119. <element name="text:tracked-changes">
  1120. <ref name="text-tracked-changes-attr"/>
  1121. <zeroOrMore>
  1122. <ref name="text-changed-region"/>
  1123. </zeroOrMore>
  1124. </element>
  1125. </optional>
  1126. </define>
  1127. <define name="text-tracked-changes-attr" combine="interleave">
  1128. <optional>
  1129. <attribute name="text:track-changes" a:defaultValue="true">
  1130. <ref name="boolean"/>
  1131. </attribute>
  1132. </optional>
  1133. </define>
  1134. <define name="text-changed-region">
  1135. <element name="text:changed-region">
  1136. <ref name="text-changed-region-attr"/>
  1137. <ref name="text-changed-region-content"/>
  1138. </element>
  1139. </define>
  1140. <define name="text-changed-region-attr" combine="interleave">
  1141. <attribute name="text:id">
  1142. <ref name="ID"/>
  1143. </attribute>
  1144. </define>
  1145. <define name="text-changed-region-content" combine="choice">
  1146. <element name="text:insertion">
  1147. <ref name="office-change-info"/>
  1148. </element>
  1149. </define>
  1150. <define name="text-changed-region-content" combine="choice">
  1151. <element name="text:deletion">
  1152. <ref name="office-change-info"/>
  1153. <zeroOrMore>
  1154. <ref name="text-content"/>
  1155. </zeroOrMore>
  1156. </element>
  1157. </define>
  1158. <define name="text-changed-region-content" combine="choice">
  1159. <element name="text:format-change">
  1160. <ref name="office-change-info"/>
  1161. </element>
  1162. </define>
  1163. <define name="change-marks">
  1164. <choice>
  1165. <element name="text:change">
  1166. <ref name="change-mark-attr"/>
  1167. </element>
  1168. <element name="text:change-start">
  1169. <ref name="change-mark-attr"/>
  1170. </element>
  1171. <element name="text:change-end">
  1172. <ref name="change-mark-attr"/>
  1173. </element>
  1174. </choice>
  1175. </define>
  1176. <define name="change-mark-attr">
  1177. <attribute name="text:change-id">
  1178. <ref name="IDREF"/>
  1179. </attribute>
  1180. </define>
  1181. <define name="text-soft-page-break">
  1182. <element name="text:soft-page-break">
  1183. <empty/>
  1184. </element>
  1185. </define>
  1186. <define name="text-decls">
  1187. <optional>
  1188. <element name="text:variable-decls">
  1189. <zeroOrMore>
  1190. <ref name="text-variable-decl"/>
  1191. </zeroOrMore>
  1192. </element>
  1193. </optional>
  1194. <optional>
  1195. <element name="text:sequence-decls">
  1196. <zeroOrMore>
  1197. <ref name="text-sequence-decl"/>
  1198. </zeroOrMore>
  1199. </element>
  1200. </optional>
  1201. <optional>
  1202. <element name="text:user-field-decls">
  1203. <zeroOrMore>
  1204. <ref name="text-user-field-decl"/>
  1205. </zeroOrMore>
  1206. </element>
  1207. </optional>
  1208. <optional>
  1209. <element name="text:dde-connection-decls">
  1210. <zeroOrMore>
  1211. <ref name="text-dde-connection-decl"/>
  1212. </zeroOrMore>
  1213. </element>
  1214. </optional>
  1215. <optional>
  1216. <ref name="text-alphabetical-index-auto-mark-file"/>
  1217. </optional>
  1218. </define>
  1219. <define name="paragraph-content" combine="choice">
  1220. <text/>
  1221. </define>
  1222. <define name="paragraph-content" combine="choice">
  1223. <element name="text:s">
  1224. <optional>
  1225. <attribute name="text:c">
  1226. <ref name="nonNegativeInteger"/>
  1227. </attribute>
  1228. </optional>
  1229. </element>
  1230. </define>
  1231. <define name="paragraph-content" combine="choice">
  1232. <element name="text:tab">
  1233. <ref name="text-tab-attr"/>
  1234. </element>
  1235. </define>
  1236. <define name="text-tab-attr">
  1237. <optional>
  1238. <attribute name="text:tab-ref">
  1239. <ref name="nonNegativeInteger"/>
  1240. </attribute>
  1241. </optional>
  1242. </define>
  1243. <define name="paragraph-content" combine="choice">
  1244. <element name="text:line-break">
  1245. <empty/>
  1246. </element>
  1247. </define>
  1248. <define name="paragraph-content" combine="choice">
  1249. <ref name="text-soft-page-break"/>
  1250. </define>
  1251. <define name="paragraph-content" combine="choice">
  1252. <element name="text:span">
  1253. <optional>
  1254. <attribute name="text:style-name">
  1255. <ref name="styleNameRef"/>
  1256. </attribute>
  1257. </optional>
  1258. <optional>
  1259. <attribute name="text:class-names">
  1260. <ref name="styleNameRefs"/>
  1261. </attribute>
  1262. </optional>
  1263. <zeroOrMore>
  1264. <ref name="paragraph-content"/>
  1265. </zeroOrMore>
  1266. </element>
  1267. </define>
  1268. <define name="paragraph-content" combine="choice">
  1269. <element name="text:a">
  1270. <ref name="text-a-attlist"/>
  1271. <optional>
  1272. <ref name="office-event-listeners"/>
  1273. </optional>
  1274. <zeroOrMore>
  1275. <ref name="paragraph-content"/>
  1276. </zeroOrMore>
  1277. </element>
  1278. </define>
  1279. <define name="text-a-attlist" combine="interleave">
  1280. <optional>
  1281. <attribute name="office:name">
  1282. <ref name="string"/>
  1283. </attribute>
  1284. </optional>
  1285. </define>
  1286. <define name="text-a-attlist" combine="interleave">
  1287. <optional>
  1288. <attribute name="office:title">
  1289. <ref name="string"/>
  1290. </attribute>
  1291. </optional>
  1292. </define>
  1293. <define name="text-a-attlist" combine="interleave">
  1294. <attribute name="xlink:href">
  1295. <ref name="anyURI"/>
  1296. </attribute>
  1297. <optional>
  1298. <attribute name="xlink:type" a:defaultValue="simple">
  1299. <value>simple</value>
  1300. </attribute>
  1301. </optional>
  1302. <optional>
  1303. <attribute name="xlink:actuate" a:defaultValue="onRequest">
  1304. <value>onRequest</value>
  1305. </attribute>
  1306. </optional>
  1307. </define>
  1308. <define name="text-a-attlist" combine="interleave">
  1309. <optional>
  1310. <attribute name="office:target-frame-name">
  1311. <ref name="targetFrameName"/>
  1312. </attribute>
  1313. </optional>
  1314. <optional>
  1315. <attribute name="xlink:show">
  1316. <choice>
  1317. <value>new</value>
  1318. <value>replace</value>
  1319. </choice>
  1320. </attribute>
  1321. </optional>
  1322. </define>
  1323. <define name="text-a-attlist" combine="interleave">
  1324. <optional>
  1325. <attribute name="text:style-name">
  1326. <ref name="styleNameRef"/>
  1327. </attribute>
  1328. </optional>
  1329. <optional>
  1330. <attribute name="text:visited-style-name">
  1331. <ref name="styleNameRef"/>
  1332. </attribute>
  1333. </optional>
  1334. </define>
  1335. <define name="paragraph-content" combine="choice">
  1336. <choice>
  1337. <element name="text:bookmark">
  1338. <attribute name="text:name">
  1339. <ref name="string"/>
  1340. </attribute>
  1341. </element>
  1342. <element name="text:bookmark-start">
  1343. <attribute name="text:name">
  1344. <ref name="string"/>
  1345. </attribute>
  1346. </element>
  1347. <element name="text:bookmark-end">
  1348. <attribute name="text:name">
  1349. <ref name="string"/>
  1350. </attribute>
  1351. </element>
  1352. </choice>
  1353. </define>
  1354. <define name="paragraph-content" combine="choice">
  1355. <element name="text:reference-mark">
  1356. <attribute name="text:name">
  1357. <ref name="string"/>
  1358. </attribute>
  1359. </element>
  1360. </define>
  1361. <define name="paragraph-content" combine="choice">
  1362. <choice>
  1363. <element name="text:reference-mark-start">
  1364. <attribute name="text:name">
  1365. <ref name="string"/>
  1366. </attribute>
  1367. </element>
  1368. <element name="text:reference-mark-end">
  1369. <attribute name="text:name">
  1370. <ref name="string"/>
  1371. </attribute>
  1372. </element>
  1373. </choice>
  1374. </define>
  1375. <define name="paragraph-content" combine="choice">
  1376. <element name="text:note">
  1377. <ref name="text-note-class"/>
  1378. <optional>
  1379. <attribute name="text:id">
  1380. <ref name="string"/>
  1381. </attribute>
  1382. </optional>
  1383. <element name="text:note-citation">
  1384. <optional>
  1385. <attribute name="text:label">
  1386. <ref name="string"/>
  1387. </attribute>
  1388. </optional>
  1389. <text/>
  1390. </element>
  1391. <element name="text:note-body">
  1392. <zeroOrMore>
  1393. <ref name="text-content"/>
  1394. </zeroOrMore>
  1395. </element>
  1396. </element>
  1397. </define>
  1398. <define name="text-note-class">
  1399. <attribute name="text:note-class">
  1400. <choice>
  1401. <value>footnote</value>
  1402. <value>endnote</value>
  1403. </choice>
  1404. </attribute>
  1405. </define>
  1406. <define name="paragraph-content" combine="choice">
  1407. <element name="text:ruby">
  1408. <optional>
  1409. <attribute name="text:style-name">
  1410. <ref name="styleNameRef"/>
  1411. </attribute>
  1412. </optional>
  1413. <element name="text:ruby-base">
  1414. <ref name="paragraph-content"/>
  1415. </element>
  1416. <element name="text:ruby-text">
  1417. <optional>
  1418. <attribute name="text:style-name">
  1419. <ref name="styleNameRef"/>
  1420. </attribute>
  1421. </optional>
  1422. <text/>
  1423. </element>
  1424. </element>
  1425. </define>
  1426. <define name="paragraph-content" combine="choice">
  1427. <ref name="office-annotation"/>
  1428. </define>
  1429. <define name="paragraph-content" combine="choice">
  1430. <ref name="change-marks"/>
  1431. </define>
  1432. <define name="paragraph-content" combine="choice">
  1433. <choice>
  1434. <ref name="shape"/>
  1435. <ref name="draw-a"/>
  1436. </choice>
  1437. </define>
  1438. <define name="paragraph-content" combine="choice">
  1439. <element name="text:date">
  1440. <ref name="text-date-attlist"/>
  1441. <text/>
  1442. </element>
  1443. </define>
  1444. <define name="text-date-attlist" combine="interleave">
  1445. <interleave>
  1446. <ref name="common-field-fixed-attlist"/>
  1447. <ref name="common-field-data-style-name-attlist"/>
  1448. </interleave>
  1449. </define>
  1450. <define name="text-date-attlist" combine="interleave">
  1451. <optional>
  1452. <attribute name="text:date-value">
  1453. <ref name="dateOrDateTime"/>
  1454. </attribute>
  1455. </optional>
  1456. </define>
  1457. <define name="text-date-attlist" combine="interleave">
  1458. <optional>
  1459. <attribute name="text:date-adjust">
  1460. <ref name="duration"/>
  1461. </attribute>
  1462. </optional>
  1463. </define>
  1464. <define name="paragraph-content" combine="choice">
  1465. <element name="text:time">
  1466. <ref name="text-time-attlist"/>
  1467. <text/>
  1468. </element>
  1469. </define>
  1470. <define name="text-time-attlist" combine="interleave">
  1471. <interleave>
  1472. <ref name="common-field-fixed-attlist"/>
  1473. <ref name="common-field-data-style-name-attlist"/>
  1474. </interleave>
  1475. </define>
  1476. <define name="text-time-attlist" combine="interleave">
  1477. <optional>
  1478. <attribute name="text:time-value">
  1479. <ref name="timeOrDateTime"/>
  1480. </attribute>
  1481. </optional>
  1482. </define>
  1483. <define name="text-time-attlist" combine="interleave">
  1484. <optional>
  1485. <attribute name="text:time-adjust">
  1486. <ref name="duration"/>
  1487. </attribute>
  1488. </optional>
  1489. </define>
  1490. <define name="paragraph-content" combine="choice">
  1491. <element name="text:page-number">
  1492. <ref name="text-page-number-attlist"/>
  1493. <text/>
  1494. </element>
  1495. </define>
  1496. <define name="text-page-number-attlist" combine="interleave">
  1497. <interleave>
  1498. <ref name="common-field-num-format-attlist"/>
  1499. <ref name="common-field-fixed-attlist"/>
  1500. </interleave>
  1501. </define>
  1502. <define name="text-page-number-attlist" combine="interleave">
  1503. <optional>
  1504. <attribute name="text:page-adjust">
  1505. <ref name="integer"/>
  1506. </attribute>
  1507. </optional>
  1508. </define>
  1509. <define name="text-page-number-attlist" combine="interleave">
  1510. <optional>
  1511. <attribute name="text:select-page">
  1512. <choice>
  1513. <value>previous</value>
  1514. <value>current</value>
  1515. <value>next</value>
  1516. </choice>
  1517. </attribute>
  1518. </optional>
  1519. </define>
  1520. <define name="paragraph-content" combine="choice">
  1521. <element name="text:page-continuation">
  1522. <ref name="text-page-continuation-attlist"/>
  1523. <text/>
  1524. </element>
  1525. </define>
  1526. <define name="text-page-continuation-attlist" combine="interleave">
  1527. <attribute name="text:select-page">
  1528. <choice>
  1529. <value>previous</value>
  1530. <value>next</value>
  1531. </choice>
  1532. </attribute>
  1533. </define>
  1534. <define name="text-page-continuation-attlist" combine="interleave">
  1535. <optional>
  1536. <attribute name="text:string-value">
  1537. <ref name="string"/>
  1538. </attribute>
  1539. </optional>
  1540. </define>
  1541. <define name="paragraph-content" combine="choice">
  1542. <element name="text:sender-firstname">
  1543. <ref name="common-field-fixed-attlist"/>
  1544. <text/>
  1545. </element>
  1546. </define>
  1547. <define name="paragraph-content" combine="choice">
  1548. <element name="text:sender-lastname">
  1549. <ref name="common-field-fixed-attlist"/>
  1550. <text/>
  1551. </element>
  1552. </define>
  1553. <define name="paragraph-content" combine="choice">
  1554. <element name="text:sender-initials">
  1555. <ref name="common-field-fixed-attlist"/>
  1556. <text/>
  1557. </element>
  1558. </define>
  1559. <define name="paragraph-content" combine="choice">
  1560. <element name="text:sender-title">
  1561. <ref name="common-field-fixed-attlist"/>
  1562. <text/>
  1563. </element>
  1564. </define>
  1565. <define name="paragraph-content" combine="choice">
  1566. <element name="text:sender-position">
  1567. <ref name="common-field-fixed-attlist"/>
  1568. <text/>
  1569. </element>
  1570. </define>
  1571. <define name="paragraph-content" combine="choice">
  1572. <element name="text:sender-email">
  1573. <ref name="common-field-fixed-attlist"/>
  1574. <text/>
  1575. </element>
  1576. </define>
  1577. <define name="paragraph-content" combine="choice">
  1578. <element name="text:sender-phone-private">
  1579. <ref name="common-field-fixed-attlist"/>
  1580. <text/>
  1581. </element>
  1582. </define>
  1583. <define name="paragraph-content" combine="choice">
  1584. <element name="text:sender-fax">
  1585. <ref name="common-field-fixed-attlist"/>
  1586. <text/>
  1587. </element>
  1588. </define>
  1589. <define name="paragraph-content" combine="choice">
  1590. <element name="text:sender-company">
  1591. <ref name="common-field-fixed-attlist"/>
  1592. <text/>
  1593. </element>
  1594. </define>
  1595. <define name="paragraph-content" combine="choice">
  1596. <element name="text:sender-phone-work">
  1597. <ref name="common-field-fixed-attlist"/>
  1598. <text/>
  1599. </element>
  1600. </define>
  1601. <define name="paragraph-content" combine="choice">
  1602. <element name="text:sender-street">
  1603. <ref name="common-field-fixed-attlist"/>
  1604. <text/>
  1605. </element>
  1606. </define>
  1607. <define name="paragraph-content" combine="choice">
  1608. <element name="text:sender-city">
  1609. <ref name="common-field-fixed-attlist"/>
  1610. <text/>
  1611. </element>
  1612. </define>
  1613. <define name="paragraph-content" combine="choice">
  1614. <element name="text:sender-postal-code">
  1615. <ref name="common-field-fixed-attlist"/>
  1616. <text/>
  1617. </element>
  1618. </define>
  1619. <define name="paragraph-content" combine="choice">
  1620. <element name="text:sender-country">
  1621. <ref name="common-field-fixed-attlist"/>
  1622. <text/>
  1623. </element>
  1624. </define>
  1625. <define name="paragraph-content" combine="choice">
  1626. <element name="text:sender-state-or-province">
  1627. <ref name="common-field-fixed-attlist"/>
  1628. <text/>
  1629. </element>
  1630. </define>
  1631. <define name="paragraph-content" combine="choice">
  1632. <element name="text:author-name">
  1633. <ref name="common-field-fixed-attlist"/>
  1634. <text/>
  1635. </element>
  1636. </define>
  1637. <define name="paragraph-content" combine="choice">
  1638. <element name="text:author-initials">
  1639. <ref name="common-field-fixed-attlist"/>
  1640. <text/>
  1641. </element>
  1642. </define>
  1643. <define name="paragraph-content" combine="choice">
  1644. <element name="text:chapter">
  1645. <ref name="text-chapter-attlist"/>
  1646. <text/>
  1647. </element>
  1648. </define>
  1649. <define name="text-chapter-attlist" combine="interleave">
  1650. <attribute name="text:display">
  1651. <choice>
  1652. <value>name</value>
  1653. <value>number</value>
  1654. <value>number-and-name</value>
  1655. <value>plain-number-and-name</value>
  1656. <value>plain-number</value>
  1657. </choice>
  1658. </attribute>
  1659. </define>
  1660. <define name="text-chapter-attlist" combine="interleave">
  1661. <attribute name="text:outline-level">
  1662. <ref name="nonNegativeInteger"/>
  1663. </attribute>
  1664. </define>
  1665. <define name="paragraph-content" combine="choice">
  1666. <element name="text:file-name">
  1667. <ref name="text-file-name-attlist"/>
  1668. <text/>
  1669. </element>
  1670. </define>
  1671. <define name="text-file-name-attlist" combine="interleave">
  1672. <optional>
  1673. <attribute name="text:display">
  1674. <choice>
  1675. <value>full</value>
  1676. <value>path</value>
  1677. <value>name</value>
  1678. <value>name-and-extension</value>
  1679. </choice>
  1680. </attribute>
  1681. </optional>
  1682. </define>
  1683. <define name="text-file-name-attlist" combine="interleave">
  1684. <ref name="common-field-fixed-attlist"/>
  1685. </define>
  1686. <define name="paragraph-content" combine="choice">
  1687. <element name="text:template-name">
  1688. <ref name="text-template-name-attlist"/>
  1689. <text/>
  1690. </element>
  1691. </define>
  1692. <define name="text-template-name-attlist">
  1693. <optional>
  1694. <attribute name="text:display">
  1695. <choice>
  1696. <value>full</value>
  1697. <value>path</value>
  1698. <value>name</value>
  1699. <value>name-and-extension</value>
  1700. <value>area</value>
  1701. <value>title</value>
  1702. </choice>
  1703. </attribute>
  1704. </optional>
  1705. </define>
  1706. <define name="paragraph-content" combine="choice">
  1707. <element name="text:sheet-name">
  1708. <text/>
  1709. </element>
  1710. </define>
  1711. <define name="text-variable-decl">
  1712. <element name="text:variable-decl">
  1713. <ref name="common-field-name-attlist"/>
  1714. <ref name="common-value-type-attlist"/>
  1715. </element>
  1716. </define>
  1717. <define name="paragraph-content" combine="choice">
  1718. <element name="text:variable-set">
  1719. <interleave>
  1720. <ref name="common-field-name-attlist"/>
  1721. <ref name="common-field-formula-attlist"/>
  1722. <ref name="common-value-and-type-attlist"/>
  1723. <ref name="common-field-display-value-none-attlist"/>
  1724. <ref name="common-field-data-style-name-attlist"/>
  1725. </interleave>
  1726. <text/>
  1727. </element>
  1728. </define>
  1729. <define name="paragraph-content" combine="choice">
  1730. <element name="text:variable-get">
  1731. <interleave>
  1732. <ref name="common-field-name-attlist"/>
  1733. <ref name="common-field-display-value-formula-attlist"/>
  1734. <ref name="common-field-data-style-name-attlist"/>
  1735. </interleave>
  1736. <text/>
  1737. </element>
  1738. </define>
  1739. <define name="paragraph-content" combine="choice">
  1740. <element name="text:variable-input">
  1741. <interleave>
  1742. <ref name="common-field-name-attlist"/>
  1743. <ref name="common-field-description-attlist"/>
  1744. <ref name="common-value-type-attlist"/>
  1745. <ref name="common-field-display-value-none-attlist"/>
  1746. <ref name="common-field-data-style-name-attlist"/>
  1747. </interleave>
  1748. <text/>
  1749. </element>
  1750. </define>
  1751. <define name="text-user-field-decl">
  1752. <element name="text:user-field-decl">
  1753. <ref name="common-field-name-attlist"/>
  1754. <optional>
  1755. <ref name="common-field-formula-attlist"/>
  1756. </optional>
  1757. <ref name="common-value-and-type-attlist"/>
  1758. </element>
  1759. </define>
  1760. <define name="paragraph-content" combine="choice">
  1761. <element name="text:user-field-get">
  1762. <interleave>
  1763. <ref name="common-field-name-attlist"/>
  1764. <ref name="common-field-display-value-formula-none-attlist"/>
  1765. <ref name="common-field-data-style-name-attlist"/>
  1766. </interleave>
  1767. <text/>
  1768. </element>
  1769. </define>
  1770. <define name="paragraph-content" combine="choice">
  1771. <element name="text:user-field-input">
  1772. <interleave>
  1773. <ref name="common-field-name-attlist"/>
  1774. <ref name="common-field-description-attlist"/>
  1775. <ref name="common-field-data-style-name-attlist"/>
  1776. </interleave>
  1777. <text/>
  1778. </element>
  1779. </define>
  1780. <define name="text-sequence-decl">
  1781. <element name="text:sequence-decl">
  1782. <ref name="text-sequence-decl-attlist"/>
  1783. </element>
  1784. </define>
  1785. <define name="text-sequence-decl-attlist" combine="interleave">
  1786. <ref name="common-field-name-attlist"/>
  1787. </define>
  1788. <define name="text-sequence-decl-attlist" combine="interleave">
  1789. <attribute name="text:display-outline-level">
  1790. <ref name="nonNegativeInteger"/>
  1791. </attribute>
  1792. </define>
  1793. <define name="text-sequence-decl-attlist" combine="interleave">
  1794. <optional>
  1795. <attribute name="text:separation-character">
  1796. <ref name="character"/>
  1797. </attribute>
  1798. </optional>
  1799. </define>
  1800. <define name="paragraph-content" combine="choice">
  1801. <element name="text:sequence">
  1802. <interleave>
  1803. <ref name="common-field-name-attlist"/>
  1804. <ref name="common-field-formula-attlist"/>
  1805. <ref name="common-field-num-format-attlist"/>
  1806. <ref name="text-sequence-ref-name"/>
  1807. </interleave>
  1808. <text/>
  1809. </element>
  1810. </define>
  1811. <define name="text-sequence-ref-name">
  1812. <optional>
  1813. <attribute name="text:ref-name">
  1814. <ref name="string"/>
  1815. </attribute>
  1816. </optional>
  1817. </define>
  1818. <define name="paragraph-content" combine="choice">
  1819. <element name="text:expression">
  1820. <interleave>
  1821. <ref name="common-field-formula-attlist"/>
  1822. <optional>
  1823. <ref name="common-value-and-type-attlist"/>
  1824. </optional>
  1825. <ref name="common-field-display-value-formula-attlist"/>
  1826. <ref name="common-field-data-style-name-attlist"/>
  1827. </interleave>
  1828. <text/>
  1829. </element>
  1830. </define>
  1831. <define name="paragraph-content" combine="choice">
  1832. <element name="text:text-input">
  1833. <ref name="common-field-description-attlist"/>
  1834. <text/>
  1835. </element>
  1836. </define>
  1837. <define name="paragraph-content" combine="choice">
  1838. <element name="text:initial-creator">
  1839. <ref name="common-field-fixed-attlist"/>
  1840. <text/>
  1841. </element>
  1842. </define>
  1843. <define name="paragraph-content" combine="choice">
  1844. <element name="text:creation-date">
  1845. <interleave>
  1846. <ref name="common-field-fixed-attlist"/>
  1847. <ref name="common-field-data-style-name-attlist"/>
  1848. <optional>
  1849. <attribute name="text:date-value">
  1850. <ref name="dateOrDateTime"/>
  1851. </attribute>
  1852. </optional>
  1853. </interleave>
  1854. <text/>
  1855. </element>
  1856. </define>
  1857. <define name="paragraph-content" combine="choice">
  1858. <element name="text:creation-time">
  1859. <interleave>
  1860. <ref name="common-field-fixed-attlist"/>
  1861. <ref name="common-field-data-style-name-attlist"/>
  1862. <optional>
  1863. <attribute name="text:time-value">
  1864. <ref name="timeOrDateTime"/>
  1865. </attribute>
  1866. </optional>
  1867. </interleave>
  1868. <text/>
  1869. </element>
  1870. </define>
  1871. <define name="paragraph-content" combine="choice">
  1872. <element name="text:description">
  1873. <ref name="common-field-fixed-attlist"/>
  1874. <text/>
  1875. </element>
  1876. </define>
  1877. <define name="paragraph-content" combine="choice">
  1878. <element name="text:user-defined">
  1879. <interleave>
  1880. <ref name="common-field-fixed-attlist"/>
  1881. <attribute name="text:name">
  1882. <ref name="string"/>
  1883. </attribute>
  1884. <ref name="common-field-data-style-name-attlist"/>
  1885. <optional>
  1886. <attribute name="office:value">
  1887. <ref name="double"/>
  1888. </attribute>
  1889. </optional>
  1890. <optional>
  1891. <attribute name="office:date-value">
  1892. <ref name="dateOrDateTime"/>
  1893. </attribute>
  1894. </optional>
  1895. <optional>
  1896. <attribute name="office:time-value">
  1897. <ref name="duration"/>
  1898. </attribute>
  1899. </optional>
  1900. <optional>
  1901. <attribute name="office:boolean-value">
  1902. <ref name="boolean"/>
  1903. </attribute>
  1904. </optional>
  1905. <optional>
  1906. <attribute name="office:string-value">
  1907. <ref name="string"/>
  1908. </attribute>
  1909. </optional>
  1910. </interleave>
  1911. <text/>
  1912. </element>
  1913. </define>
  1914. <define name="paragraph-content" combine="choice">
  1915. <element name="text:print-time">
  1916. <interleave>
  1917. <ref name="common-field-fixed-attlist"/>
  1918. <ref name="common-field-data-style-name-attlist"/>
  1919. <optional>
  1920. <attribute name="text:time-value">
  1921. <ref name="time"/>
  1922. </attribute>
  1923. </optional>
  1924. </interleave>
  1925. <text/>
  1926. </element>
  1927. </define>
  1928. <define name="paragraph-content" combine="choice">
  1929. <element name="text:print-date">
  1930. <interleave>
  1931. <ref name="common-field-fixed-attlist"/>
  1932. <ref name="common-field-data-style-name-attlist"/>
  1933. <optional>
  1934. <attribute name="text:date-value">
  1935. <ref name="date"/>
  1936. </attribute>
  1937. </optional>
  1938. </interleave>
  1939. <text/>
  1940. </element>
  1941. </define>
  1942. <define name="paragraph-content" combine="choice">
  1943. <element name="text:printed-by">
  1944. <ref name="common-field-fixed-attlist"/>
  1945. <text/>
  1946. </element>
  1947. </define>
  1948. <define name="paragraph-content" combine="choice">
  1949. <element name="text:title">
  1950. <ref name="common-field-fixed-attlist"/>
  1951. <text/>
  1952. </element>
  1953. </define>
  1954. <define name="paragraph-content" combine="choice">
  1955. <element name="text:subject">
  1956. <ref name="common-field-fixed-attlist"/>
  1957. <text/>
  1958. </element>
  1959. </define>
  1960. <define name="paragraph-content" combine="choice">
  1961. <element name="text:keywords">
  1962. <ref name="common-field-fixed-attlist"/>
  1963. <text/>
  1964. </element>
  1965. </define>
  1966. <define name="paragraph-content" combine="choice">
  1967. <element name="text:editing-cycles">
  1968. <ref name="common-field-fixed-attlist"/>
  1969. <text/>
  1970. </element>
  1971. </define>
  1972. <define name="paragraph-content" combine="choice">
  1973. <element name="text:editing-duration">
  1974. <interleave>
  1975. <ref name="common-field-fixed-attlist"/>
  1976. <ref name="common-field-data-style-name-attlist"/>
  1977. <optional>
  1978. <attribute name="text:duration">
  1979. <ref name="duration"/>
  1980. </attribute>
  1981. </optional>
  1982. </interleave>
  1983. <text/>
  1984. </element>
  1985. </define>
  1986. <define name="paragraph-content" combine="choice">
  1987. <element name="text:modification-time">
  1988. <interleave>
  1989. <ref name="common-field-fixed-attlist"/>
  1990. <ref name="common-field-data-style-name-attlist"/>
  1991. <optional>
  1992. <attribute name="text:time-value">
  1993. <ref name="time"/>
  1994. </attribute>
  1995. </optional>
  1996. </interleave>
  1997. <text/>
  1998. </element>
  1999. </define>
  2000. <define name="paragraph-content" combine="choice">
  2001. <element name="text:modification-date">
  2002. <interleave>
  2003. <ref name="common-field-fixed-attlist"/>
  2004. <ref name="common-field-data-style-name-attlist"/>
  2005. <optional>
  2006. <attribute name="text:date-value">
  2007. <ref name="date"/>
  2008. </attribute>
  2009. </optional>
  2010. </interleave>
  2011. <text/>
  2012. </element>
  2013. </define>
  2014. <define name="paragraph-content" combine="choice">
  2015. <element name="text:creator">
  2016. <ref name="common-field-fixed-attlist"/>
  2017. <text/>
  2018. </element>
  2019. </define>
  2020. <define name="paragraph-content" combine="choice">
  2021. <element>
  2022. <choice>
  2023. <name>text:page-count</name>
  2024. <name>text:paragraph-count</name>
  2025. <name>text:word-count</name>
  2026. <name>text:character-count</name>
  2027. <name>text:table-count</name>
  2028. <name>text:image-count</name>
  2029. <name>text:object-count</name>
  2030. </choice>
  2031. <ref name="common-field-num-format-attlist"/>
  2032. <text/>
  2033. </element>
  2034. </define>
  2035. <define name="common-field-database-table">
  2036. <ref name="common-field-database-table-attlist"/>
  2037. <ref name="common-field-database-name"/>
  2038. </define>
  2039. <define name="common-field-database-name" combine="choice">
  2040. <optional>
  2041. <attribute name="text:database-name">
  2042. <ref name="string"/>
  2043. </attribute>
  2044. </optional>
  2045. </define>
  2046. <define name="common-field-database-name" combine="choice">
  2047. <ref name="form-connection-resource"/>
  2048. </define>
  2049. <define name="common-field-database-table-attlist" combine="interleave">
  2050. <attribute name="text:table-name">
  2051. <ref name="string"/>
  2052. </attribute>
  2053. </define>
  2054. <define name="common-field-database-table-attlist" combine="interleave">
  2055. <optional>
  2056. <attribute name="text:table-type">
  2057. <choice>
  2058. <value>table</value>
  2059. <value>query</value>
  2060. <value>command</value>
  2061. </choice>
  2062. </attribute>
  2063. </optional>
  2064. </define>
  2065. <define name="paragraph-content" combine="choice">
  2066. <element name="text:database-display">
  2067. <ref name="text-database-display-attlist"/>
  2068. <text/>
  2069. </element>
  2070. </define>
  2071. <define name="text-database-display-attlist" combine="interleave">
  2072. <ref name="common-field-database-table"/>
  2073. </define>
  2074. <define name="text-database-display-attlist" combine="interleave">
  2075. <ref name="common-field-data-style-name-attlist"/>
  2076. </define>
  2077. <define name="text-database-display-attlist" combine="interleave">
  2078. <attribute name="text:column-name">
  2079. <ref name="string"/>
  2080. </attribute>
  2081. </define>
  2082. <define name="paragraph-content" combine="choice">
  2083. <element name="text:database-next">
  2084. <ref name="text-database-next-attlist"/>
  2085. </element>
  2086. </define>
  2087. <define name="text-database-next-attlist" combine="interleave">
  2088. <ref name="common-field-database-table"/>
  2089. </define>
  2090. <define name="text-database-next-attlist" combine="interleave">
  2091. <optional>
  2092. <attribute name="text:condition">
  2093. <ref name="formula"/>
  2094. </attribute>
  2095. </optional>
  2096. </define>
  2097. <define name="paragraph-content" combine="choice">
  2098. <element name="text:database-row-select">
  2099. <ref name="text-database-row-select-attlist"/>
  2100. </element>
  2101. </define>
  2102. <define name="text-database-row-select-attlist" combine="interleave">
  2103. <ref name="common-field-database-table"/>
  2104. </define>
  2105. <define name="text-database-row-select-attlist" combine="interleave">
  2106. <optional>
  2107. <attribute name="text:condition">
  2108. <ref name="formula"/>
  2109. </attribute>
  2110. </optional>
  2111. </define>
  2112. <define name="text-database-row-select-attlist" combine="interleave">
  2113. <optional>
  2114. <attribute name="text:row-number">
  2115. <ref name="nonNegativeInteger"/>
  2116. </attribute>
  2117. </optional>
  2118. </define>
  2119. <define name="paragraph-content" combine="choice">
  2120. <element name="text:database-row-number">
  2121. <interleave>
  2122. <ref name="common-field-database-table"/>
  2123. <ref name="common-field-num-format-attlist"/>
  2124. <optional>
  2125. <attribute name="text:value">
  2126. <ref name="nonNegativeInteger"/>
  2127. </attribute>
  2128. </optional>
  2129. </interleave>
  2130. <text/>
  2131. </element>
  2132. </define>
  2133. <define name="paragraph-content" combine="choice">
  2134. <element name="text:database-name">
  2135. <ref name="common-field-database-table"/>
  2136. <text/>
  2137. </element>
  2138. </define>
  2139. <define name="paragraph-content" combine="choice">
  2140. <element name="text:page-variable-set">
  2141. <ref name="text-set-page-variable-attlist"/>
  2142. <text/>
  2143. </element>
  2144. </define>
  2145. <define name="text-set-page-variable-attlist" combine="interleave">
  2146. <optional>
  2147. <attribute name="text:active">
  2148. <ref name="boolean"/>
  2149. </attribute>
  2150. </optional>
  2151. </define>
  2152. <define name="text-set-page-variable-attlist" combine="interleave">
  2153. <optional>
  2154. <attribute name="text:page-adjust">
  2155. <ref name="integer"/>
  2156. </attribute>
  2157. </optional>
  2158. </define>
  2159. <define name="paragraph-content" combine="choice">
  2160. <element name="text:page-variable-get">
  2161. <ref name="text-get-page-variable-attlist"/>
  2162. <text/>
  2163. </element>
  2164. </define>
  2165. <define name="text-get-page-variable-attlist" combine="interleave">
  2166. <ref name="common-field-num-format-attlist"/>
  2167. </define>
  2168. <define name="paragraph-content" combine="choice">
  2169. <element name="text:placeholder">
  2170. <ref name="text-placeholder-attlist"/>
  2171. <text/>
  2172. </element>
  2173. </define>
  2174. <define name="text-placeholder-attlist" combine="interleave">
  2175. <attribute name="text:placeholder-type">
  2176. <choice>
  2177. <value>text</value>
  2178. <value>table</value>
  2179. <value>text-box</value>
  2180. <value>image</value>
  2181. <value>object</value>
  2182. </choice>
  2183. </attribute>
  2184. </define>
  2185. <define name="text-placeholder-attlist" combine="interleave">
  2186. <ref name="common-field-description-attlist"/>
  2187. </define>
  2188. <define name="paragraph-content" combine="choice">
  2189. <element name="text:conditional-text">
  2190. <ref name="text-conditional-text-attlist"/>
  2191. <text/>
  2192. </element>
  2193. </define>
  2194. <define name="text-conditional-text-attlist" combine="interleave">
  2195. <attribute name="text:condition">
  2196. <ref name="formula"/>
  2197. </attribute>
  2198. </define>
  2199. <define name="text-conditional-text-attlist" combine="interleave">
  2200. <attribute name="text:string-value-if-true">
  2201. <ref name="string"/>
  2202. </attribute>
  2203. </define>
  2204. <define name="text-conditional-text-attlist" combine="interleave">
  2205. <attribute name="text:string-value-if-false">
  2206. <ref name="string"/>
  2207. </attribute>
  2208. </define>
  2209. <define name="text-conditional-text-attlist" combine="interleave">
  2210. <optional>
  2211. <attribute name="text:current-value">
  2212. <ref name="boolean"/>
  2213. </attribute>
  2214. </optional>
  2215. </define>
  2216. <define name="paragraph-content" combine="choice">
  2217. <element name="text:hidden-text">
  2218. <ref name="text-hidden-text-attlist"/>
  2219. <text/>
  2220. </element>
  2221. </define>
  2222. <define name="text-hidden-text-attlist" combine="interleave">
  2223. <attribute name="text:condition">
  2224. <ref name="formula"/>
  2225. </attribute>
  2226. </define>
  2227. <define name="text-hidden-text-attlist" combine="interleave">
  2228. <attribute name="text:string-value">
  2229. <ref name="string"/>
  2230. </attribute>
  2231. </define>
  2232. <define name="text-hidden-text-attlist" combine="interleave">
  2233. <optional>
  2234. <attribute name="text:is-hidden">
  2235. <ref name="boolean"/>
  2236. </attribute>
  2237. </optional>
  2238. </define>
  2239. <define name="paragraph-content" combine="choice">
  2240. <element>
  2241. <choice>
  2242. <name>text:reference-ref</name>
  2243. <name>text:bookmark-ref</name>
  2244. </choice>
  2245. <interleave>
  2246. <ref name="text-common-ref-content"/>
  2247. <ref name="text-ref-content"/>
  2248. </interleave>
  2249. </element>
  2250. </define>
  2251. <define name="paragraph-content" combine="choice">
  2252. <element name="text:note-ref">
  2253. <interleave>
  2254. <ref name="text-common-ref-content"/>
  2255. <ref name="text-note-ref-content"/>
  2256. <ref name="text-ref-content"/>
  2257. </interleave>
  2258. </element>
  2259. </define>
  2260. <define name="paragraph-content" combine="choice">
  2261. <element name="text:sequence-ref">
  2262. <interleave>
  2263. <ref name="text-common-ref-content"/>
  2264. <ref name="text-sequence-ref-content"/>
  2265. </interleave>
  2266. </element>
  2267. </define>
  2268. <define name="text-common-ref-content" combine="interleave">
  2269. <text/>
  2270. </define>
  2271. <define name="text-common-ref-content" combine="interleave">
  2272. <optional>
  2273. <attribute name="text:ref-name">
  2274. <ref name="string"/>
  2275. </attribute>
  2276. </optional>
  2277. </define>
  2278. <define name="text-note-ref-content" combine="interleave">
  2279. <ref name="text-note-class"/>
  2280. </define>
  2281. <define name="text-ref-content" combine="interleave">
  2282. <optional>
  2283. <attribute name="text:reference-format">
  2284. <choice>
  2285. <value>page</value>
  2286. <value>chapter</value>
  2287. <value>direction</value>
  2288. <value>text</value>
  2289. </choice>
  2290. </attribute>
  2291. </optional>
  2292. </define>
  2293. <define name="text-sequence-ref-content" combine="interleave">
  2294. <optional>
  2295. <attribute name="text:reference-format">
  2296. <choice>
  2297. <value>page</value>
  2298. <value>chapter</value>
  2299. <value>direction</value>
  2300. <value>text</value>
  2301. <value>category-and-value</value>
  2302. <value>caption</value>
  2303. <value>value</value>
  2304. </choice>
  2305. </attribute>
  2306. </optional>
  2307. </define>
  2308. <define name="paragraph-content" combine="choice">
  2309. <element name="text:script">
  2310. <interleave>
  2311. <choice>
  2312. <group>
  2313. <attribute name="xlink:href">
  2314. <ref name="anyURI"/>
  2315. </attribute>
  2316. <optional>
  2317. <attribute name="xlink:type" a:defaultValue="simple">
  2318. <value>simple</value>
  2319. </attribute>
  2320. </optional>
  2321. </group>
  2322. <text/>
  2323. </choice>
  2324. <optional>
  2325. <attribute name="script:language">
  2326. <ref name="string"/>
  2327. </attribute>
  2328. </optional>
  2329. </interleave>
  2330. </element>
  2331. </define>
  2332. <define name="paragraph-content" combine="choice">
  2333. <element name="text:execute-macro">
  2334. <optional>
  2335. <attribute name="text:name">
  2336. <ref name="string"/>
  2337. </attribute>
  2338. </optional>
  2339. <optional>
  2340. <ref name="office-event-listeners"/>
  2341. </optional>
  2342. <text/>
  2343. </element>
  2344. </define>
  2345. <define name="paragraph-content" combine="choice">
  2346. <element name="text:hidden-paragraph">
  2347. <ref name="text-hidden-paragraph-attlist"/>
  2348. <text/>
  2349. </element>
  2350. </define>
  2351. <define name="text-hidden-paragraph-attlist" combine="interleave">
  2352. <attribute name="text:condition">
  2353. <ref name="formula"/>
  2354. </attribute>
  2355. </define>
  2356. <define name="text-hidden-paragraph-attlist" combine="interleave">
  2357. <optional>
  2358. <attribute name="text:is-hidden">
  2359. <ref name="boolean"/>
  2360. </attribute>
  2361. </optional>
  2362. </define>
  2363. <define name="paragraph-content" combine="choice">
  2364. <element name="text:dde-connection">
  2365. <attribute name="text:connection-name">
  2366. <ref name="string"/>
  2367. </attribute>
  2368. <text/>
  2369. </element>
  2370. </define>
  2371. <define name="paragraph-content" combine="choice">
  2372. <element name="text:measure">
  2373. <attribute name="text:kind">
  2374. <choice>
  2375. <value>value</value>
  2376. <value>unit</value>
  2377. <value>gap</value>
  2378. </choice>
  2379. </attribute>
  2380. <text/>
  2381. </element>
  2382. </define>
  2383. <define name="paragraph-content" combine="choice">
  2384. <element name="text:table-formula">
  2385. <interleave>
  2386. <ref name="common-field-formula-attlist"/>
  2387. <ref name="common-field-display-value-formula-attlist"/>
  2388. <ref name="common-field-data-style-name-attlist"/>
  2389. </interleave>
  2390. <text/>
  2391. </element>
  2392. </define>
  2393. <define name="common-value-type-attlist">
  2394. <attribute name="office:value-type">
  2395. <ref name="valueType"/>
  2396. </attribute>
  2397. </define>
  2398. <define name="common-value-and-type-attlist">
  2399. <choice>
  2400. <group>
  2401. <attribute name="office:value-type">
  2402. <value>float</value>
  2403. </attribute>
  2404. <attribute name="office:value">
  2405. <ref name="double"/>
  2406. </attribute>
  2407. </group>
  2408. <group>
  2409. <attribute name="office:value-type">
  2410. <value>percentage</value>
  2411. </attribute>
  2412. <attribute name="office:value">
  2413. <ref name="double"/>
  2414. </attribute>
  2415. </group>
  2416. <group>
  2417. <attribute name="office:value-type">
  2418. <value>currency</value>
  2419. </attribute>
  2420. <attribute name="office:value">
  2421. <ref name="double"/>
  2422. </attribute>
  2423. <optional>
  2424. <attribute name="office:currency">
  2425. <ref name="string"/>
  2426. </attribute>
  2427. </optional>
  2428. </group>
  2429. <group>
  2430. <attribute name="office:value-type">
  2431. <value>date</value>
  2432. </attribute>
  2433. <attribute name="office:date-value">
  2434. <ref name="dateOrDateTime"/>
  2435. </attribute>
  2436. </group>
  2437. <group>
  2438. <attribute name="office:value-type">
  2439. <value>time</value>
  2440. </attribute>
  2441. <attribute name="office:time-value">
  2442. <ref name="duration"/>
  2443. </attribute>
  2444. </group>
  2445. <group>
  2446. <attribute name="office:value-type">
  2447. <value>boolean</value>
  2448. </attribute>
  2449. <attribute name="office:boolean-value">
  2450. <ref name="boolean"/>
  2451. </attribute>
  2452. </group>
  2453. <group>
  2454. <attribute name="office:value-type">
  2455. <value>string</value>
  2456. </attribute>
  2457. <optional>
  2458. <attribute name="office:string-value">
  2459. <ref name="string"/>
  2460. </attribute>
  2461. </optional>
  2462. </group>
  2463. </choice>
  2464. </define>
  2465. <define name="common-field-fixed-attlist">
  2466. <optional>
  2467. <attribute name="text:fixed">
  2468. <ref name="boolean"/>
  2469. </attribute>
  2470. </optional>
  2471. </define>
  2472. <define name="common-field-name-attlist">
  2473. <attribute name="text:name">
  2474. <ref name="variableName"/>
  2475. </attribute>
  2476. </define>
  2477. <define name="common-field-description-attlist">
  2478. <optional>
  2479. <attribute name="text:description">
  2480. <text/>
  2481. </attribute>
  2482. </optional>
  2483. </define>
  2484. <define name="common-field-display-value-none-attlist">
  2485. <optional>
  2486. <attribute name="text:display">
  2487. <choice>
  2488. <value>value</value>
  2489. <value>none</value>
  2490. </choice>
  2491. </attribute>
  2492. </optional>
  2493. </define>
  2494. <define name="common-field-display-value-formula-none-attlist">
  2495. <optional>
  2496. <attribute name="text:display">
  2497. <choice>
  2498. <value>value</value>
  2499. <value>formula</value>
  2500. <value>none</value>
  2501. </choice>
  2502. </attribute>
  2503. </optional>
  2504. </define>
  2505. <define name="common-field-display-value-formula-attlist">
  2506. <optional>
  2507. <attribute name="text:display">
  2508. <choice>
  2509. <value>value</value>
  2510. <value>formula</value>
  2511. </choice>
  2512. </attribute>
  2513. </optional>
  2514. </define>
  2515. <define name="common-field-formula-attlist">
  2516. <optional>
  2517. <attribute name="text:formula">
  2518. <ref name="formula"/>
  2519. </attribute>
  2520. </optional>
  2521. </define>
  2522. <define name="common-field-data-style-name-attlist">
  2523. <optional>
  2524. <attribute name="style:data-style-name">
  2525. <ref name="styleNameRef"/>
  2526. </attribute>
  2527. </optional>
  2528. </define>
  2529. <define name="common-field-num-format-attlist">
  2530. <optional>
  2531. <ref name="common-num-format-attlist"/>
  2532. </optional>
  2533. </define>
  2534. <define name="paragraph-content" combine="choice">
  2535. <element name="text:toc-mark-start">
  2536. <ref name="text-toc-mark-start-attrs"/>
  2537. </element>
  2538. </define>
  2539. <define name="text-toc-mark-start-attrs">
  2540. <ref name="text-id"/>
  2541. <ref name="text-outline-level"/>
  2542. </define>
  2543. <define name="text-outline-level">
  2544. <optional>
  2545. <attribute name="text:outline-level">
  2546. <ref name="positiveInteger"/>
  2547. </attribute>
  2548. </optional>
  2549. </define>
  2550. <define name="text-id">
  2551. <attribute name="text:id">
  2552. <ref name="string"/>
  2553. </attribute>
  2554. </define>
  2555. <define name="paragraph-content" combine="choice">
  2556. <element name="text:toc-mark-end">
  2557. <ref name="text-id"/>
  2558. </element>
  2559. </define>
  2560. <define name="paragraph-content" combine="choice">
  2561. <element name="text:toc-mark">
  2562. <attribute name="text:string-value">
  2563. <ref name="string"/>
  2564. </attribute>
  2565. <ref name="text-outline-level"/>
  2566. </element>
  2567. </define>
  2568. <define name="paragraph-content" combine="choice">
  2569. <element name="text:user-index-mark-start">
  2570. <ref name="text-id"/>
  2571. <ref name="text-outline-level"/>
  2572. <ref name="text-index-name"/>
  2573. </element>
  2574. </define>
  2575. <define name="paragraph-content" combine="choice">
  2576. <element name="text:user-index-mark-end">
  2577. <ref name="text-id"/>
  2578. <ref name="text-outline-level"/>
  2579. </element>
  2580. </define>
  2581. <define name="paragraph-content" combine="choice">
  2582. <element name="text:user-index-mark">
  2583. <attribute name="text:string-value">
  2584. <ref name="string"/>
  2585. </attribute>
  2586. <ref name="text-outline-level"/>
  2587. <ref name="text-index-name"/>
  2588. </element>
  2589. </define>
  2590. <define name="text-index-name">
  2591. <attribute name="text:index-name">
  2592. <ref name="string"/>
  2593. </attribute>
  2594. </define>
  2595. <define name="paragraph-content" combine="choice">
  2596. <element name="text:alphabetical-index-mark-start">
  2597. <ref name="text-id"/>
  2598. <ref name="text-alphabetical-index-mark-attrs"/>
  2599. </element>
  2600. </define>
  2601. <define name="paragraph-content" combine="choice">
  2602. <element name="text:alphabetical-index-mark-end">
  2603. <ref name="text-id"/>
  2604. </element>
  2605. </define>
  2606. <define name="paragraph-content" combine="choice">
  2607. <element name="text:alphabetical-index-mark">
  2608. <attribute name="text:string-value">
  2609. <ref name="string"/>
  2610. </attribute>
  2611. <ref name="text-alphabetical-index-mark-attrs"/>
  2612. </element>
  2613. </define>
  2614. <define name="text-alphabetical-index-mark-attrs" combine="interleave">
  2615. <optional>
  2616. <attribute name="text:key1">
  2617. <ref name="string"/>
  2618. </attribute>
  2619. </optional>
  2620. <optional>
  2621. <attribute name="text:key2">
  2622. <ref name="string"/>
  2623. </attribute>
  2624. </optional>
  2625. </define>
  2626. <define name="text-alphabetical-index-mark-attrs" combine="interleave">
  2627. <optional>
  2628. <attribute name="text:string-value-phonetic">
  2629. <ref name="string"/>
  2630. </attribute>
  2631. </optional>
  2632. <optional>
  2633. <attribute name="text:key1-phonetic">
  2634. <ref name="string"/>
  2635. </attribute>
  2636. </optional>
  2637. <optional>
  2638. <attribute name="text:key2-phonetic">
  2639. <ref name="string"/>
  2640. </attribute>
  2641. </optional>
  2642. </define>
  2643. <define name="text-alphabetical-index-mark-attrs" combine="interleave">
  2644. <optional>
  2645. <attribute name="text:main-entry" a:defaultValue="false">
  2646. <ref name="boolean"/>
  2647. </attribute>
  2648. </optional>
  2649. </define>
  2650. <define name="paragraph-content" combine="choice">
  2651. <element name="text:bibliography-mark">
  2652. <attribute name="text:bibliography-type">
  2653. <ref name="text-bibliography-types"/>
  2654. </attribute>
  2655. <zeroOrMore>
  2656. <attribute>
  2657. <choice>
  2658. <name>text:identifier</name>
  2659. <name>text:address</name>
  2660. <name>text:annote</name>
  2661. <name>text:author</name>
  2662. <name>text:booktitle</name>
  2663. <name>text:chapter</name>
  2664. <name>text:edition</name>
  2665. <name>text:editor</name>
  2666. <name>text:howpublished</name>
  2667. <name>text:institution</name>
  2668. <name>text:journal</name>
  2669. <name>text:month</name>
  2670. <name>text:note</name>
  2671. <name>text:number</name>
  2672. <name>text:organizations</name>
  2673. <name>text:pages</name>
  2674. <name>text:publisher</name>
  2675. <name>text:school</name>
  2676. <name>text:series</name>
  2677. <name>text:title</name>
  2678. <name>text:report-type</name>
  2679. <name>text:volume</name>
  2680. <name>text:year</name>
  2681. <name>text:url</name>
  2682. <name>text:custom1</name>
  2683. <name>text:custom2</name>
  2684. <name>text:custom3</name>
  2685. <name>text:custom4</name>
  2686. <name>text:custom5</name>
  2687. <name>text:isbn</name>
  2688. <name>text:issn</name>
  2689. </choice>
  2690. <ref name="string"/>
  2691. </attribute>
  2692. </zeroOrMore>
  2693. <text/>
  2694. </element>
  2695. </define>
  2696. <define name="text-bibliography-types">
  2697. <choice>
  2698. <value>article</value>
  2699. <value>book</value>
  2700. <value>booklet</value>
  2701. <value>conference</value>
  2702. <value>custom1</value>
  2703. <value>custom2</value>
  2704. <value>custom3</value>
  2705. <value>custom4</value>
  2706. <value>custom5</value>
  2707. <value>email</value>
  2708. <value>inbook</value>
  2709. <value>incollection</value>
  2710. <value>inproceedings</value>
  2711. <value>journal</value>
  2712. <value>manual</value>
  2713. <value>mastersthesis</value>
  2714. <value>misc</value>
  2715. <value>phdthesis</value>
  2716. <value>proceedings</value>
  2717. <value>techreport</value>
  2718. <value>unpublished</value>
  2719. <value>www</value>
  2720. </choice>
  2721. </define>
  2722. <define name="text-index-body">
  2723. <element name="text:index-body">
  2724. <zeroOrMore>
  2725. <ref name="index-content-main"/>
  2726. </zeroOrMore>
  2727. </element>
  2728. </define>
  2729. <define name="index-content-main">
  2730. <choice>
  2731. <ref name="text-content"/>
  2732. <ref name="text-index-title"/>
  2733. </choice>
  2734. </define>
  2735. <define name="text-index-title">
  2736. <element name="text:index-title">
  2737. <ref name="sectionAttr"/>
  2738. <zeroOrMore>
  2739. <ref name="index-content-main"/>
  2740. </zeroOrMore>
  2741. </element>
  2742. </define>
  2743. <define name="text-table-of-content">
  2744. <element name="text:table-of-content">
  2745. <ref name="sectionAttr"/>
  2746. <ref name="text-table-of-content-source"/>
  2747. <ref name="text-index-body"/>
  2748. </element>
  2749. </define>
  2750. <define name="text-table-of-content-source">
  2751. <element name="text:table-of-content-source">
  2752. <ref name="text-table-of-content-source-attlist"/>
  2753. <optional>
  2754. <ref name="text-index-title-template"/>
  2755. </optional>
  2756. <zeroOrMore>
  2757. <ref name="text-table-of-content-entry-template"/>
  2758. </zeroOrMore>
  2759. <zeroOrMore>
  2760. <ref name="text-index-source-styles"/>
  2761. </zeroOrMore>
  2762. </element>
  2763. </define>
  2764. <define name="text-table-of-content-source-attlist" combine="interleave">
  2765. <optional>
  2766. <attribute name="text:outline-level">
  2767. <choice>
  2768. <ref name="positiveInteger"/>
  2769. </choice>
  2770. </attribute>
  2771. </optional>
  2772. </define>
  2773. <define name="text-table-of-content-source-attlist" combine="interleave">
  2774. <optional>
  2775. <attribute name="text:use-outline-level" a:defaultValue="true">
  2776. <ref name="boolean"/>
  2777. </attribute>
  2778. </optional>
  2779. </define>
  2780. <define name="text-table-of-content-source-attlist" combine="interleave">
  2781. <optional>
  2782. <attribute name="text:use-index-marks">
  2783. <ref name="boolean"/>
  2784. </attribute>
  2785. </optional>
  2786. </define>
  2787. <define name="text-table-of-content-source-attlist" combine="interleave">
  2788. <optional>
  2789. <attribute name="text:use-index-source-styles">
  2790. <ref name="boolean"/>
  2791. </attribute>
  2792. </optional>
  2793. </define>
  2794. <define name="text-table-of-content-source-attlist" combine="interleave">
  2795. <optional>
  2796. <attribute name="text:index-scope">
  2797. <choice>
  2798. <value>document</value>
  2799. <value>chapter</value>
  2800. </choice>
  2801. </attribute>
  2802. </optional>
  2803. </define>
  2804. <define name="text-table-of-content-source-attlist" combine="interleave">
  2805. <optional>
  2806. <attribute name="text:relative-tab-stop-position">
  2807. <ref name="boolean"/>
  2808. </attribute>
  2809. </optional>
  2810. </define>
  2811. <define name="text-table-of-content-entry-template">
  2812. <element name="text:table-of-content-entry-template">
  2813. <ref name="text-table-of-content-entry-template-attlist"/>
  2814. <zeroOrMore>
  2815. <ref name="text-table-of-content-children"/>
  2816. </zeroOrMore>
  2817. </element>
  2818. </define>
  2819. <define name="text-table-of-content-children">
  2820. <choice>
  2821. <ref name="text-index-entry-chapter"/>
  2822. <ref name="text-index-entry-page-number"/>
  2823. <ref name="text-index-entry-text"/>
  2824. <ref name="text-index-entry-span"/>
  2825. <ref name="text-index-entry-tab-stop"/>
  2826. <ref name="text-index-entry-link-start"/>
  2827. <ref name="text-index-entry-link-end"/>
  2828. </choice>
  2829. </define>
  2830. <define name="text-table-of-content-entry-template-attlist"
  2831. combine="interleave">
  2832. <attribute name="text:outline-level">
  2833. <ref name="positiveInteger"/>
  2834. </attribute>
  2835. </define>
  2836. <define name="text-table-of-content-entry-template-attlist"
  2837. combine="interleave">
  2838. <attribute name="text:style-name">
  2839. <ref name="styleNameRef"/>
  2840. </attribute>
  2841. </define>
  2842. <define name="text-illustration-index">
  2843. <element name="text:illustration-index">
  2844. <ref name="sectionAttr"/>
  2845. <ref name="text-illustration-index-source"/>
  2846. <ref name="text-index-body"/>
  2847. </element>
  2848. </define>
  2849. <define name="text-illustration-index-source">
  2850. <element name="text:illustration-index-source">
  2851. <ref name="text-illustration-index-source-attrs"/>
  2852. <optional>
  2853. <ref name="text-index-title-template"/>
  2854. </optional>
  2855. <optional>
  2856. <ref name="text-illustration-index-entry-template"/>
  2857. </optional>
  2858. </element>
  2859. </define>
  2860. <define name="text-illustration-index-source-attrs" combine="interleave">
  2861. <ref name="text-index-scope-attr"/>
  2862. </define>
  2863. <define name="text-index-scope-attr">
  2864. <optional>
  2865. <attribute name="text:index-scope" a:defaultValue="document">
  2866. <choice>
  2867. <value>document</value>
  2868. <value>chapter</value>
  2869. </choice>
  2870. </attribute>
  2871. </optional>
  2872. </define>
  2873. <define name="text-illustration-index-source-attrs" combine="interleave">
  2874. <ref name="text-relative-tab-stop-position-attr"/>
  2875. </define>
  2876. <define name="text-relative-tab-stop-position-attr">
  2877. <optional>
  2878. <attribute name="text:relative-tab-stop-position"
  2879. a:defaultValue="true">
  2880. <ref name="boolean"/>
  2881. </attribute>
  2882. </optional>
  2883. </define>
  2884. <define name="text-illustration-index-source-attrs" combine="interleave">
  2885. <optional>
  2886. <attribute name="text:use-caption" a:defaultValue="true">
  2887. <ref name="boolean"/>
  2888. </attribute>
  2889. </optional>
  2890. </define>
  2891. <define name="text-illustration-index-source-attrs" combine="interleave">
  2892. <optional>
  2893. <attribute name="text:caption-sequence-name">
  2894. <ref name="string"/>
  2895. </attribute>
  2896. </optional>
  2897. </define>
  2898. <define name="text-illustration-index-source-attrs" combine="interleave">
  2899. <optional>
  2900. <attribute name="text:caption-sequence-format">
  2901. <choice>
  2902. <value>text</value>
  2903. <value>category-and-value</value>
  2904. <value>caption</value>
  2905. </choice>
  2906. </attribute>
  2907. </optional>
  2908. </define>
  2909. <define name="text-illustration-index-entry-template">
  2910. <element name="text:illustration-index-entry-template">
  2911. <ref name="text-illustration-index-entry-content"/>
  2912. </element>
  2913. </define>
  2914. <define name="text-illustration-index-entry-content">
  2915. <ref name="text-illustration-index-entry-template-attrs"/>
  2916. <zeroOrMore>
  2917. <choice>
  2918. <ref name="text-index-entry-page-number"/>
  2919. <ref name="text-index-entry-text"/>
  2920. <ref name="text-index-entry-span"/>
  2921. <ref name="text-index-entry-tab-stop"/>
  2922. </choice>
  2923. </zeroOrMore>
  2924. </define>
  2925. <define name="text-illustration-index-entry-template-attrs">
  2926. <attribute name="text:style-name">
  2927. <ref name="styleNameRef"/>
  2928. </attribute>
  2929. </define>
  2930. <define name="text-table-index">
  2931. <element name="text:table-index">
  2932. <ref name="sectionAttr"/>
  2933. <ref name="text-table-index-source"/>
  2934. <ref name="text-index-body"/>
  2935. </element>
  2936. </define>
  2937. <define name="text-table-index-source">
  2938. <element name="text:table-index-source">
  2939. <ref name="text-illustration-index-source-attrs"/>
  2940. <optional>
  2941. <ref name="text-index-title-template"/>
  2942. </optional>
  2943. <optional>
  2944. <ref name="text-table-index-entry-template"/>
  2945. </optional>
  2946. </element>
  2947. </define>
  2948. <define name="text-table-index-entry-template">
  2949. <element name="text:table-index-entry-template">
  2950. <ref name="text-illustration-index-entry-content"/>
  2951. </element>
  2952. </define>
  2953. <define name="text-object-index">
  2954. <element name="text:object-index">
  2955. <ref name="sectionAttr"/>
  2956. <ref name="text-object-index-source"/>
  2957. <ref name="text-index-body"/>
  2958. </element>
  2959. </define>
  2960. <define name="text-object-index-source">
  2961. <element name="text:object-index-source">
  2962. <ref name="text-object-index-source-attrs"/>
  2963. <optional>
  2964. <ref name="text-index-title-template"/>
  2965. </optional>
  2966. <optional>
  2967. <ref name="text-object-index-entry-template"/>
  2968. </optional>
  2969. </element>
  2970. </define>
  2971. <define name="text-object-index-source-attrs" combine="interleave">
  2972. <ref name="text-index-scope-attr"/>
  2973. </define>
  2974. <define name="text-object-index-source-attrs" combine="interleave">
  2975. <ref name="text-relative-tab-stop-position-attr"/>
  2976. </define>
  2977. <define name="text-object-index-source-attrs" combine="interleave">
  2978. <optional>
  2979. <attribute name="text:use-spreadsheet-objects" a:defaultValue="false">
  2980. <ref name="boolean"/>
  2981. </attribute>
  2982. </optional>
  2983. </define>
  2984. <define name="text-object-index-source-attrs" combine="interleave">
  2985. <optional>
  2986. <attribute name="text:use-math-objects" a:defaultValue="false">
  2987. <ref name="boolean"/>
  2988. </attribute>
  2989. </optional>
  2990. </define>
  2991. <define name="text-object-index-source-attrs" combine="interleave">
  2992. <optional>
  2993. <attribute name="text:use-draw-objects" a:defaultValue="false">
  2994. <ref name="boolean"/>
  2995. </attribute>
  2996. </optional>
  2997. </define>
  2998. <define name="text-object-index-source-attrs" combine="interleave">
  2999. <optional>
  3000. <attribute name="text:use-chart-objects" a:defaultValue="false">
  3001. <ref name="boolean"/>
  3002. </attribute>
  3003. </optional>
  3004. </define>
  3005. <define name="text-object-index-source-attrs" combine="interleave">
  3006. <optional>
  3007. <attribute name="text:use-other-objects" a:defaultValue="false">
  3008. <ref name="boolean"/>
  3009. </attribute>
  3010. </optional>
  3011. </define>
  3012. <define name="text-object-index-entry-template">
  3013. <element name="text:object-index-entry-template">
  3014. <ref name="text-illustration-index-entry-content"/>
  3015. </element>
  3016. </define>
  3017. <define name="text-user-index">
  3018. <element name="text:user-index">
  3019. <ref name="sectionAttr"/>
  3020. <ref name="text-user-index-source"/>
  3021. <ref name="text-index-body"/>
  3022. </element>
  3023. </define>
  3024. <define name="text-user-index-source">
  3025. <element name="text:user-index-source">
  3026. <ref name="text-user-index-source-attr"/>
  3027. <optional>
  3028. <ref name="text-index-title-template"/>
  3029. </optional>
  3030. <zeroOrMore>
  3031. <ref name="text-user-index-entry-template"/>
  3032. </zeroOrMore>
  3033. <zeroOrMore>
  3034. <ref name="text-index-source-styles"/>
  3035. </zeroOrMore>
  3036. </element>
  3037. </define>
  3038. <define name="text-user-index-source-attr" combine="interleave">
  3039. <ref name="text-index-scope-attr"/>
  3040. <ref name="text-relative-tab-stop-position-attr"/>
  3041. <attribute name="text:index-name">
  3042. <ref name="string"/>
  3043. </attribute>
  3044. </define>
  3045. <define name="text-user-index-source-attr" combine="interleave">
  3046. <optional>
  3047. <attribute name="text:use-index-marks" a:defaultValue="false">
  3048. <ref name="boolean"/>
  3049. </attribute>
  3050. </optional>
  3051. <optional>
  3052. <attribute name="text:use-graphics" a:defaultValue="false">
  3053. <ref name="boolean"/>
  3054. </attribute>
  3055. </optional>
  3056. <optional>
  3057. <attribute name="text:use-tables" a:defaultValue="false">
  3058. <ref name="boolean"/>
  3059. </attribute>
  3060. </optional>
  3061. <optional>
  3062. <attribute name="text:use-floating-frames"
  3063. a:defaultValue="false">
  3064. <ref name="boolean"/>
  3065. </attribute>
  3066. </optional>
  3067. <optional>
  3068. <attribute name="text:use-objects" a:defaultValue="false">
  3069. <ref name="boolean"/>
  3070. </attribute>
  3071. </optional>
  3072. </define>
  3073. <define name="text-user-index-source-attr" combine="interleave">
  3074. <optional>
  3075. <attribute name="text:copy-outline-levels"
  3076. a:defaultValue="false">
  3077. <ref name="boolean"/>
  3078. </attribute>
  3079. </optional>
  3080. </define>
  3081. <define name="text-user-index-entry-template">
  3082. <element name="text:user-index-entry-template">
  3083. <ref name="text-user-index-entry-template-attrs"/>
  3084. <zeroOrMore>
  3085. <choice>
  3086. <ref name="text-index-entry-chapter"/>
  3087. <ref name="text-index-entry-page-number"/>
  3088. <ref name="text-index-entry-text"/>
  3089. <ref name="text-index-entry-span"/>
  3090. <ref name="text-index-entry-tab-stop"/>
  3091. </choice>
  3092. </zeroOrMore>
  3093. </element>
  3094. </define>
  3095. <define name="text-user-index-entry-template-attrs" combine="interleave">
  3096. <attribute name="text:outline-level">
  3097. <ref name="positiveInteger"/>
  3098. </attribute>
  3099. </define>
  3100. <define name="text-user-index-entry-template-attrs" combine="interleave">
  3101. <attribute name="text:style-name">
  3102. <ref name="styleNameRef"/>
  3103. </attribute>
  3104. </define>
  3105. <define name="text-alphabetical-index">
  3106. <element name="text:alphabetical-index">
  3107. <ref name="sectionAttr"/>
  3108. <ref name="text-alphabetical-index-source"/>
  3109. <ref name="text-index-body"/>
  3110. </element>
  3111. </define>
  3112. <define name="text-alphabetical-index-source">
  3113. <element name="text:alphabetical-index-source">
  3114. <ref name="text-alphabetical-index-source-attrs"/>
  3115. <optional>
  3116. <ref name="text-index-title-template"/>
  3117. </optional>
  3118. <zeroOrMore>
  3119. <ref name="text-alphabetical-index-entry-template"/>
  3120. </zeroOrMore>
  3121. </element>
  3122. </define>
  3123. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3124. <ref name="text-index-scope-attr"/>
  3125. <ref name="text-relative-tab-stop-position-attr"/>
  3126. </define>
  3127. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3128. <optional>
  3129. <attribute name="text:ignore-case" a:defaultValue="false">
  3130. <ref name="boolean"/>
  3131. </attribute>
  3132. </optional>
  3133. </define>
  3134. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3135. <optional>
  3136. <attribute name="text:main-entry-style-name">
  3137. <ref name="styleNameRef"/>
  3138. </attribute>
  3139. </optional>
  3140. </define>
  3141. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3142. <optional>
  3143. <attribute name="text:alphabetical-separators" a:defaultValue="false">
  3144. <ref name="boolean"/>
  3145. </attribute>
  3146. </optional>
  3147. </define>
  3148. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3149. <optional>
  3150. <attribute name="text:combine-entries" a:defaultValue="true">
  3151. <ref name="boolean"/>
  3152. </attribute>
  3153. </optional>
  3154. <optional>
  3155. <attribute name="text:combine-entries-with-dash"
  3156. a:defaultValue="false">
  3157. <ref name="boolean"/>
  3158. </attribute>
  3159. </optional>
  3160. <optional>
  3161. <attribute name="text:combine-entries-with-pp" a:defaultValue="true">
  3162. <ref name="boolean"/>
  3163. </attribute>
  3164. </optional>
  3165. </define>
  3166. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3167. <optional>
  3168. <attribute name="text:use-keys-as-entries" a:defaultValue="false">
  3169. <ref name="boolean"/>
  3170. </attribute>
  3171. </optional>
  3172. </define>
  3173. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3174. <optional>
  3175. <attribute name="text:capitalize-entries" a:defaultValue="false">
  3176. <ref name="boolean"/>
  3177. </attribute>
  3178. </optional>
  3179. </define>
  3180. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3181. <optional>
  3182. <attribute name="text:comma-separated" a:defaultValue="false">
  3183. <ref name="boolean"/>
  3184. </attribute>
  3185. </optional>
  3186. </define>
  3187. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3188. <optional>
  3189. <attribute name="fo:language">
  3190. <ref name="languageCode"/>
  3191. </attribute>
  3192. </optional>
  3193. </define>
  3194. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3195. <optional>
  3196. <attribute name="fo:country">
  3197. <ref name="countryCode"/>
  3198. </attribute>
  3199. </optional>
  3200. </define>
  3201. <define name="text-alphabetical-index-source-attrs" combine="interleave">
  3202. <optional>
  3203. <attribute name="text:sort-algorithm">
  3204. <ref name="string"/>
  3205. </attribute>
  3206. </optional>
  3207. </define>
  3208. <define name="text-alphabetical-index-auto-mark-file">
  3209. <element name="text:alphabetical-index-auto-mark-file">
  3210. <attribute name="xlink:href">
  3211. <ref name="anyURI"/>
  3212. </attribute>
  3213. <optional>
  3214. <attribute name="xlink:type" a:defaultValue="simple">
  3215. <value>simple</value>
  3216. </attribute>
  3217. </optional>
  3218. </element>
  3219. </define>
  3220. <define name="text-alphabetical-index-entry-template">
  3221. <element name="text:alphabetical-index-entry-template">
  3222. <ref name="text-alphabetical-index-entry-template-attrs"/>
  3223. <zeroOrMore>
  3224. <choice>
  3225. <ref name="text-index-entry-chapter"/>
  3226. <ref name="text-index-entry-page-number"/>
  3227. <ref name="text-index-entry-text"/>
  3228. <ref name="text-index-entry-span"/>
  3229. <ref name="text-index-entry-tab-stop"/>
  3230. </choice>
  3231. </zeroOrMore>
  3232. </element>
  3233. </define>
  3234. <define name="text-alphabetical-index-entry-template-attrs"
  3235. combine="interleave">
  3236. <attribute name="text:outline-level">
  3237. <choice>
  3238. <value>1</value>
  3239. <value>2</value>
  3240. <value>3</value>
  3241. <value>separator</value>
  3242. </choice>
  3243. </attribute>
  3244. </define>
  3245. <define name="text-alphabetical-index-entry-template-attrs"
  3246. combine="interleave">
  3247. <attribute name="text:style-name">
  3248. <ref name="styleNameRef"/>
  3249. </attribute>
  3250. </define>
  3251. <define name="text-bibliography">
  3252. <element name="text:bibliography">
  3253. <ref name="sectionAttr"/>
  3254. <ref name="text-bibliography-source"/>
  3255. <ref name="text-index-body"/>
  3256. </element>
  3257. </define>
  3258. <define name="text-bibliography-source">
  3259. <element name="text:bibliography-source">
  3260. <optional>
  3261. <ref name="text-index-title-template"/>
  3262. </optional>
  3263. <zeroOrMore>
  3264. <ref name="text-bibliography-entry-template"/>
  3265. </zeroOrMore>
  3266. </element>
  3267. </define>
  3268. <define name="text-bibliography-entry-template">
  3269. <element name="text:bibliography-entry-template">
  3270. <ref name="text-bibliography-entry-template-attrs"/>
  3271. <zeroOrMore>
  3272. <choice>
  3273. <ref name="text-index-entry-span"/>
  3274. <ref name="text-index-entry-tab-stop"/>
  3275. <ref name="text-index-entry-bibliography"/>
  3276. </choice>
  3277. </zeroOrMore>
  3278. </element>
  3279. </define>
  3280. <define name="text-bibliography-entry-template-attrs" combine="interleave">
  3281. <attribute name="text:bibliography-type">
  3282. <ref name="text-bibliography-types"/>
  3283. </attribute>
  3284. </define>
  3285. <define name="text-bibliography-entry-template-attrs" combine="interleave">
  3286. <attribute name="text:style-name">
  3287. <ref name="styleNameRef"/>
  3288. </attribute>
  3289. </define>
  3290. <define name="text-index-source-styles">
  3291. <element name="text:index-source-styles">
  3292. <attribute name="text:outline-level">
  3293. <ref name="positiveInteger"/>
  3294. </attribute>
  3295. <zeroOrMore>
  3296. <ref name="text-index-source-style"/>
  3297. </zeroOrMore>
  3298. </element>
  3299. </define>
  3300. <define name="text-index-source-style">
  3301. <element name="text:index-source-style">
  3302. <attribute name="text:style-name">
  3303. <ref name="styleName"/>
  3304. </attribute>
  3305. <empty/>
  3306. </element>
  3307. </define>
  3308. <define name="text-index-title-template">
  3309. <element name="text:index-title-template">
  3310. <optional>
  3311. <attribute name="text:style-name">
  3312. <ref name="styleNameRef"/>
  3313. </attribute>
  3314. </optional>
  3315. <text/>
  3316. </element>
  3317. </define>
  3318. <define name="text-index-entry-chapter">
  3319. <element name="text:index-entry-chapter">
  3320. <optional>
  3321. <attribute name="text:style-name">
  3322. <ref name="styleNameRef"/>
  3323. </attribute>
  3324. </optional>
  3325. <ref name="text-index-entry-chapter-attrs"/>
  3326. </element>
  3327. </define>
  3328. <define name="text-index-entry-chapter-attrs">
  3329. <optional>
  3330. <attribute name="text:display" a:defaultValue="number">
  3331. <choice>
  3332. <value>name</value>
  3333. <value>number</value>
  3334. <value>number-and-name</value>
  3335. </choice>
  3336. </attribute>
  3337. </optional>
  3338. </define>
  3339. <define name="text-index-entry-text">
  3340. <element name="text:index-entry-text">
  3341. <optional>
  3342. <attribute name="text:style-name">
  3343. <ref name="styleNameRef"/>
  3344. </attribute>
  3345. </optional>
  3346. </element>
  3347. </define>
  3348. <define name="text-index-entry-page-number">
  3349. <element name="text:index-entry-page-number">
  3350. <optional>
  3351. <attribute name="text:style-name">
  3352. <ref name="styleNameRef"/>
  3353. </attribute>
  3354. </optional>
  3355. </element>
  3356. </define>
  3357. <define name="text-index-entry-span">
  3358. <element name="text:index-entry-span">
  3359. <optional>
  3360. <attribute name="text:style-name">
  3361. <ref name="styleNameRef"/>
  3362. </attribute>
  3363. </optional>
  3364. <text/>
  3365. </element>
  3366. </define>
  3367. <define name="text-index-entry-bibliography">
  3368. <element name="text:index-entry-bibliography">
  3369. <ref name="text-index-entry-bibliography-attrs"/>
  3370. </element>
  3371. </define>
  3372. <define name="text-index-entry-bibliography-attrs" combine="interleave">
  3373. <optional>
  3374. <attribute name="text:style-name">
  3375. <ref name="styleNameRef"/>
  3376. </attribute>
  3377. </optional>
  3378. </define>
  3379. <define name="text-index-entry-bibliography-attrs" combine="interleave">
  3380. <attribute name="text:bibliography-data-field">
  3381. <choice>
  3382. <value>address</value>
  3383. <value>annote</value>
  3384. <value>author</value>
  3385. <value>bibliography-type</value>
  3386. <value>booktitle</value>
  3387. <value>chapter</value>
  3388. <value>custom1</value>
  3389. <value>custom2</value>
  3390. <value>custom3</value>
  3391. <value>custom4</value>
  3392. <value>custom5</value>
  3393. <value>edition</value>
  3394. <value>editor</value>
  3395. <value>howpublished</value>
  3396. <value>identifier</value>
  3397. <value>institution</value>
  3398. <value>isbn</value>
  3399. <value>issn</value>
  3400. <value>journal</value>
  3401. <value>month</value>
  3402. <value>note</value>
  3403. <value>number</value>
  3404. <value>organizations</value>
  3405. <value>pages</value>
  3406. <value>publisher</value>
  3407. <value>report-type</value>
  3408. <value>school</value>
  3409. <value>series</value>
  3410. <value>title</value>
  3411. <value>url</value>
  3412. <value>volume</value>
  3413. <value>year</value>
  3414. </choice>
  3415. </attribute>
  3416. </define>
  3417. <define name="text-index-entry-tab-stop">
  3418. <element name="text:index-entry-tab-stop">
  3419. <optional>
  3420. <attribute name="text:style-name">
  3421. <ref name="styleNameRef"/>
  3422. </attribute>
  3423. </optional>
  3424. <ref name="text-index-entry-tab-stop-attrs"/>
  3425. </element>
  3426. </define>
  3427. <define name="text-index-entry-tab-stop-attrs" combine="interleave">
  3428. <optional>
  3429. <attribute name="style:leader-char">
  3430. <ref name="character"/>
  3431. </attribute>
  3432. </optional>
  3433. </define>
  3434. <define name="text-index-entry-tab-stop-attrs" combine="interleave">
  3435. <choice>
  3436. <attribute name="style:type">
  3437. <value>right</value>
  3438. </attribute>
  3439. <group>
  3440. <attribute name="style:type">
  3441. <value>left</value>
  3442. </attribute>
  3443. <attribute name="style:position">
  3444. <ref name="length"/>
  3445. </attribute>
  3446. </group>
  3447. </choice>
  3448. </define>
  3449. <define name="text-index-entry-link-start">
  3450. <element name="text:index-entry-link-start">
  3451. <optional>
  3452. <attribute name="text:style-name">
  3453. <ref name="styleNameRef"/>
  3454. </attribute>
  3455. </optional>
  3456. </element>
  3457. </define>
  3458. <define name="text-index-entry-link-end">
  3459. <element name="text:index-entry-link-end">
  3460. <optional>
  3461. <attribute name="text:style-name">
  3462. <ref name="styleNameRef"/>
  3463. </attribute>
  3464. </optional>
  3465. </element>
  3466. </define>
  3467. <define name="table-table">
  3468. <element name="table:table">
  3469. <ref name="table-table-attlist"/>
  3470. <optional>
  3471. <ref name="table-table-source"/>
  3472. </optional>
  3473. <optional>
  3474. <ref name="office-dde-source"/>
  3475. </optional>
  3476. <optional>
  3477. <ref name="table-scenario"/>
  3478. </optional>
  3479. <optional>
  3480. <ref name="office-forms"/>
  3481. </optional>
  3482. <optional>
  3483. <ref name="table-shapes"/>
  3484. </optional>
  3485. <ref name="table-columns-and-groups"/>
  3486. <ref name="table-rows-and-groups"/>
  3487. </element>
  3488. </define>
  3489. <define name="table-columns-and-groups">
  3490. <oneOrMore>
  3491. <choice>
  3492. <ref name="table-table-column-group"/>
  3493. <ref name="table-columns-no-group"/>
  3494. </choice>
  3495. </oneOrMore>
  3496. </define>
  3497. <define name="table-columns-no-group">
  3498. <choice>
  3499. <group>
  3500. <ref name="table-columns"/>
  3501. <optional>
  3502. <ref name="table-table-header-columns"/>
  3503. <optional>
  3504. <ref name="table-columns"/>
  3505. </optional>
  3506. </optional>
  3507. </group>
  3508. <group>
  3509. <ref name="table-table-header-columns"/>
  3510. <optional>
  3511. <ref name="table-columns"/>
  3512. </optional>
  3513. </group>
  3514. </choice>
  3515. </define>
  3516. <define name="table-columns">
  3517. <choice>
  3518. <ref name="table-table-columns"/>
  3519. <oneOrMore>
  3520. <ref name="table-table-column"/>
  3521. </oneOrMore>
  3522. </choice>
  3523. </define>
  3524. <define name="table-rows-and-groups">
  3525. <oneOrMore>
  3526. <choice>
  3527. <ref name="table-table-row-group"/>
  3528. <ref name="table-rows-no-group"/>
  3529. </choice>
  3530. </oneOrMore>
  3531. </define>
  3532. <define name="table-rows-no-group">
  3533. <choice>
  3534. <group>
  3535. <ref name="table-rows"/>
  3536. <optional>
  3537. <ref name="table-table-header-rows"/>
  3538. <optional>
  3539. <ref name="table-rows"/>
  3540. </optional>
  3541. </optional>
  3542. </group>
  3543. <group>
  3544. <ref name="table-table-header-rows"/>
  3545. <optional>
  3546. <ref name="table-rows"/>
  3547. </optional>
  3548. </group>
  3549. </choice>
  3550. </define>
  3551. <define name="table-rows">
  3552. <choice>
  3553. <ref name="table-table-rows"/>
  3554. <oneOrMore>
  3555. <optional>
  3556. <ref name="text-soft-page-break"/>
  3557. </optional>
  3558. <ref name="table-table-row"/>
  3559. </oneOrMore>
  3560. </choice>
  3561. </define>
  3562. <define name="table-table-attlist" combine="interleave">
  3563. <optional>
  3564. <attribute name="table:name">
  3565. <ref name="string"/>
  3566. </attribute>
  3567. </optional>
  3568. </define>
  3569. <define name="table-table-attlist" combine="interleave">
  3570. <optional>
  3571. <attribute name="table:style-name">
  3572. <ref name="styleNameRef"/>
  3573. </attribute>
  3574. </optional>
  3575. </define>
  3576. <define name="table-table-attlist" combine="interleave">
  3577. <optional>
  3578. <attribute name="table:protected" a:defaultValue="false">
  3579. <ref name="boolean"/>
  3580. </attribute>
  3581. </optional>
  3582. <optional>
  3583. <attribute name="table:protection-key">
  3584. <text/>
  3585. </attribute>
  3586. </optional>
  3587. </define>
  3588. <define name="table-table-attlist" combine="interleave">
  3589. <optional>
  3590. <attribute name="table:print" a:defaultValue="true">
  3591. <ref name="boolean"/>
  3592. </attribute>
  3593. </optional>
  3594. </define>
  3595. <define name="table-table-attlist" combine="interleave">
  3596. <optional>
  3597. <attribute name="table:print-ranges">
  3598. <ref name="cellRangeAddressList"/>
  3599. </attribute>
  3600. </optional>
  3601. </define>
  3602. <define name="table-table-row">
  3603. <element name="table:table-row">
  3604. <ref name="table-table-row-attlist"/>
  3605. <oneOrMore>
  3606. <choice>
  3607. <ref name="table-table-cell"/>
  3608. <ref name="table-covered-table-cell"/>
  3609. </choice>
  3610. </oneOrMore>
  3611. </element>
  3612. </define>
  3613. <define name="table-table-row-attlist" combine="interleave">
  3614. <optional>
  3615. <attribute name="table:number-rows-repeated" a:defaultValue="1">
  3616. <ref name="positiveInteger"/>
  3617. </attribute>
  3618. </optional>
  3619. </define>
  3620. <define name="table-table-row-attlist" combine="interleave">
  3621. <optional>
  3622. <attribute name="table:style-name">
  3623. <ref name="styleNameRef"/>
  3624. </attribute>
  3625. </optional>
  3626. </define>
  3627. <define name="table-table-row-attlist" combine="interleave">
  3628. <optional>
  3629. <attribute name="table:default-cell-style-name">
  3630. <ref name="styleNameRef"/>
  3631. </attribute>
  3632. </optional>
  3633. </define>
  3634. <define name="table-table-row-attlist" combine="interleave">
  3635. <optional>
  3636. <attribute name="table:visibility" a:defaultValue="visible">
  3637. <ref name="table-visibility-value"/>
  3638. </attribute>
  3639. </optional>
  3640. </define>
  3641. <define name="table-visibility-value">
  3642. <choice>
  3643. <value>visible</value>
  3644. <value>collapse</value>
  3645. <value>filter</value>
  3646. </choice>
  3647. </define>
  3648. <define name="table-table-cell">
  3649. <element name="table:table-cell">
  3650. <ref name="table-table-cell-attlist"/>
  3651. <ref name="table-table-cell-attlist-extra"/>
  3652. <ref name="table-table-cell-content"/>
  3653. </element>
  3654. </define>
  3655. <define name="table-covered-table-cell">
  3656. <element name="table:covered-table-cell">
  3657. <ref name="table-table-cell-attlist"/>
  3658. <ref name="table-table-cell-content"/>
  3659. </element>
  3660. </define>
  3661. <define name="table-table-cell-content">
  3662. <optional>
  3663. <ref name="table-cell-range-source"/>
  3664. </optional>
  3665. <optional>
  3666. <ref name="office-annotation"/>
  3667. </optional>
  3668. <optional>
  3669. <ref name="table-detective"/>
  3670. </optional>
  3671. <zeroOrMore>
  3672. <ref name="text-content"/>
  3673. </zeroOrMore>
  3674. </define>
  3675. <define name="table-table-cell-attlist" combine="interleave">
  3676. <optional>
  3677. <attribute name="table:number-columns-repeated" a:defaultValue="1">
  3678. <ref name="positiveInteger"/>
  3679. </attribute>
  3680. </optional>
  3681. </define>
  3682. <define name="table-table-cell-attlist-extra" combine="interleave">
  3683. <optional>
  3684. <attribute name="table:number-columns-spanned" a:defaultValue="1">
  3685. <ref name="positiveInteger"/>
  3686. </attribute>
  3687. </optional>
  3688. <optional>
  3689. <attribute name="table:number-rows-spanned" a:defaultValue="1">
  3690. <ref name="positiveInteger"/>
  3691. </attribute>
  3692. </optional>
  3693. </define>
  3694. <define name="table-table-cell-attlist" combine="interleave">
  3695. <optional>
  3696. <attribute name="table:style-name">
  3697. <ref name="styleNameRef"/>
  3698. </attribute>
  3699. </optional>
  3700. </define>
  3701. <define name="table-table-cell-attlist" combine="interleave">
  3702. <optional>
  3703. <attribute name="table:content-validation-name">
  3704. <ref name="string"/>
  3705. </attribute>
  3706. </optional>
  3707. </define>
  3708. <define name="table-table-cell-attlist" combine="interleave">
  3709. <optional>
  3710. <attribute name="table:formula">
  3711. <ref name="string"/>
  3712. </attribute>
  3713. </optional>
  3714. </define>
  3715. <define name="table-table-cell-attlist-extra" combine="interleave">
  3716. <optional>
  3717. <attribute name="table:number-matrix-columns-spanned">
  3718. <ref name="positiveInteger"/>
  3719. </attribute>
  3720. </optional>
  3721. <optional>
  3722. <attribute name="table:number-matrix-rows-spanned">
  3723. <ref name="positiveInteger"/>
  3724. </attribute>
  3725. </optional>
  3726. </define>
  3727. <define name="table-table-cell-attlist" combine="interleave">
  3728. <optional>
  3729. <ref name="common-value-and-type-attlist"/>
  3730. </optional>
  3731. </define>
  3732. <define name="table-table-cell-attlist" combine="interleave">
  3733. <optional>
  3734. <attribute name="table:protect" a:defaultValue="false">
  3735. <ref name="boolean"/>
  3736. </attribute>
  3737. </optional>
  3738. </define>
  3739. <define name="table-table-column">
  3740. <element name="table:table-column">
  3741. <ref name="table-table-column-attlist"/>
  3742. <empty/>
  3743. </element>
  3744. </define>
  3745. <define name="table-table-column-attlist" combine="interleave">
  3746. <optional>
  3747. <attribute name="table:number-columns-repeated" a:defaultValue="1">
  3748. <ref name="positiveInteger"/>
  3749. </attribute>
  3750. </optional>
  3751. </define>
  3752. <define name="table-table-column-attlist" combine="interleave">
  3753. <optional>
  3754. <attribute name="table:style-name">
  3755. <ref name="styleNameRef"/>
  3756. </attribute>
  3757. </optional>
  3758. </define>
  3759. <define name="table-table-column-attlist" combine="interleave">
  3760. <optional>
  3761. <attribute name="table:visibility" a:defaultValue="visible">
  3762. <ref name="table-visibility-value"/>
  3763. </attribute>
  3764. </optional>
  3765. </define>
  3766. <define name="table-table-column-attlist" combine="interleave">
  3767. <optional>
  3768. <attribute name="table:default-cell-style-name">
  3769. <ref name="styleNameRef"/>
  3770. </attribute>
  3771. </optional>
  3772. </define>
  3773. <define name="table-table-header-columns">
  3774. <element name="table:table-header-columns">
  3775. <oneOrMore>
  3776. <ref name="table-table-column"/>
  3777. </oneOrMore>
  3778. </element>
  3779. </define>
  3780. <define name="table-table-columns">
  3781. <element name="table:table-columns">
  3782. <oneOrMore>
  3783. <ref name="table-table-column"/>
  3784. </oneOrMore>
  3785. </element>
  3786. </define>
  3787. <define name="table-table-column-group">
  3788. <element name="table:table-column-group">
  3789. <ref name="table-table-column-group-attlist"/>
  3790. <ref name="table-columns-and-groups"/>
  3791. </element>
  3792. </define>
  3793. <define name="table-table-column-group-attlist" combine="interleave">
  3794. <optional>
  3795. <attribute name="table:display" a:defaultValue="true">
  3796. <ref name="boolean"/>
  3797. </attribute>
  3798. </optional>
  3799. </define>
  3800. <define name="table-table-header-rows">
  3801. <element name="table:table-header-rows">
  3802. <oneOrMore>
  3803. <optional>
  3804. <ref name="text-soft-page-break"/>
  3805. </optional>
  3806. <ref name="table-table-row"/>
  3807. </oneOrMore>
  3808. </element>
  3809. </define>
  3810. <define name="table-table-rows">
  3811. <element name="table:table-rows">
  3812. <oneOrMore>
  3813. <optional>
  3814. <ref name="text-soft-page-break"/>
  3815. </optional>
  3816. <ref name="table-table-row"/>
  3817. </oneOrMore>
  3818. </element>
  3819. </define>
  3820. <define name="table-table-row-group">
  3821. <element name="table:table-row-group">
  3822. <ref name="table-table-row-group-attlist"/>
  3823. <ref name="table-rows-and-groups"/>
  3824. </element>
  3825. </define>
  3826. <define name="table-table-row-group-attlist" combine="interleave">
  3827. <optional>
  3828. <attribute name="table:display" a:defaultValue="true">
  3829. <ref name="boolean"/>
  3830. </attribute>
  3831. </optional>
  3832. </define>
  3833. <define name="table-table-attlist" combine="interleave">
  3834. <optional>
  3835. <attribute name="table:is-sub-table" a:defaultValue="false">
  3836. <ref name="boolean"/>
  3837. </attribute>
  3838. </optional>
  3839. </define>
  3840. <define name="cellAddress">
  3841. <data type="string">
  3842. <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+</param>
  3843. </data>
  3844. </define>
  3845. <define name="cellRangeAddress">
  3846. <data type="string">
  3847. <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+)?</param>
  3848. </data>
  3849. </define>
  3850. <define name="cellRangeAddressList">
  3851. <!-- Value is a space separated list of "cellRangeAddress" patterns -->
  3852. <data type="string"/>
  3853. </define>
  3854. <define name="table-table-source">
  3855. <element name="table:table-source">
  3856. <ref name="table-table-source-attlist"/>
  3857. <ref name="table-linked-source-attlist"/>
  3858. <empty/>
  3859. </element>
  3860. </define>
  3861. <define name="table-table-source-attlist" combine="interleave">
  3862. <optional>
  3863. <attribute name="table:mode" a:defaultValue="copy-all">
  3864. <choice>
  3865. <value>copy-all</value>
  3866. <value>copy-results-only</value>
  3867. </choice>
  3868. </attribute>
  3869. </optional>
  3870. </define>
  3871. <define name="table-table-source-attlist" combine="interleave">
  3872. <optional>
  3873. <attribute name="table:table-name">
  3874. <ref name="string"/>
  3875. </attribute>
  3876. </optional>
  3877. </define>
  3878. <define name="table-linked-source-attlist" combine="interleave">
  3879. <optional>
  3880. <attribute name="xlink:type" a:defaultValue="simple">
  3881. <value>simple</value>
  3882. </attribute>
  3883. </optional>
  3884. <optional>
  3885. <attribute name="xlink:actuate" a:defaultValue="onRequest">
  3886. <value>onRequest</value>
  3887. </attribute>
  3888. </optional>
  3889. <attribute name="xlink:href">
  3890. <ref name="anyURI"/>
  3891. </attribute>
  3892. </define>
  3893. <define name="table-linked-source-attlist" combine="interleave">
  3894. <optional>
  3895. <attribute name="table:filter-name">
  3896. <ref name="string"/>
  3897. </attribute>
  3898. </optional>
  3899. </define>
  3900. <define name="table-linked-source-attlist" combine="interleave">
  3901. <optional>
  3902. <attribute name="table:filter-options">
  3903. <ref name="string"/>
  3904. </attribute>
  3905. </optional>
  3906. </define>
  3907. <define name="table-linked-source-attlist" combine="interleave">
  3908. <optional>
  3909. <attribute name="table:refresh-delay">
  3910. <ref name="duration"/>
  3911. </attribute>
  3912. </optional>
  3913. </define>
  3914. <define name="table-scenario">
  3915. <element name="table:scenario">
  3916. <ref name="table-scenario-attlist"/>
  3917. <empty/>
  3918. </element>
  3919. </define>
  3920. <define name="table-scenario-attlist" combine="interleave">
  3921. <attribute name="table:scenario-ranges">
  3922. <ref name="cellRangeAddressList"/>
  3923. </attribute>
  3924. </define>
  3925. <define name="table-scenario-attlist" combine="interleave">
  3926. <attribute name="table:is-active">
  3927. <ref name="boolean"/>
  3928. </attribute>
  3929. </define>
  3930. <define name="table-scenario-attlist" combine="interleave">
  3931. <optional>
  3932. <attribute name="table:display-border" a:defaultValue="true">
  3933. <ref name="boolean"/>
  3934. </attribute>
  3935. </optional>
  3936. </define>
  3937. <define name="table-scenario-attlist" combine="interleave">
  3938. <optional>
  3939. <attribute name="table:border-color">
  3940. <ref name="color"/>
  3941. </attribute>
  3942. </optional>
  3943. </define>
  3944. <define name="table-scenario-attlist" combine="interleave">
  3945. <optional>
  3946. <attribute name="table:copy-back" a:defaultValue="true">
  3947. <ref name="boolean"/>
  3948. </attribute>
  3949. </optional>
  3950. </define>
  3951. <define name="table-scenario-attlist" combine="interleave">
  3952. <optional>
  3953. <attribute name="table:copy-styles" a:defaultValue="true">
  3954. <ref name="boolean"/>
  3955. </attribute>
  3956. </optional>
  3957. </define>
  3958. <define name="table-scenario-attlist" combine="interleave">
  3959. <optional>
  3960. <attribute name="table:copy-formulas" a:defaultValue="true">
  3961. <ref name="boolean"/>
  3962. </attribute>
  3963. </optional>
  3964. </define>
  3965. <define name="table-scenario-attlist" combine="interleave">
  3966. <optional>
  3967. <attribute name="table:comment">
  3968. <ref name="string"/>
  3969. </attribute>
  3970. </optional>
  3971. </define>
  3972. <define name="table-scenario-attlist" combine="interleave">
  3973. <optional>
  3974. <attribute name="table:protected">
  3975. <ref name="boolean"/>
  3976. </attribute>
  3977. </optional>
  3978. </define>
  3979. <define name="table-shapes">
  3980. <element name="table:shapes">
  3981. <oneOrMore>
  3982. <ref name="shape"/>
  3983. </oneOrMore>
  3984. </element>
  3985. </define>
  3986. <define name="table-cell-range-source">
  3987. <element name="table:cell-range-source">
  3988. <ref name="table-table-cell-range-source-attlist"/>
  3989. <ref name="table-linked-source-attlist"/>
  3990. <empty/>
  3991. </element>
  3992. </define>
  3993. <define name="table-table-cell-range-source-attlist" combine="interleave">
  3994. <attribute name="table:name">
  3995. <ref name="string"/>
  3996. </attribute>
  3997. </define>
  3998. <define name="table-table-cell-range-source-attlist" combine="interleave">
  3999. <attribute name="table:last-column-spanned">
  4000. <ref name="positiveInteger"/>
  4001. </attribute>
  4002. <attribute name="table:last-row-spanned">
  4003. <ref name="positiveInteger"/>
  4004. </attribute>
  4005. </define>
  4006. <define name="table-detective">
  4007. <element name="table:detective">
  4008. <zeroOrMore>
  4009. <ref name="table-highlighted-range"/>
  4010. </zeroOrMore>
  4011. <zeroOrMore>
  4012. <ref name="table-operation"/>
  4013. </zeroOrMore>
  4014. </element>
  4015. </define>
  4016. <define name="table-operation">
  4017. <element name="table:operation">
  4018. <ref name="table-operation-attlist"/>
  4019. <empty/>
  4020. </element>
  4021. </define>
  4022. <define name="table-operation-attlist" combine="interleave">
  4023. <attribute name="table:name">
  4024. <choice>
  4025. <value>trace-dependents</value>
  4026. <value>remove-dependents</value>
  4027. <value>trace-precedents</value>
  4028. <value>remove-precedents</value>
  4029. <value>trace-errors</value>
  4030. </choice>
  4031. </attribute>
  4032. </define>
  4033. <define name="table-operation-attlist" combine="interleave">
  4034. <attribute name="table:index">
  4035. <ref name="nonNegativeInteger"/>
  4036. </attribute>
  4037. </define>
  4038. <define name="table-highlighted-range">
  4039. <element name="table:highlighted-range">
  4040. <choice>
  4041. <group>
  4042. <ref name="table-highlighted-range-attlist"/>
  4043. </group>
  4044. <group>
  4045. <ref name="table-highlighted-range-attlist-invalid"/>
  4046. </group>
  4047. </choice>
  4048. <empty/>
  4049. </element>
  4050. </define>
  4051. <define name="table-highlighted-range-attlist" combine="interleave">
  4052. <optional>
  4053. <attribute name="table:cell-range-address">
  4054. <ref name="cellRangeAddress"/>
  4055. </attribute>
  4056. </optional>
  4057. </define>
  4058. <define name="table-highlighted-range-attlist" combine="interleave">
  4059. <attribute name="table:direction">
  4060. <choice>
  4061. <value>from-another-table</value>
  4062. <value>to-another-table</value>
  4063. <value>from-same-table</value>
  4064. </choice>
  4065. </attribute>
  4066. </define>
  4067. <define name="table-highlighted-range-attlist" combine="interleave">
  4068. <optional>
  4069. <attribute name="table:contains-error" a:defaultValue="false">
  4070. <ref name="boolean"/>
  4071. </attribute>
  4072. </optional>
  4073. </define>
  4074. <define name="table-highlighted-range-attlist-invalid" combine="interleave">
  4075. <attribute name="table:marked-invalid">
  4076. <ref name="boolean"/>
  4077. </attribute>
  4078. </define>
  4079. <define name="office-spreadsheet-attlist" combine="interleave">
  4080. <optional>
  4081. <attribute name="table:structure-protected" a:defaultValue="false">
  4082. <ref name="boolean"/>
  4083. </attribute>
  4084. </optional>
  4085. <optional>
  4086. <attribute name="table:protection-key">
  4087. <ref name="string"/>
  4088. </attribute>
  4089. </optional>
  4090. </define>
  4091. <define name="table-calculation-settings">
  4092. <element name="table:calculation-settings">
  4093. <ref name="table-calculation-setting-attlist"/>
  4094. <optional>
  4095. <ref name="table-null-date"/>
  4096. </optional>
  4097. <optional>
  4098. <ref name="table-iteration"/>
  4099. </optional>
  4100. </element>
  4101. </define>
  4102. <define name="table-calculation-setting-attlist" combine="interleave">
  4103. <optional>
  4104. <attribute name="table:case-sensitive" a:defaultValue="true">
  4105. <ref name="boolean"/>
  4106. </attribute>
  4107. </optional>
  4108. </define>
  4109. <define name="table-calculation-setting-attlist" combine="interleave">
  4110. <optional>
  4111. <attribute name="table:precision-as-shown" a:defaultValue="false">
  4112. <ref name="boolean"/>
  4113. </attribute>
  4114. </optional>
  4115. </define>
  4116. <define name="table-calculation-setting-attlist" combine="interleave">
  4117. <optional>
  4118. <attribute name="table:search-criteria-must-apply-to-whole-cell"
  4119. a:defaultValue="true">
  4120. <ref name="boolean"/>
  4121. </attribute>
  4122. </optional>
  4123. </define>
  4124. <define name="table-calculation-setting-attlist" combine="interleave">
  4125. <optional>
  4126. <attribute name="table:automatic-find-labels" a:defaultValue="true">
  4127. <ref name="boolean"/>
  4128. </attribute>
  4129. </optional>
  4130. </define>
  4131. <define name="table-calculation-setting-attlist" combine="interleave">
  4132. <optional>
  4133. <attribute name="table:use-regular-expressions"
  4134. a:defaultValue="true">
  4135. <ref name="boolean"/>
  4136. </attribute>
  4137. </optional>
  4138. </define>
  4139. <define name="table-calculation-setting-attlist" combine="interleave">
  4140. <optional>
  4141. <attribute name="table:null-year" a:defaultValue="1930">
  4142. <ref name="positiveInteger"/>
  4143. </attribute>
  4144. </optional>
  4145. </define>
  4146. <define name="table-null-date">
  4147. <element name="table:null-date">
  4148. <optional>
  4149. <attribute name="table:value-type" a:defaultValue="date">
  4150. <ref name="valueType"/>
  4151. </attribute>
  4152. </optional>
  4153. <optional>
  4154. <attribute name="table:date-value"
  4155. a:defaultValue="1899-12-30">
  4156. <ref name="date"/>
  4157. </attribute>
  4158. </optional>
  4159. <empty/>
  4160. </element>
  4161. </define>
  4162. <define name="table-iteration">
  4163. <element name="table:iteration">
  4164. <optional>
  4165. <attribute name="table:status" a:defaultValue="disable">
  4166. <choice>
  4167. <value>enable</value>
  4168. <value>disable</value>
  4169. </choice>
  4170. </attribute>
  4171. </optional>
  4172. <optional>
  4173. <attribute name="table:steps" a:defaultValue="100">
  4174. <ref name="positiveInteger"/>
  4175. </attribute>
  4176. </optional>
  4177. <optional>
  4178. <attribute name="table:maximum-difference"
  4179. a:defaultValue="0.001">
  4180. <ref name="double"/>
  4181. </attribute>
  4182. </optional>
  4183. <empty/>
  4184. </element>
  4185. </define>
  4186. <define name="table-content-validations">
  4187. <element name="table:content-validations">
  4188. <oneOrMore>
  4189. <ref name="table-content-validation"/>
  4190. </oneOrMore>
  4191. </element>
  4192. </define>
  4193. <define name="table-content-validation">
  4194. <element name="table:content-validation">
  4195. <ref name="table-validation-attlist"/>
  4196. <optional>
  4197. <ref name="table-help-message"/>
  4198. </optional>
  4199. <optional>
  4200. <choice>
  4201. <ref name="table-error-message"/>
  4202. <group>
  4203. <ref name="table-error-macro"/>
  4204. <optional>
  4205. <ref name="office-event-listeners"/>
  4206. </optional>
  4207. </group>
  4208. </choice>
  4209. </optional>
  4210. </element>
  4211. </define>
  4212. <define name="table-validation-attlist" combine="interleave">
  4213. <attribute name="table:name">
  4214. <ref name="string"/>
  4215. </attribute>
  4216. </define>
  4217. <define name="table-validation-attlist" combine="interleave">
  4218. <optional>
  4219. <attribute name="table:condition">
  4220. <ref name="string"/>
  4221. </attribute>
  4222. </optional>
  4223. </define>
  4224. <define name="table-validation-attlist" combine="interleave">
  4225. <optional>
  4226. <attribute name="table:base-cell-address">
  4227. <ref name="cellAddress"/>
  4228. </attribute>
  4229. </optional>
  4230. </define>
  4231. <define name="table-validation-attlist" combine="interleave">
  4232. <optional>
  4233. <attribute name="table:allow-empty-cell" a:defaultValue="true">
  4234. <ref name="boolean"/>
  4235. </attribute>
  4236. </optional>
  4237. </define>
  4238. <define name="table-validation-attlist" combine="interleave">
  4239. <optional>
  4240. <attribute name="table:display-list" a:defaultValue="unsorted">
  4241. <choice>
  4242. <value>none</value>
  4243. <value>unsorted</value>
  4244. <value>sort-ascending</value>
  4245. </choice>
  4246. </attribute>
  4247. </optional>
  4248. </define>
  4249. <define name="table-help-message">
  4250. <element name="table:help-message">
  4251. <optional>
  4252. <attribute name="table:title">
  4253. <ref name="string"/>
  4254. </attribute>
  4255. </optional>
  4256. <optional>
  4257. <attribute name="table:display" a:defaultValue="false">
  4258. <ref name="boolean"/>
  4259. </attribute>
  4260. </optional>
  4261. <zeroOrMore>
  4262. <ref name="text-p"/>
  4263. </zeroOrMore>
  4264. </element>
  4265. </define>
  4266. <define name="table-error-message">
  4267. <element name="table:error-message">
  4268. <optional>
  4269. <attribute name="table:title">
  4270. <ref name="string"/>
  4271. </attribute>
  4272. </optional>
  4273. <optional>
  4274. <attribute name="table:display" a:defaultValue="false">
  4275. <ref name="boolean"/>
  4276. </attribute>
  4277. </optional>
  4278. <optional>
  4279. <attribute name="table:message-type" a:defaultValue="stop">
  4280. <choice>
  4281. <value>stop</value>
  4282. <value>warning</value>
  4283. <value>information</value>
  4284. </choice>
  4285. </attribute>
  4286. </optional>
  4287. <zeroOrMore>
  4288. <ref name="text-p"/>
  4289. </zeroOrMore>
  4290. </element>
  4291. </define>
  4292. <define name="table-error-macro">
  4293. <element name="table:error-macro">
  4294. <optional>
  4295. <attribute name="table:execute" a:defaultValue="true">
  4296. <ref name="boolean"/>
  4297. </attribute>
  4298. </optional>
  4299. </element>
  4300. </define>
  4301. <define name="table-label-ranges">
  4302. <element name="table:label-ranges">
  4303. <zeroOrMore>
  4304. <ref name="table-label-range"/>
  4305. </zeroOrMore>
  4306. </element>
  4307. </define>
  4308. <define name="table-label-range">
  4309. <element name="table:label-range">
  4310. <ref name="table-label-range-attlist"/>
  4311. <empty/>
  4312. </element>
  4313. </define>
  4314. <define name="table-label-range-attlist" combine="interleave">
  4315. <attribute name="table:label-cell-range-address">
  4316. <ref name="cellRangeAddress"/>
  4317. </attribute>
  4318. </define>
  4319. <define name="table-label-range-attlist" combine="interleave">
  4320. <attribute name="table:data-cell-range-address">
  4321. <ref name="cellRangeAddress"/>
  4322. </attribute>
  4323. </define>
  4324. <define name="table-label-range-attlist" combine="interleave">
  4325. <attribute name="table:orientation">
  4326. <choice>
  4327. <value>column</value>
  4328. <value>row</value>
  4329. </choice>
  4330. </attribute>
  4331. </define>
  4332. <define name="table-named-expressions">
  4333. <element name="table:named-expressions">
  4334. <zeroOrMore>
  4335. <choice>
  4336. <ref name="table-named-range"/>
  4337. <ref name="table-named-expression"/>
  4338. </choice>
  4339. </zeroOrMore>
  4340. </element>
  4341. </define>
  4342. <define name="table-named-range">
  4343. <element name="table:named-range">
  4344. <ref name="table-named-range-attlist"/>
  4345. <empty/>
  4346. </element>
  4347. </define>
  4348. <define name="table-named-range-attlist" combine="interleave">
  4349. <attribute name="table:name">
  4350. <ref name="string"/>
  4351. </attribute>
  4352. <attribute name="table:cell-range-address">
  4353. <ref name="cellRangeAddress"/>
  4354. </attribute>
  4355. <optional>
  4356. <attribute name="table:base-cell-address">
  4357. <ref name="cellAddress"/>
  4358. </attribute>
  4359. </optional>
  4360. <optional>
  4361. <attribute name="table:range-usable-as" a:defaultValue="none">
  4362. <choice>
  4363. <value>none</value>
  4364. <list>
  4365. <oneOrMore>
  4366. <choice>
  4367. <value>print-range</value>
  4368. <value>filter</value>
  4369. <value>repeat-row</value>
  4370. <value>repeat-column</value>
  4371. </choice>
  4372. </oneOrMore>
  4373. </list>
  4374. </choice>
  4375. </attribute>
  4376. </optional>
  4377. </define>
  4378. <define name="table-named-expression">
  4379. <element name="table:named-expression">
  4380. <ref name="table-named-expression-attlist"/>
  4381. <empty/>
  4382. </element>
  4383. </define>
  4384. <define name="table-named-expression-attlist" combine="interleave">
  4385. <attribute name="table:name">
  4386. <ref name="string"/>
  4387. </attribute>
  4388. <attribute name="table:expression">
  4389. <ref name="string"/>
  4390. </attribute>
  4391. <optional>
  4392. <attribute name="table:base-cell-address">
  4393. <ref name="cellAddress"/>
  4394. </attribute>
  4395. </optional>
  4396. </define>
  4397. <define name="table-database-ranges">
  4398. <element name="table:database-ranges">
  4399. <zeroOrMore>
  4400. <ref name="table-database-range"/>
  4401. </zeroOrMore>
  4402. </element>
  4403. </define>
  4404. <define name="table-database-range">
  4405. <element name="table:database-range">
  4406. <ref name="table-database-range-attlist"/>
  4407. <optional>
  4408. <choice>
  4409. <ref name="table-database-source-sql"/>
  4410. <ref name="table-database-source-table"/>
  4411. <ref name="table-database-source-query"/>
  4412. </choice>
  4413. </optional>
  4414. <optional>
  4415. <ref name="table-filter"/>
  4416. </optional>
  4417. <optional>
  4418. <ref name="table-sort"/>
  4419. </optional>
  4420. <optional>
  4421. <ref name="table-subtotal-rules"/>
  4422. </optional>
  4423. </element>
  4424. </define>
  4425. <define name="table-database-range-attlist" combine="interleave">
  4426. <optional>
  4427. <attribute name="table:name">
  4428. <ref name="string"/>
  4429. </attribute>
  4430. </optional>
  4431. </define>
  4432. <define name="table-database-range-attlist" combine="interleave">
  4433. <optional>
  4434. <attribute name="table:is-selection" a:defaultValue="false">
  4435. <ref name="boolean"/>
  4436. </attribute>
  4437. </optional>
  4438. </define>
  4439. <define name="table-database-range-attlist" combine="interleave">
  4440. <optional>
  4441. <attribute name="table:on-update-keep-styles" a:defaultValue="false">
  4442. <ref name="boolean"/>
  4443. </attribute>
  4444. </optional>
  4445. </define>
  4446. <define name="table-database-range-attlist" combine="interleave">
  4447. <optional>
  4448. <attribute name="table:on-update-keep-size" a:defaultValue="true">
  4449. <ref name="boolean"/>
  4450. </attribute>
  4451. </optional>
  4452. </define>
  4453. <define name="table-database-range-attlist" combine="interleave">
  4454. <optional>
  4455. <attribute name="table:has-persistent-data" a:defaultValue="true">
  4456. <ref name="boolean"/>
  4457. </attribute>
  4458. </optional>
  4459. </define>
  4460. <define name="table-database-range-attlist" combine="interleave">
  4461. <optional>
  4462. <attribute name="table:orientation" a:defaultValue="row">
  4463. <choice>
  4464. <value>column</value>
  4465. <value>row</value>
  4466. </choice>
  4467. </attribute>
  4468. </optional>
  4469. </define>
  4470. <define name="table-database-range-attlist" combine="interleave">
  4471. <optional>
  4472. <attribute name="table:contains-header" a:defaultValue="true">
  4473. <ref name="boolean"/>
  4474. </attribute>
  4475. </optional>
  4476. </define>
  4477. <define name="table-database-range-attlist" combine="interleave">
  4478. <optional>
  4479. <attribute name="table:display-filter-buttons"
  4480. a:defaultValue="false">
  4481. <ref name="boolean"/>
  4482. </attribute>
  4483. </optional>
  4484. </define>
  4485. <define name="table-database-range-attlist" combine="interleave">
  4486. <attribute name="table:target-range-address">
  4487. <ref name="cellRangeAddress"/>
  4488. </attribute>
  4489. </define>
  4490. <define name="table-database-range-attlist" combine="interleave">
  4491. <optional>
  4492. <attribute name="table:refresh-delay">
  4493. <ref name="boolean"/>
  4494. </attribute>
  4495. </optional>
  4496. </define>
  4497. <define name="table-database-source-sql">
  4498. <element name="table:database-source-sql">
  4499. <ref name="table-database-source-sql-attlist"/>
  4500. <empty/>
  4501. </element>
  4502. </define>
  4503. <define name="table-database-source-sql-attlist" combine="interleave">
  4504. <attribute name="table:database-name">
  4505. <ref name="string"/>
  4506. </attribute>
  4507. </define>
  4508. <define name="table-database-source-sql-attlist" combine="interleave">
  4509. <attribute name="table:sql-statement">
  4510. <ref name="string"/>
  4511. </attribute>
  4512. </define>
  4513. <define name="table-database-source-sql-attlist" combine="interleave">
  4514. <optional>
  4515. <attribute name="table:parse-sql-statement" a:defaultValue="false">
  4516. <ref name="boolean"/>
  4517. </attribute>
  4518. </optional>
  4519. </define>
  4520. <define name="table-database-source-query">
  4521. <element name="table:database-source-table">
  4522. <ref name="table-database-source-table-attlist"/>
  4523. <empty/>
  4524. </element>
  4525. </define>
  4526. <define name="table-database-source-table-attlist" combine="interleave">
  4527. <attribute name="table:database-name">
  4528. <ref name="string"/>
  4529. </attribute>
  4530. </define>
  4531. <define name="table-database-source-table-attlist" combine="interleave">
  4532. <attribute name="table:database-table-name">
  4533. <ref name="string"/>
  4534. </attribute>
  4535. </define>
  4536. <define name="table-database-source-table">
  4537. <element name="table:database-source-query">
  4538. <ref name="table-database-source-query-attlist"/>
  4539. <empty/>
  4540. </element>
  4541. </define>
  4542. <define name="table-database-source-query-attlist" combine="interleave">
  4543. <attribute name="table:database-name">
  4544. <ref name="string"/>
  4545. </attribute>
  4546. </define>
  4547. <define name="table-database-source-query-attlist" combine="interleave">
  4548. <attribute name="table:query-name">
  4549. <ref name="string"/>
  4550. </attribute>
  4551. </define>
  4552. <define name="table-sort">
  4553. <element name="table:sort">
  4554. <ref name="table-sort-attlist"/>
  4555. <oneOrMore>
  4556. <ref name="table-sort-by"/>
  4557. </oneOrMore>
  4558. </element>
  4559. </define>
  4560. <define name="table-sort-attlist" combine="interleave">
  4561. <optional>
  4562. <attribute name="table:bind-styles-to-content" a:defaultValue="true">
  4563. <ref name="boolean"/>
  4564. </attribute>
  4565. </optional>
  4566. </define>
  4567. <define name="table-sort-attlist" combine="interleave">
  4568. <optional>
  4569. <attribute name="table:target-range-address">
  4570. <ref name="cellRangeAddress"/>
  4571. </attribute>
  4572. </optional>
  4573. </define>
  4574. <define name="table-sort-attlist" combine="interleave">
  4575. <optional>
  4576. <attribute name="table:case-sensitive" a:defaultValue="false">
  4577. <ref name="boolean"/>
  4578. </attribute>
  4579. </optional>
  4580. </define>
  4581. <define name="table-sort-attlist" combine="interleave">
  4582. <optional>
  4583. <attribute name="table:language">
  4584. <ref name="languageCode"/>
  4585. </attribute>
  4586. </optional>
  4587. </define>
  4588. <define name="table-sort-attlist" combine="interleave">
  4589. <optional>
  4590. <attribute name="table:country">
  4591. <ref name="countryCode"/>
  4592. </attribute>
  4593. </optional>
  4594. </define>
  4595. <define name="table-sort-attlist" combine="interleave">
  4596. <optional>
  4597. <attribute name="table:algorithm">
  4598. <ref name="string"/>
  4599. </attribute>
  4600. </optional>
  4601. </define>
  4602. <define name="table-sort-by">
  4603. <element name="table:sort-by">
  4604. <ref name="table-sort-by-attlist"/>
  4605. <empty/>
  4606. </element>
  4607. </define>
  4608. <define name="table-sort-by-attlist" combine="interleave">
  4609. <attribute name="table:field-number">
  4610. <ref name="nonNegativeInteger"/>
  4611. </attribute>
  4612. </define>
  4613. <define name="table-sort-by-attlist" combine="interleave">
  4614. <optional>
  4615. <attribute name="table:data-type" a:defaultValue="automatic">
  4616. <choice>
  4617. <value>text</value>
  4618. <value>number</value>
  4619. <value>automatic</value>
  4620. <ref name="string"/>
  4621. </choice>
  4622. </attribute>
  4623. </optional>
  4624. </define>
  4625. <define name="table-sort-by-attlist" combine="interleave">
  4626. <optional>
  4627. <attribute name="table:order" a:defaultValue="ascending">
  4628. <choice>
  4629. <value>ascending</value>
  4630. <value>descending</value>
  4631. </choice>
  4632. </attribute>
  4633. </optional>
  4634. </define>
  4635. <define name="table-subtotal-rules">
  4636. <element name="table:subtotal-rules">
  4637. <ref name="table-subtotal-rules-attlist"/>
  4638. <optional>
  4639. <ref name="table-sort-groups"/>
  4640. </optional>
  4641. <zeroOrMore>
  4642. <ref name="table-subtotal-rule"/>
  4643. </zeroOrMore>
  4644. </element>
  4645. </define>
  4646. <define name="table-subtotal-rules-attlist" combine="interleave">
  4647. <optional>
  4648. <attribute name="table:bind-styles-to-content" a:defaultValue="true">
  4649. <ref name="boolean"/>
  4650. </attribute>
  4651. </optional>
  4652. </define>
  4653. <define name="table-subtotal-rules-attlist" combine="interleave">
  4654. <optional>
  4655. <attribute name="table:case-sensitive" a:defaultValue="false">
  4656. <ref name="boolean"/>
  4657. </attribute>
  4658. </optional>
  4659. </define>
  4660. <define name="table-subtotal-rules-attlist" combine="interleave">
  4661. <optional>
  4662. <attribute name="table:page-breaks-on-group-change"
  4663. a:defaultValue="false">
  4664. <ref name="boolean"/>
  4665. </attribute>
  4666. </optional>
  4667. </define>
  4668. <define name="table-sort-groups">
  4669. <element name="table:sort-groups">
  4670. <ref name="table-sort-groups-attlist"/>
  4671. <empty/>
  4672. </element>
  4673. </define>
  4674. <define name="table-sort-groups-attlist" combine="interleave">
  4675. <optional>
  4676. <attribute name="table:data-type" a:defaultValue="automatic">
  4677. <choice>
  4678. <value>text</value>
  4679. <value>number</value>
  4680. <value>automatic</value>
  4681. <ref name="string"/>
  4682. </choice>
  4683. </attribute>
  4684. </optional>
  4685. </define>
  4686. <define name="table-sort-groups-attlist" combine="interleave">
  4687. <optional>
  4688. <attribute name="table:order" a:defaultValue="ascending">
  4689. <choice>
  4690. <value>ascending</value>
  4691. <value>descending</value>
  4692. </choice>
  4693. </attribute>
  4694. </optional>
  4695. </define>
  4696. <define name="table-subtotal-rule">
  4697. <element name="table:subtotal-rule">
  4698. <ref name="table-subtotal-rule-attlist"/>
  4699. <zeroOrMore>
  4700. <ref name="table-subtotal-field"/>
  4701. </zeroOrMore>
  4702. </element>
  4703. </define>
  4704. <define name="table-subtotal-rule-attlist" combine="interleave">
  4705. <attribute name="table:group-by-field-number">
  4706. <ref name="nonNegativeInteger"/>
  4707. </attribute>
  4708. </define>
  4709. <define name="table-subtotal-field">
  4710. <element name="table:subtotal-field">
  4711. <ref name="table-subtotal-field-attlist"/>
  4712. <empty/>
  4713. </element>
  4714. </define>
  4715. <define name="table-subtotal-field-attlist" combine="interleave">
  4716. <attribute name="table:field-number">
  4717. <ref name="nonNegativeInteger"/>
  4718. </attribute>
  4719. </define>
  4720. <define name="table-subtotal-field-attlist" combine="interleave">
  4721. <attribute name="table:function">
  4722. <choice>
  4723. <value>auto</value>
  4724. <value>average</value>
  4725. <value>count</value>
  4726. <value>countnums</value>
  4727. <value>max</value>
  4728. <value>min</value>
  4729. <value>product</value>
  4730. <value>stdev</value>
  4731. <value>stdevp</value>
  4732. <value>sum</value>
  4733. <value>var</value>
  4734. <value>varp</value>
  4735. <ref name="string"/>
  4736. </choice>
  4737. </attribute>
  4738. </define>
  4739. <define name="table-filter">
  4740. <element name="table:filter">
  4741. <ref name="table-filter-attlist"/>
  4742. <choice>
  4743. <ref name="table-filter-condition"/>
  4744. <ref name="table-filter-and"/>
  4745. <ref name="table-filter-or"/>
  4746. </choice>
  4747. </element>
  4748. </define>
  4749. <define name="table-filter-attlist" combine="interleave">
  4750. <optional>
  4751. <attribute name="table:target-range-address">
  4752. <ref name="cellRangeAddress"/>
  4753. </attribute>
  4754. </optional>
  4755. </define>
  4756. <define name="table-filter-attlist" combine="interleave">
  4757. <optional>
  4758. <attribute name="table:condition-source" a:defaultValue="self">
  4759. <choice>
  4760. <value>self</value>
  4761. <value>cell-range</value>
  4762. </choice>
  4763. </attribute>
  4764. </optional>
  4765. </define>
  4766. <define name="table-filter-attlist" combine="interleave">
  4767. <optional>
  4768. <attribute name="table:condition-source-range-address">
  4769. <ref name="cellRangeAddress"/>
  4770. </attribute>
  4771. </optional>
  4772. </define>
  4773. <define name="table-filter-attlist" combine="interleave">
  4774. <optional>
  4775. <attribute name="table:display-duplicates" a:defaultValue="true">
  4776. <ref name="boolean"/>
  4777. </attribute>
  4778. </optional>
  4779. </define>
  4780. <define name="table-filter-and">
  4781. <element name="table:filter-and">
  4782. <oneOrMore>
  4783. <choice>
  4784. <ref name="table-filter-or"/>
  4785. <ref name="table-filter-condition"/>
  4786. </choice>
  4787. </oneOrMore>
  4788. </element>
  4789. </define>
  4790. <define name="table-filter-or">
  4791. <element name="table:filter-or">
  4792. <oneOrMore>
  4793. <choice>
  4794. <ref name="table-filter-and"/>
  4795. <ref name="table-filter-condition"/>
  4796. </choice>
  4797. </oneOrMore>
  4798. </element>
  4799. </define>
  4800. <define name="table-filter-condition">
  4801. <element name="table:filter-condition">
  4802. <ref name="table-filter-condition-attlist"/>
  4803. <empty/>
  4804. </element>
  4805. </define>
  4806. <define name="table-filter-condition-attlist" combine="interleave">
  4807. <attribute name="table:field-number">
  4808. <ref name="nonNegativeInteger"/>
  4809. </attribute>
  4810. </define>
  4811. <define name="table-filter-condition-attlist" combine="interleave">
  4812. <attribute name="table:value">
  4813. <ref name="string"/>
  4814. </attribute>
  4815. </define>
  4816. <define name="table-filter-condition-attlist" combine="interleave">
  4817. <attribute name="table:operator">
  4818. <ref name="string"/>
  4819. </attribute>
  4820. </define>
  4821. <define name="table-filter-condition-attlist" combine="interleave">
  4822. <optional>
  4823. <attribute name="table:case-sensitive" a:defaultValue="false">
  4824. <ref name="string"/>
  4825. </attribute>
  4826. </optional>
  4827. </define>
  4828. <define name="table-filter-condition-attlist" combine="interleave">
  4829. <optional>
  4830. <attribute name="table:data-type" a:defaultValue="text">
  4831. <choice>
  4832. <value>text</value>
  4833. <value>number</value>
  4834. </choice>
  4835. </attribute>
  4836. </optional>
  4837. </define>
  4838. <define name="table-data-pilot-tables">
  4839. <element name="table:data-pilot-tables">
  4840. <zeroOrMore>
  4841. <ref name="table-data-pilot-table"/>
  4842. </zeroOrMore>
  4843. </element>
  4844. </define>
  4845. <define name="table-data-pilot-table">
  4846. <element name="table:data-pilot-table">
  4847. <ref name="table-data-pilot-table-attlist"/>
  4848. <optional>
  4849. <choice>
  4850. <ref name="table-database-source-sql"/>
  4851. <ref name="table-database-source-table"/>
  4852. <ref name="table-database-source-query"/>
  4853. <ref name="table-source-service"/>
  4854. <ref name="table-source-cell-range"/>
  4855. </choice>
  4856. </optional>
  4857. <oneOrMore>
  4858. <ref name="table-data-pilot-field"/>
  4859. </oneOrMore>
  4860. </element>
  4861. </define>
  4862. <define name="table-data-pilot-table-attlist" combine="interleave">
  4863. <attribute name="table:name">
  4864. <ref name="string"/>
  4865. </attribute>
  4866. </define>
  4867. <define name="table-data-pilot-table-attlist" combine="interleave">
  4868. <optional>
  4869. <attribute name="table:application-data">
  4870. <ref name="string"/>
  4871. </attribute>
  4872. </optional>
  4873. </define>
  4874. <define name="table-data-pilot-table-attlist" combine="interleave">
  4875. <optional>
  4876. <attribute name="table:grand-total" a:defaultValue="both">
  4877. <choice>
  4878. <value>none</value>
  4879. <value>row</value>
  4880. <value>column</value>
  4881. <value>both</value>
  4882. </choice>
  4883. </attribute>
  4884. </optional>
  4885. </define>
  4886. <define name="table-data-pilot-table-attlist" combine="interleave">
  4887. <optional>
  4888. <attribute name="table:ignore-empty-rows" a:defaultValue="false">
  4889. <ref name="boolean"/>
  4890. </attribute>
  4891. </optional>
  4892. </define>
  4893. <define name="table-data-pilot-table-attlist" combine="interleave">
  4894. <optional>
  4895. <attribute name="table:identify-categories" a:defaultValue="false">
  4896. <ref name="boolean"/>
  4897. </attribute>
  4898. </optional>
  4899. </define>
  4900. <define name="table-data-pilot-table-attlist" combine="interleave">
  4901. <attribute name="table:target-range-address">
  4902. <ref name="cellRangeAddress"/>
  4903. </attribute>
  4904. </define>
  4905. <define name="table-data-pilot-table-attlist" combine="interleave">
  4906. <optional>
  4907. <attribute name="table:buttons">
  4908. <ref name="cellRangeAddressList"/>
  4909. </attribute>
  4910. </optional>
  4911. </define>
  4912. <define name="table-data-pilot-table-attlist" combine="interleave">
  4913. <optional>
  4914. <attribute name="table:show-filter-button" a:defaultValue="true">
  4915. <ref name="boolean"/>
  4916. </attribute>
  4917. </optional>
  4918. </define>
  4919. <define name="table-data-pilot-table-attlist" combine="interleave">
  4920. <optional>
  4921. <attribute name="table:drill-down-on-double-click"
  4922. a:defaultValue="true">
  4923. <ref name="boolean"/>
  4924. </attribute>
  4925. </optional>
  4926. </define>
  4927. <define name="table-source-cell-range">
  4928. <element name="table:source-cell-range">
  4929. <ref name="table-source-cell-range-attlist"/>
  4930. <optional>
  4931. <ref name="table-filter"/>
  4932. </optional>
  4933. </element>
  4934. </define>
  4935. <define name="table-source-cell-range-attlist" combine="interleave">
  4936. <attribute name="table:cell-range-address">
  4937. <ref name="cellRangeAddress"/>
  4938. </attribute>
  4939. </define>
  4940. <define name="table-source-service">
  4941. <element name="table:source-service">
  4942. <ref name="table-source-service-attlist"/>
  4943. <empty/>
  4944. </element>
  4945. </define>
  4946. <define name="table-source-service-attlist" combine="interleave">
  4947. <attribute name="table:name">
  4948. <ref name="string"/>
  4949. </attribute>
  4950. </define>
  4951. <define name="table-source-service-attlist" combine="interleave">
  4952. <attribute name="table:source-name">
  4953. <ref name="string"/>
  4954. </attribute>
  4955. </define>
  4956. <define name="table-source-service-attlist" combine="interleave">
  4957. <attribute name="table:object-name">
  4958. <ref name="string"/>
  4959. </attribute>
  4960. </define>
  4961. <define name="table-source-service-attlist" combine="interleave">
  4962. <optional>
  4963. <attribute name="table:user-name">
  4964. <ref name="string"/>
  4965. </attribute>
  4966. </optional>
  4967. </define>
  4968. <define name="table-source-service-attlist" combine="interleave">
  4969. <optional>
  4970. <attribute name="table:password">
  4971. <ref name="string"/>
  4972. </attribute>
  4973. </optional>
  4974. </define>
  4975. <define name="table-data-pilot-field">
  4976. <element name="table:data-pilot-field">
  4977. <ref name="table-data-pilot-field-attlist"/>
  4978. <optional>
  4979. <ref name="table-data-pilot-level"/>
  4980. </optional>
  4981. <optional>
  4982. <ref name="table-data-pilot-field-reference"/>
  4983. </optional>
  4984. <optional>
  4985. <ref name="table-data-pilot-groups"/>
  4986. </optional>
  4987. </element>
  4988. </define>
  4989. <define name="table-data-pilot-field-attlist" combine="interleave">
  4990. <attribute name="table:source-field-name">
  4991. <ref name="string"/>
  4992. </attribute>
  4993. </define>
  4994. <define name="table-data-pilot-field-attlist" combine="interleave">
  4995. <choice>
  4996. <attribute name="table:orientation">
  4997. <choice>
  4998. <value>row</value>
  4999. <value>column</value>
  5000. <value>data</value>
  5001. <value>hidden</value>
  5002. </choice>
  5003. </attribute>
  5004. <group>
  5005. <attribute name="table:orientation">
  5006. <value>page</value>
  5007. </attribute>
  5008. <attribute name="table:selected-page">
  5009. <ref name="string"/>
  5010. </attribute>
  5011. </group>
  5012. </choice>
  5013. </define>
  5014. <define name="table-data-pilot-field-attlist" combine="interleave">
  5015. <optional>
  5016. <attribute name="table:is-data-layout-field" a:defaultValue="false">
  5017. <ref name="string"/>
  5018. </attribute>
  5019. </optional>
  5020. </define>
  5021. <define name="table-data-pilot-field-attlist" combine="interleave">
  5022. <optional>
  5023. <attribute name="table:function">
  5024. <choice>
  5025. <value>auto</value>
  5026. <value>average</value>
  5027. <value>count</value>
  5028. <value>countnums</value>
  5029. <value>max</value>
  5030. <value>min</value>
  5031. <value>product</value>
  5032. <value>stdev</value>
  5033. <value>stdevp</value>
  5034. <value>sum</value>
  5035. <value>var</value>
  5036. <value>varp</value>
  5037. <ref name="string"/>
  5038. </choice>
  5039. </attribute>
  5040. </optional>
  5041. </define>
  5042. <define name="table-data-pilot-field-attlist" combine="interleave">
  5043. <optional>
  5044. <attribute name="table:used-hierarchy" a:defaultValue="-1">
  5045. <ref name="integer"/>
  5046. </attribute>
  5047. </optional>
  5048. </define>
  5049. <define name="table-data-pilot-level">
  5050. <element name="table:data-pilot-level">
  5051. <ref name="table-data-pilot-level-attlist"/>
  5052. <optional>
  5053. <ref name="table-data-pilot-subtotals"/>
  5054. </optional>
  5055. <optional>
  5056. <ref name="table-data-pilot-members"/>
  5057. </optional>
  5058. <optional>
  5059. <ref name="table-data-pilot-display-info"/>
  5060. </optional>
  5061. <optional>
  5062. <ref name="table-data-pilot-sort-info"/>
  5063. </optional>
  5064. <optional>
  5065. <ref name="table-data-pilot-layout-info"/>
  5066. </optional>
  5067. </element>
  5068. </define>
  5069. <define name="table-data-pilot-level-attlist" combine="interleave">
  5070. <optional>
  5071. <attribute name="table:show-empty">
  5072. <ref name="boolean"/>
  5073. </attribute>
  5074. </optional>
  5075. </define>
  5076. <define name="table-data-pilot-subtotals">
  5077. <element name="table:data-pilot-subtotals">
  5078. <zeroOrMore>
  5079. <ref name="table-data-pilot-subtotal"/>
  5080. </zeroOrMore>
  5081. </element>
  5082. </define>
  5083. <define name="table-data-pilot-subtotal">
  5084. <element name="table:data-pilot-subtotal">
  5085. <ref name="table-data-pilot-subtotal-attlist"/>
  5086. <empty/>
  5087. </element>
  5088. </define>
  5089. <define name="table-data-pilot-subtotal-attlist" combine="interleave">
  5090. <attribute name="table:function">
  5091. <choice>
  5092. <value>auto</value>
  5093. <value>average</value>
  5094. <value>count</value>
  5095. <value>countnums</value>
  5096. <value>max</value>
  5097. <value>min</value>
  5098. <value>product</value>
  5099. <value>stdev</value>
  5100. <value>stdevp</value>
  5101. <value>sum</value>
  5102. <value>var</value>
  5103. <value>varp</value>
  5104. <ref name="string"/>
  5105. </choice>
  5106. </attribute>
  5107. </define>
  5108. <define name="table-data-pilot-members">
  5109. <element name="table:data-pilot-members">
  5110. <zeroOrMore>
  5111. <ref name="table-data-pilot-member"/>
  5112. </zeroOrMore>
  5113. </element>
  5114. </define>
  5115. <define name="table-data-pilot-member">
  5116. <element name="table:data-pilot-member">
  5117. <ref name="table-data-pilot-member-attlist"/>
  5118. <empty/>
  5119. </element>
  5120. </define>
  5121. <define name="table-data-pilot-member-attlist" combine="interleave">
  5122. <attribute name="table:name">
  5123. <ref name="string"/>
  5124. </attribute>
  5125. </define>
  5126. <define name="table-data-pilot-member-attlist" combine="interleave">
  5127. <optional>
  5128. <attribute name="table:display">
  5129. <ref name="boolean"/>
  5130. </attribute>
  5131. </optional>
  5132. </define>
  5133. <define name="table-data-pilot-member-attlist" combine="interleave">
  5134. <optional>
  5135. <attribute name="table:show-details">
  5136. <ref name="boolean"/>
  5137. </attribute>
  5138. </optional>
  5139. </define>
  5140. <define name="table-data-pilot-display-info">
  5141. <element name="table:data-pilot-display-info">
  5142. <ref name="table-data-pilot-display-info-attlist"/>
  5143. <empty/>
  5144. </element>
  5145. </define>
  5146. <define name="table-data-pilot-display-info-attlist" combine="interleave">
  5147. <attribute name="table:enabled">
  5148. <ref name="boolean"/>
  5149. </attribute>
  5150. </define>
  5151. <define name="table-data-pilot-display-info-attlist" combine="interleave">
  5152. <attribute name="table:data-field">
  5153. <ref name="string"/>
  5154. </attribute>
  5155. </define>
  5156. <define name="table-data-pilot-display-info-attlist" combine="interleave">
  5157. <attribute name="table:member-count">
  5158. <ref name="nonNegativeInteger"/>
  5159. </attribute>
  5160. </define>
  5161. <define name="table-data-pilot-display-info-attlist" combine="interleave">
  5162. <attribute name="table:display-member-mode">
  5163. <choice>
  5164. <value>from-top</value>
  5165. <value>from-bottom</value>
  5166. </choice>
  5167. </attribute>
  5168. </define>
  5169. <define name="table-data-pilot-sort-info">
  5170. <element name="table:data-pilot-sort-info">
  5171. <ref name="table-data-pilot-sort-info-attlist"/>
  5172. <empty/>
  5173. </element>
  5174. </define>
  5175. <define name="table-data-pilot-sort-info-attlist" combine="interleave">
  5176. <choice>
  5177. <group>
  5178. <attribute name="table:sort-mode">
  5179. <value>data</value>
  5180. </attribute>
  5181. <attribute name="table:data-field">
  5182. <ref name="string"/>
  5183. </attribute>
  5184. </group>
  5185. <attribute name="table:sort-mode">
  5186. <choice>
  5187. <value>none</value>
  5188. <value>manual</value>
  5189. <value>name</value>
  5190. </choice>
  5191. </attribute>
  5192. </choice>
  5193. </define>
  5194. <define name="table-data-pilot-sort-info-attlist" combine="interleave">
  5195. <attribute name="table:order">
  5196. <choice>
  5197. <value>ascending</value>
  5198. <value>descending</value>
  5199. </choice>
  5200. </attribute>
  5201. </define>
  5202. <define name="table-data-pilot-layout-info">
  5203. <element name="table:data-pilot-layout-info">
  5204. <ref name="table-data-pilot-layout-info-attlist"/>
  5205. <empty/>
  5206. </element>
  5207. </define>
  5208. <define name="table-data-pilot-layout-info-attlist" combine="interleave">
  5209. <attribute name="table:layout-mode">
  5210. <choice>
  5211. <value>tabular-layout</value>
  5212. <value>outline-subtotals-top</value>
  5213. <value>outline-subtotals-bottom</value>
  5214. </choice>
  5215. </attribute>
  5216. </define>
  5217. <define name="table-data-pilot-layout-info-attlist" combine="interleave">
  5218. <attribute name="table:add-empty-lines">
  5219. <ref name="boolean"/>
  5220. </attribute>
  5221. </define>
  5222. <define name="table-data-pilot-field-reference">
  5223. <element name="table:data-pilot-field-reference">
  5224. <ref name="table-data-pilot-field-reference-attlist"/>
  5225. </element>
  5226. </define>
  5227. <define name="table-data-pilot-field-reference-attlist" combine="interleave">
  5228. <attribute name="table:field-name">
  5229. <ref name="string"/>
  5230. </attribute>
  5231. </define>
  5232. <define name="table-data-pilot-field-reference-attlist" combine="interleave">
  5233. <choice>
  5234. <group>
  5235. <attribute name="table:member-type">
  5236. <value>named</value>
  5237. </attribute>
  5238. <attribute name="table:member-name">
  5239. <ref name="string"/>
  5240. </attribute>
  5241. </group>
  5242. <attribute name="table:member-type">
  5243. <choice>
  5244. <value>previous</value>
  5245. <value>next</value>
  5246. </choice>
  5247. </attribute>
  5248. </choice>
  5249. </define>
  5250. <define name="table-data-pilot-field-reference-attlist" combine="interleave">
  5251. <attribute name="table:type">
  5252. <choice>
  5253. <value>none</value>
  5254. <value>member-difference</value>
  5255. <value>member-percentage</value>
  5256. <value>member-percentage-difference</value>
  5257. <value>running-total</value>
  5258. <value>row-percentage</value>
  5259. <value>column-percentage</value>
  5260. <value>total-percentage</value>
  5261. <value>index</value>
  5262. </choice>
  5263. </attribute>
  5264. </define>
  5265. <define name="table-data-pilot-groups">
  5266. <element name="table:data-pilot-groups">
  5267. <ref name="table-data-pilot-groups-attlist"/>
  5268. <oneOrMore>
  5269. <ref name="table-data-pilot-group"/>
  5270. </oneOrMore>
  5271. </element>
  5272. </define>
  5273. <define name="table-data-pilot-groups-attlist" combine="interleave">
  5274. <attribute name="table:source-field-name">
  5275. <ref name="string"/>
  5276. </attribute>
  5277. </define>
  5278. <define name="table-data-pilot-groups-attlist" combine="interleave">
  5279. <choice>
  5280. <attribute name="table:date-start">
  5281. <choice>
  5282. <ref name="dateOrDateTime"/>
  5283. <value>auto</value>
  5284. </choice>
  5285. </attribute>
  5286. <attribute name="table:start">
  5287. <choice>
  5288. <ref name="double"/>
  5289. <value>auto</value>
  5290. </choice>
  5291. </attribute>
  5292. </choice>
  5293. </define>
  5294. <define name="table-data-pilot-groups-attlist" combine="interleave">
  5295. <choice>
  5296. <attribute name="table:date-end">
  5297. <choice>
  5298. <ref name="dateOrDateTime"/>
  5299. <value>auto</value>
  5300. </choice>
  5301. </attribute>
  5302. <attribute name="table:end">
  5303. <choice>
  5304. <ref name="double"/>
  5305. <value>auto</value>
  5306. </choice>
  5307. </attribute>
  5308. </choice>
  5309. </define>
  5310. <define name="table-data-pilot-groups-attlist" combine="interleave">
  5311. <attribute name="table:step">
  5312. <ref name="double"/>
  5313. </attribute>
  5314. </define>
  5315. <define name="table-data-pilot-groups-attlist" combine="interleave">
  5316. <attribute name="table:grouped-by">
  5317. <choice>
  5318. <value>seconds</value>
  5319. <value>minutes</value>
  5320. <value>hours</value>
  5321. <value>days</value>
  5322. <value>months</value>
  5323. <value>quarters</value>
  5324. <value>years</value>
  5325. </choice>
  5326. </attribute>
  5327. </define>
  5328. <define name="table-data-pilot-group">
  5329. <element name="table:data-pilot-group">
  5330. <ref name="table-data-pilot-group-attlist"/>
  5331. <oneOrMore>
  5332. <ref name="table-data-pilot-group-member"/>
  5333. </oneOrMore>
  5334. </element>
  5335. </define>
  5336. <define name="table-data-pilot-group-attlist" combine="interleave">
  5337. <attribute name="table:name">
  5338. <ref name="string"/>
  5339. </attribute>
  5340. </define>
  5341. <define name="table-data-pilot-group-member">
  5342. <element name="table:data-pilot-group-member">
  5343. <ref name="table-data-pilot-group-member-attlist"/>
  5344. </element>
  5345. </define>
  5346. <define name="table-data-pilot-group-member-attlist" combine="interleave">
  5347. <attribute name="table:name">
  5348. <ref name="string"/>
  5349. </attribute>
  5350. </define>
  5351. <define name="table-consolidation">
  5352. <element name="table:consolidation">
  5353. <ref name="table-consolidation-attlist"/>
  5354. <empty/>
  5355. </element>
  5356. </define>
  5357. <define name="table-consolidation-attlist" combine="interleave">
  5358. <attribute name="table:function">
  5359. <choice>
  5360. <value>auto</value>
  5361. <value>average</value>
  5362. <value>count</value>
  5363. <value>countnums</value>
  5364. <value>max</value>
  5365. <value>min</value>
  5366. <value>product</value>
  5367. <value>stdev</value>
  5368. <value>stdevp</value>
  5369. <value>sum</value>
  5370. <value>var</value>
  5371. <value>varp</value>
  5372. <ref name="string"/>
  5373. </choice>
  5374. </attribute>
  5375. </define>
  5376. <define name="table-consolidation-attlist" combine="interleave">
  5377. <attribute name="table:source-cell-range-addresses">
  5378. <ref name="cellRangeAddressList"/>
  5379. </attribute>
  5380. </define>
  5381. <define name="table-consolidation-attlist" combine="interleave">
  5382. <attribute name="table:target-cell-address">
  5383. <ref name="cellAddress"/>
  5384. </attribute>
  5385. </define>
  5386. <define name="table-consolidation-attlist" combine="interleave">
  5387. <optional>
  5388. <attribute name="table:use-labels" a:defaultValue="none">
  5389. <choice>
  5390. <value>none</value>
  5391. <value>row</value>
  5392. <value>column</value>
  5393. <value>both</value>
  5394. </choice>
  5395. </attribute>
  5396. </optional>
  5397. </define>
  5398. <define name="table-consolidation-attlist" combine="interleave">
  5399. <optional>
  5400. <attribute name="table:link-to-source-data" a:defaultValue="false">
  5401. <ref name="boolean"/>
  5402. </attribute>
  5403. </optional>
  5404. </define>
  5405. <define name="table-dde-links">
  5406. <element name="table:dde-links">
  5407. <oneOrMore>
  5408. <ref name="table-dde-link"/>
  5409. </oneOrMore>
  5410. </element>
  5411. </define>
  5412. <define name="table-tracked-changes">
  5413. <element name="table:tracked-changes">
  5414. <ref name="table-tracked-changes-attlist"/>
  5415. <zeroOrMore>
  5416. <choice>
  5417. <ref name="table-cell-content-change"/>
  5418. <ref name="table-insertion"/>
  5419. <ref name="table-deletion"/>
  5420. <ref name="table-movement"/>
  5421. </choice>
  5422. </zeroOrMore>
  5423. </element>
  5424. </define>
  5425. <define name="table-tracked-changes-attlist" combine="interleave">
  5426. <optional>
  5427. <attribute name="table:track-changes" a:defaultValue="false">
  5428. <ref name="boolean"/>
  5429. </attribute>
  5430. </optional>
  5431. </define>
  5432. <define name="table-insertion">
  5433. <element name="table:insertion">
  5434. <ref name="table-insertion-attlist"/>
  5435. <ref name="common-table-change-attlist"/>
  5436. <ref name="office-change-info"/>
  5437. <optional>
  5438. <ref name="table-dependencies"/>
  5439. </optional>
  5440. <optional>
  5441. <ref name="table-deletions"/>
  5442. </optional>
  5443. </element>
  5444. </define>
  5445. <define name="table-insertion-attlist" combine="interleave">
  5446. <attribute name="table:type">
  5447. <choice>
  5448. <value>row</value>
  5449. <value>column</value>
  5450. <value>table</value>
  5451. </choice>
  5452. </attribute>
  5453. </define>
  5454. <define name="table-insertion-attlist" combine="interleave">
  5455. <attribute name="table:position">
  5456. <ref name="integer"/>
  5457. </attribute>
  5458. </define>
  5459. <define name="table-insertion-attlist" combine="interleave">
  5460. <optional>
  5461. <attribute name="table:count" a:defaultValue="1">
  5462. <ref name="positiveInteger"/>
  5463. </attribute>
  5464. </optional>
  5465. </define>
  5466. <define name="table-insertion-attlist" combine="interleave">
  5467. <optional>
  5468. <attribute name="table:table">
  5469. <ref name="integer"/>
  5470. </attribute>
  5471. </optional>
  5472. </define>
  5473. <define name="table-dependencies">
  5474. <element name="table:dependencies">
  5475. <oneOrMore>
  5476. <ref name="table-dependency"/>
  5477. </oneOrMore>
  5478. </element>
  5479. </define>
  5480. <define name="table-dependency">
  5481. <element name="table:dependency">
  5482. <attribute name="table:id">
  5483. <ref name="string"/>
  5484. </attribute>
  5485. <empty/>
  5486. </element>
  5487. </define>
  5488. <define name="table-deletions">
  5489. <element name="table:deletions">
  5490. <oneOrMore>
  5491. <choice>
  5492. <ref name="table-cell-content-deletion"/>
  5493. <ref name="table-change-deletion"/>
  5494. </choice>
  5495. </oneOrMore>
  5496. </element>
  5497. </define>
  5498. <define name="table-cell-content-deletion">
  5499. <element name="table:cell-content-deletion">
  5500. <optional>
  5501. <attribute name="table:id">
  5502. <ref name="string"/>
  5503. </attribute>
  5504. </optional>
  5505. <optional>
  5506. <ref name="table-cell-address"/>
  5507. </optional>
  5508. <optional>
  5509. <ref name="table-change-track-table-cell"/>
  5510. </optional>
  5511. </element>
  5512. </define>
  5513. <define name="table-change-deletion">
  5514. <element name="table:change-deletion">
  5515. <optional>
  5516. <attribute name="table:id">
  5517. <ref name="string"/>
  5518. </attribute>
  5519. </optional>
  5520. <empty/>
  5521. </element>
  5522. </define>
  5523. <define name="table-deletion">
  5524. <element name="table:deletion">
  5525. <ref name="table-deletion-attlist"/>
  5526. <ref name="common-table-change-attlist"/>
  5527. <ref name="office-change-info"/>
  5528. <optional>
  5529. <ref name="table-dependencies"/>
  5530. </optional>
  5531. <optional>
  5532. <ref name="table-deletions"/>
  5533. </optional>
  5534. <optional>
  5535. <ref name="table-cut-offs"/>
  5536. </optional>
  5537. </element>
  5538. </define>
  5539. <define name="table-deletion-attlist" combine="interleave">
  5540. <attribute name="table:type">
  5541. <choice>
  5542. <value>row</value>
  5543. <value>column</value>
  5544. <value>table</value>
  5545. </choice>
  5546. </attribute>
  5547. </define>
  5548. <define name="table-deletion-attlist" combine="interleave">
  5549. <attribute name="table:position">
  5550. <ref name="integer"/>
  5551. </attribute>
  5552. </define>
  5553. <define name="table-deletion-attlist" combine="interleave">
  5554. <optional>
  5555. <attribute name="table:table">
  5556. <ref name="integer"/>
  5557. </attribute>
  5558. </optional>
  5559. </define>
  5560. <define name="table-deletion-attlist" combine="interleave">
  5561. <optional>
  5562. <attribute name="table:multi-deletion-spanned">
  5563. <ref name="integer"/>
  5564. </attribute>
  5565. </optional>
  5566. </define>
  5567. <define name="table-cut-offs">
  5568. <element name="table:cut-offs">
  5569. <choice>
  5570. <oneOrMore>
  5571. <ref name="table-movement-cut-off"/>
  5572. </oneOrMore>
  5573. <group>
  5574. <ref name="table-insertion-cut-off"/>
  5575. <zeroOrMore>
  5576. <ref name="table-movement-cut-off"/>
  5577. </zeroOrMore>
  5578. </group>
  5579. </choice>
  5580. </element>
  5581. </define>
  5582. <define name="table-insertion-cut-off">
  5583. <element name="table:insertion-cut-off">
  5584. <ref name="table-insertion-cut-off-attlist"/>
  5585. <empty/>
  5586. </element>
  5587. </define>
  5588. <define name="table-insertion-cut-off-attlist" combine="interleave">
  5589. <attribute name="table:id">
  5590. <ref name="string"/>
  5591. </attribute>
  5592. </define>
  5593. <define name="table-insertion-cut-off-attlist" combine="interleave">
  5594. <attribute name="table:position">
  5595. <ref name="integer"/>
  5596. </attribute>
  5597. </define>
  5598. <define name="table-movement-cut-off">
  5599. <element name="table:movement-cut-off">
  5600. <ref name="table-movement-cut-off-attlist"/>
  5601. <empty/>
  5602. </element>
  5603. </define>
  5604. <define name="table-movement-cut-off-attlist" combine="interleave">
  5605. <choice>
  5606. <attribute name="table:position">
  5607. <ref name="integer"/>
  5608. </attribute>
  5609. <group>
  5610. <attribute name="table:start-position">
  5611. <ref name="integer"/>
  5612. </attribute>
  5613. <attribute name="table:end-position">
  5614. <ref name="integer"/>
  5615. </attribute>
  5616. </group>
  5617. </choice>
  5618. </define>
  5619. <define name="table-movement">
  5620. <element name="table:movement">
  5621. <ref name="common-table-change-attlist"/>
  5622. <ref name="table-source-range-address"/>
  5623. <ref name="table-target-range-address"/>
  5624. <ref name="office-change-info"/>
  5625. <optional>
  5626. <ref name="table-dependencies"/>
  5627. </optional>
  5628. <optional>
  5629. <ref name="table-deletions"/>
  5630. </optional>
  5631. </element>
  5632. </define>
  5633. <define name="table-source-range-address">
  5634. <element name="table:source-range-address">
  5635. <ref name="common-table-range-attlist"/>
  5636. <empty/>
  5637. </element>
  5638. </define>
  5639. <define name="table-target-range-address">
  5640. <element name="table:target-range-address">
  5641. <ref name="common-table-range-attlist"/>
  5642. <empty/>
  5643. </element>
  5644. </define>
  5645. <define name="common-table-range-attlist" combine="interleave">
  5646. <choice>
  5647. <group>
  5648. <ref name="common-table-cell-address-attlist"/>
  5649. </group>
  5650. <group>
  5651. <ref name="common-table-cell-range-address-attlist"/>
  5652. </group>
  5653. </choice>
  5654. </define>
  5655. <define name="common-table-cell-address-attlist" combine="interleave">
  5656. <attribute name="table:column">
  5657. <ref name="integer"/>
  5658. </attribute>
  5659. <attribute name="table:row">
  5660. <ref name="integer"/>
  5661. </attribute>
  5662. <attribute name="table:table">
  5663. <ref name="integer"/>
  5664. </attribute>
  5665. </define>
  5666. <define name="common-table-cell-range-address-attlist" combine="interleave">
  5667. <attribute name="table:start-column">
  5668. <ref name="integer"/>
  5669. </attribute>
  5670. <attribute name="table:start-row">
  5671. <ref name="integer"/>
  5672. </attribute>
  5673. <attribute name="table:start-table">
  5674. <ref name="integer"/>
  5675. </attribute>
  5676. <attribute name="table:end-column">
  5677. <ref name="integer"/>
  5678. </attribute>
  5679. <attribute name="table:end-row">
  5680. <ref name="integer"/>
  5681. </attribute>
  5682. <attribute name="table:end-table">
  5683. <ref name="integer"/>
  5684. </attribute>
  5685. </define>
  5686. <define name="table-change-track-table-cell" combine="interleave">
  5687. <element name="table:change-track-table-cell">
  5688. <ref name="table-change-track-table-cell-attlist"/>
  5689. <zeroOrMore>
  5690. <ref name="text-p"/>
  5691. </zeroOrMore>
  5692. </element>
  5693. </define>
  5694. <define name="table-change-track-table-cell-attlist" combine="interleave">
  5695. <optional>
  5696. <attribute name="table:cell-address">
  5697. <ref name="cellAddress"/>
  5698. </attribute>
  5699. </optional>
  5700. </define>
  5701. <define name="table-change-track-table-cell-attlist" combine="interleave">
  5702. <optional>
  5703. <attribute name="table:matrix-covered" a:defaultValue="false">
  5704. <ref name="boolean"/>
  5705. </attribute>
  5706. </optional>
  5707. </define>
  5708. <define name="table-change-track-table-cell-attlist" combine="interleave">
  5709. <optional>
  5710. <attribute name="table:formula">
  5711. <ref name="string"/>
  5712. </attribute>
  5713. </optional>
  5714. <optional>
  5715. <attribute name="table:number-matrix-columns-spanned">
  5716. <ref name="positiveInteger"/>
  5717. </attribute>
  5718. </optional>
  5719. <optional>
  5720. <attribute name="table:number-matrix-rows-spanned">
  5721. <ref name="positiveInteger"/>
  5722. </attribute>
  5723. </optional>
  5724. <optional>
  5725. <ref name="common-value-and-type-attlist"/>
  5726. </optional>
  5727. </define>
  5728. <define name="table-cell-content-change">
  5729. <element name="table:cell-content-change">
  5730. <ref name="common-table-change-attlist"/>
  5731. <ref name="table-cell-address"/>
  5732. <ref name="office-change-info"/>
  5733. <optional>
  5734. <ref name="table-dependencies"/>
  5735. </optional>
  5736. <optional>
  5737. <ref name="table-deletions"/>
  5738. </optional>
  5739. <ref name="table-previous"/>
  5740. </element>
  5741. </define>
  5742. <define name="table-cell-address">
  5743. <element name="table:cell-address">
  5744. <ref name="common-table-cell-address-attlist"/>
  5745. <empty/>
  5746. </element>
  5747. </define>
  5748. <define name="table-previous">
  5749. <element name="table:previous">
  5750. <optional>
  5751. <attribute name="table:id">
  5752. <ref name="string"/>
  5753. </attribute>
  5754. </optional>
  5755. <ref name="table-change-track-table-cell"/>
  5756. </element>
  5757. </define>
  5758. <define name="common-table-change-attlist" combine="interleave">
  5759. <attribute name="table:id">
  5760. <ref name="string"/>
  5761. </attribute>
  5762. </define>
  5763. <define name="common-table-change-attlist" combine="interleave">
  5764. <optional>
  5765. <attribute name="table:acceptance-state" a:defaultValue="pending">
  5766. <choice>
  5767. <value>accepted</value>
  5768. <value>rejected</value>
  5769. <value>pending</value>
  5770. </choice>
  5771. </attribute>
  5772. </optional>
  5773. </define>
  5774. <define name="common-table-change-attlist" combine="interleave">
  5775. <optional>
  5776. <attribute name="table:rejecting-change-id">
  5777. <ref name="string"/>
  5778. </attribute>
  5779. </optional>
  5780. </define>
  5781. <define name="style-handout-master">
  5782. <element name="style:handout-master">
  5783. <ref name="common-presentation-header-footer-attlist"/>
  5784. <ref name="style-handout-master-attlist"/>
  5785. <zeroOrMore>
  5786. <ref name="shape"/>
  5787. </zeroOrMore>
  5788. </element>
  5789. </define>
  5790. <define name="style-handout-master-attlist" combine="interleave">
  5791. <optional>
  5792. <attribute name="presentation:presentation-page-layout-name">
  5793. <ref name="styleNameRef"/>
  5794. </attribute>
  5795. </optional>
  5796. </define>
  5797. <define name="style-handout-master-attlist" combine="interleave">
  5798. <attribute name="style:page-layout-name">
  5799. <ref name="styleNameRef"/>
  5800. </attribute>
  5801. </define>
  5802. <define name="style-handout-master-attlist" combine="interleave">
  5803. <optional>
  5804. <attribute name="draw:style-name">
  5805. <ref name="styleNameRef"/>
  5806. </attribute>
  5807. </optional>
  5808. </define>
  5809. <define name="draw-layer-set">
  5810. <element name="draw:layer-set">
  5811. <zeroOrMore>
  5812. <ref name="draw-layer"/>
  5813. </zeroOrMore>
  5814. </element>
  5815. </define>
  5816. <define name="draw-layer">
  5817. <element name="draw:layer">
  5818. <ref name="draw-layer-attlist"/>
  5819. <optional>
  5820. <ref name="svg-title"/>
  5821. </optional>
  5822. <optional>
  5823. <ref name="svg-desc"/>
  5824. </optional>
  5825. </element>
  5826. </define>
  5827. <define name="draw-layer-attlist" combine="interleave">
  5828. <attribute name="draw:name">
  5829. <ref name="string"/>
  5830. </attribute>
  5831. </define>
  5832. <define name="draw-layer-attlist" combine="interleave">
  5833. <optional>
  5834. <attribute name="draw:protected" a:defaultValue="false">
  5835. <ref name="boolean"/>
  5836. </attribute>
  5837. </optional>
  5838. </define>
  5839. <define name="draw-layer-attlist" combine="interleave">
  5840. <optional>
  5841. <attribute name="draw:display" a:defaultValue="always">
  5842. <choice>
  5843. <value>always</value>
  5844. <value>screen</value>
  5845. <value>printer</value>
  5846. <value>none</value>
  5847. </choice>
  5848. </attribute>
  5849. </optional>
  5850. </define>
  5851. <define name="draw-page">
  5852. <element name="draw:page">
  5853. <ref name="common-presentation-header-footer-attlist"/>
  5854. <ref name="draw-page-attlist"/>
  5855. <optional>
  5856. <ref name="office-forms"/>
  5857. </optional>
  5858. <zeroOrMore>
  5859. <ref name="shape"/>
  5860. </zeroOrMore>
  5861. <optional>
  5862. <choice>
  5863. <ref name="presentation-animations"/>
  5864. <ref name="animation-element"/>
  5865. </choice>
  5866. </optional>
  5867. <optional>
  5868. <ref name="presentation-notes"/>
  5869. </optional>
  5870. </element>
  5871. </define>
  5872. <define name="draw-page-attlist" combine="interleave">
  5873. <optional>
  5874. <attribute name="draw:name">
  5875. <ref name="string"/>
  5876. </attribute>
  5877. </optional>
  5878. </define>
  5879. <define name="draw-page-attlist" combine="interleave">
  5880. <optional>
  5881. <attribute name="draw:style-name">
  5882. <ref name="styleNameRef"/>
  5883. </attribute>
  5884. </optional>
  5885. </define>
  5886. <define name="draw-page-attlist" combine="interleave">
  5887. <attribute name="draw:master-page-name">
  5888. <ref name="styleNameRef"/>
  5889. </attribute>
  5890. </define>
  5891. <define name="draw-page-attlist" combine="interleave">
  5892. <optional>
  5893. <attribute name="presentation:presentation-page-layout-name">
  5894. <ref name="styleNameRef"/>
  5895. </attribute>
  5896. </optional>
  5897. </define>
  5898. <define name="common-presentation-header-footer-attlist" combine="interleave">
  5899. <optional>
  5900. <attribute name="presentation:use-header-name">
  5901. <ref name="string"/>
  5902. </attribute>
  5903. </optional>
  5904. </define>
  5905. <define name="common-presentation-header-footer-attlist" combine="interleave">
  5906. <optional>
  5907. <attribute name="presentation:use-footer-name">
  5908. <ref name="string"/>
  5909. </attribute>
  5910. </optional>
  5911. </define>
  5912. <define name="common-presentation-header-footer-attlist" combine="interleave">
  5913. <optional>
  5914. <attribute name="presentation:use-date-time-name">
  5915. <ref name="string"/>
  5916. </attribute>
  5917. </optional>
  5918. </define>
  5919. <define name="draw-page-attlist" combine="interleave">
  5920. <optional>
  5921. <attribute name="draw:id">
  5922. <ref name="ID"/>
  5923. </attribute>
  5924. </optional>
  5925. </define>
  5926. <define name="draw-page-attlist" combine="interleave">
  5927. <optional>
  5928. <attribute name="draw:nav-order">
  5929. <ref name="IDREFS"/>
  5930. </attribute>
  5931. </optional>
  5932. </define>
  5933. <define name="shape">
  5934. <choice>
  5935. <ref name="draw-rect"/>
  5936. <ref name="draw-line"/>
  5937. <ref name="draw-polyline"/>
  5938. <ref name="draw-polygon"/>
  5939. <ref name="draw-regular-polygon"/>
  5940. <ref name="draw-path"/>
  5941. <ref name="draw-circle"/>
  5942. <ref name="draw-ellipse"/>
  5943. <ref name="draw-g"/>
  5944. <ref name="draw-page-thumbnail"/>
  5945. <ref name="draw-frame"/>
  5946. <ref name="draw-measure"/>
  5947. <ref name="draw-caption"/>
  5948. <ref name="draw-connector"/>
  5949. <ref name="draw-control"/>
  5950. <ref name="dr3d-scene"/>
  5951. <ref name="draw-custom-shape"/>
  5952. </choice>
  5953. </define>
  5954. <define name="draw-rect">
  5955. <element name="draw:rect">
  5956. <ref name="draw-rect-attlist"/>
  5957. <ref name="common-draw-position-attlist"/>
  5958. <ref name="common-draw-size-attlist"/>
  5959. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  5960. <ref name="common-draw-caption-id-attlist"/>
  5961. <optional>
  5962. <ref name="svg-title"/>
  5963. </optional>
  5964. <optional>
  5965. <ref name="svg-desc"/>
  5966. </optional>
  5967. <optional>
  5968. <ref name="office-event-listeners"/>
  5969. </optional>
  5970. <zeroOrMore>
  5971. <ref name="draw-glue-point"/>
  5972. </zeroOrMore>
  5973. <ref name="draw-text"/>
  5974. </element>
  5975. </define>
  5976. <define name="draw-rect-attlist" combine="interleave">
  5977. <optional>
  5978. <attribute name="draw:corner-radius">
  5979. <ref name="nonNegativeLength"/>
  5980. </attribute>
  5981. </optional>
  5982. </define>
  5983. <define name="draw-line">
  5984. <element name="draw:line">
  5985. <ref name="draw-line-attlist"/>
  5986. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  5987. <ref name="common-draw-caption-id-attlist"/>
  5988. <optional>
  5989. <ref name="svg-title"/>
  5990. </optional>
  5991. <optional>
  5992. <ref name="svg-desc"/>
  5993. </optional>
  5994. <optional>
  5995. <ref name="office-event-listeners"/>
  5996. </optional>
  5997. <zeroOrMore>
  5998. <ref name="draw-glue-point"/>
  5999. </zeroOrMore>
  6000. <ref name="draw-text"/>
  6001. </element>
  6002. </define>
  6003. <define name="draw-line-attlist" combine="interleave">
  6004. <attribute name="svg:x1">
  6005. <ref name="coordinate"/>
  6006. </attribute>
  6007. <attribute name="svg:y1">
  6008. <ref name="coordinate"/>
  6009. </attribute>
  6010. </define>
  6011. <define name="draw-line-attlist" combine="interleave">
  6012. <attribute name="svg:x2">
  6013. <ref name="coordinate"/>
  6014. </attribute>
  6015. <attribute name="svg:y2">
  6016. <ref name="coordinate"/>
  6017. </attribute>
  6018. </define>
  6019. <define name="draw-polyline">
  6020. <element name="draw:polyline">
  6021. <ref name="common-draw-points-attlist"/>
  6022. <ref name="common-draw-position-attlist"/>
  6023. <ref name="common-draw-size-attlist"/>
  6024. <ref name="common-draw-viewbox-attlist"/>
  6025. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6026. <ref name="common-draw-caption-id-attlist"/>
  6027. <optional>
  6028. <ref name="svg-title"/>
  6029. </optional>
  6030. <optional>
  6031. <ref name="svg-desc"/>
  6032. </optional>
  6033. <optional>
  6034. <ref name="office-event-listeners"/>
  6035. </optional>
  6036. <zeroOrMore>
  6037. <ref name="draw-glue-point"/>
  6038. </zeroOrMore>
  6039. <ref name="draw-text"/>
  6040. </element>
  6041. </define>
  6042. <define name="common-draw-points-attlist">
  6043. <attribute name="draw:points">
  6044. <ref name="points"/>
  6045. </attribute>
  6046. </define>
  6047. <define name="draw-polygon">
  6048. <element name="draw:polygon">
  6049. <ref name="common-draw-points-attlist"/>
  6050. <ref name="common-draw-position-attlist"/>
  6051. <ref name="common-draw-size-attlist"/>
  6052. <ref name="common-draw-viewbox-attlist"/>
  6053. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6054. <ref name="common-draw-caption-id-attlist"/>
  6055. <optional>
  6056. <ref name="svg-title"/>
  6057. </optional>
  6058. <optional>
  6059. <ref name="svg-desc"/>
  6060. </optional>
  6061. <optional>
  6062. <ref name="office-event-listeners"/>
  6063. </optional>
  6064. <zeroOrMore>
  6065. <ref name="draw-glue-point"/>
  6066. </zeroOrMore>
  6067. <ref name="draw-text"/>
  6068. </element>
  6069. </define>
  6070. <define name="draw-regular-polygon">
  6071. <element name="draw:regular-polygon">
  6072. <ref name="draw-regular-polygon-attlist"/>
  6073. <ref name="common-draw-position-attlist"/>
  6074. <ref name="common-draw-size-attlist"/>
  6075. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6076. <ref name="common-draw-caption-id-attlist"/>
  6077. <optional>
  6078. <ref name="svg-title"/>
  6079. </optional>
  6080. <optional>
  6081. <ref name="svg-desc"/>
  6082. </optional>
  6083. <optional>
  6084. <ref name="office-event-listeners"/>
  6085. </optional>
  6086. <zeroOrMore>
  6087. <ref name="draw-glue-point"/>
  6088. </zeroOrMore>
  6089. <ref name="draw-text"/>
  6090. </element>
  6091. </define>
  6092. <define name="draw-regular-polygon-attlist" combine="interleave">
  6093. <choice>
  6094. <attribute name="draw:concave">
  6095. <value>false</value>
  6096. </attribute>
  6097. <group>
  6098. <attribute name="draw:concave">
  6099. <value>true</value>
  6100. </attribute>
  6101. <ref name="draw-regular-polygon-sharpness-attlist"/>
  6102. </group>
  6103. </choice>
  6104. </define>
  6105. <define name="draw-regular-polygon-attlist" combine="interleave">
  6106. <attribute name="draw:corners">
  6107. <ref name="positiveInteger"/>
  6108. </attribute>
  6109. </define>
  6110. <define name="draw-regular-polygon-sharpness-attlist">
  6111. <attribute name="draw:sharpness">
  6112. <ref name="percent"/>
  6113. </attribute>
  6114. </define>
  6115. <define name="draw-path">
  6116. <element name="draw:path">
  6117. <ref name="common-draw-path-data-attlist"/>
  6118. <ref name="common-draw-position-attlist"/>
  6119. <ref name="common-draw-size-attlist"/>
  6120. <ref name="common-draw-viewbox-attlist"/>
  6121. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6122. <ref name="common-draw-caption-id-attlist"/>
  6123. <optional>
  6124. <ref name="svg-title"/>
  6125. </optional>
  6126. <optional>
  6127. <ref name="svg-desc"/>
  6128. </optional>
  6129. <optional>
  6130. <ref name="office-event-listeners"/>
  6131. </optional>
  6132. <zeroOrMore>
  6133. <ref name="draw-glue-point"/>
  6134. </zeroOrMore>
  6135. <ref name="draw-text"/>
  6136. </element>
  6137. </define>
  6138. <define name="common-draw-path-data-attlist">
  6139. <attribute name="svg:d">
  6140. <ref name="pathData"/>
  6141. </attribute>
  6142. </define>
  6143. <define name="draw-circle">
  6144. <element name="draw:circle">
  6145. <ref name="draw-circle-attlist"/>
  6146. <ref name="common-draw-circle-ellipse-attlist"/>
  6147. <ref name="common-draw-position-attlist"/>
  6148. <ref name="common-draw-size-attlist"/>
  6149. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6150. <ref name="common-draw-caption-id-attlist"/>
  6151. <optional>
  6152. <ref name="svg-title"/>
  6153. </optional>
  6154. <optional>
  6155. <ref name="svg-desc"/>
  6156. </optional>
  6157. <optional>
  6158. <ref name="office-event-listeners"/>
  6159. </optional>
  6160. <zeroOrMore>
  6161. <ref name="draw-glue-point"/>
  6162. </zeroOrMore>
  6163. <ref name="draw-text"/>
  6164. </element>
  6165. </define>
  6166. <define name="common-draw-circle-ellipse-attlist" combine="interleave">
  6167. <optional>
  6168. <attribute name="svg:cx">
  6169. <ref name="coordinate"/>
  6170. </attribute>
  6171. <attribute name="svg:cy">
  6172. <ref name="coordinate"/>
  6173. </attribute>
  6174. </optional>
  6175. </define>
  6176. <define name="draw-circle-attlist" combine="interleave">
  6177. <optional>
  6178. <attribute name="svg:r">
  6179. <ref name="length"/>
  6180. </attribute>
  6181. </optional>
  6182. </define>
  6183. <define name="common-draw-circle-ellipse-attlist" combine="interleave">
  6184. <optional>
  6185. <attribute name="draw:kind" a:defaultValue="full">
  6186. <choice>
  6187. <value>full</value>
  6188. <value>section</value>
  6189. <value>cut</value>
  6190. <value>arc</value>
  6191. </choice>
  6192. </attribute>
  6193. </optional>
  6194. </define>
  6195. <define name="common-draw-circle-ellipse-attlist" combine="interleave">
  6196. <optional>
  6197. <attribute name="draw:start-angle">
  6198. <ref name="double"/>
  6199. </attribute>
  6200. </optional>
  6201. </define>
  6202. <define name="common-draw-circle-ellipse-attlist" combine="interleave">
  6203. <optional>
  6204. <attribute name="draw:end-angle">
  6205. <ref name="double"/>
  6206. </attribute>
  6207. </optional>
  6208. </define>
  6209. <define name="draw-ellipse">
  6210. <element name="draw:ellipse">
  6211. <ref name="common-draw-circle-ellipse-attlist"/>
  6212. <ref name="draw-ellipse-attlist"/>
  6213. <ref name="common-draw-position-attlist"/>
  6214. <ref name="common-draw-size-attlist"/>
  6215. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6216. <ref name="common-draw-caption-id-attlist"/>
  6217. <optional>
  6218. <ref name="svg-title"/>
  6219. </optional>
  6220. <optional>
  6221. <ref name="svg-desc"/>
  6222. </optional>
  6223. <optional>
  6224. <ref name="office-event-listeners"/>
  6225. </optional>
  6226. <zeroOrMore>
  6227. <ref name="draw-glue-point"/>
  6228. </zeroOrMore>
  6229. <ref name="draw-text"/>
  6230. </element>
  6231. </define>
  6232. <define name="draw-ellipse-attlist" combine="interleave">
  6233. <optional>
  6234. <attribute name="svg:rx">
  6235. <ref name="length"/>
  6236. </attribute>
  6237. <attribute name="svg:ry">
  6238. <ref name="length"/>
  6239. </attribute>
  6240. </optional>
  6241. </define>
  6242. <define name="draw-connector">
  6243. <element name="draw:connector">
  6244. <ref name="draw-connector-attlist"/>
  6245. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6246. <ref name="common-draw-caption-id-attlist"/>
  6247. <optional>
  6248. <ref name="svg-title"/>
  6249. </optional>
  6250. <optional>
  6251. <ref name="svg-desc"/>
  6252. </optional>
  6253. <optional>
  6254. <ref name="office-event-listeners"/>
  6255. </optional>
  6256. <zeroOrMore>
  6257. <ref name="draw-glue-point"/>
  6258. </zeroOrMore>
  6259. <ref name="draw-text"/>
  6260. </element>
  6261. </define>
  6262. <define name="draw-connector-attlist" combine="interleave">
  6263. <optional>
  6264. <attribute name="draw:type" a:defaultValue="standard">
  6265. <choice>
  6266. <value>standard</value>
  6267. <value>lines</value>
  6268. <value>line</value>
  6269. <value>curve</value>
  6270. </choice>
  6271. </attribute>
  6272. </optional>
  6273. </define>
  6274. <define name="draw-connector-attlist" combine="interleave">
  6275. <optional>
  6276. <attribute name="svg:x1">
  6277. <ref name="coordinate"/>
  6278. </attribute>
  6279. <attribute name="svg:y1">
  6280. <ref name="coordinate"/>
  6281. </attribute>
  6282. </optional>
  6283. </define>
  6284. <define name="draw-connector-attlist" combine="interleave">
  6285. <optional>
  6286. <attribute name="draw:start-shape">
  6287. <ref name="IDREF"/>
  6288. </attribute>
  6289. </optional>
  6290. </define>
  6291. <define name="draw-connector-attlist" combine="interleave">
  6292. <optional>
  6293. <attribute name="draw:start-glue-point">
  6294. <ref name="nonNegativeInteger"/>
  6295. </attribute>
  6296. </optional>
  6297. </define>
  6298. <define name="draw-connector-attlist" combine="interleave">
  6299. <optional>
  6300. <attribute name="svg:x2">
  6301. <ref name="coordinate"/>
  6302. </attribute>
  6303. <attribute name="svg:y2">
  6304. <ref name="coordinate"/>
  6305. </attribute>
  6306. </optional>
  6307. </define>
  6308. <define name="draw-connector-attlist" combine="interleave">
  6309. <optional>
  6310. <attribute name="draw:end-shape">
  6311. <ref name="IDREF"/>
  6312. </attribute>
  6313. </optional>
  6314. </define>
  6315. <define name="draw-connector-attlist" combine="interleave">
  6316. <optional>
  6317. <attribute name="draw:end-glue-point">
  6318. <ref name="nonNegativeInteger"/>
  6319. </attribute>
  6320. </optional>
  6321. </define>
  6322. <define name="draw-connector-attlist" combine="interleave">
  6323. <optional>
  6324. <attribute name="draw:line-skew">
  6325. <list>
  6326. <ref name="length"/>
  6327. <optional>
  6328. <ref name="length"/>
  6329. <optional>
  6330. <ref name="length"/>
  6331. </optional>
  6332. </optional>
  6333. </list>
  6334. </attribute>
  6335. </optional>
  6336. </define>
  6337. <define name="draw-caption">
  6338. <element name="draw:caption">
  6339. <ref name="draw-caption-attlist"/>
  6340. <ref name="common-draw-position-attlist"/>
  6341. <ref name="common-draw-size-attlist"/>
  6342. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6343. <ref name="common-draw-caption-id-attlist"/>
  6344. <optional>
  6345. <ref name="svg-title"/>
  6346. </optional>
  6347. <optional>
  6348. <ref name="svg-desc"/>
  6349. </optional>
  6350. <optional>
  6351. <ref name="office-event-listeners"/>
  6352. </optional>
  6353. <zeroOrMore>
  6354. <ref name="draw-glue-point"/>
  6355. </zeroOrMore>
  6356. <ref name="draw-text"/>
  6357. </element>
  6358. </define>
  6359. <define name="draw-caption-attlist" combine="interleave">
  6360. <optional>
  6361. <attribute name="draw:caption-point-x">
  6362. <ref name="coordinate"/>
  6363. </attribute>
  6364. <attribute name="draw:caption-point-y">
  6365. <ref name="coordinate"/>
  6366. </attribute>
  6367. </optional>
  6368. </define>
  6369. <define name="draw-caption-attlist" combine="interleave">
  6370. <optional>
  6371. <attribute name="draw:corner-radius">
  6372. <ref name="nonNegativeLength"/>
  6373. </attribute>
  6374. </optional>
  6375. </define>
  6376. <define name="draw-measure">
  6377. <element name="draw:measure">
  6378. <ref name="draw-measure-attlist"/>
  6379. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6380. <ref name="common-draw-caption-id-attlist"/>
  6381. <optional>
  6382. <ref name="svg-title"/>
  6383. </optional>
  6384. <optional>
  6385. <ref name="svg-desc"/>
  6386. </optional>
  6387. <optional>
  6388. <ref name="office-event-listeners"/>
  6389. </optional>
  6390. <zeroOrMore>
  6391. <ref name="draw-glue-point"/>
  6392. </zeroOrMore>
  6393. <ref name="draw-text"/>
  6394. </element>
  6395. </define>
  6396. <define name="draw-measure-attlist" combine="interleave">
  6397. <attribute name="svg:x1">
  6398. <ref name="coordinate"/>
  6399. </attribute>
  6400. <attribute name="svg:y1">
  6401. <ref name="coordinate"/>
  6402. </attribute>
  6403. </define>
  6404. <define name="draw-measure-attlist" combine="interleave">
  6405. <attribute name="svg:x2">
  6406. <ref name="coordinate"/>
  6407. </attribute>
  6408. <attribute name="svg:y2">
  6409. <ref name="coordinate"/>
  6410. </attribute>
  6411. </define>
  6412. <define name="draw-control">
  6413. <element name="draw:control">
  6414. <ref name="draw-control-attlist"/>
  6415. <ref name="common-draw-position-attlist"/>
  6416. <ref name="common-draw-size-attlist"/>
  6417. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6418. <ref name="common-draw-caption-id-attlist"/>
  6419. <optional>
  6420. <ref name="svg-title"/>
  6421. </optional>
  6422. <optional>
  6423. <ref name="svg-desc"/>
  6424. </optional>
  6425. <zeroOrMore>
  6426. <ref name="draw-glue-point"/>
  6427. </zeroOrMore>
  6428. </element>
  6429. </define>
  6430. <define name="draw-control-attlist" combine="interleave">
  6431. <attribute name="draw:control">
  6432. <ref name="IDREF"/>
  6433. </attribute>
  6434. </define>
  6435. <define name="draw-page-thumbnail">
  6436. <element name="draw:page-thumbnail">
  6437. <ref name="draw-page-thumbnail-attlist"/>
  6438. <ref name="common-draw-position-attlist"/>
  6439. <ref name="common-draw-size-attlist"/>
  6440. <ref name="presentation-shape-attlist"/>
  6441. <ref name="common-draw-shape-with-styles-attlist"/>
  6442. <ref name="common-draw-caption-id-attlist"/>
  6443. <optional>
  6444. <ref name="svg-title"/>
  6445. </optional>
  6446. <optional>
  6447. <ref name="svg-desc"/>
  6448. </optional>
  6449. </element>
  6450. </define>
  6451. <define name="draw-page-thumbnail-attlist">
  6452. <optional>
  6453. <attribute name="draw:page-number">
  6454. <ref name="positiveInteger"/>
  6455. </attribute>
  6456. </optional>
  6457. </define>
  6458. <define name="draw-g">
  6459. <element name="draw:g">
  6460. <ref name="draw-g-attlist"/>
  6461. <ref name="common-draw-z-index-attlist"/>
  6462. <ref name="common-draw-name-attlist"/>
  6463. <ref name="common-draw-id-attlist"/>
  6464. <ref name="common-draw-style-name-attlist"/>
  6465. <ref name="common-text-spreadsheet-shape-attlist"/>
  6466. <ref name="common-draw-caption-id-attlist"/>
  6467. <optional>
  6468. <ref name="svg-title"/>
  6469. </optional>
  6470. <optional>
  6471. <ref name="svg-desc"/>
  6472. </optional>
  6473. <optional>
  6474. <ref name="office-event-listeners"/>
  6475. </optional>
  6476. <zeroOrMore>
  6477. <ref name="draw-glue-point"/>
  6478. </zeroOrMore>
  6479. <zeroOrMore>
  6480. <ref name="shape"/>
  6481. </zeroOrMore>
  6482. </element>
  6483. </define>
  6484. <define name="draw-g-attlist" combine="interleave">
  6485. <optional>
  6486. <attribute name="svg:y">
  6487. <ref name="coordinate"/>
  6488. </attribute>
  6489. </optional>
  6490. </define>
  6491. <define name="common-draw-name-attlist" combine="interleave">
  6492. <optional>
  6493. <attribute name="draw:name">
  6494. <ref name="string"/>
  6495. </attribute>
  6496. </optional>
  6497. </define>
  6498. <define name="common-draw-caption-id-attlist" combine="interleave">
  6499. <optional>
  6500. <attribute name="draw:caption-id">
  6501. <ref name="IDREF"/>
  6502. </attribute>
  6503. </optional>
  6504. </define>
  6505. <define name="common-draw-position-attlist">
  6506. <optional>
  6507. <attribute name="svg:x">
  6508. <ref name="coordinate"/>
  6509. </attribute>
  6510. </optional>
  6511. <optional>
  6512. <attribute name="svg:y">
  6513. <ref name="coordinate"/>
  6514. </attribute>
  6515. </optional>
  6516. </define>
  6517. <define name="common-draw-size-attlist">
  6518. <optional>
  6519. <attribute name="svg:width">
  6520. <ref name="length"/>
  6521. </attribute>
  6522. </optional>
  6523. <optional>
  6524. <attribute name="svg:height">
  6525. <ref name="length"/>
  6526. </attribute>
  6527. </optional>
  6528. </define>
  6529. <define name="common-draw-transform-attlist">
  6530. <optional>
  6531. <attribute name="draw:transform">
  6532. <ref name="string"/>
  6533. </attribute>
  6534. </optional>
  6535. </define>
  6536. <define name="common-draw-viewbox-attlist">
  6537. <attribute name="svg:viewBox">
  6538. <list>
  6539. <ref name="integer"/>
  6540. <ref name="integer"/>
  6541. <ref name="integer"/>
  6542. <ref name="integer"/>
  6543. </list>
  6544. </attribute>
  6545. </define>
  6546. <define name="common-draw-style-name-attlist">
  6547. <choice>
  6548. <group>
  6549. <optional>
  6550. <attribute name="draw:style-name">
  6551. <ref name="styleNameRef"/>
  6552. </attribute>
  6553. </optional>
  6554. <optional>
  6555. <attribute name="draw:class-names">
  6556. <ref name="styleNameRefs"/>
  6557. </attribute>
  6558. </optional>
  6559. </group>
  6560. <group>
  6561. <optional>
  6562. <attribute name="presentation:style-name">
  6563. <ref name="styleNameRef"/>
  6564. </attribute>
  6565. </optional>
  6566. <optional>
  6567. <attribute name="presentation:class-names">
  6568. <ref name="styleNameRefs"/>
  6569. </attribute>
  6570. </optional>
  6571. </group>
  6572. </choice>
  6573. </define>
  6574. <define name="common-draw-text-style-name-attlist">
  6575. <optional>
  6576. <attribute name="draw:text-style-name">
  6577. <ref name="styleNameRef"/>
  6578. </attribute>
  6579. </optional>
  6580. </define>
  6581. <define name="common-draw-layer-name-attlist">
  6582. <optional>
  6583. <attribute name="draw:layer">
  6584. <data type="string"/>
  6585. </attribute>
  6586. </optional>
  6587. </define>
  6588. <define name="common-draw-id-attlist">
  6589. <optional>
  6590. <attribute name="draw:id">
  6591. <ref name="ID"/>
  6592. </attribute>
  6593. </optional>
  6594. </define>
  6595. <define name="common-draw-z-index-attlist">
  6596. <optional>
  6597. <attribute name="draw:z-index">
  6598. <ref name="nonNegativeInteger"/>
  6599. </attribute>
  6600. </optional>
  6601. </define>
  6602. <define name="common-text-spreadsheet-shape-attlist" combine="interleave">
  6603. <optional>
  6604. <attribute name="table:end-cell-address">
  6605. <ref name="cellAddress"/>
  6606. </attribute>
  6607. </optional>
  6608. <optional>
  6609. <attribute name="table:end-x">
  6610. <ref name="coordinate"/>
  6611. </attribute>
  6612. </optional>
  6613. <optional>
  6614. <attribute name="table:end-y">
  6615. <ref name="coordinate"/>
  6616. </attribute>
  6617. </optional>
  6618. </define>
  6619. <define name="common-text-spreadsheet-shape-attlist" combine="interleave">
  6620. <optional>
  6621. <attribute name="table:table-background">
  6622. <ref name="boolean"/>
  6623. </attribute>
  6624. </optional>
  6625. </define>
  6626. <define name="common-text-spreadsheet-shape-attlist" combine="interleave">
  6627. <ref name="common-text-anchor-attlist"/>
  6628. </define>
  6629. <define name="common-text-anchor-attlist" combine="interleave">
  6630. <optional>
  6631. <attribute name="text:anchor-type">
  6632. <choice>
  6633. <value>page</value>
  6634. <value>frame</value>
  6635. <value>paragraph</value>
  6636. <value>char</value>
  6637. <value>as-char</value>
  6638. </choice>
  6639. </attribute>
  6640. </optional>
  6641. </define>
  6642. <define name="common-text-anchor-attlist" combine="interleave">
  6643. <optional>
  6644. <attribute name="text:anchor-page-number">
  6645. <ref name="positiveInteger"/>
  6646. </attribute>
  6647. </optional>
  6648. </define>
  6649. <define name="draw-text">
  6650. <zeroOrMore>
  6651. <choice>
  6652. <ref name="text-p"/>
  6653. <ref name="text-list"/>
  6654. </choice>
  6655. </zeroOrMore>
  6656. </define>
  6657. <define name="common-draw-shape-with-styles-attlist">
  6658. <ref name="common-draw-z-index-attlist"/>
  6659. <ref name="common-draw-id-attlist"/>
  6660. <ref name="common-draw-layer-name-attlist"/>
  6661. <ref name="common-draw-style-name-attlist"/>
  6662. <ref name="common-draw-transform-attlist"/>
  6663. <ref name="common-draw-name-attlist"/>
  6664. <ref name="common-text-spreadsheet-shape-attlist"/>
  6665. </define>
  6666. <define name="common-draw-shape-with-text-and-styles-attlist">
  6667. <ref name="common-draw-shape-with-styles-attlist"/>
  6668. <ref name="common-draw-text-style-name-attlist"/>
  6669. </define>
  6670. <define name="draw-glue-point">
  6671. <element name="draw:glue-point">
  6672. <ref name="draw-glue-point-attlist"/>
  6673. <empty/>
  6674. </element>
  6675. </define>
  6676. <define name="draw-glue-point-attlist" combine="interleave">
  6677. <attribute name="draw:id">
  6678. <ref name="nonNegativeInteger"/>
  6679. </attribute>
  6680. </define>
  6681. <define name="draw-glue-point-attlist" combine="interleave">
  6682. <attribute name="svg:x">
  6683. <choice>
  6684. <ref name="distance"/>
  6685. <ref name="percent"/>
  6686. </choice>
  6687. </attribute>
  6688. <attribute name="svg:y">
  6689. <choice>
  6690. <ref name="distance"/>
  6691. <ref name="percent"/>
  6692. </choice>
  6693. </attribute>
  6694. </define>
  6695. <define name="draw-glue-point-attlist" combine="interleave">
  6696. <optional>
  6697. <attribute name="draw:align">
  6698. <choice>
  6699. <value>top-left</value>
  6700. <value>top</value>
  6701. <value>top-right</value>
  6702. <value>left</value>
  6703. <value>center</value>
  6704. <value>right</value>
  6705. <value>bottom-left</value>
  6706. <value>bottom-right</value>
  6707. </choice>
  6708. </attribute>
  6709. </optional>
  6710. </define>
  6711. <define name="draw-glue-points-attlist" combine="interleave">
  6712. <attribute name="draw:escape-direction">
  6713. <choice>
  6714. <value>auto</value>
  6715. <value>left</value>
  6716. <value>right</value>
  6717. <value>up</value>
  6718. <value>down</value>
  6719. <value>horizontal</value>
  6720. <value>vertical</value>
  6721. </choice>
  6722. </attribute>
  6723. </define>
  6724. <define name="svg-title">
  6725. <element name="svg:title">
  6726. <text/>
  6727. </element>
  6728. </define>
  6729. <define name="svg-desc">
  6730. <element name="svg:desc">
  6731. <text/>
  6732. </element>
  6733. </define>
  6734. <define name="draw-frame">
  6735. <element name="draw:frame">
  6736. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6737. <ref name="common-draw-position-attlist"/>
  6738. <ref name="common-draw-rel-size-attlist"/>
  6739. <ref name="common-draw-caption-id-attlist"/>
  6740. <ref name="presentation-shape-attlist"/>
  6741. <ref name="draw-frame-attlist"/>
  6742. <zeroOrMore>
  6743. <choice>
  6744. <ref name="draw-text-box"/>
  6745. <ref name="draw-image"/>
  6746. <ref name="draw-object"/>
  6747. <ref name="draw-object-ole"/>
  6748. <ref name="draw-applet"/>
  6749. <ref name="draw-floating-frame"/>
  6750. <ref name="draw-plugin"/>
  6751. </choice>
  6752. </zeroOrMore>
  6753. <optional>
  6754. <ref name="office-event-listeners"/>
  6755. </optional>
  6756. <zeroOrMore>
  6757. <ref name="draw-glue-point"/>
  6758. </zeroOrMore>
  6759. <optional>
  6760. <ref name="draw-image-map"/>
  6761. </optional>
  6762. <optional>
  6763. <ref name="svg-title"/>
  6764. </optional>
  6765. <optional>
  6766. <ref name="svg-desc"/>
  6767. </optional>
  6768. <optional>
  6769. <choice>
  6770. <ref name="draw-contour-polygon"/>
  6771. <ref name="draw-contour-path"/>
  6772. </choice>
  6773. </optional>
  6774. </element>
  6775. </define>
  6776. <define name="common-draw-rel-size-attlist">
  6777. <ref name="common-draw-size-attlist"/>
  6778. <optional>
  6779. <attribute name="style:rel-width">
  6780. <choice>
  6781. <ref name="percent"/>
  6782. <value>scale</value>
  6783. <value>scale-min</value>
  6784. </choice>
  6785. </attribute>
  6786. </optional>
  6787. <optional>
  6788. <attribute name="style:rel-height">
  6789. <choice>
  6790. <ref name="percent"/>
  6791. <value>scale</value>
  6792. <value>scale-min</value>
  6793. </choice>
  6794. </attribute>
  6795. </optional>
  6796. </define>
  6797. <define name="draw-frame-attlist" combine="interleave">
  6798. <optional>
  6799. <attribute name="draw:copy-of">
  6800. <ref name="string"/>
  6801. </attribute>
  6802. </optional>
  6803. </define>
  6804. <define name="draw-text-box">
  6805. <element name="draw:text-box">
  6806. <ref name="draw-text-box-attlist"/>
  6807. <zeroOrMore>
  6808. <ref name="text-content"/>
  6809. </zeroOrMore>
  6810. </element>
  6811. </define>
  6812. <define name="draw-text-box-attlist" combine="interleave">
  6813. <optional>
  6814. <attribute name="draw:chain-next-name">
  6815. <ref name="string"/>
  6816. </attribute>
  6817. </optional>
  6818. </define>
  6819. <define name="draw-text-box-attlist" combine="interleave">
  6820. <optional>
  6821. <attribute name="draw:corner-radius">
  6822. <ref name="nonNegativeLength"/>
  6823. </attribute>
  6824. </optional>
  6825. </define>
  6826. <define name="draw-text-box-attlist" combine="interleave">
  6827. <optional>
  6828. <attribute name="fo:min-height">
  6829. <choice>
  6830. <ref name="length"/>
  6831. <ref name="percent"/>
  6832. </choice>
  6833. </attribute>
  6834. </optional>
  6835. <optional>
  6836. <attribute name="fo:min-width">
  6837. <choice>
  6838. <ref name="length"/>
  6839. <ref name="percent"/>
  6840. </choice>
  6841. </attribute>
  6842. </optional>
  6843. </define>
  6844. <define name="draw-text-box-attlist" combine="interleave">
  6845. <optional>
  6846. <attribute name="fo:max-height">
  6847. <choice>
  6848. <ref name="length"/>
  6849. <ref name="percent"/>
  6850. </choice>
  6851. </attribute>
  6852. </optional>
  6853. <optional>
  6854. <attribute name="fo:max-width">
  6855. <choice>
  6856. <ref name="length"/>
  6857. <ref name="percent"/>
  6858. </choice>
  6859. </attribute>
  6860. </optional>
  6861. </define>
  6862. <define name="draw-text-box-attlist" combine="interleave">
  6863. <optional>
  6864. <ref name="text-id"/>
  6865. </optional>
  6866. </define>
  6867. <define name="draw-image">
  6868. <element name="draw:image">
  6869. <ref name="draw-image-attlist"/>
  6870. <choice>
  6871. <ref name="common-draw-data-attlist"/>
  6872. <ref name="office-binary-data"/>
  6873. </choice>
  6874. <ref name="draw-text"/>
  6875. </element>
  6876. </define>
  6877. <define name="common-draw-data-attlist" combine="interleave">
  6878. <group>
  6879. <attribute name="xlink:href">
  6880. <ref name="anyURI"/>
  6881. </attribute>
  6882. <optional>
  6883. <attribute name="xlink:type" a:defaultValue="simple">
  6884. <choice>
  6885. <value>simple</value>
  6886. </choice>
  6887. </attribute>
  6888. </optional>
  6889. <optional>
  6890. <attribute name="xlink:show" a:defaultValue="embed">
  6891. <choice>
  6892. <value>embed</value>
  6893. </choice>
  6894. </attribute>
  6895. </optional>
  6896. <optional>
  6897. <attribute name="xlink:actuate" a:defaultValue="onLoad">
  6898. <choice>
  6899. <value>onLoad</value>
  6900. </choice>
  6901. </attribute>
  6902. </optional>
  6903. </group>
  6904. </define>
  6905. <define name="office-binary-data">
  6906. <element name="office:binary-data">
  6907. <ref name="base64Binary"/>
  6908. </element>
  6909. </define>
  6910. <define name="draw-image-attlist" combine="interleave">
  6911. <optional>
  6912. <attribute name="draw:filter-name">
  6913. <ref name="string"/>
  6914. </attribute>
  6915. </optional>
  6916. </define>
  6917. <define name="draw-object">
  6918. <element name="draw:object">
  6919. <ref name="draw-object-attlist"/>
  6920. <choice>
  6921. <ref name="common-draw-data-attlist"/>
  6922. <ref name="office-document"/>
  6923. <ref name="math-math"/>
  6924. </choice>
  6925. </element>
  6926. </define>
  6927. <define name="draw-object-ole">
  6928. <element name="draw:object-ole">
  6929. <ref name="draw-object-ole-attlist"/>
  6930. <choice>
  6931. <ref name="common-draw-data-attlist"/>
  6932. <ref name="office-binary-data"/>
  6933. </choice>
  6934. </element>
  6935. </define>
  6936. <define name="draw-object-attlist" combine="interleave">
  6937. <optional>
  6938. <attribute name="draw:notify-on-update-of-ranges">
  6939. <ref name="string"/>
  6940. </attribute>
  6941. </optional>
  6942. </define>
  6943. <define name="draw-object-ole-attlist" combine="interleave">
  6944. <optional>
  6945. <attribute name="draw:class-id"/>
  6946. </optional>
  6947. </define>
  6948. <define name="draw-applet">
  6949. <element name="draw:applet">
  6950. <ref name="draw-applet-attlist"/>
  6951. <optional>
  6952. <ref name="common-draw-data-attlist"/>
  6953. </optional>
  6954. <zeroOrMore>
  6955. <ref name="draw-param"/>
  6956. </zeroOrMore>
  6957. </element>
  6958. </define>
  6959. <define name="draw-applet-attlist" combine="interleave">
  6960. <optional>
  6961. <attribute name="draw:code"/>
  6962. </optional>
  6963. </define>
  6964. <define name="draw-applet-attlist" combine="interleave">
  6965. <optional>
  6966. <attribute name="draw:object"/>
  6967. </optional>
  6968. </define>
  6969. <define name="draw-applet-attlist" combine="interleave">
  6970. <optional>
  6971. <attribute name="draw:archive"/>
  6972. </optional>
  6973. </define>
  6974. <define name="draw-applet-attlist" combine="interleave">
  6975. <optional>
  6976. <attribute name="draw:may-script" a:defaultValue="false">
  6977. <ref name="boolean"/>
  6978. </attribute>
  6979. </optional>
  6980. </define>
  6981. <define name="draw-plugin">
  6982. <element name="draw:plugin">
  6983. <ref name="draw-plugin-attlist"/>
  6984. <ref name="common-draw-data-attlist"/>
  6985. <zeroOrMore>
  6986. <ref name="draw-param"/>
  6987. </zeroOrMore>
  6988. </element>
  6989. </define>
  6990. <define name="draw-plugin-attlist" combine="interleave">
  6991. <optional>
  6992. <attribute name="draw:mime-type"/>
  6993. </optional>
  6994. </define>
  6995. <define name="draw-param">
  6996. <element name="draw:param">
  6997. <ref name="draw-param-attlist"/>
  6998. <empty/>
  6999. </element>
  7000. </define>
  7001. <define name="draw-param-attlist" combine="interleave">
  7002. <optional>
  7003. <attribute name="draw:name"/>
  7004. </optional>
  7005. </define>
  7006. <define name="draw-param-attlist" combine="interleave">
  7007. <optional>
  7008. <attribute name="draw:value"/>
  7009. </optional>
  7010. </define>
  7011. <define name="draw-floating-frame">
  7012. <element name="draw:floating-frame">
  7013. <ref name="draw-floating-frame-attlist"/>
  7014. <ref name="common-draw-data-attlist"/>
  7015. </element>
  7016. </define>
  7017. <define name="draw-floating-frame-attlist" combine="interleave">
  7018. <optional>
  7019. <attribute name="draw:frame-name">
  7020. <ref name="string"/>
  7021. </attribute>
  7022. </optional>
  7023. </define>
  7024. <define name="draw-contour-polygon">
  7025. <element name="draw:contour-polygon">
  7026. <ref name="common-contour-attlist"/>
  7027. <ref name="common-draw-size-attlist"/>
  7028. <ref name="common-draw-viewbox-attlist"/>
  7029. <ref name="common-draw-points-attlist"/>
  7030. <empty/>
  7031. </element>
  7032. </define>
  7033. <define name="draw-contour-path">
  7034. <element name="draw:contour-path">
  7035. <ref name="common-contour-attlist"/>
  7036. <ref name="common-draw-size-attlist"/>
  7037. <ref name="common-draw-viewbox-attlist"/>
  7038. <ref name="common-draw-path-data-attlist"/>
  7039. <empty/>
  7040. </element>
  7041. </define>
  7042. <define name="common-contour-attlist" combine="interleave">
  7043. <attribute name="draw:recreate-on-edit">
  7044. <ref name="boolean"/>
  7045. </attribute>
  7046. </define>
  7047. <define name="draw-a">
  7048. <element name="draw:a">
  7049. <ref name="draw-a-attlist"/>
  7050. <ref name="draw-frame"/>
  7051. </element>
  7052. </define>
  7053. <define name="draw-a-attlist" combine="interleave">
  7054. <attribute name="xlink:href">
  7055. <ref name="anyURI"/>
  7056. </attribute>
  7057. <optional>
  7058. <attribute name="xlink:type" a:defaultValue="simple">
  7059. <value>simple</value>
  7060. </attribute>
  7061. </optional>
  7062. <optional>
  7063. <attribute name="xlink:actuate" a:defaultValue="onRequest">
  7064. <choice>
  7065. <value>onRequest</value>
  7066. </choice>
  7067. </attribute>
  7068. </optional>
  7069. </define>
  7070. <define name="draw-a-attlist" combine="interleave">
  7071. <optional>
  7072. <attribute name="office:target-frame-name">
  7073. <ref name="targetFrameName"/>
  7074. </attribute>
  7075. </optional>
  7076. <optional>
  7077. <attribute name="xlink:show">
  7078. <choice>
  7079. <value>new</value>
  7080. <value>replace</value>
  7081. </choice>
  7082. </attribute>
  7083. </optional>
  7084. </define>
  7085. <define name="draw-a-attlist" combine="interleave">
  7086. <optional>
  7087. <attribute name="office:name">
  7088. <ref name="string"/>
  7089. </attribute>
  7090. </optional>
  7091. </define>
  7092. <define name="draw-a-attlist" combine="interleave">
  7093. <optional>
  7094. <attribute name="office:title">
  7095. <ref name="string"/>
  7096. </attribute>
  7097. </optional>
  7098. </define>
  7099. <define name="draw-a-attlist" combine="interleave">
  7100. <optional>
  7101. <attribute name="office:server-map" a:defaultValue="false">
  7102. <ref name="boolean"/>
  7103. </attribute>
  7104. </optional>
  7105. </define>
  7106. <define name="draw-image-map">
  7107. <element name="draw:image-map">
  7108. <zeroOrMore>
  7109. <choice>
  7110. <ref name="draw-area-rectangle"/>
  7111. <ref name="draw-area-circle"/>
  7112. <ref name="draw-area-polygon"/>
  7113. </choice>
  7114. </zeroOrMore>
  7115. </element>
  7116. </define>
  7117. <define name="draw-area-rectangle">
  7118. <element name="draw:area-rectangle">
  7119. <ref name="common-draw-area-attlist"/>
  7120. <attribute name="svg:x">
  7121. <ref name="coordinate"/>
  7122. </attribute>
  7123. <attribute name="svg:y">
  7124. <ref name="coordinate"/>
  7125. </attribute>
  7126. <attribute name="svg:width">
  7127. <ref name="length"/>
  7128. </attribute>
  7129. <attribute name="svg:height">
  7130. <ref name="length"/>
  7131. </attribute>
  7132. <optional>
  7133. <ref name="svg-title"/>
  7134. </optional>
  7135. <optional>
  7136. <ref name="svg-desc"/>
  7137. </optional>
  7138. <optional>
  7139. <ref name="office-event-listeners"/>
  7140. </optional>
  7141. </element>
  7142. </define>
  7143. <define name="draw-area-circle">
  7144. <element name="draw:area-circle">
  7145. <ref name="common-draw-area-attlist"/>
  7146. <attribute name="svg:cx">
  7147. <ref name="coordinate"/>
  7148. </attribute>
  7149. <attribute name="svg:cy">
  7150. <ref name="coordinate"/>
  7151. </attribute>
  7152. <attribute name="svg:r">
  7153. <ref name="length"/>
  7154. </attribute>
  7155. <optional>
  7156. <ref name="svg-title"/>
  7157. </optional>
  7158. <optional>
  7159. <ref name="svg-desc"/>
  7160. </optional>
  7161. <optional>
  7162. <ref name="office-event-listeners"/>
  7163. </optional>
  7164. </element>
  7165. </define>
  7166. <define name="draw-area-polygon">
  7167. <element name="draw:area-polygon">
  7168. <ref name="common-draw-area-attlist"/>
  7169. <attribute name="svg:x">
  7170. <ref name="coordinate"/>
  7171. </attribute>
  7172. <attribute name="svg:y">
  7173. <ref name="coordinate"/>
  7174. </attribute>
  7175. <attribute name="svg:width">
  7176. <ref name="length"/>
  7177. </attribute>
  7178. <attribute name="svg:height">
  7179. <ref name="length"/>
  7180. </attribute>
  7181. <ref name="common-draw-viewbox-attlist"/>
  7182. <ref name="common-draw-points-attlist"/>
  7183. <optional>
  7184. <ref name="svg-title"/>
  7185. </optional>
  7186. <optional>
  7187. <ref name="svg-desc"/>
  7188. </optional>
  7189. <optional>
  7190. <ref name="office-event-listeners"/>
  7191. </optional>
  7192. </element>
  7193. </define>
  7194. <define name="common-draw-area-attlist" combine="interleave">
  7195. <optional>
  7196. <attribute name="xlink:href">
  7197. <ref name="anyURI"/>
  7198. </attribute>
  7199. </optional>
  7200. <optional>
  7201. <attribute name="xlink:type" a:defaultValue="simple">
  7202. <choice>
  7203. <value>simple</value>
  7204. </choice>
  7205. </attribute>
  7206. </optional>
  7207. <optional>
  7208. <attribute name="office:target-frame-name">
  7209. <ref name="targetFrameName"/>
  7210. </attribute>
  7211. </optional>
  7212. <optional>
  7213. <attribute name="xlink:show">
  7214. <choice>
  7215. <value>new</value>
  7216. <value>replace</value>
  7217. </choice>
  7218. </attribute>
  7219. </optional>
  7220. </define>
  7221. <define name="common-draw-area-attlist" combine="interleave">
  7222. <optional>
  7223. <attribute name="office:name">
  7224. <ref name="string"/>
  7225. </attribute>
  7226. </optional>
  7227. </define>
  7228. <define name="common-draw-area-attlist" combine="interleave">
  7229. <optional>
  7230. <attribute name="draw:nohref">
  7231. <choice>
  7232. <value>nohref</value>
  7233. </choice>
  7234. </attribute>
  7235. </optional>
  7236. </define>
  7237. <define name="dr3d-scene">
  7238. <element name="dr3d:scene">
  7239. <ref name="dr3d-scene-attlist"/>
  7240. <ref name="common-draw-position-attlist"/>
  7241. <ref name="common-draw-size-attlist"/>
  7242. <ref name="common-draw-style-name-attlist"/>
  7243. <ref name="common-draw-z-index-attlist"/>
  7244. <ref name="common-draw-id-attlist"/>
  7245. <ref name="common-draw-layer-name-attlist"/>
  7246. <ref name="common-text-spreadsheet-shape-attlist"/>
  7247. <ref name="common-dr3d-transform-attlist"/>
  7248. <ref name="common-draw-caption-id-attlist"/>
  7249. <optional>
  7250. <ref name="svg-title"/>
  7251. </optional>
  7252. <optional>
  7253. <ref name="svg-desc"/>
  7254. </optional>
  7255. <zeroOrMore>
  7256. <ref name="dr3d-light"/>
  7257. </zeroOrMore>
  7258. <zeroOrMore>
  7259. <ref name="shapes3d"/>
  7260. </zeroOrMore>
  7261. </element>
  7262. </define>
  7263. <define name="shapes3d">
  7264. <choice>
  7265. <ref name="dr3d-scene"/>
  7266. <ref name="dr3d-extrude"/>
  7267. <ref name="dr3d-sphere"/>
  7268. <ref name="dr3d-rotate"/>
  7269. <ref name="dr3d-cube"/>
  7270. </choice>
  7271. </define>
  7272. <define name="dr3d-scene-attlist" combine="interleave">
  7273. <optional>
  7274. <attribute name="dr3d:vrp">
  7275. <ref name="vector3D"/>
  7276. </attribute>
  7277. </optional>
  7278. <optional>
  7279. <attribute name="dr3d:vpn">
  7280. <ref name="vector3D"/>
  7281. </attribute>
  7282. </optional>
  7283. <optional>
  7284. <attribute name="dr3d:vup">
  7285. <ref name="vector3D"/>
  7286. </attribute>
  7287. </optional>
  7288. </define>
  7289. <define name="dr3d-scene-attlist" combine="interleave">
  7290. <optional>
  7291. <attribute name="dr3d:projection">
  7292. <choice>
  7293. <value>parallel</value>
  7294. <value>perspective</value>
  7295. </choice>
  7296. </attribute>
  7297. </optional>
  7298. </define>
  7299. <define name="dr3d-scene-attlist" combine="interleave">
  7300. <optional>
  7301. <attribute name="dr3d:distance">
  7302. <ref name="length"/>
  7303. </attribute>
  7304. </optional>
  7305. </define>
  7306. <define name="dr3d-scene-attlist" combine="interleave">
  7307. <optional>
  7308. <attribute name="dr3d:focal-length">
  7309. <ref name="length"/>
  7310. </attribute>
  7311. </optional>
  7312. </define>
  7313. <define name="dr3d-scene-attlist" combine="interleave">
  7314. <optional>
  7315. <attribute name="dr3d:shadow-slant">
  7316. <ref name="nonNegativeInteger"/>
  7317. </attribute>
  7318. </optional>
  7319. </define>
  7320. <define name="dr3d-scene-attlist" combine="interleave">
  7321. <optional>
  7322. <attribute name="dr3d:shade-mode">
  7323. <choice>
  7324. <value>flat</value>
  7325. <value>phong</value>
  7326. <value>gouraud</value>
  7327. <value>draft</value>
  7328. </choice>
  7329. </attribute>
  7330. </optional>
  7331. </define>
  7332. <define name="dr3d-scene-attlist" combine="interleave">
  7333. <optional>
  7334. <attribute name="dr3d:ambient-color">
  7335. <ref name="color"/>
  7336. </attribute>
  7337. </optional>
  7338. </define>
  7339. <define name="dr3d-scene-attlist" combine="interleave">
  7340. <optional>
  7341. <attribute name="dr3d:lighting-mode">
  7342. <ref name="boolean"/>
  7343. </attribute>
  7344. </optional>
  7345. </define>
  7346. <define name="common-dr3d-transform-attlist">
  7347. <optional>
  7348. <attribute name="dr3d:transform"/>
  7349. </optional>
  7350. </define>
  7351. <define name="dr3d-light">
  7352. <element name="dr3d:light">
  7353. <ref name="dr3d-light-attlist"/>
  7354. <empty/>
  7355. </element>
  7356. </define>
  7357. <define name="dr3d-light-attlist" combine="interleave">
  7358. <optional>
  7359. <attribute name="dr3d:diffuse-color">
  7360. <ref name="color"/>
  7361. </attribute>
  7362. </optional>
  7363. </define>
  7364. <define name="dr3d-light-attlist" combine="interleave">
  7365. <attribute name="dr3d:direction">
  7366. <ref name="vector3D"/>
  7367. </attribute>
  7368. </define>
  7369. <define name="dr3d-light-attlist" combine="interleave">
  7370. <optional>
  7371. <attribute name="dr3d:enabled">
  7372. <ref name="boolean"/>
  7373. </attribute>
  7374. </optional>
  7375. </define>
  7376. <define name="dr3d-light-attlist" combine="interleave">
  7377. <optional>
  7378. <attribute name="dr3d:specular">
  7379. <ref name="boolean"/>
  7380. </attribute>
  7381. </optional>
  7382. </define>
  7383. <define name="dr3d-cube">
  7384. <element name="dr3d:cube">
  7385. <ref name="dr3d-cube-attlist"/>
  7386. <ref name="common-draw-z-index-attlist"/>
  7387. <ref name="common-draw-id-attlist"/>
  7388. <ref name="common-draw-layer-name-attlist"/>
  7389. <ref name="common-draw-style-name-attlist"/>
  7390. <ref name="common-dr3d-transform-attlist"/>
  7391. <empty/>
  7392. </element>
  7393. </define>
  7394. <define name="dr3d-cube-attlist" combine="interleave">
  7395. <optional>
  7396. <attribute name="dr3d:min-edge">
  7397. <ref name="vector3D"/>
  7398. </attribute>
  7399. </optional>
  7400. <optional>
  7401. <attribute name="dr3d:max-edge">
  7402. <ref name="vector3D"/>
  7403. </attribute>
  7404. </optional>
  7405. </define>
  7406. <define name="dr3d-sphere">
  7407. <element name="dr3d:sphere">
  7408. <ref name="dr3d-sphere-attlist"/>
  7409. <ref name="common-draw-z-index-attlist"/>
  7410. <ref name="common-draw-id-attlist"/>
  7411. <ref name="common-draw-layer-name-attlist"/>
  7412. <ref name="common-draw-style-name-attlist"/>
  7413. <ref name="common-dr3d-transform-attlist"/>
  7414. <empty/>
  7415. </element>
  7416. </define>
  7417. <define name="dr3d-sphere-attlist" combine="interleave">
  7418. <optional>
  7419. <attribute name="dr3d:center">
  7420. <ref name="vector3D"/>
  7421. </attribute>
  7422. </optional>
  7423. </define>
  7424. <define name="dr3d-sphere-attlist" combine="interleave">
  7425. <optional>
  7426. <attribute name="dr3d:size">
  7427. <ref name="vector3D"/>
  7428. </attribute>
  7429. </optional>
  7430. </define>
  7431. <define name="dr3d-extrude">
  7432. <element name="dr3d:extrude">
  7433. <ref name="common-draw-path-data-attlist"/>
  7434. <ref name="common-draw-viewbox-attlist"/>
  7435. <ref name="common-draw-id-attlist"/>
  7436. <ref name="common-draw-z-index-attlist"/>
  7437. <ref name="common-draw-layer-name-attlist"/>
  7438. <ref name="common-draw-style-name-attlist"/>
  7439. <ref name="common-dr3d-transform-attlist"/>
  7440. <empty/>
  7441. </element>
  7442. </define>
  7443. <define name="dr3d-rotate">
  7444. <element name="dr3d:rotate">
  7445. <ref name="common-draw-viewbox-attlist"/>
  7446. <ref name="common-draw-path-data-attlist"/>
  7447. <ref name="common-draw-z-index-attlist"/>
  7448. <ref name="common-draw-id-attlist"/>
  7449. <ref name="common-draw-layer-name-attlist"/>
  7450. <ref name="common-draw-style-name-attlist"/>
  7451. <ref name="common-dr3d-transform-attlist"/>
  7452. <empty/>
  7453. </element>
  7454. </define>
  7455. <define name="draw-custom-shape">
  7456. <element name="draw:custom-shape">
  7457. <ref name="draw-custom-shape-attlist"/>
  7458. <ref name="common-draw-position-attlist"/>
  7459. <ref name="common-draw-size-attlist"/>
  7460. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  7461. <ref name="common-draw-caption-id-attlist"/>
  7462. <optional>
  7463. <ref name="svg-title"/>
  7464. </optional>
  7465. <optional>
  7466. <ref name="svg-desc"/>
  7467. </optional>
  7468. <optional>
  7469. <ref name="office-event-listeners"/>
  7470. </optional>
  7471. <zeroOrMore>
  7472. <ref name="draw-glue-point"/>
  7473. </zeroOrMore>
  7474. <ref name="draw-text"/>
  7475. <optional>
  7476. <ref name="draw-enhanced-geometry"/>
  7477. </optional>
  7478. </element>
  7479. </define>
  7480. <define name="draw-custom-shape-attlist" combine="interleave">
  7481. <optional>
  7482. <attribute name="draw:engine">
  7483. <ref name="namespacedToken"/>
  7484. </attribute>
  7485. </optional>
  7486. </define>
  7487. <define name="draw-custom-shape-attlist" combine="interleave">
  7488. <optional>
  7489. <attribute name="draw:data">
  7490. <ref name="string"/>
  7491. </attribute>
  7492. </optional>
  7493. </define>
  7494. <define name="draw-enhanced-geometry">
  7495. <element name="draw:enhanced-geometry">
  7496. <ref name="draw-enhanced-geometry-attlist"/>
  7497. <zeroOrMore>
  7498. <ref name="draw-equation"/>
  7499. </zeroOrMore>
  7500. <zeroOrMore>
  7501. <ref name="draw-handle"/>
  7502. </zeroOrMore>
  7503. </element>
  7504. </define>
  7505. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7506. <optional>
  7507. <attribute name="draw:type" a:defaultValue="non-primitive">
  7508. <ref name="custom-shape-type"/>
  7509. </attribute>
  7510. </optional>
  7511. </define>
  7512. <define name="custom-shape-type">
  7513. <choice>
  7514. <value>non-primitive</value>
  7515. <ref name="string"/>
  7516. </choice>
  7517. </define>
  7518. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7519. <optional>
  7520. <attribute name="svg:viewBox">
  7521. <list>
  7522. <ref name="integer"/>
  7523. <ref name="integer"/>
  7524. <ref name="integer"/>
  7525. <ref name="integer"/>
  7526. </list>
  7527. </attribute>
  7528. </optional>
  7529. </define>
  7530. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7531. <optional>
  7532. <attribute name="draw:mirror-vertical" a:defaultValue="false">
  7533. <ref name="boolean"/>
  7534. </attribute>
  7535. </optional>
  7536. <optional>
  7537. <attribute name="draw:mirror-horizontal" a:defaultValue="false">
  7538. <ref name="boolean"/>
  7539. </attribute>
  7540. </optional>
  7541. </define>
  7542. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7543. <optional>
  7544. <attribute name="draw:text-rotate-angle" a:defaultValue="0">
  7545. <ref name="double"/>
  7546. </attribute>
  7547. </optional>
  7548. </define>
  7549. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7550. <optional>
  7551. <attribute name="draw:extrusion-allowed" a:defaultValue="false">
  7552. <ref name="boolean"/>
  7553. </attribute>
  7554. </optional>
  7555. </define>
  7556. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7557. <optional>
  7558. <attribute name="draw:text-path-allowed" a:defaultValue="false">
  7559. <ref name="boolean"/>
  7560. </attribute>
  7561. </optional>
  7562. </define>
  7563. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7564. <optional>
  7565. <attribute name="draw:concentric-gradient-fill-allowed"
  7566. a:defaultValue="false">
  7567. <ref name="boolean"/>
  7568. </attribute>
  7569. </optional>
  7570. </define>
  7571. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7572. <optional>
  7573. <attribute name="draw:extrusion" a:defaultValue="false">
  7574. <ref name="boolean"/>
  7575. </attribute>
  7576. </optional>
  7577. </define>
  7578. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7579. <optional>
  7580. <attribute name="draw:extrusion-brightness" a:defaultValue="33%">
  7581. <ref name="percent"/>
  7582. </attribute>
  7583. </optional>
  7584. </define>
  7585. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7586. <optional>
  7587. <attribute name="draw:extrusion-depth" a:defaultValue="36pt 0">
  7588. <list>
  7589. <ref name="length"/>
  7590. <ref name="double"/>
  7591. </list>
  7592. </attribute>
  7593. </optional>
  7594. </define>
  7595. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7596. <optional>
  7597. <attribute name="draw:extrusion-diffusion" a:defaultValue="0%">
  7598. <ref name="percent"/>
  7599. </attribute>
  7600. </optional>
  7601. </define>
  7602. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7603. <optional>
  7604. <attribute name="draw:extrusion-number-of-line-segments"
  7605. a:defaultValue="30">
  7606. <ref name="integer"/>
  7607. </attribute>
  7608. </optional>
  7609. </define>
  7610. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7611. <optional>
  7612. <attribute name="draw:extrusion-light-face" a:defaultValue="true">
  7613. <ref name="boolean"/>
  7614. </attribute>
  7615. </optional>
  7616. </define>
  7617. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7618. <optional>
  7619. <attribute name="draw:extrusion-first-light-harsh"
  7620. a:defaultValue="true">
  7621. <ref name="boolean"/>
  7622. </attribute>
  7623. </optional>
  7624. </define>
  7625. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7626. <optional>
  7627. <attribute name="draw:extrusion-second-light-harsh"
  7628. a:defaultValue="true">
  7629. <ref name="boolean"/>
  7630. </attribute>
  7631. </optional>
  7632. </define>
  7633. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7634. <optional>
  7635. <attribute name="draw:extrusion-first-light-level"
  7636. a:defaultValue="66%">
  7637. <ref name="percent"/>
  7638. </attribute>
  7639. </optional>
  7640. </define>
  7641. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7642. <optional>
  7643. <attribute name="draw:extrusion-second-light-level"
  7644. a:defaultValue="66%">
  7645. <ref name="percent"/>
  7646. </attribute>
  7647. </optional>
  7648. </define>
  7649. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7650. <optional>
  7651. <attribute name="draw:extrusion-first-light-direction"
  7652. a:defaultValue="(5 0 1)">
  7653. <ref name="vector3D"/>
  7654. </attribute>
  7655. </optional>
  7656. </define>
  7657. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7658. <optional>
  7659. <attribute name="draw:extrusion-second-light-direction"
  7660. a:defaultValue="(-5 0 1)">
  7661. <ref name="vector3D"/>
  7662. </attribute>
  7663. </optional>
  7664. </define>
  7665. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7666. <optional>
  7667. <attribute name="draw:extrusion-metal" a:defaultValue="false">
  7668. <ref name="boolean"/>
  7669. </attribute>
  7670. </optional>
  7671. </define>
  7672. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7673. <optional>
  7674. <attribute name="dr3d:shade-mode" a:defaultValue="flat">
  7675. <choice>
  7676. <value>flat</value>
  7677. <value>phong</value>
  7678. <value>gouraud</value>
  7679. <value>draft</value>
  7680. </choice>
  7681. </attribute>
  7682. </optional>
  7683. </define>
  7684. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7685. <optional>
  7686. <attribute name="draw:extrusion-rotation-angle" a:defaultValue="0 0">
  7687. <list>
  7688. <ref name="double"/>
  7689. <ref name="double"/>
  7690. </list>
  7691. </attribute>
  7692. </optional>
  7693. </define>
  7694. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7695. <optional>
  7696. <attribute name="draw:extrusion-rotation-center">
  7697. <ref name="vector3D"/>
  7698. </attribute>
  7699. </optional>
  7700. </define>
  7701. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7702. <optional>
  7703. <attribute name="draw:extrusion-shininess" a:defaultValue="50%">
  7704. <ref name="percent"/>
  7705. </attribute>
  7706. </optional>
  7707. </define>
  7708. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7709. <optional>
  7710. <attribute name="draw:extrusion-skew" a:defaultValue="50 45">
  7711. <list>
  7712. <ref name="double"/>
  7713. <ref name="double"/>
  7714. </list>
  7715. </attribute>
  7716. </optional>
  7717. </define>
  7718. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7719. <optional>
  7720. <attribute name="draw:extrusion-specularity" a:defaultValue="0%">
  7721. <ref name="percent"/>
  7722. </attribute>
  7723. </optional>
  7724. </define>
  7725. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7726. <optional>
  7727. <attribute name="dr3d:projection" a:defaultValue="parallel">
  7728. <choice>
  7729. <value>parallel</value>
  7730. <value>perspective</value>
  7731. </choice>
  7732. </attribute>
  7733. </optional>
  7734. </define>
  7735. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7736. <optional>
  7737. <attribute name="draw:extrusion-viewpoint"
  7738. a:defaultValue="3.5cm -3.5cm 25cm">
  7739. <ref name="point3D"/>
  7740. </attribute>
  7741. </optional>
  7742. </define>
  7743. <define name="point3D">
  7744. <data type="string"/>
  7745. </define>
  7746. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7747. <optional>
  7748. <attribute name="draw:extrusion-origin" a:defaultValue="0.5 -0.5">
  7749. <list>
  7750. <ref name="double"/>
  7751. <ref name="double"/>
  7752. </list>
  7753. </attribute>
  7754. </optional>
  7755. </define>
  7756. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7757. <optional>
  7758. <attribute name="draw:extrusion-color" a:defaultValue="false">
  7759. <ref name="boolean"/>
  7760. </attribute>
  7761. </optional>
  7762. </define>
  7763. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7764. <optional>
  7765. <attribute name="draw:enhanced-path">
  7766. <ref name="string"/>
  7767. </attribute>
  7768. </optional>
  7769. </define>
  7770. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7771. <optional>
  7772. <attribute name="draw:path-stretchpoint-x" a:defaultValue="0">
  7773. <ref name="double"/>
  7774. </attribute>
  7775. </optional>
  7776. <optional>
  7777. <attribute name="draw:path-stretchpoint-y" a:defaultValue="0">
  7778. <ref name="double"/>
  7779. </attribute>
  7780. </optional>
  7781. </define>
  7782. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7783. <optional>
  7784. <attribute name="draw:text-areas">
  7785. <ref name="string"/>
  7786. </attribute>
  7787. </optional>
  7788. </define>
  7789. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7790. <optional>
  7791. <attribute name="draw:glue-points">
  7792. <ref name="string"/>
  7793. </attribute>
  7794. </optional>
  7795. </define>
  7796. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7797. <optional>
  7798. <attribute name="draw:glue-point-type" a:defaultValue="none">
  7799. <choice>
  7800. <value>none</value>
  7801. <value>segments</value>
  7802. <value>rectangle</value>
  7803. </choice>
  7804. </attribute>
  7805. </optional>
  7806. </define>
  7807. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7808. <optional>
  7809. <attribute name="draw:glue-point-leaving-directions"/>
  7810. </optional>
  7811. </define>
  7812. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7813. <optional>
  7814. <attribute name="draw:text-path" a:defaultValue="false">
  7815. <ref name="boolean"/>
  7816. </attribute>
  7817. </optional>
  7818. </define>
  7819. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7820. <optional>
  7821. <attribute name="draw:text-path-mode" a:defaultValue="normal">
  7822. <choice>
  7823. <value>normal</value>
  7824. <value>path</value>
  7825. <value>shape</value>
  7826. </choice>
  7827. </attribute>
  7828. </optional>
  7829. </define>
  7830. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7831. <optional>
  7832. <attribute name="draw:text-path-scale" a:defaultValue="path">
  7833. <choice>
  7834. <value>path</value>
  7835. <value>shape</value>
  7836. </choice>
  7837. </attribute>
  7838. </optional>
  7839. </define>
  7840. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7841. <optional>
  7842. <attribute name="draw:text-path-same-letter-heights"
  7843. a:defaultValue="false">
  7844. <ref name="boolean"/>
  7845. </attribute>
  7846. </optional>
  7847. </define>
  7848. <define name="draw-enhanced-geometry-attlist" combine="interleave">
  7849. <optional>
  7850. <attribute name="draw:modifiers">
  7851. <ref name="string"/>
  7852. </attribute>
  7853. </optional>
  7854. </define>
  7855. <define name="draw-equation">
  7856. <element name="draw:equation">
  7857. <ref name="draw-equation-attlist"/>
  7858. <empty/>
  7859. </element>
  7860. </define>
  7861. <define name="draw-equation-attlist" combine="interleave">
  7862. <optional>
  7863. <attribute name="draw:name">
  7864. <ref name="string"/>
  7865. </attribute>
  7866. </optional>
  7867. </define>
  7868. <define name="draw-equation-attlist" combine="interleave">
  7869. <optional>
  7870. <attribute name="draw:formula">
  7871. <ref name="string"/>
  7872. </attribute>
  7873. </optional>
  7874. </define>
  7875. <define name="draw-handle">
  7876. <element name="draw:handle">
  7877. <ref name="draw-handle-attlist"/>
  7878. <empty/>
  7879. </element>
  7880. </define>
  7881. <define name="draw-handle-attlist" combine="interleave">
  7882. <optional>
  7883. <attribute name="draw:handle-mirror-vertical" a:defaultValue="false">
  7884. <ref name="boolean"/>
  7885. </attribute>
  7886. </optional>
  7887. </define>
  7888. <define name="draw-handle-attlist" combine="interleave">
  7889. <optional>
  7890. <attribute name="draw:handle-mirror-horizontal" a:defaultValue="false">
  7891. <ref name="boolean"/>
  7892. </attribute>
  7893. </optional>
  7894. </define>
  7895. <define name="draw-handle-attlist" combine="interleave">
  7896. <optional>
  7897. <attribute name="draw:handle-switched" a:defaultValue="false">
  7898. <ref name="boolean"/>
  7899. </attribute>
  7900. </optional>
  7901. </define>
  7902. <define name="draw-handle-attlist" combine="interleave">
  7903. <attribute name="draw:handle-position">
  7904. <ref name="string"/>
  7905. </attribute>
  7906. </define>
  7907. <define name="draw-handle-attlist" combine="interleave">
  7908. <optional>
  7909. <attribute name="draw:handle-range-x-minimum">
  7910. <ref name="string"/>
  7911. </attribute>
  7912. </optional>
  7913. </define>
  7914. <define name="draw-handle-attlist" combine="interleave">
  7915. <optional>
  7916. <attribute name="draw:handle-range-x-maximum">
  7917. <ref name="string"/>
  7918. </attribute>
  7919. </optional>
  7920. </define>
  7921. <define name="draw-handle-attlist" combine="interleave">
  7922. <optional>
  7923. <attribute name="draw:handle-range-y-minimum">
  7924. <ref name="string"/>
  7925. </attribute>
  7926. </optional>
  7927. </define>
  7928. <define name="draw-handle-attlist" combine="interleave">
  7929. <optional>
  7930. <attribute name="draw:handle-range-y-maximum">
  7931. <ref name="string"/>
  7932. </attribute>
  7933. </optional>
  7934. </define>
  7935. <define name="draw-handle-attlist" combine="interleave">
  7936. <optional>
  7937. <attribute name="draw:handle-polar">
  7938. <ref name="string"/>
  7939. </attribute>
  7940. </optional>
  7941. </define>
  7942. <define name="draw-handle-attlist" combine="interleave">
  7943. <optional>
  7944. <attribute name="draw:handle-radius-range-minimum">
  7945. <ref name="string"/>
  7946. </attribute>
  7947. </optional>
  7948. </define>
  7949. <define name="draw-handle-attlist" combine="interleave">
  7950. <optional>
  7951. <attribute name="draw:handle-radius-range-maximum">
  7952. <ref name="string"/>
  7953. </attribute>
  7954. </optional>
  7955. </define>
  7956. <define name="presentation-shape-attlist" combine="interleave">
  7957. <optional>
  7958. <attribute name="presentation:class">
  7959. <ref name="presentation-classes"/>
  7960. </attribute>
  7961. </optional>
  7962. </define>
  7963. <define name="presentation-classes">
  7964. <choice>
  7965. <value>title</value>
  7966. <value>outline</value>
  7967. <value>subtitle</value>
  7968. <value>text</value>
  7969. <value>graphic</value>
  7970. <value>object</value>
  7971. <value>chart</value>
  7972. <value>table</value>
  7973. <value>orgchart</value>
  7974. <value>page</value>
  7975. <value>notes</value>
  7976. <value>handout</value>
  7977. <value>header</value>
  7978. <value>footer</value>
  7979. <value>date-time</value>
  7980. <value>page-number</value>
  7981. </choice>
  7982. </define>
  7983. <define name="presentation-shape-attlist" combine="interleave">
  7984. <optional>
  7985. <attribute name="presentation:placeholder">
  7986. <ref name="boolean"/>
  7987. </attribute>
  7988. </optional>
  7989. </define>
  7990. <define name="presentation-shape-attlist" combine="interleave">
  7991. <optional>
  7992. <attribute name="presentation:user-transformed">
  7993. <ref name="boolean"/>
  7994. </attribute>
  7995. </optional>
  7996. </define>
  7997. <define name="presentation-animations">
  7998. <element name="presentation:animations">
  7999. <zeroOrMore>
  8000. <choice>
  8001. <ref name="presentation-animation-elements"/>
  8002. <ref name="presentation-animation-group"/>
  8003. </choice>
  8004. </zeroOrMore>
  8005. </element>
  8006. </define>
  8007. <define name="presentation-animation-elements">
  8008. <choice>
  8009. <ref name="presentation-show-shape"/>
  8010. <ref name="presentation-show-text"/>
  8011. <ref name="presentation-hide-shape"/>
  8012. <ref name="presentation-hide-text"/>
  8013. <ref name="presentation-dim"/>
  8014. <ref name="presentation-play"/>
  8015. </choice>
  8016. </define>
  8017. <define name="presentation-sound">
  8018. <element name="presentation:sound">
  8019. <ref name="presentation-sound-attlist"/>
  8020. <attribute name="xlink:href">
  8021. <ref name="anyURI"/>
  8022. </attribute>
  8023. <optional>
  8024. <attribute name="xlink:type" a:defaultValue="simple">
  8025. <choice>
  8026. <value>simple</value>
  8027. </choice>
  8028. </attribute>
  8029. </optional>
  8030. <optional>
  8031. <attribute name="xlink:actuate" a:defaultValue="onRequest">
  8032. <choice>
  8033. <value>onRequest</value>
  8034. </choice>
  8035. </attribute>
  8036. </optional>
  8037. <optional>
  8038. <attribute name="xlink:show">
  8039. <choice>
  8040. <value>new</value>
  8041. <value>replace</value>
  8042. </choice>
  8043. </attribute>
  8044. </optional>
  8045. <empty/>
  8046. </element>
  8047. </define>
  8048. <define name="presentation-sound-attlist" combine="interleave">
  8049. <optional>
  8050. <attribute name="presentation:play-full">
  8051. <ref name="boolean"/>
  8052. </attribute>
  8053. </optional>
  8054. </define>
  8055. <define name="presentation-show-shape">
  8056. <element name="presentation:show-shape">
  8057. <ref name="common-presentation-effect-attlist"/>
  8058. <optional>
  8059. <ref name="presentation-sound"/>
  8060. </optional>
  8061. </element>
  8062. </define>
  8063. <define name="common-presentation-effect-attlist" combine="interleave">
  8064. <attribute name="draw:shape-id">
  8065. <ref name="IDREF"/>
  8066. </attribute>
  8067. </define>
  8068. <define name="common-presentation-effect-attlist" combine="interleave">
  8069. <optional>
  8070. <attribute name="presentation:effect" a:defaultValue="none">
  8071. <ref name="presentationEffects"/>
  8072. </attribute>
  8073. </optional>
  8074. </define>
  8075. <define name="presentationEffects">
  8076. <choice>
  8077. <value>none</value>
  8078. <value>fade</value>
  8079. <value>move</value>
  8080. <value>stripes</value>
  8081. <value>open</value>
  8082. <value>close</value>
  8083. <value>dissolve</value>
  8084. <value>wavyline</value>
  8085. <value>random</value>
  8086. <value>lines</value>
  8087. <value>laser</value>
  8088. <value>appear</value>
  8089. <value>hide</value>
  8090. <value>move-short</value>
  8091. <value>checkerboard</value>
  8092. <value>rotate</value>
  8093. <value>stretch</value>
  8094. </choice>
  8095. </define>
  8096. <define name="common-presentation-effect-attlist" combine="interleave">
  8097. <optional>
  8098. <attribute name="presentation:direction" a:defaultValue="none">
  8099. <ref name="presentationEffectDirections"/>
  8100. </attribute>
  8101. </optional>
  8102. </define>
  8103. <define name="presentationEffectDirections">
  8104. <choice>
  8105. <value>none</value>
  8106. <value>from-left</value>
  8107. <value>from-top</value>
  8108. <value>from-right</value>
  8109. <value>from-bottom</value>
  8110. <value>from-center</value>
  8111. <value>from-upper-left</value>
  8112. <value>from-upper-right</value>
  8113. <value>from-lower-left</value>
  8114. <value>from-lower-right</value>
  8115. <value>to-left</value>
  8116. <value>to-top</value>
  8117. <value>to-right</value>
  8118. <value>to-bottom</value>
  8119. <value>to-upper-left</value>
  8120. <value>to-upper-right</value>
  8121. <value>to-lower-right</value>
  8122. <value>to-lower-left</value>
  8123. <value>path</value>
  8124. <value>spiral-inward-left</value>
  8125. <value>spiral-inward-right</value>
  8126. <value>spiral-outward-left</value>
  8127. <value>spiral-outward-right</value>
  8128. <value>vertical</value>
  8129. <value>horizontal</value>
  8130. <value>to-center</value>
  8131. <value>clockwise</value>
  8132. <value>counter-clockwise</value>
  8133. </choice>
  8134. </define>
  8135. <define name="common-presentation-effect-attlist" combine="interleave">
  8136. <optional>
  8137. <attribute name="presentation:speed" a:defaultValue="medium">
  8138. <ref name="presentationSpeeds"/>
  8139. </attribute>
  8140. </optional>
  8141. </define>
  8142. <define name="presentationSpeeds">
  8143. <choice>
  8144. <value>slow</value>
  8145. <value>medium</value>
  8146. <value>fast</value>
  8147. </choice>
  8148. </define>
  8149. <define name="common-presentation-effect-attlist" combine="interleave">
  8150. <optional>
  8151. <attribute name="presentation:delay">
  8152. <ref name="duration"/>
  8153. </attribute>
  8154. </optional>
  8155. </define>
  8156. <define name="common-presentation-effect-attlist" combine="interleave">
  8157. <optional>
  8158. <attribute name="presentation:start-scale" a:defaultValue="100%">
  8159. <ref name="percent"/>
  8160. </attribute>
  8161. </optional>
  8162. </define>
  8163. <define name="common-presentation-effect-attlist" combine="interleave">
  8164. <optional>
  8165. <attribute name="presentation:path-id"/>
  8166. </optional>
  8167. </define>
  8168. <define name="presentation-show-text">
  8169. <element name="presentation:show-text">
  8170. <ref name="common-presentation-effect-attlist"/>
  8171. <optional>
  8172. <ref name="presentation-sound"/>
  8173. </optional>
  8174. </element>
  8175. </define>
  8176. <define name="presentation-hide-shape">
  8177. <element name="presentation:hide-shape">
  8178. <ref name="common-presentation-effect-attlist"/>
  8179. <optional>
  8180. <ref name="presentation-sound"/>
  8181. </optional>
  8182. </element>
  8183. </define>
  8184. <define name="presentation-hide-text">
  8185. <element name="presentation:hide-text">
  8186. <ref name="common-presentation-effect-attlist"/>
  8187. <optional>
  8188. <ref name="presentation-sound"/>
  8189. </optional>
  8190. </element>
  8191. </define>
  8192. <define name="presentation-dim">
  8193. <element name="presentation:dim">
  8194. <ref name="presentation-dim-attlist"/>
  8195. <optional>
  8196. <ref name="presentation-sound"/>
  8197. </optional>
  8198. </element>
  8199. </define>
  8200. <define name="presentation-dim-attlist" combine="interleave">
  8201. <attribute name="draw:shape-id">
  8202. <ref name="IDREF"/>
  8203. </attribute>
  8204. </define>
  8205. <define name="presentation-dim-attlist" combine="interleave">
  8206. <attribute name="draw:color">
  8207. <ref name="color"/>
  8208. </attribute>
  8209. </define>
  8210. <define name="presentation-play">
  8211. <element name="presentation:play">
  8212. <ref name="presentation-play-attlist"/>
  8213. <empty/>
  8214. </element>
  8215. </define>
  8216. <define name="presentation-play-attlist" combine="interleave">
  8217. <attribute name="draw:shape-id">
  8218. <ref name="IDREF"/>
  8219. </attribute>
  8220. <optional>
  8221. <attribute name="presentation:speed" a:defaultValue="medium">
  8222. <ref name="presentationSpeeds"/>
  8223. </attribute>
  8224. </optional>
  8225. </define>
  8226. <define name="presentation-animation-group">
  8227. <element name="presentation:animation-group">
  8228. <zeroOrMore>
  8229. <ref name="presentation-animation-elements"/>
  8230. </zeroOrMore>
  8231. </element>
  8232. </define>
  8233. <define name="common-anim-attlist" combine="interleave">
  8234. <optional>
  8235. <attribute name="presentation:node-type" a:defaultValue="default">
  8236. <choice>
  8237. <value>default</value>
  8238. <value>on-click</value>
  8239. <value>with-previous</value>
  8240. <value>after-previous</value>
  8241. <value>timing-root</value>
  8242. <value>main-sequence</value>
  8243. <value>interactive-sequence</value>
  8244. </choice>
  8245. </attribute>
  8246. </optional>
  8247. </define>
  8248. <define name="common-anim-attlist" combine="interleave">
  8249. <optional>
  8250. <attribute name="presentation:preset-id">
  8251. <ref name="string"/>
  8252. </attribute>
  8253. </optional>
  8254. </define>
  8255. <define name="common-anim-attlist" combine="interleave">
  8256. <optional>
  8257. <attribute name="presentation:preset-sub-type">
  8258. <ref name="string"/>
  8259. </attribute>
  8260. </optional>
  8261. </define>
  8262. <define name="common-anim-attlist" combine="interleave">
  8263. <optional>
  8264. <attribute name="presentation:preset-class" a:defaultValue="custom">
  8265. <choice>
  8266. <value>custom</value>
  8267. <value>entrance</value>
  8268. <value>exit</value>
  8269. <value>emphasis</value>
  8270. <value>motion-path</value>
  8271. <value>ole-action</value>
  8272. <value>media-call</value>
  8273. </choice>
  8274. </attribute>
  8275. </optional>
  8276. </define>
  8277. <define name="common-anim-attlist" combine="interleave">
  8278. <optional>
  8279. <attribute name="presentation:master-element">
  8280. <ref name="IDREF"/>
  8281. </attribute>
  8282. </optional>
  8283. </define>
  8284. <define name="common-anim-attlist" combine="interleave">
  8285. <optional>
  8286. <attribute name="presentation:group-id">
  8287. <ref name="string"/>
  8288. </attribute>
  8289. </optional>
  8290. </define>
  8291. <define name="presentation-event-listener">
  8292. <element name="presentation:event-listener">
  8293. <ref name="presentation-event-listener-attlist"/>
  8294. <optional>
  8295. <ref name="presentation-sound"/>
  8296. </optional>
  8297. </element>
  8298. </define>
  8299. <define name="presentation-event-listener-attlist" combine="interleave">
  8300. <attribute name="script:event-name">
  8301. <ref name="string"/>
  8302. </attribute>
  8303. </define>
  8304. <define name="presentation-event-listener-attlist" combine="interleave">
  8305. <attribute name="presentation:action">
  8306. <choice>
  8307. <value>none</value>
  8308. <value>previous-page</value>
  8309. <value>next-page</value>
  8310. <value>first-page</value>
  8311. <value>last-page</value>
  8312. <value>hide</value>
  8313. <value>stop</value>
  8314. <value>execute</value>
  8315. <value>show</value>
  8316. <value>verb</value>
  8317. <value>fade-out</value>
  8318. <value>sound</value>
  8319. </choice>
  8320. </attribute>
  8321. </define>
  8322. <define name="presentation-event-listener-attlist" combine="interleave">
  8323. <optional>
  8324. <attribute name="presentation:effect" a:defaultValue="none">
  8325. <ref name="presentationEffects"/>
  8326. </attribute>
  8327. </optional>
  8328. </define>
  8329. <define name="presentation-event-listener-attlist" combine="interleave">
  8330. <optional>
  8331. <attribute name="presentation:direction" a:defaultValue="none">
  8332. <ref name="presentationEffectDirections"/>
  8333. </attribute>
  8334. </optional>
  8335. </define>
  8336. <define name="presentation-event-listener-attlist" combine="interleave">
  8337. <optional>
  8338. <attribute name="presentation:speed" a:defaultValue="medium">
  8339. <ref name="presentationSpeeds"/>
  8340. </attribute>
  8341. </optional>
  8342. </define>
  8343. <define name="presentation-event-listener-attlist" combine="interleave">
  8344. <optional>
  8345. <attribute name="presentation:start-scale" a:defaultValue="100%">
  8346. <ref name="percent"/>
  8347. </attribute>
  8348. </optional>
  8349. </define>
  8350. <define name="presentation-event-listener-attlist" combine="interleave">
  8351. <optional>
  8352. <attribute name="xlink:href">
  8353. <ref name="anyURI"/>
  8354. </attribute>
  8355. </optional>
  8356. <optional>
  8357. <attribute name="xlink:type" a:defaultValue="simple">
  8358. <choice>
  8359. <value>simple</value>
  8360. </choice>
  8361. </attribute>
  8362. </optional>
  8363. <optional>
  8364. <attribute name="xlink:show" a:defaultValue="embed">
  8365. <choice>
  8366. <value>embed</value>
  8367. </choice>
  8368. </attribute>
  8369. </optional>
  8370. <optional>
  8371. <attribute name="xlink:actuate" a:defaultValue="onRequest">
  8372. <choice>
  8373. <value>onRequest</value>
  8374. </choice>
  8375. </attribute>
  8376. </optional>
  8377. </define>
  8378. <define name="presentation-event-listener-attlist" combine="interleave">
  8379. <optional>
  8380. <attribute name="presentation:verb">
  8381. <ref name="nonNegativeInteger"/>
  8382. </attribute>
  8383. </optional>
  8384. </define>
  8385. <define name="paragraph-content" combine="choice">
  8386. <element name="presentation:header">
  8387. <empty/>
  8388. </element>
  8389. </define>
  8390. <define name="paragraph-content" combine="choice">
  8391. <element name="presentation:footer">
  8392. <empty/>
  8393. </element>
  8394. </define>
  8395. <define name="paragraph-content" combine="choice">
  8396. <element name="presentation:date-time">
  8397. <empty/>
  8398. </element>
  8399. </define>
  8400. <define name="presentation-decls">
  8401. <zeroOrMore>
  8402. <ref name="presentation-decl"/>
  8403. </zeroOrMore>
  8404. </define>
  8405. <define name="presentation-decl" combine="choice">
  8406. <element name="presentation:header-decl">
  8407. <ref name="presentation-header-decl-attlist"/>
  8408. <text/>
  8409. </element>
  8410. </define>
  8411. <define name="presentation-header-decl-attlist" combine="interleave">
  8412. <attribute name="presentation:name">
  8413. <ref name="string"/>
  8414. </attribute>
  8415. </define>
  8416. <define name="presentation-decl" combine="choice">
  8417. <element name="presentation:footer-decl">
  8418. <ref name="presentation-footer-decl-attlist"/>
  8419. <text/>
  8420. </element>
  8421. </define>
  8422. <define name="presentation-footer-decl-attlist" combine="interleave">
  8423. <attribute name="presentation:name">
  8424. <ref name="string"/>
  8425. </attribute>
  8426. </define>
  8427. <define name="presentation-decl" combine="choice">
  8428. <element name="presentation:date-time-decl">
  8429. <ref name="presentation-date-time-decl-attlist"/>
  8430. <text/>
  8431. </element>
  8432. </define>
  8433. <define name="presentation-date-time-decl-attlist" combine="interleave">
  8434. <attribute name="presentation:name">
  8435. <ref name="string"/>
  8436. </attribute>
  8437. </define>
  8438. <define name="presentation-date-time-decl-attlist" combine="interleave">
  8439. <attribute name="presentation:source">
  8440. <choice>
  8441. <value>fixed</value>
  8442. <value>current-date</value>
  8443. </choice>
  8444. </attribute>
  8445. </define>
  8446. <define name="presentation-date-time-decl-attlist" combine="interleave">
  8447. <optional>
  8448. <attribute name="style:data-style-name">
  8449. <ref name="styleNameRef"/>
  8450. </attribute>
  8451. </optional>
  8452. </define>
  8453. <define name="presentation-settings">
  8454. <optional>
  8455. <element name="presentation:settings">
  8456. <ref name="presentation-settings-attlist"/>
  8457. <zeroOrMore>
  8458. <ref name="presentation-show"/>
  8459. </zeroOrMore>
  8460. </element>
  8461. </optional>
  8462. </define>
  8463. <define name="presentation-settings-attlist" combine="interleave">
  8464. <optional>
  8465. <attribute name="presentation:start-page">
  8466. <ref name="string"/>
  8467. </attribute>
  8468. </optional>
  8469. </define>
  8470. <define name="presentation-settings-attlist" combine="interleave">
  8471. <optional>
  8472. <attribute name="presentation:show">
  8473. <ref name="string"/>
  8474. </attribute>
  8475. </optional>
  8476. </define>
  8477. <define name="presentation-settings-attlist" combine="interleave">
  8478. <optional>
  8479. <attribute name="presentation:full-screen" a:defaultValue="true">
  8480. <ref name="boolean"/>
  8481. </attribute>
  8482. </optional>
  8483. </define>
  8484. <define name="presentation-settings-attlist" combine="interleave">
  8485. <optional>
  8486. <attribute name="presentation:endless" a:defaultValue="false">
  8487. <ref name="boolean"/>
  8488. </attribute>
  8489. </optional>
  8490. </define>
  8491. <define name="presentation-settings-attlist" combine="interleave">
  8492. <optional>
  8493. <attribute name="presentation:pause">
  8494. <ref name="duration"/>
  8495. </attribute>
  8496. </optional>
  8497. </define>
  8498. <define name="presentation-settings-attlist" combine="interleave">
  8499. <optional>
  8500. <attribute name="presentation:show-logo" a:defaultValue="false">
  8501. <ref name="boolean"/>
  8502. </attribute>
  8503. </optional>
  8504. </define>
  8505. <define name="presentation-settings-attlist" combine="interleave">
  8506. <optional>
  8507. <attribute name="presentation:force-manual" a:defaultValue="false">
  8508. <ref name="boolean"/>
  8509. </attribute>
  8510. </optional>
  8511. </define>
  8512. <define name="presentation-settings-attlist" combine="interleave">
  8513. <optional>
  8514. <attribute name="presentation:mouse-visible" a:defaultValue="true">
  8515. <ref name="boolean"/>
  8516. </attribute>
  8517. </optional>
  8518. </define>
  8519. <define name="presentation-settings-attlist" combine="interleave">
  8520. <optional>
  8521. <attribute name="presentation:mouse-as-pen" a:defaultValue="false">
  8522. <ref name="boolean"/>
  8523. </attribute>
  8524. </optional>
  8525. </define>
  8526. <define name="presentation-settings-attlist" combine="interleave">
  8527. <optional>
  8528. <attribute name="presentation:start-with-navigator"
  8529. a:defaultValue="false">
  8530. <ref name="boolean"/>
  8531. </attribute>
  8532. </optional>
  8533. </define>
  8534. <define name="presentation-settings-attlist" combine="interleave">
  8535. <optional>
  8536. <attribute name="presentation:animations" a:defaultValue="enabled">
  8537. <choice>
  8538. <value>enabled</value>
  8539. <value>disabled</value>
  8540. </choice>
  8541. </attribute>
  8542. </optional>
  8543. </define>
  8544. <define name="presentation-settings-attlist" combine="interleave">
  8545. <optional>
  8546. <attribute name="presentation:transition-on-click"
  8547. a:defaultValue="enabled">
  8548. <choice>
  8549. <value>enabled</value>
  8550. <value>disabled</value>
  8551. </choice>
  8552. </attribute>
  8553. </optional>
  8554. </define>
  8555. <define name="presentation-settings-attlist" combine="interleave">
  8556. <optional>
  8557. <attribute name="presentation:stay-on-top" a:defaultValue="false">
  8558. <ref name="boolean"/>
  8559. </attribute>
  8560. </optional>
  8561. </define>
  8562. <define name="presentation-settings-attlist" combine="interleave">
  8563. <optional>
  8564. <attribute name="presentation:show-end-of-presentation-slide"
  8565. a:defaultValue="true">
  8566. <ref name="boolean"/>
  8567. </attribute>
  8568. </optional>
  8569. </define>
  8570. <define name="presentation-show">
  8571. <element name="presentation:show">
  8572. <ref name="presentation-show-attlist"/>
  8573. <empty/>
  8574. </element>
  8575. </define>
  8576. <define name="presentation-show-attlist" combine="interleave">
  8577. <attribute name="presentation:name">
  8578. <ref name="string"/>
  8579. </attribute>
  8580. </define>
  8581. <define name="presentation-show-attlist" combine="interleave">
  8582. <attribute name="presentation:pages"/>
  8583. </define>
  8584. <define name="chart-chart">
  8585. <element name="chart:chart">
  8586. <ref name="chart-chart-attlist"/>
  8587. <optional>
  8588. <ref name="chart-title"/>
  8589. </optional>
  8590. <optional>
  8591. <ref name="chart-subtitle"/>
  8592. </optional>
  8593. <optional>
  8594. <ref name="chart-footer"/>
  8595. </optional>
  8596. <optional>
  8597. <ref name="chart-legend"/>
  8598. </optional>
  8599. <ref name="chart-plot-area"/>
  8600. <optional>
  8601. <ref name="table-table"/>
  8602. </optional>
  8603. </element>
  8604. </define>
  8605. <define name="chart-chart-attlist" combine="interleave">
  8606. <attribute name="chart:class">
  8607. <ref name="namespacedToken"/>
  8608. </attribute>
  8609. </define>
  8610. <define name="chart-chart-attlist" combine="interleave">
  8611. <ref name="common-draw-size-attlist"/>
  8612. </define>
  8613. <define name="chart-chart-attlist" combine="interleave">
  8614. <optional>
  8615. <attribute name="chart:column-mapping">
  8616. <ref name="string"/>
  8617. </attribute>
  8618. </optional>
  8619. </define>
  8620. <define name="chart-chart-attlist" combine="interleave">
  8621. <optional>
  8622. <attribute name="chart:row-mapping">
  8623. <ref name="string"/>
  8624. </attribute>
  8625. </optional>
  8626. </define>
  8627. <define name="chart-chart-attlist" combine="interleave">
  8628. <optional>
  8629. <attribute name="chart:style-name">
  8630. <ref name="styleNameRef"/>
  8631. </attribute>
  8632. </optional>
  8633. </define>
  8634. <define name="chart-title">
  8635. <element name="chart:title">
  8636. <ref name="chart-title-attlist"/>
  8637. <optional>
  8638. <ref name="text-p"/>
  8639. </optional>
  8640. </element>
  8641. </define>
  8642. <define name="chart-title-attlist" combine="interleave">
  8643. <optional>
  8644. <attribute name="table:cell-range">
  8645. <ref name="cellAddress"/>
  8646. </attribute>
  8647. </optional>
  8648. </define>
  8649. <define name="chart-title-attlist" combine="interleave">
  8650. <ref name="common-draw-position-attlist"/>
  8651. </define>
  8652. <define name="chart-title-attlist" combine="interleave">
  8653. <optional>
  8654. <attribute name="chart:style-name">
  8655. <ref name="styleNameRef"/>
  8656. </attribute>
  8657. </optional>
  8658. </define>
  8659. <define name="chart-subtitle">
  8660. <element name="chart:subtitle">
  8661. <ref name="chart-title-attlist"/>
  8662. <optional>
  8663. <ref name="text-p"/>
  8664. </optional>
  8665. </element>
  8666. </define>
  8667. <define name="chart-footer">
  8668. <element name="chart:footer">
  8669. <ref name="chart-title-attlist"/>
  8670. <optional>
  8671. <ref name="text-p"/>
  8672. </optional>
  8673. </element>
  8674. </define>
  8675. <define name="chart-legend">
  8676. <element name="chart:legend">
  8677. <ref name="chart-legend-attlist"/>
  8678. <empty/>
  8679. </element>
  8680. </define>
  8681. <define name="chart-legend-attlist" combine="interleave">
  8682. <choice>
  8683. <group>
  8684. <attribute name="chart:legend-position">
  8685. <choice>
  8686. <value>start</value>
  8687. <value>end</value>
  8688. <value>top</value>
  8689. <value>bottom</value>
  8690. </choice>
  8691. </attribute>
  8692. <optional>
  8693. <attribute name="chart:legend-align">
  8694. <choice>
  8695. <value>start</value>
  8696. <value>center</value>
  8697. <value>end</value>
  8698. </choice>
  8699. </attribute>
  8700. </optional>
  8701. </group>
  8702. <attribute name="chart:legend-position">
  8703. <choice>
  8704. <value>top-start</value>
  8705. <value>bottom-start</value>
  8706. <value>top-end</value>
  8707. <value>bottom-end</value>
  8708. </choice>
  8709. </attribute>
  8710. <empty/>
  8711. </choice>
  8712. </define>
  8713. <define name="chart-legend-attlist" combine="interleave">
  8714. <ref name="common-draw-position-attlist"/>
  8715. </define>
  8716. <define name="chart-legend-attlist" combine="interleave">
  8717. <choice>
  8718. <attribute name="style:legend-expansion">
  8719. <choice>
  8720. <value>wide</value>
  8721. <value>high</value>
  8722. <value>balanced</value>
  8723. </choice>
  8724. </attribute>
  8725. <group>
  8726. <attribute name="style:legend-expansion">
  8727. <value>custom</value>
  8728. </attribute>
  8729. <attribute name="style:legend-expansion-aspect-ratio">
  8730. <ref name="double"/>
  8731. </attribute>
  8732. </group>
  8733. <empty/>
  8734. </choice>
  8735. </define>
  8736. <define name="chart-legend-attlist" combine="interleave">
  8737. <optional>
  8738. <attribute name="chart:style-name">
  8739. <ref name="styleNameRef"/>
  8740. </attribute>
  8741. </optional>
  8742. </define>
  8743. <define name="chart-plot-area">
  8744. <element name="chart:plot-area">
  8745. <ref name="chart-plot-area-attlist"/>
  8746. <zeroOrMore>
  8747. <ref name="dr3d-light"/>
  8748. </zeroOrMore>
  8749. <zeroOrMore>
  8750. <ref name="chart-axis"/>
  8751. </zeroOrMore>
  8752. <zeroOrMore>
  8753. <ref name="chart-series"/>
  8754. </zeroOrMore>
  8755. <optional>
  8756. <ref name="chart-stock-gain-marker"/>
  8757. </optional>
  8758. <optional>
  8759. <ref name="chart-stock-loss-marker"/>
  8760. </optional>
  8761. <optional>
  8762. <ref name="chart-stock-range-line"/>
  8763. </optional>
  8764. <optional>
  8765. <ref name="chart-wall"/>
  8766. </optional>
  8767. <optional>
  8768. <ref name="chart-floor"/>
  8769. </optional>
  8770. </element>
  8771. </define>
  8772. <define name="chart-plot-area-attlist" combine="interleave">
  8773. <ref name="common-draw-position-attlist"/>
  8774. <ref name="common-draw-size-attlist"/>
  8775. </define>
  8776. <define name="chart-plot-area-attlist" combine="interleave">
  8777. <optional>
  8778. <attribute name="chart:style-name">
  8779. <ref name="styleNameRef"/>
  8780. </attribute>
  8781. </optional>
  8782. </define>
  8783. <define name="chart-plot-area-attlist" combine="interleave">
  8784. <optional>
  8785. <attribute name="table:cell-range-address">
  8786. <ref name="cellRangeAddress"/>
  8787. </attribute>
  8788. </optional>
  8789. </define>
  8790. <define name="chart-plot-area-attlist" combine="interleave">
  8791. <optional>
  8792. <attribute name="chart:data-source-has-labels" a:defaultValue="none">
  8793. <choice>
  8794. <value>none</value>
  8795. <value>row</value>
  8796. <value>column</value>
  8797. <value>both</value>
  8798. </choice>
  8799. </attribute>
  8800. </optional>
  8801. </define>
  8802. <define name="chart-plot-area-attlist" combine="interleave">
  8803. <ref name="dr3d-scene-attlist"/>
  8804. <ref name="common-dr3d-transform-attlist"/>
  8805. </define>
  8806. <define name="chart-wall">
  8807. <element name="chart:wall">
  8808. <ref name="chart-wall-attlist"/>
  8809. <empty/>
  8810. </element>
  8811. </define>
  8812. <define name="chart-wall-attlist" combine="interleave">
  8813. <optional>
  8814. <attribute name="svg:width">
  8815. <ref name="length"/>
  8816. </attribute>
  8817. </optional>
  8818. </define>
  8819. <define name="chart-wall-attlist" combine="interleave">
  8820. <optional>
  8821. <attribute name="chart:style-name">
  8822. <ref name="styleNameRef"/>
  8823. </attribute>
  8824. </optional>
  8825. </define>
  8826. <define name="chart-floor">
  8827. <element name="chart:floor">
  8828. <ref name="chart-floor-attlist"/>
  8829. <empty/>
  8830. </element>
  8831. </define>
  8832. <define name="chart-floor-attlist" combine="interleave">
  8833. <optional>
  8834. <attribute name="svg:width">
  8835. <ref name="length"/>
  8836. </attribute>
  8837. </optional>
  8838. </define>
  8839. <define name="chart-floor-attlist" combine="interleave">
  8840. <optional>
  8841. <attribute name="chart:style-name">
  8842. <ref name="styleNameRef"/>
  8843. </attribute>
  8844. </optional>
  8845. </define>
  8846. <define name="chart-axis">
  8847. <element name="chart:axis">
  8848. <ref name="chart-axis-attlist"/>
  8849. <optional>
  8850. <ref name="chart-title"/>
  8851. </optional>
  8852. <optional>
  8853. <ref name="chart-categories"/>
  8854. </optional>
  8855. <zeroOrMore>
  8856. <ref name="chart-grid"/>
  8857. </zeroOrMore>
  8858. </element>
  8859. </define>
  8860. <define name="chart-axis-attlist" combine="interleave">
  8861. <attribute name="chart:dimension">
  8862. <choice>
  8863. <value>x</value>
  8864. <value>y</value>
  8865. <value>z</value>
  8866. </choice>
  8867. </attribute>
  8868. </define>
  8869. <define name="chart-axis-attlist" combine="interleave">
  8870. <optional>
  8871. <attribute name="chart:name">
  8872. <ref name="string"/>
  8873. </attribute>
  8874. </optional>
  8875. </define>
  8876. <define name="chart-axis-attlist" combine="interleave">
  8877. <optional>
  8878. <attribute name="chart:style-name">
  8879. <ref name="styleNameRef"/>
  8880. </attribute>
  8881. </optional>
  8882. </define>
  8883. <define name="chart-grid">
  8884. <element name="chart:grid">
  8885. <ref name="chart-grid-attlist"/>
  8886. </element>
  8887. </define>
  8888. <define name="chart-grid-attlist" combine="interleave">
  8889. <optional>
  8890. <attribute name="chart:class" a:defaultValue="major">
  8891. <choice>
  8892. <value>major</value>
  8893. <value>minor</value>
  8894. </choice>
  8895. </attribute>
  8896. </optional>
  8897. </define>
  8898. <define name="chart-grid-attlist" combine="interleave">
  8899. <optional>
  8900. <attribute name="chart:style-name">
  8901. <ref name="styleNameRef"/>
  8902. </attribute>
  8903. </optional>
  8904. </define>
  8905. <define name="chart-series">
  8906. <element name="chart:series">
  8907. <ref name="chart-series-attlist"/>
  8908. <zeroOrMore>
  8909. <ref name="chart-domain"/>
  8910. </zeroOrMore>
  8911. <optional>
  8912. <ref name="chart-mean-value"/>
  8913. </optional>
  8914. <optional>
  8915. <ref name="chart-regression-curve"/>
  8916. </optional>
  8917. <optional>
  8918. <ref name="chart-error-indicator"/>
  8919. </optional>
  8920. <zeroOrMore>
  8921. <ref name="chart-data-point"/>
  8922. </zeroOrMore>
  8923. </element>
  8924. </define>
  8925. <define name="chart-series-attlist" combine="interleave">
  8926. <optional>
  8927. <attribute name="chart:values-cell-range-address">
  8928. <ref name="cellRangeAddress"/>
  8929. </attribute>
  8930. </optional>
  8931. </define>
  8932. <define name="chart-series-attlist" combine="interleave">
  8933. <optional>
  8934. <attribute name="chart:label-cell-address">
  8935. <ref name="cellAddress"/>
  8936. </attribute>
  8937. </optional>
  8938. </define>
  8939. <define name="chart-series-attlist" combine="interleave">
  8940. <optional>
  8941. <attribute name="chart:class">
  8942. <ref name="namespacedToken"/>
  8943. </attribute>
  8944. </optional>
  8945. </define>
  8946. <define name="chart-series-attlist" combine="interleave">
  8947. <optional>
  8948. <attribute name="chart:attached-axis">
  8949. <ref name="string"/>
  8950. </attribute>
  8951. </optional>
  8952. </define>
  8953. <define name="chart-series-attlist" combine="interleave">
  8954. <optional>
  8955. <attribute name="chart:style-name">
  8956. <ref name="styleNameRef"/>
  8957. </attribute>
  8958. </optional>
  8959. </define>
  8960. <define name="chart-domain">
  8961. <element name="chart:domain">
  8962. <optional>
  8963. <attribute name="table:cell-range-address">
  8964. <ref name="cellRangeAddress"/>
  8965. </attribute>
  8966. </optional>
  8967. </element>
  8968. </define>
  8969. <define name="chart-categories">
  8970. <element name="chart:categories">
  8971. <optional>
  8972. <attribute name="table:cell-range-address">
  8973. <ref name="cellRangeAddress"/>
  8974. </attribute>
  8975. </optional>
  8976. </element>
  8977. </define>
  8978. <define name="chart-data-point">
  8979. <element name="chart:data-point">
  8980. <ref name="chart-data-point-attlist"/>
  8981. <empty/>
  8982. </element>
  8983. </define>
  8984. <define name="chart-data-point-attlist" combine="interleave">
  8985. <optional>
  8986. <attribute name="chart:repeated">
  8987. <ref name="nonNegativeInteger"/>
  8988. </attribute>
  8989. </optional>
  8990. </define>
  8991. <define name="chart-data-point-attlist" combine="interleave">
  8992. <optional>
  8993. <attribute name="chart:style-name">
  8994. <ref name="styleNameRef"/>
  8995. </attribute>
  8996. </optional>
  8997. </define>
  8998. <define name="chart-mean-value">
  8999. <element name="chart:mean-value">
  9000. <ref name="chart-mean-value-attlist"/>
  9001. <empty/>
  9002. </element>
  9003. </define>
  9004. <define name="chart-mean-value-attlist" combine="interleave">
  9005. <optional>
  9006. <attribute name="chart:style-name">
  9007. <ref name="styleNameRef"/>
  9008. </attribute>
  9009. </optional>
  9010. </define>
  9011. <define name="chart-error-indicator">
  9012. <element name="chart:error-indicator">
  9013. <ref name="chart-error-indicator-attlist"/>
  9014. <empty/>
  9015. </element>
  9016. </define>
  9017. <define name="chart-error-indicator-attlist" combine="interleave">
  9018. <optional>
  9019. <attribute name="chart:style-name">
  9020. <ref name="styleNameRef"/>
  9021. </attribute>
  9022. </optional>
  9023. </define>
  9024. <define name="chart-regression-curve">
  9025. <element name="chart:regression-curve">
  9026. <ref name="chart-regression-curve-attlist"/>
  9027. <empty/>
  9028. </element>
  9029. </define>
  9030. <define name="chart-regression-curve-attlist" combine="interleave">
  9031. <optional>
  9032. <attribute name="chart:style-name">
  9033. <ref name="styleNameRef"/>
  9034. </attribute>
  9035. </optional>
  9036. </define>
  9037. <define name="chart-stock-gain-marker">
  9038. <element name="chart:stock-gain-marker">
  9039. <ref name="common-stock-marker-attlist"/>
  9040. </element>
  9041. </define>
  9042. <define name="chart-stock-loss-marker">
  9043. <element name="chart:stock-loss-marker">
  9044. <ref name="common-stock-marker-attlist"/>
  9045. </element>
  9046. </define>
  9047. <define name="chart-stock-range-line">
  9048. <element name="chart:stock-range-line">
  9049. <ref name="common-stock-marker-attlist"/>
  9050. </element>
  9051. </define>
  9052. <define name="common-stock-marker-attlist">
  9053. <optional>
  9054. <attribute name="chart:style-name">
  9055. <ref name="styleNameRef"/>
  9056. </attribute>
  9057. </optional>
  9058. </define>
  9059. <define name="office-forms">
  9060. <optional>
  9061. <element name="office:forms">
  9062. <ref name="office-forms-attlist"/>
  9063. <zeroOrMore>
  9064. <choice>
  9065. <ref name="form-form"/>
  9066. <ref name="xforms-model"/>
  9067. </choice>
  9068. </zeroOrMore>
  9069. </element>
  9070. </optional>
  9071. </define>
  9072. <define name="office-forms-attlist" combine="interleave">
  9073. <optional>
  9074. <attribute name="form:automatic-focus" a:defaultValue="false">
  9075. <ref name="boolean"/>
  9076. </attribute>
  9077. </optional>
  9078. </define>
  9079. <define name="office-forms-attlist" combine="interleave">
  9080. <optional>
  9081. <attribute name="form:apply-design-mode" a:defaultValue="true">
  9082. <ref name="boolean"/>
  9083. </attribute>
  9084. </optional>
  9085. </define>
  9086. <define name="form-form">
  9087. <element name="form:form">
  9088. <ref name="common-form-control-attlist"/>
  9089. <ref name="form-form-attlist"/>
  9090. <optional>
  9091. <ref name="form-properties"/>
  9092. </optional>
  9093. <optional>
  9094. <ref name="office-event-listeners"/>
  9095. </optional>
  9096. <zeroOrMore>
  9097. <choice>
  9098. <ref name="controls"/>
  9099. <ref name="form-form"/>
  9100. </choice>
  9101. </zeroOrMore>
  9102. <optional>
  9103. <ref name="form-connection-resource"/>
  9104. </optional>
  9105. </element>
  9106. </define>
  9107. <define name="form-form-attlist" combine="interleave">
  9108. <optional>
  9109. <attribute name="xlink:href">
  9110. <ref name="anyURI"/>
  9111. </attribute>
  9112. <optional>
  9113. <attribute name="xlink:type" a:defaultValue="simple">
  9114. <value>simple</value>
  9115. </attribute>
  9116. </optional>
  9117. <optional>
  9118. <attribute name="xlink:actuate" a:defaultValue="onRequest">
  9119. <value>onRequest</value>
  9120. </attribute>
  9121. </optional>
  9122. </optional>
  9123. </define>
  9124. <define name="form-form-attlist" combine="interleave">
  9125. <optional>
  9126. <attribute name="office:target-frame" a:defaultValue="_blank">
  9127. <ref name="targetFrameName"/>
  9128. </attribute>
  9129. </optional>
  9130. </define>
  9131. <define name="form-form-attlist" combine="interleave">
  9132. <optional>
  9133. <attribute name="form:method" a:defaultValue="get">
  9134. <choice>
  9135. <value>get</value>
  9136. <value>post</value>
  9137. <ref name="string"/>
  9138. </choice>
  9139. </attribute>
  9140. </optional>
  9141. </define>
  9142. <define name="form-form-attlist" combine="interleave">
  9143. <optional>
  9144. <attribute name="form:enctype"
  9145. a:defaultValue="application/x-www-form-urlencoded">
  9146. <ref name="string"/>
  9147. </attribute>
  9148. </optional>
  9149. </define>
  9150. <define name="form-form-attlist" combine="interleave">
  9151. <optional>
  9152. <attribute name="form:allow-deletes" a:defaultValue="true">
  9153. <ref name="boolean"/>
  9154. </attribute>
  9155. </optional>
  9156. </define>
  9157. <define name="form-form-attlist" combine="interleave">
  9158. <optional>
  9159. <attribute name="form:allow-inserts" a:defaultValue="true">
  9160. <ref name="boolean"/>
  9161. </attribute>
  9162. </optional>
  9163. </define>
  9164. <define name="form-form-attlist" combine="interleave">
  9165. <optional>
  9166. <attribute name="form:allow-updates" a:defaultValue="true">
  9167. <ref name="boolean"/>
  9168. </attribute>
  9169. </optional>
  9170. </define>
  9171. <define name="form-form-attlist" combine="interleave">
  9172. <optional>
  9173. <attribute name="form:apply-filter" a:defaultValue="false">
  9174. <ref name="boolean"/>
  9175. </attribute>
  9176. </optional>
  9177. </define>
  9178. <define name="form-form-attlist" combine="interleave">
  9179. <optional>
  9180. <attribute name="form:command-type" a:defaultValue="command">
  9181. <choice>
  9182. <value>table</value>
  9183. <value>query</value>
  9184. <value>command</value>
  9185. </choice>
  9186. </attribute>
  9187. </optional>
  9188. </define>
  9189. <define name="form-form-attlist" combine="interleave">
  9190. <optional>
  9191. <attribute name="form:command"/>
  9192. </optional>
  9193. </define>
  9194. <define name="form-form-attlist" combine="interleave">
  9195. <optional>
  9196. <attribute name="form:datasource">
  9197. <choice>
  9198. <ref name="anyURI"/>
  9199. <ref name="string"/>
  9200. </choice>
  9201. </attribute>
  9202. </optional>
  9203. </define>
  9204. <define name="form-form-attlist" combine="interleave">
  9205. <optional>
  9206. <attribute name="form:master-fields">
  9207. <ref name="string"/>
  9208. </attribute>
  9209. </optional>
  9210. </define>
  9211. <define name="form-form-attlist" combine="interleave">
  9212. <optional>
  9213. <attribute name="form:detail-fields">
  9214. <ref name="string"/>
  9215. </attribute>
  9216. </optional>
  9217. </define>
  9218. <define name="form-form-attlist" combine="interleave">
  9219. <optional>
  9220. <attribute name="form:escape-processing" a:defaultValue="true">
  9221. <ref name="boolean"/>
  9222. </attribute>
  9223. </optional>
  9224. </define>
  9225. <define name="form-form-attlist" combine="interleave">
  9226. <optional>
  9227. <attribute name="form:filter">
  9228. <ref name="string"/>
  9229. </attribute>
  9230. </optional>
  9231. </define>
  9232. <define name="form-form-attlist" combine="interleave">
  9233. <optional>
  9234. <attribute name="form:ignore-result" a:defaultValue="false">
  9235. <ref name="boolean"/>
  9236. </attribute>
  9237. </optional>
  9238. </define>
  9239. <define name="form-form-attlist" combine="interleave">
  9240. <optional>
  9241. <attribute name="form:navigation-mode">
  9242. <ref name="navigation"/>
  9243. </attribute>
  9244. </optional>
  9245. </define>
  9246. <define name="navigation">
  9247. <choice>
  9248. <value>none</value>
  9249. <value>current</value>
  9250. <value>parent</value>
  9251. </choice>
  9252. </define>
  9253. <define name="form-form-attlist" combine="interleave">
  9254. <optional>
  9255. <attribute name="form:order">
  9256. <ref name="string"/>
  9257. </attribute>
  9258. </optional>
  9259. </define>
  9260. <define name="form-form-attlist" combine="interleave">
  9261. <optional>
  9262. <attribute name="form:tab-cycle">
  9263. <ref name="tab-cycles"/>
  9264. </attribute>
  9265. </optional>
  9266. </define>
  9267. <define name="tab-cycles">
  9268. <choice>
  9269. <value>records</value>
  9270. <value>current</value>
  9271. <value>page</value>
  9272. </choice>
  9273. </define>
  9274. <define name="form-connection-resource">
  9275. <element name="form:connection-resource">
  9276. <attribute name="xlink:href">
  9277. <ref name="anyURI"/>
  9278. </attribute>
  9279. <empty/>
  9280. </element>
  9281. </define>
  9282. <define name="xforms-model">
  9283. <element name="xforms:model">
  9284. <ref name="anyAttListOrElements"/>
  9285. </element>
  9286. </define>
  9287. <define name="column-controls" combine="choice">
  9288. <element name="form:text">
  9289. <ref name="form-text-attlist"/>
  9290. <ref name="common-form-control-content"/>
  9291. </element>
  9292. </define>
  9293. <define name="controls" combine="choice">
  9294. <ref name="column-controls"/>
  9295. </define>
  9296. <define name="form-text-attlist">
  9297. <ref name="form-control-attlist"/>
  9298. <ref name="common-current-value-attlist"/>
  9299. <ref name="common-disabled-attlist"/>
  9300. <ref name="common-maxlength-attlist"/>
  9301. <ref name="common-printable-attlist"/>
  9302. <ref name="common-readonly-attlist"/>
  9303. <ref name="common-tab-attlist"/>
  9304. <ref name="common-title-attlist"/>
  9305. <ref name="common-value-attlist"/>
  9306. <ref name="common-convert-empty-attlist"/>
  9307. <ref name="common-data-field-attlist"/>
  9308. </define>
  9309. <define name="form-control-attlist">
  9310. <ref name="common-form-control-attlist"/>
  9311. <ref name="common-control-id-attlist"/>
  9312. <ref name="xforms-bind-attlist"/>
  9313. </define>
  9314. <define name="common-form-control-content">
  9315. <optional>
  9316. <ref name="form-properties"/>
  9317. </optional>
  9318. <optional>
  9319. <ref name="office-event-listeners"/>
  9320. </optional>
  9321. </define>
  9322. <define name="column-controls" combine="choice">
  9323. <element name="form:textarea">
  9324. <ref name="form-textarea-attlist"/>
  9325. <ref name="common-form-control-content"/>
  9326. <zeroOrMore>
  9327. <ref name="text-p"/>
  9328. </zeroOrMore>
  9329. </element>
  9330. </define>
  9331. <define name="form-textarea-attlist">
  9332. <ref name="form-control-attlist"/>
  9333. <ref name="common-current-value-attlist"/>
  9334. <ref name="common-disabled-attlist"/>
  9335. <ref name="common-maxlength-attlist"/>
  9336. <ref name="common-printable-attlist"/>
  9337. <ref name="common-readonly-attlist"/>
  9338. <ref name="common-tab-attlist"/>
  9339. <ref name="common-title-attlist"/>
  9340. <ref name="common-value-attlist"/>
  9341. <ref name="common-convert-empty-attlist"/>
  9342. <ref name="common-data-field-attlist"/>
  9343. </define>
  9344. <define name="controls" combine="choice">
  9345. <element name="form:password">
  9346. <ref name="form-password-attlist"/>
  9347. <ref name="common-form-control-content"/>
  9348. </element>
  9349. </define>
  9350. <define name="form-password-attlist" combine="interleave">
  9351. <ref name="form-control-attlist"/>
  9352. <ref name="common-disabled-attlist"/>
  9353. <ref name="common-maxlength-attlist"/>
  9354. <ref name="common-printable-attlist"/>
  9355. <ref name="common-tab-attlist"/>
  9356. <ref name="common-title-attlist"/>
  9357. <ref name="common-value-attlist"/>
  9358. <ref name="common-convert-empty-attlist"/>
  9359. </define>
  9360. <define name="form-password-attlist" combine="interleave">
  9361. <optional>
  9362. <attribute name="form:echo-char" a:defaultValue="*">
  9363. <ref name="character"/>
  9364. </attribute>
  9365. </optional>
  9366. </define>
  9367. <define name="controls" combine="choice">
  9368. <element name="form:file">
  9369. <ref name="form-file-attlist"/>
  9370. <ref name="common-form-control-content"/>
  9371. </element>
  9372. </define>
  9373. <define name="form-file-attlist" combine="interleave">
  9374. <ref name="form-control-attlist"/>
  9375. <ref name="common-current-value-attlist"/>
  9376. <ref name="common-disabled-attlist"/>
  9377. <ref name="common-maxlength-attlist"/>
  9378. <ref name="common-printable-attlist"/>
  9379. <ref name="common-readonly-attlist"/>
  9380. <ref name="common-tab-attlist"/>
  9381. <ref name="common-title-attlist"/>
  9382. <ref name="common-value-attlist"/>
  9383. </define>
  9384. <define name="column-controls" combine="choice">
  9385. <element name="form:formatted-text">
  9386. <ref name="form-formatted-text-attlist"/>
  9387. <ref name="common-form-control-content"/>
  9388. </element>
  9389. </define>
  9390. <define name="form-formatted-text-attlist" combine="interleave">
  9391. <ref name="form-control-attlist"/>
  9392. <ref name="common-current-value-attlist"/>
  9393. <ref name="common-disabled-attlist"/>
  9394. <ref name="common-maxlength-attlist"/>
  9395. <ref name="common-printable-attlist"/>
  9396. <ref name="common-readonly-attlist"/>
  9397. <ref name="common-tab-attlist"/>
  9398. <ref name="common-title-attlist"/>
  9399. <ref name="common-value-attlist"/>
  9400. <ref name="common-convert-empty-attlist"/>
  9401. <ref name="common-data-field-attlist"/>
  9402. </define>
  9403. <define name="form-formatted-text-attlist" combine="interleave">
  9404. <optional>
  9405. <attribute name="form:max-value">
  9406. <ref name="string"/>
  9407. </attribute>
  9408. </optional>
  9409. </define>
  9410. <define name="form-formatted-text-attlist" combine="interleave">
  9411. <optional>
  9412. <attribute name="form:min-value">
  9413. <ref name="string"/>
  9414. </attribute>
  9415. </optional>
  9416. </define>
  9417. <define name="form-formatted-text-attlist" combine="interleave">
  9418. <optional>
  9419. <attribute name="form:validation" a:defaultValue="false">
  9420. <ref name="boolean"/>
  9421. </attribute>
  9422. </optional>
  9423. </define>
  9424. <define name="column-controls" combine="choice">
  9425. <element name="form:number">
  9426. <ref name="form-number-attlist"/>
  9427. <ref name="common-numeric-control-attlist"/>
  9428. <ref name="common-form-control-content"/>
  9429. </element>
  9430. </define>
  9431. <define name="common-numeric-control-attlist">
  9432. <ref name="form-control-attlist"/>
  9433. <ref name="common-disabled-attlist"/>
  9434. <ref name="common-maxlength-attlist"/>
  9435. <ref name="common-printable-attlist"/>
  9436. <ref name="common-readonly-attlist"/>
  9437. <ref name="common-tab-attlist"/>
  9438. <ref name="common-title-attlist"/>
  9439. <ref name="common-convert-empty-attlist"/>
  9440. <ref name="common-data-field-attlist"/>
  9441. </define>
  9442. <define name="form-number-attlist" combine="interleave">
  9443. <optional>
  9444. <attribute name="form:value">
  9445. <ref name="double"/>
  9446. </attribute>
  9447. </optional>
  9448. </define>
  9449. <define name="form-number-attlist" combine="interleave">
  9450. <optional>
  9451. <attribute name="form:current-value">
  9452. <ref name="double"/>
  9453. </attribute>
  9454. </optional>
  9455. </define>
  9456. <define name="form-number-attlist" combine="interleave">
  9457. <optional>
  9458. <attribute name="form:min-value">
  9459. <ref name="double"/>
  9460. </attribute>
  9461. </optional>
  9462. </define>
  9463. <define name="form-number-attlist" combine="interleave">
  9464. <optional>
  9465. <attribute name="form:max-value">
  9466. <ref name="double"/>
  9467. </attribute>
  9468. </optional>
  9469. </define>
  9470. <define name="column-controls" combine="choice">
  9471. <element name="form:date">
  9472. <ref name="form-date-attlist"/>
  9473. <ref name="common-numeric-control-attlist"/>
  9474. <ref name="common-form-control-content"/>
  9475. </element>
  9476. </define>
  9477. <define name="controls" combine="choice">
  9478. <element name="form:time">
  9479. <ref name="form-time-attlist"/>
  9480. <ref name="common-numeric-control-attlist"/>
  9481. <ref name="common-form-control-content"/>
  9482. </element>
  9483. </define>
  9484. <define name="form-date-attlist" combine="interleave">
  9485. <optional>
  9486. <attribute name="form:value">
  9487. <ref name="date"/>
  9488. </attribute>
  9489. </optional>
  9490. </define>
  9491. <define name="form-time-attlist" combine="interleave">
  9492. <optional>
  9493. <attribute name="form:value">
  9494. <ref name="time"/>
  9495. </attribute>
  9496. </optional>
  9497. </define>
  9498. <define name="form-date-attlist" combine="interleave">
  9499. <optional>
  9500. <attribute name="form:current-value">
  9501. <ref name="date"/>
  9502. </attribute>
  9503. </optional>
  9504. </define>
  9505. <define name="form-time-attlist" combine="interleave">
  9506. <optional>
  9507. <attribute name="form:current-value">
  9508. <ref name="time"/>
  9509. </attribute>
  9510. </optional>
  9511. </define>
  9512. <define name="form-date-attlist" combine="interleave">
  9513. <optional>
  9514. <attribute name="form:min-value">
  9515. <ref name="date"/>
  9516. </attribute>
  9517. </optional>
  9518. </define>
  9519. <define name="form-time-attlist" combine="interleave">
  9520. <optional>
  9521. <attribute name="form:min-value">
  9522. <ref name="time"/>
  9523. </attribute>
  9524. </optional>
  9525. </define>
  9526. <define name="form-date-attlist" combine="interleave">
  9527. <optional>
  9528. <attribute name="form:max-value">
  9529. <ref name="date"/>
  9530. </attribute>
  9531. </optional>
  9532. </define>
  9533. <define name="form-time-attlist" combine="interleave">
  9534. <optional>
  9535. <attribute name="form:max-value">
  9536. <ref name="time"/>
  9537. </attribute>
  9538. </optional>
  9539. </define>
  9540. <define name="controls" combine="choice">
  9541. <element name="form:fixed-text">
  9542. <ref name="form-fixed-text-attlist"/>
  9543. <ref name="common-form-control-content"/>
  9544. </element>
  9545. </define>
  9546. <define name="form-fixed-text-attlist" combine="interleave">
  9547. <ref name="form-control-attlist"/>
  9548. <ref name="for"/>
  9549. <ref name="common-disabled-attlist"/>
  9550. <ref name="label"/>
  9551. <ref name="common-printable-attlist"/>
  9552. <ref name="common-title-attlist"/>
  9553. </define>
  9554. <define name="form-fixed-text-attlist" combine="interleave">
  9555. <optional>
  9556. <attribute name="form:multi-line" a:defaultValue="false">
  9557. <ref name="boolean"/>
  9558. </attribute>
  9559. </optional>
  9560. </define>
  9561. <define name="column-controls" combine="choice">
  9562. <element name="form:combobox">
  9563. <ref name="form-combobox-attlist"/>
  9564. <ref name="common-form-control-content"/>
  9565. <zeroOrMore>
  9566. <ref name="form-item"/>
  9567. </zeroOrMore>
  9568. </element>
  9569. </define>
  9570. <define name="form-combobox-attlist" combine="interleave">
  9571. <ref name="form-control-attlist"/>
  9572. <ref name="common-current-value-attlist"/>
  9573. <ref name="common-disabled-attlist"/>
  9574. <ref name="dropdown"/>
  9575. <ref name="common-maxlength-attlist"/>
  9576. <ref name="common-printable-attlist"/>
  9577. <ref name="common-readonly-attlist"/>
  9578. <ref name="size"/>
  9579. <ref name="common-tab-attlist"/>
  9580. <ref name="common-title-attlist"/>
  9581. <ref name="common-value-attlist"/>
  9582. <ref name="common-convert-empty-attlist"/>
  9583. <ref name="common-data-field-attlist"/>
  9584. <ref name="list-source"/>
  9585. <ref name="list-source-type"/>
  9586. </define>
  9587. <define name="form-combobox-attlist" combine="interleave">
  9588. <optional>
  9589. <attribute name="form:auto-complete">
  9590. <ref name="boolean"/>
  9591. </attribute>
  9592. </optional>
  9593. </define>
  9594. <define name="form-item">
  9595. <element name="form:item">
  9596. <ref name="form-item-attlist"/>
  9597. <text/>
  9598. </element>
  9599. </define>
  9600. <define name="form-item-attlist" combine="interleave">
  9601. <ref name="label"/>
  9602. </define>
  9603. <define name="column-controls" combine="choice">
  9604. <element name="form:listbox">
  9605. <ref name="form-listbox-attlist"/>
  9606. <ref name="common-form-control-content"/>
  9607. <zeroOrMore>
  9608. <ref name="form-option"/>
  9609. </zeroOrMore>
  9610. </element>
  9611. </define>
  9612. <define name="form-listbox-attlist" combine="interleave">
  9613. <ref name="form-control-attlist"/>
  9614. <ref name="common-disabled-attlist"/>
  9615. <ref name="dropdown"/>
  9616. <ref name="common-printable-attlist"/>
  9617. <ref name="size"/>
  9618. <ref name="common-tab-attlist"/>
  9619. <ref name="common-title-attlist"/>
  9620. <ref name="bound-column"/>
  9621. <ref name="common-data-field-attlist"/>
  9622. <ref name="list-source"/>
  9623. <ref name="list-source-type"/>
  9624. </define>
  9625. <define name="form-listbox-attlist" combine="interleave">
  9626. <optional>
  9627. <attribute name="form:multiple" a:defaultValue="false">
  9628. <ref name="boolean"/>
  9629. </attribute>
  9630. </optional>
  9631. </define>
  9632. <define name="form-listbox-attlist" combine="interleave">
  9633. <optional>
  9634. <attribute name="form:xforms-list-source">
  9635. <ref name="string"/>
  9636. </attribute>
  9637. </optional>
  9638. </define>
  9639. <define name="form-option">
  9640. <element name="form:option">
  9641. <ref name="form-option-attlist"/>
  9642. <text/>
  9643. </element>
  9644. </define>
  9645. <define name="form-option-attlist" combine="interleave">
  9646. <ref name="current-selected"/>
  9647. <ref name="selected"/>
  9648. <ref name="label"/>
  9649. <ref name="common-value-attlist"/>
  9650. </define>
  9651. <define name="controls" combine="choice">
  9652. <element name="form:button">
  9653. <ref name="form-button-attlist"/>
  9654. <ref name="common-form-control-content"/>
  9655. </element>
  9656. </define>
  9657. <define name="form-button-attlist" combine="interleave">
  9658. <ref name="form-control-attlist"/>
  9659. <ref name="button-type"/>
  9660. <ref name="common-disabled-attlist"/>
  9661. <ref name="label"/>
  9662. <ref name="image-data"/>
  9663. <ref name="common-printable-attlist"/>
  9664. <ref name="common-tab-attlist"/>
  9665. <ref name="target-frame"/>
  9666. <ref name="target-location"/>
  9667. <ref name="common-title-attlist"/>
  9668. <ref name="common-value-attlist"/>
  9669. <ref name="common-form-relative-image-position-attlist"/>
  9670. </define>
  9671. <define name="form-button-attlist" combine="interleave">
  9672. <optional>
  9673. <attribute name="form:default-button" a:defaultValue="false">
  9674. <ref name="boolean"/>
  9675. </attribute>
  9676. </optional>
  9677. </define>
  9678. <define name="form-button-attlist" combine="interleave">
  9679. <optional>
  9680. <attribute name="form:toggle" a:default-value="false">
  9681. <ref name="boolean"/>
  9682. </attribute>
  9683. </optional>
  9684. </define>
  9685. <define name="form-button-attlist" combine="interleave">
  9686. <optional>
  9687. <attribute name="form:focus-on-click">
  9688. <ref name="boolean"/>
  9689. </attribute>
  9690. </optional>
  9691. </define>
  9692. <define name="form-button-attlist" combine="interleave">
  9693. <optional>
  9694. <attribute name="form:xforms-submission">
  9695. <ref name="string"/>
  9696. </attribute>
  9697. </optional>
  9698. </define>
  9699. <define name="controls" combine="choice">
  9700. <element name="form:image">
  9701. <ref name="form-image-attlist"/>
  9702. <ref name="common-form-control-content"/>
  9703. </element>
  9704. </define>
  9705. <define name="form-image-attlist" combine="interleave">
  9706. <ref name="form-control-attlist"/>
  9707. <ref name="button-type"/>
  9708. <ref name="common-disabled-attlist"/>
  9709. <ref name="image-data"/>
  9710. <ref name="common-printable-attlist"/>
  9711. <ref name="common-tab-attlist"/>
  9712. <ref name="target-frame"/>
  9713. <ref name="target-location"/>
  9714. <ref name="common-title-attlist"/>
  9715. <ref name="common-value-attlist"/>
  9716. </define>
  9717. <define name="column-controls" combine="choice">
  9718. <element name="form:checkbox">
  9719. <ref name="form-checkbox-attlist"/>
  9720. <ref name="common-form-control-content"/>
  9721. </element>
  9722. </define>
  9723. <define name="form-checkbox-attlist" combine="interleave">
  9724. <ref name="form-control-attlist"/>
  9725. <ref name="common-disabled-attlist"/>
  9726. <ref name="label"/>
  9727. <ref name="common-printable-attlist"/>
  9728. <ref name="common-tab-attlist"/>
  9729. <ref name="common-title-attlist"/>
  9730. <ref name="common-value-attlist"/>
  9731. <ref name="common-data-field-attlist"/>
  9732. <ref name="common-form-visual-effect-attlist"/>
  9733. <ref name="common-form-relative-image-position-attlist"/>
  9734. </define>
  9735. <define name="states">
  9736. <choice>
  9737. <value>unchecked</value>
  9738. <value>checked</value>
  9739. <value>unknown</value>
  9740. </choice>
  9741. </define>
  9742. <define name="form-checkbox-attlist" combine="interleave">
  9743. <optional>
  9744. <attribute name="form:current-state">
  9745. <ref name="states"/>
  9746. </attribute>
  9747. </optional>
  9748. </define>
  9749. <define name="form-checkbox-attlist" combine="interleave">
  9750. <optional>
  9751. <attribute name="form:is-tristate" a:defaultValue="false">
  9752. <ref name="boolean"/>
  9753. </attribute>
  9754. </optional>
  9755. </define>
  9756. <define name="form-checkbox-attlist" combine="interleave">
  9757. <optional>
  9758. <attribute name="form:state" a:defaultValue="unchecked">
  9759. <ref name="states"/>
  9760. </attribute>
  9761. </optional>
  9762. </define>
  9763. <define name="controls" combine="choice">
  9764. <element name="form:radio">
  9765. <ref name="form-radio-attlist"/>
  9766. <ref name="common-form-control-content"/>
  9767. </element>
  9768. </define>
  9769. <define name="form-radio-attlist" combine="interleave">
  9770. <ref name="form-control-attlist"/>
  9771. <ref name="current-selected"/>
  9772. <ref name="common-disabled-attlist"/>
  9773. <ref name="label"/>
  9774. <ref name="common-printable-attlist"/>
  9775. <ref name="selected"/>
  9776. <ref name="common-tab-attlist"/>
  9777. <ref name="common-title-attlist"/>
  9778. <ref name="common-value-attlist"/>
  9779. <ref name="common-data-field-attlist"/>
  9780. <ref name="common-form-visual-effect-attlist"/>
  9781. <ref name="common-form-relative-image-position-attlist"/>
  9782. </define>
  9783. <define name="controls" combine="choice">
  9784. <element name="form:frame">
  9785. <ref name="form-frame-attlist"/>
  9786. <ref name="common-form-control-content"/>
  9787. </element>
  9788. </define>
  9789. <define name="form-frame-attlist" combine="interleave">
  9790. <ref name="form-control-attlist"/>
  9791. <ref name="common-disabled-attlist"/>
  9792. <ref name="for"/>
  9793. <ref name="label"/>
  9794. <ref name="common-printable-attlist"/>
  9795. <ref name="common-title-attlist"/>
  9796. </define>
  9797. <define name="controls" combine="choice">
  9798. <element name="form:image-frame">
  9799. <ref name="form-image-frame-attlist"/>
  9800. <ref name="common-form-control-content"/>
  9801. </element>
  9802. </define>
  9803. <define name="form-image-frame-attlist" combine="interleave">
  9804. <ref name="form-control-attlist"/>
  9805. <ref name="common-disabled-attlist"/>
  9806. <ref name="image-data"/>
  9807. <ref name="common-printable-attlist"/>
  9808. <ref name="common-readonly-attlist"/>
  9809. <ref name="common-title-attlist"/>
  9810. <ref name="common-data-field-attlist"/>
  9811. </define>
  9812. <define name="controls" combine="choice">
  9813. <element name="form:hidden">
  9814. <ref name="form-hidden-attlist"/>
  9815. <ref name="common-form-control-content"/>
  9816. </element>
  9817. </define>
  9818. <define name="form-hidden-attlist" combine="interleave">
  9819. <ref name="form-control-attlist"/>
  9820. <ref name="common-value-attlist"/>
  9821. </define>
  9822. <define name="controls" combine="choice">
  9823. <element name="form:grid">
  9824. <ref name="form-grid-attlist"/>
  9825. <ref name="common-form-control-content"/>
  9826. <zeroOrMore>
  9827. <ref name="form-column"/>
  9828. </zeroOrMore>
  9829. </element>
  9830. </define>
  9831. <define name="form-grid-attlist" combine="interleave">
  9832. <ref name="form-control-attlist"/>
  9833. <ref name="common-disabled-attlist"/>
  9834. <ref name="common-printable-attlist"/>
  9835. <ref name="common-tab-attlist"/>
  9836. <ref name="common-title-attlist"/>
  9837. </define>
  9838. <define name="form-column">
  9839. <element name="form:column">
  9840. <ref name="form-column-attlist"/>
  9841. <oneOrMore>
  9842. <ref name="column-controls"/>
  9843. </oneOrMore>
  9844. </element>
  9845. </define>
  9846. <define name="form-column-attlist" combine="interleave">
  9847. <ref name="common-form-control-attlist"/>
  9848. <ref name="label"/>
  9849. <ref name="text-style-name"/>
  9850. </define>
  9851. <define name="text-style-name">
  9852. <optional>
  9853. <attribute name="form:text-style-name">
  9854. <ref name="styleNameRef"/>
  9855. </attribute>
  9856. </optional>
  9857. </define>
  9858. <define name="controls" combine="choice">
  9859. <element name="form:value-range">
  9860. <ref name="form-value-range-attlist"/>
  9861. <ref name="common-form-control-content"/>
  9862. </element>
  9863. </define>
  9864. <define name="form-value-range-attlist" combine="interleave">
  9865. <ref name="form-control-attlist"/>
  9866. <ref name="common-disabled-attlist"/>
  9867. <ref name="common-printable-attlist"/>
  9868. <ref name="common-tab-attlist"/>
  9869. <ref name="common-title-attlist"/>
  9870. <ref name="common-value-attlist"/>
  9871. </define>
  9872. <define name="form-value-range-attlist" combine="interleave">
  9873. <optional>
  9874. <attribute name="form:max-value">
  9875. <ref name="string"/>
  9876. </attribute>
  9877. </optional>
  9878. </define>
  9879. <define name="form-value-range-attlist" combine="interleave">
  9880. <optional>
  9881. <attribute name="form:min-value">
  9882. <ref name="string"/>
  9883. </attribute>
  9884. </optional>
  9885. </define>
  9886. <define name="form-value-range-attlist" combine="interleave">
  9887. <optional>
  9888. <attribute name="form:step-size" a:defaultName="1">
  9889. <ref name="positiveInteger"/>
  9890. </attribute>
  9891. </optional>
  9892. </define>
  9893. <define name="form-value-range-attlist" combine="interleave">
  9894. <optional>
  9895. <attribute name="form:page-step-size">
  9896. <ref name="positiveInteger"/>
  9897. </attribute>
  9898. </optional>
  9899. </define>
  9900. <define name="form-value-range-attlist" combine="interleave">
  9901. <optional>
  9902. <attribute name="form:delay-for-repeat">
  9903. <ref name="duration"/>
  9904. </attribute>
  9905. </optional>
  9906. </define>
  9907. <define name="form-value-range-attlist" combine="interleave">
  9908. <optional>
  9909. <attribute name="form:orientation">
  9910. <choice>
  9911. <value>horizontal</value>
  9912. <value>vertical</value>
  9913. </choice>
  9914. </attribute>
  9915. </optional>
  9916. </define>
  9917. <define name="controls" combine="choice">
  9918. <element name="form:generic-control">
  9919. <ref name="form-generic-control-attlist"/>
  9920. <ref name="common-form-control-content"/>
  9921. </element>
  9922. </define>
  9923. <define name="form-generic-control-attlist" combine="interleave">
  9924. <ref name="form-control-attlist"/>
  9925. </define>
  9926. <define name="common-form-control-attlist" combine="interleave">
  9927. <optional>
  9928. <attribute name="form:name">
  9929. <ref name="string"/>
  9930. </attribute>
  9931. </optional>
  9932. </define>
  9933. <define name="common-form-control-attlist" combine="interleave">
  9934. <optional>
  9935. <attribute name="form:control-implementation">
  9936. <ref name="namespacedToken"/>
  9937. </attribute>
  9938. </optional>
  9939. </define>
  9940. <define name="xforms-bind-attlist">
  9941. <optional>
  9942. <attribute name="xforms:bind">
  9943. <ref name="string"/>
  9944. </attribute>
  9945. </optional>
  9946. </define>
  9947. <define name="types">
  9948. <choice>
  9949. <value>submit</value>
  9950. <value>reset</value>
  9951. <value>push</value>
  9952. <value>url</value>
  9953. </choice>
  9954. </define>
  9955. <define name="button-type">
  9956. <optional>
  9957. <attribute name="form:button-type" a:defaultValue="push">
  9958. <ref name="types"/>
  9959. </attribute>
  9960. </optional>
  9961. </define>
  9962. <define name="common-control-id-attlist">
  9963. <attribute name="form:id">
  9964. <ref name="ID"/>
  9965. </attribute>
  9966. </define>
  9967. <define name="current-selected">
  9968. <optional>
  9969. <attribute name="form:current-selected" a:defaultValue="false">
  9970. <ref name="boolean"/>
  9971. </attribute>
  9972. </optional>
  9973. </define>
  9974. <define name="common-value-attlist">
  9975. <optional>
  9976. <attribute name="form:value">
  9977. <ref name="string"/>
  9978. </attribute>
  9979. </optional>
  9980. </define>
  9981. <define name="common-current-value-attlist">
  9982. <optional>
  9983. <attribute name="form:current-value">
  9984. <ref name="string"/>
  9985. </attribute>
  9986. </optional>
  9987. </define>
  9988. <define name="common-disabled-attlist">
  9989. <optional>
  9990. <attribute name="form:disabled" a:defaultValue="false">
  9991. <ref name="boolean"/>
  9992. </attribute>
  9993. </optional>
  9994. </define>
  9995. <define name="dropdown">
  9996. <optional>
  9997. <attribute name="form:dropdown" a:defaultValue="false">
  9998. <ref name="boolean"/>
  9999. </attribute>
  10000. </optional>
  10001. </define>
  10002. <define name="for">
  10003. <optional>
  10004. <attribute name="form:for">
  10005. <ref name="string"/>
  10006. </attribute>
  10007. </optional>
  10008. </define>
  10009. <define name="image-data">
  10010. <optional>
  10011. <attribute name="form:image-data">
  10012. <ref name="anyURI"/>
  10013. </attribute>
  10014. </optional>
  10015. </define>
  10016. <define name="label">
  10017. <optional>
  10018. <attribute name="form:label">
  10019. <ref name="string"/>
  10020. </attribute>
  10021. </optional>
  10022. </define>
  10023. <define name="common-maxlength-attlist">
  10024. <optional>
  10025. <attribute name="form:max-length">
  10026. <ref name="nonNegativeInteger"/>
  10027. </attribute>
  10028. </optional>
  10029. </define>
  10030. <define name="common-printable-attlist">
  10031. <optional>
  10032. <attribute name="form:printable" a:defaultValue="true">
  10033. <ref name="boolean"/>
  10034. </attribute>
  10035. </optional>
  10036. </define>
  10037. <define name="common-readonly-attlist">
  10038. <optional>
  10039. <attribute name="form:readonly" a:defaultValue="false">
  10040. <ref name="boolean"/>
  10041. </attribute>
  10042. </optional>
  10043. </define>
  10044. <define name="selected">
  10045. <optional>
  10046. <attribute name="form:selected" a:defaultValue="false">
  10047. <ref name="boolean"/>
  10048. </attribute>
  10049. </optional>
  10050. </define>
  10051. <define name="size">
  10052. <optional>
  10053. <attribute name="form:size">
  10054. <ref name="nonNegativeInteger"/>
  10055. </attribute>
  10056. </optional>
  10057. </define>
  10058. <define name="common-tab-attlist" combine="interleave">
  10059. <optional>
  10060. <attribute name="form:tab-index" a:defaultValue="0">
  10061. <ref name="nonNegativeInteger"/>
  10062. </attribute>
  10063. </optional>
  10064. </define>
  10065. <define name="common-tab-attlist" combine="interleave">
  10066. <optional>
  10067. <attribute name="form:tab-stop" a:defaultValue="true">
  10068. <ref name="boolean"/>
  10069. </attribute>
  10070. </optional>
  10071. </define>
  10072. <define name="target-frame">
  10073. <optional>
  10074. <attribute name="office:target-frame" a:defaultValue="_blank">
  10075. <ref name="targetFrameName"/>
  10076. </attribute>
  10077. </optional>
  10078. </define>
  10079. <define name="target-location">
  10080. <optional>
  10081. <attribute name="xlink:href">
  10082. <ref name="anyURI"/>
  10083. </attribute>
  10084. </optional>
  10085. </define>
  10086. <define name="common-title-attlist">
  10087. <optional>
  10088. <attribute name="form:title"/>
  10089. </optional>
  10090. </define>
  10091. <define name="common-form-visual-effect-attlist" combine="interleave">
  10092. <optional>
  10093. <attribute name="form:visual-effect">
  10094. <choice>
  10095. <value>flat</value>
  10096. <value>3d</value>
  10097. </choice>
  10098. </attribute>
  10099. </optional>
  10100. </define>
  10101. <define name="common-form-relative-image-position-attlist"
  10102. combine="interleave">
  10103. <choice>
  10104. <optional>
  10105. <attribute name="form:image-position" a:defaultValue="center">
  10106. <value>center</value>
  10107. </attribute>
  10108. </optional>
  10109. <group>
  10110. <attribute name="form:image-position">
  10111. <choice>
  10112. <value>start</value>
  10113. <value>end</value>
  10114. <value>top</value>
  10115. <value>bottom</value>
  10116. </choice>
  10117. </attribute>
  10118. <optional>
  10119. <attribute name="form:image-align" a:defaultValue="center">
  10120. <choice>
  10121. <value>start</value>
  10122. <value>center</value>
  10123. <value>end</value>
  10124. </choice>
  10125. </attribute>
  10126. </optional>
  10127. </group>
  10128. </choice>
  10129. </define>
  10130. <define name="bound-column">
  10131. <optional>
  10132. <attribute name="form:bound-column">
  10133. <ref name="string"/>
  10134. </attribute>
  10135. </optional>
  10136. </define>
  10137. <define name="common-convert-empty-attlist">
  10138. <optional>
  10139. <attribute name="form:convert-empty-to-null" a:defaultValue="false">
  10140. <ref name="boolean"/>
  10141. </attribute>
  10142. </optional>
  10143. </define>
  10144. <define name="common-data-field-attlist">
  10145. <optional>
  10146. <attribute name="form:data-field">
  10147. <ref name="string"/>
  10148. </attribute>
  10149. </optional>
  10150. </define>
  10151. <define name="list-source">
  10152. <optional>
  10153. <attribute name="form:list-source">
  10154. <ref name="string"/>
  10155. </attribute>
  10156. </optional>
  10157. </define>
  10158. <define name="list-source-type">
  10159. <optional>
  10160. <attribute name="form:list-source-type">
  10161. <choice>
  10162. <value>table</value>
  10163. <value>query</value>
  10164. <value>sql</value>
  10165. <value>sql-pass-through</value>
  10166. <value>value-list</value>
  10167. <value>table-fields</value>
  10168. </choice>
  10169. </attribute>
  10170. </optional>
  10171. </define>
  10172. <define name="form-properties">
  10173. <element name="form:properties">
  10174. <oneOrMore>
  10175. <ref name="form-property"/>
  10176. </oneOrMore>
  10177. </element>
  10178. </define>
  10179. <define name="form-property" combine="choice">
  10180. <element name="form:property">
  10181. <ref name="form-property-name"/>
  10182. <ref name="form-property-value-and-type-attlist"/>
  10183. </element>
  10184. </define>
  10185. <define name="form-property-name" combine="interleave">
  10186. <attribute name="form:property-name">
  10187. <ref name="string"/>
  10188. </attribute>
  10189. </define>
  10190. <define name="form-property-value-and-type-attlist" combine="interleave">
  10191. <choice>
  10192. <ref name="common-value-and-type-attlist"/>
  10193. <attribute name="office:value-type">
  10194. <value>void</value>
  10195. </attribute>
  10196. </choice>
  10197. </define>
  10198. <define name="form-property" combine="choice">
  10199. <element name="form:list-property">
  10200. <ref name="form-property-name"/>
  10201. <ref name="form-property-type-and-value-list"/>
  10202. </element>
  10203. </define>
  10204. <define name="form-property-type-and-value-list">
  10205. <choice>
  10206. <group>
  10207. <attribute name="office:value-type">
  10208. <value>float</value>
  10209. </attribute>
  10210. <zeroOrMore>
  10211. <element name="form:list-value">
  10212. <attribute name="office:value">
  10213. <ref name="double"/>
  10214. </attribute>
  10215. </element>
  10216. </zeroOrMore>
  10217. </group>
  10218. <group>
  10219. <attribute name="office:value-type">
  10220. <value>percentage</value>
  10221. </attribute>
  10222. <zeroOrMore>
  10223. <element name="form:list-value">
  10224. <attribute name="office:value">
  10225. <ref name="double"/>
  10226. </attribute>
  10227. </element>
  10228. </zeroOrMore>
  10229. </group>
  10230. <group>
  10231. <attribute name="office:value-type">
  10232. <value>currency</value>
  10233. </attribute>
  10234. <zeroOrMore>
  10235. <element name="form:list-value">
  10236. <attribute name="office:value">
  10237. <ref name="double"/>
  10238. </attribute>
  10239. <optional>
  10240. <attribute name="office:currency">
  10241. <ref name="string"/>
  10242. </attribute>
  10243. </optional>
  10244. </element>
  10245. </zeroOrMore>
  10246. </group>
  10247. <group>
  10248. <attribute name="office:value-type">
  10249. <value>date</value>
  10250. </attribute>
  10251. <zeroOrMore>
  10252. <element name="form:list-value">
  10253. <attribute name="office:date-value">
  10254. <ref name="dateOrDateTime"/>
  10255. </attribute>
  10256. </element>
  10257. </zeroOrMore>
  10258. </group>
  10259. <group>
  10260. <attribute name="office:value-type">
  10261. <value>time</value>
  10262. </attribute>
  10263. <zeroOrMore>
  10264. <element name="form:list-value">
  10265. <attribute name="office:time-value">
  10266. <ref name="duration"/>
  10267. </attribute>
  10268. </element>
  10269. </zeroOrMore>
  10270. </group>
  10271. <group>
  10272. <attribute name="office:value-type">
  10273. <value>boolean</value>
  10274. </attribute>
  10275. <zeroOrMore>
  10276. <element name="form:list-value">
  10277. <attribute name="office:boolean-value">
  10278. <ref name="boolean"/>
  10279. </attribute>
  10280. </element>
  10281. </zeroOrMore>
  10282. </group>
  10283. <group>
  10284. <attribute name="office:value-type">
  10285. <value>string</value>
  10286. </attribute>
  10287. <zeroOrMore>
  10288. <element name="form:list-value">
  10289. <attribute name="office:string-value">
  10290. <ref name="string"/>
  10291. </attribute>
  10292. </element>
  10293. </zeroOrMore>
  10294. </group>
  10295. <attribute name="office:value-type">
  10296. <value>void</value>
  10297. </attribute>
  10298. </choice>
  10299. </define>
  10300. <define name="office-annotation">
  10301. <element name="office:annotation">
  10302. <ref name="office-annotation-attlist"/>
  10303. <ref name="draw-caption-attlist"/>
  10304. <ref name="common-draw-position-attlist"/>
  10305. <ref name="common-draw-size-attlist"/>
  10306. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  10307. <optional>
  10308. <ref name="dc-creator"/>
  10309. </optional>
  10310. <optional>
  10311. <ref name="dc-date"/>
  10312. </optional>
  10313. <optional>
  10314. <ref name="meta-date-string"/>
  10315. </optional>
  10316. <zeroOrMore>
  10317. <choice>
  10318. <ref name="text-p"/>
  10319. <ref name="text-list"/>
  10320. </choice>
  10321. </zeroOrMore>
  10322. </element>
  10323. </define>
  10324. <define name="office-annotation-attlist" combine="interleave">
  10325. <optional>
  10326. <attribute name="office:display">
  10327. <ref name="boolean"/>
  10328. </attribute>
  10329. </optional>
  10330. </define>
  10331. <define name="meta-date-string">
  10332. <element name="meta:date-string">
  10333. <ref name="string"/>
  10334. </element>
  10335. </define>
  10336. <define name="common-num-format-prefix-suffix-attlist" combine="interleave">
  10337. <optional>
  10338. <attribute name="style:num-prefix">
  10339. <ref name="string"/>
  10340. </attribute>
  10341. </optional>
  10342. <optional>
  10343. <attribute name="style:num-suffix">
  10344. <ref name="string"/>
  10345. </attribute>
  10346. </optional>
  10347. </define>
  10348. <define name="common-num-format-attlist" combine="interleave">
  10349. <choice>
  10350. <attribute name="style:num-format">
  10351. <choice>
  10352. <value>1</value>
  10353. <value>i</value>
  10354. <value>I</value>
  10355. <ref name="string"/>
  10356. <empty/>
  10357. </choice>
  10358. </attribute>
  10359. <group>
  10360. <attribute name="style:num-format">
  10361. <choice>
  10362. <value>a</value>
  10363. <value>A</value>
  10364. </choice>
  10365. </attribute>
  10366. <ref name="style-num-letter-sync-attlist"/>
  10367. </group>
  10368. <empty/>
  10369. </choice>
  10370. </define>
  10371. <define name="style-num-letter-sync-attlist" combine="interleave">
  10372. <optional>
  10373. <attribute name="style:num-letter-sync">
  10374. <ref name="boolean"/>
  10375. </attribute>
  10376. </optional>
  10377. </define>
  10378. <define name="office-change-info">
  10379. <element name="office:change-info">
  10380. <ref name="dc-creator"/>
  10381. <ref name="dc-date"/>
  10382. <zeroOrMore>
  10383. <ref name="text-p"/>
  10384. </zeroOrMore>
  10385. </element>
  10386. </define>
  10387. <define name="office-event-listeners">
  10388. <element name="office:event-listeners">
  10389. <zeroOrMore>
  10390. <choice>
  10391. <ref name="script-event-listener"/>
  10392. <ref name="presentation-event-listener"/>
  10393. </choice>
  10394. </zeroOrMore>
  10395. </element>
  10396. </define>
  10397. <define name="script-event-listener" combine="interleave">
  10398. <element name="script:event-listener">
  10399. <ref name="script-event-listener-attlist"/>
  10400. <empty/>
  10401. </element>
  10402. </define>
  10403. <define name="script-event-listener-attlist" combine="interleave">
  10404. <attribute name="script:event-name">
  10405. <ref name="string"/>
  10406. </attribute>
  10407. </define>
  10408. <define name="script-event-listener-attlist" combine="interleave">
  10409. <attribute name="script:language">
  10410. <ref name="string"/>
  10411. </attribute>
  10412. </define>
  10413. <define name="script-event-listener-attlist" combine="interleave">
  10414. <choice>
  10415. <attribute name="script:macro-name">
  10416. <ref name="string"/>
  10417. </attribute>
  10418. <group>
  10419. <attribute name="xlink:href">
  10420. <ref name="anyURI"/>
  10421. </attribute>
  10422. <optional>
  10423. <attribute name="xlink:type" a:defaultValue="simple">
  10424. <value>simple</value>
  10425. </attribute>
  10426. </optional>
  10427. <optional>
  10428. <attribute name="xlink:actuate" a:defaultValue="onRequest">
  10429. <value>onRequest</value>
  10430. </attribute>
  10431. </optional>
  10432. </group>
  10433. </choice>
  10434. </define>
  10435. <define name="math-math">
  10436. <element name="math:math">
  10437. <ref name="mathMarkup"/>
  10438. </element>
  10439. </define>
  10440. <!-- To avoid inclusion of the complete MathML schema, anything -->
  10441. <!-- is allowed within a math:math top-level element -->
  10442. <define name="mathMarkup">
  10443. <zeroOrMore>
  10444. <choice>
  10445. <attribute>
  10446. <anyName/>
  10447. </attribute>
  10448. <text/>
  10449. <element>
  10450. <anyName/>
  10451. <ref name="mathMarkup"/>
  10452. </element>
  10453. </choice>
  10454. </zeroOrMore>
  10455. </define>
  10456. <define name="text-dde-connection-decl">
  10457. <element name="text:dde-connection-decl">
  10458. <ref name="text-dde-connection-decl-attlist"/>
  10459. <ref name="common-dde-connection-decl-attlist"/>
  10460. </element>
  10461. </define>
  10462. <define name="text-dde-connection-decl-attlist" combine="interleave">
  10463. <attribute name="office:name">
  10464. <ref name="string"/>
  10465. </attribute>
  10466. </define>
  10467. <define name="common-dde-connection-decl-attlist" combine="interleave">
  10468. <attribute name="office:dde-application">
  10469. <ref name="string"/>
  10470. </attribute>
  10471. </define>
  10472. <define name="common-dde-connection-decl-attlist" combine="interleave">
  10473. <attribute name="office:dde-topic">
  10474. <ref name="string"/>
  10475. </attribute>
  10476. </define>
  10477. <define name="common-dde-connection-decl-attlist" combine="interleave">
  10478. <attribute name="office:dde-item">
  10479. <ref name="string"/>
  10480. </attribute>
  10481. </define>
  10482. <define name="common-dde-connection-decl-attlist" combine="interleave">
  10483. <optional>
  10484. <attribute name="office:automatic-update" a:defaultValue="true">
  10485. <ref name="boolean"/>
  10486. </attribute>
  10487. </optional>
  10488. </define>
  10489. <define name="table-dde-link">
  10490. <element name="table:dde-link">
  10491. <ref name="office-dde-source"/>
  10492. <ref name="table-table"/>
  10493. </element>
  10494. </define>
  10495. <define name="office-dde-source">
  10496. <element name="office:dde-source">
  10497. <ref name="office-dde-source-attlist"/>
  10498. <ref name="common-dde-connection-decl-attlist"/>
  10499. </element>
  10500. </define>
  10501. <define name="office-dde-source-attlist" combine="interleave">
  10502. <optional>
  10503. <attribute name="office:name">
  10504. <ref name="string"/>
  10505. </attribute>
  10506. </optional>
  10507. </define>
  10508. <define name="office-dde-source-attlist" combine="interleave">
  10509. <optional>
  10510. <attribute name="office:conversion-mode"
  10511. a:defaultValue="into-default-style-data-style">
  10512. <choice>
  10513. <value>into-default-style-data-style</value>
  10514. <value>into-english-number</value>
  10515. <value>keep-text</value>
  10516. </choice>
  10517. </attribute>
  10518. </optional>
  10519. </define>
  10520. <define name="animation-element" combine="choice">
  10521. <element name="anim:animate">
  10522. <ref name="common-anim-target-attlist"/>
  10523. <ref name="common-anim-named-target-attlist"/>
  10524. <ref name="common-anim-values-attlist"/>
  10525. <ref name="common-anim-spline-mode-attlist"/>
  10526. <ref name="common-spline-anim-value-attlist"/>
  10527. <ref name="common-timing-attlist"/>
  10528. <ref name="common-anim-add-accum-attlist"/>
  10529. </element>
  10530. </define>
  10531. <define name="animation-element" combine="choice">
  10532. <element name="anim:set">
  10533. <ref name="common-anim-target-attlist"/>
  10534. <ref name="common-anim-named-target-attlist"/>
  10535. <ref name="common-anim-set-values-attlist"/>
  10536. <ref name="common-timing-attlist"/>
  10537. <ref name="common-anim-add-accum-attlist"/>
  10538. </element>
  10539. </define>
  10540. <define name="animation-element" combine="choice">
  10541. <element name="anim:animateMotion">
  10542. <ref name="anim-animate-motion-attlist"/>
  10543. <ref name="common-anim-target-attlist"/>
  10544. <ref name="common-anim-named-target-attlist"/>
  10545. <ref name="common-anim-add-accum-attlist"/>
  10546. <ref name="common-anim-values-attlist"/>
  10547. <ref name="common-timing-attlist"/>
  10548. <ref name="common-spline-anim-value-attlist"/>
  10549. </element>
  10550. </define>
  10551. <define name="anim-animate-motion-attlist" combine="interleave">
  10552. <optional>
  10553. <attribute name="svg:path">
  10554. <ref name="pathData"/>
  10555. </attribute>
  10556. </optional>
  10557. </define>
  10558. <define name="anim-animate-motion-attlist" combine="interleave">
  10559. <optional>
  10560. <attribute name="svg:origin">
  10561. <ref name="string"/>
  10562. </attribute>
  10563. </optional>
  10564. </define>
  10565. <define name="anim-animate-motion-attlist" combine="interleave">
  10566. <optional>
  10567. <attribute name="smil:calcMode" a:defaultValue="paced">
  10568. <choice>
  10569. <value>discrete</value>
  10570. <value>linear</value>
  10571. <value>paced</value>
  10572. <value>spline</value>
  10573. </choice>
  10574. </attribute>
  10575. </optional>
  10576. </define>
  10577. <define name="animation-element" combine="choice">
  10578. <element name="anim:animateColor">
  10579. <ref name="common-anim-target-attlist"/>
  10580. <ref name="common-anim-named-target-attlist"/>
  10581. <ref name="common-anim-add-accum-attlist"/>
  10582. <ref name="common-anim-values-attlist"/>
  10583. <ref name="common-anim-spline-mode-attlist"/>
  10584. <ref name="common-spline-anim-value-attlist"/>
  10585. <ref name="anim-animate-color-attlist"/>
  10586. <ref name="common-timing-attlist"/>
  10587. </element>
  10588. </define>
  10589. <define name="anim-animate-color-attlist" combine="interleave">
  10590. <optional>
  10591. <attribute name="anim:color-interpolation" a:defaultValue="rgb">
  10592. <choice>
  10593. <value>rgb</value>
  10594. <value>hsl</value>
  10595. </choice>
  10596. </attribute>
  10597. </optional>
  10598. </define>
  10599. <define name="anim-animate-color-attlist" combine="interleave">
  10600. <optional>
  10601. <attribute name="anim:color-interpolation-direction"
  10602. a:defaultValue="clockwise">
  10603. <choice>
  10604. <value>clockwise</value>
  10605. <value>counter-clockwise</value>
  10606. </choice>
  10607. </attribute>
  10608. </optional>
  10609. </define>
  10610. <define name="animation-element" combine="choice">
  10611. <element name="anim:animateTransform">
  10612. <ref name="common-anim-target-attlist"/>
  10613. <ref name="common-anim-named-target-attlist"/>
  10614. <ref name="common-anim-add-accum-attlist"/>
  10615. <ref name="common-anim-values-attlist"/>
  10616. <ref name="anim-animate-transform-attlist"/>
  10617. <ref name="common-timing-attlist"/>
  10618. </element>
  10619. </define>
  10620. <define name="anim-animate-transform-attlist" combine="interleave">
  10621. <attribute name="svg:type">
  10622. <choice>
  10623. <value>translate</value>
  10624. <value>scale</value>
  10625. <value>rotate</value>
  10626. <value>skewX</value>
  10627. <value>skewY</value>
  10628. </choice>
  10629. </attribute>
  10630. </define>
  10631. <define name="animation-element" combine="choice">
  10632. <element name="anim:transitionFilter">
  10633. <ref name="common-anim-target-attlist"/>
  10634. <ref name="common-anim-add-accum-attlist"/>
  10635. <ref name="common-anim-values-attlist"/>
  10636. <ref name="common-anim-spline-mode-attlist "/>
  10637. <ref name="anim-transition-filter-attlist"/>
  10638. <ref name="common-timing-attlist"/>
  10639. </element>
  10640. </define>
  10641. <define name="anim-transition-filter-attlist" combine="interleave">
  10642. <attribute name="smil:type">
  10643. <ref name="string"/>
  10644. </attribute>
  10645. </define>
  10646. <define name="anim-transition-filter-attlist" combine="interleave">
  10647. <optional>
  10648. <attribute name="smil:subtype">
  10649. <ref name="string"/>
  10650. </attribute>
  10651. </optional>
  10652. </define>
  10653. <define name="anim-transition-filter-attlist" combine="interleave">
  10654. <optional>
  10655. <attribute name="smil:direction" a:defaultValue="forward">
  10656. <choice>
  10657. <value>forward</value>
  10658. <value>reverse</value>
  10659. </choice>
  10660. </attribute>
  10661. </optional>
  10662. </define>
  10663. <define name="anim-transition-filter-attlist" combine="interleave">
  10664. <optional>
  10665. <attribute name="smil:fadeColor">
  10666. <choice>
  10667. <value>forward</value>
  10668. <value>reverse</value>
  10669. </choice>
  10670. </attribute>
  10671. </optional>
  10672. </define>
  10673. <define name="anim-transition-filter-attlist" combine="interleave">
  10674. <optional>
  10675. <attribute name="smil:mode" a:defaultValue="in">
  10676. <choice>
  10677. <value>in</value>
  10678. <value>out</value>
  10679. </choice>
  10680. </attribute>
  10681. </optional>
  10682. </define>
  10683. <define name="common-anim-attlist" combine="interleave">
  10684. <optional>
  10685. <attribute name="anim:id">
  10686. <ref name="ID"/>
  10687. </attribute>
  10688. </optional>
  10689. </define>
  10690. <define name="common-anim-target-attlist" combine="interleave">
  10691. <optional>
  10692. <attribute name="smil:targetElement">
  10693. <ref name="IDREF"/>
  10694. </attribute>
  10695. </optional>
  10696. </define>
  10697. <define name="common-anim-named-target-attlist" combine="interleave">
  10698. <attribute name="smil:attributeName">
  10699. <ref name="string"/>
  10700. </attribute>
  10701. </define>
  10702. <define name="common-anim-target-attlist" combine="interleave">
  10703. <optional>
  10704. <attribute name="anim:sub-item">
  10705. <ref name="string"/>
  10706. </attribute>
  10707. </optional>
  10708. </define>
  10709. <define name="common-anim-values-attlist" combine="interleave">
  10710. <optional>
  10711. <attribute name="smil:values">
  10712. <ref name="string"/>
  10713. </attribute>
  10714. </optional>
  10715. </define>
  10716. <define name="common-anim-spline-mode-attlist" combine="interleave">
  10717. <optional>
  10718. <attribute name="smil:calcMode" a:defaultValue="discrete">
  10719. <choice>
  10720. <value>discrete</value>
  10721. <value>linear</value>
  10722. <value>paced</value>
  10723. <value>spline</value>
  10724. </choice>
  10725. </attribute>
  10726. </optional>
  10727. </define>
  10728. <define name="common-spline-anim-value-attlist" combine="interleave">
  10729. <optional>
  10730. <attribute name="smil:keyTimes">
  10731. <ref name="string"/>
  10732. </attribute>
  10733. </optional>
  10734. </define>
  10735. <define name="common-spline-anim-value-attlist" combine="interleave">
  10736. <optional>
  10737. <attribute name="smil:keySplines">
  10738. <ref name="string"/>
  10739. </attribute>
  10740. </optional>
  10741. </define>
  10742. <define name="common-anim-add-accum-attlist" combine="interleave">
  10743. <optional>
  10744. <attribute name="smil:accumulate">
  10745. <choice>
  10746. <value>none</value>
  10747. <value>sum</value>
  10748. </choice>
  10749. </attribute>
  10750. </optional>
  10751. </define>
  10752. <define name="common-anim-add-accum-attlist" combine="interleave">
  10753. <optional>
  10754. <attribute name="smil:additive">
  10755. <choice>
  10756. <value>replace</value>
  10757. <value>sum</value>
  10758. </choice>
  10759. </attribute>
  10760. </optional>
  10761. </define>
  10762. <define name="common-anim-values-attlist" combine="interleave">
  10763. <optional>
  10764. <attribute name="anim:formula">
  10765. <ref name="string"/>
  10766. </attribute>
  10767. </optional>
  10768. </define>
  10769. <define name="common-anim-set-values-attlist" combine="interleave">
  10770. <optional>
  10771. <attribute name="smil:to">
  10772. <ref name="string"/>
  10773. </attribute>
  10774. </optional>
  10775. </define>
  10776. <define name="common-anim-values-attlist" combine="interleave">
  10777. <ref name="common-anim-set-values-attlist"/>
  10778. <optional>
  10779. <attribute name="smil:from">
  10780. <ref name="string"/>
  10781. </attribute>
  10782. </optional>
  10783. <optional>
  10784. <attribute name="smil:by">
  10785. <ref name="string"/>
  10786. </attribute>
  10787. </optional>
  10788. </define>
  10789. <define name="common-begin-end-timing-attlist" combine="interleave">
  10790. <optional>
  10791. <attribute name="smil:begin">
  10792. <ref name="string"/>
  10793. </attribute>
  10794. </optional>
  10795. </define>
  10796. <define name="common-begin-end-timing-attlist" combine="interleave">
  10797. <optional>
  10798. <attribute name="smil:end">
  10799. <ref name="string"/>
  10800. </attribute>
  10801. </optional>
  10802. </define>
  10803. <define name="common-dur-timing-attlist" combine="interleave">
  10804. <optional>
  10805. <attribute name="smil:dur">
  10806. <ref name="string"/>
  10807. </attribute>
  10808. </optional>
  10809. </define>
  10810. <define name="common-endsync-timing-attlist" combine="interleave">
  10811. <optional>
  10812. <attribute name="smil:endsync">
  10813. <choice>
  10814. <value>first</value>
  10815. <value>last</value>
  10816. <value>all</value>
  10817. <value>media</value>
  10818. </choice>
  10819. </attribute>
  10820. </optional>
  10821. </define>
  10822. <define name="common-repeat-timing-attlist" combine="interleave">
  10823. <optional>
  10824. <attribute name="smil:repeatDur">
  10825. <ref name="string"/>
  10826. </attribute>
  10827. </optional>
  10828. <optional>
  10829. <attribute name="smil:repeatCount">
  10830. <choice>
  10831. <ref name="nonNegativeInteger"/>
  10832. <value>indefinite</value>
  10833. </choice>
  10834. </attribute>
  10835. </optional>
  10836. </define>
  10837. <define name="common-fill-timing-attlist" combine="interleave">
  10838. <optional>
  10839. <attribute name="smil:fill">
  10840. <choice>
  10841. <value>remove</value>
  10842. <value>freeze</value>
  10843. <value>hold</value>
  10844. <value>auto</value>
  10845. <value>default</value>
  10846. <value>transition</value>
  10847. </choice>
  10848. </attribute>
  10849. </optional>
  10850. </define>
  10851. <define name="common-fill-default-attlist" combine="interleave">
  10852. <optional>
  10853. <attribute name="smil:fillDefault">
  10854. <choice>
  10855. <value>remove</value>
  10856. <value>freeze</value>
  10857. <value>hold</value>
  10858. <value>transition</value>
  10859. <value>auto</value>
  10860. <value>inherit</value>
  10861. </choice>
  10862. </attribute>
  10863. </optional>
  10864. </define>
  10865. <define name="common-restart-timing-attlist" combine="interleave">
  10866. <optional>
  10867. <attribute name="smil:restart" a:defaultValue="default">
  10868. <choice>
  10869. <value>never</value>
  10870. <value>always</value>
  10871. <value>whenNotActive</value>
  10872. <value>default</value>
  10873. </choice>
  10874. </attribute>
  10875. </optional>
  10876. </define>
  10877. <define name="common-restart-default-attlist" combine="interleave">
  10878. <optional>
  10879. <attribute name="smil:restartDefault" a:defaultValue="inherit">
  10880. <choice>
  10881. <value>never</value>
  10882. <value>always</value>
  10883. <value>whenNotActive</value>
  10884. <value>inherit</value>
  10885. </choice>
  10886. </attribute>
  10887. </optional>
  10888. </define>
  10889. <define name="common-time-manip-attlist" combine="interleave">
  10890. <optional>
  10891. <attribute name="smil:accelerate" a:defaultValue="0.0">
  10892. <ref name="double"/>
  10893. </attribute>
  10894. </optional>
  10895. </define>
  10896. <define name="common-time-manip-attlist" combine="interleave">
  10897. <optional>
  10898. <attribute name="smil:decelerate" a:defaultValue="0.0">
  10899. <ref name="double"/>
  10900. </attribute>
  10901. </optional>
  10902. </define>
  10903. <define name="common-time-manip-attlist" combine="interleave">
  10904. <optional>
  10905. <attribute name="smil:autoReverse" a:defaultValue="false">
  10906. <ref name="boolean"/>
  10907. </attribute>
  10908. </optional>
  10909. </define>
  10910. <define name="animation-element" combine="choice">
  10911. <element name="anim:par">
  10912. <ref name="common-anim-attlist"/>
  10913. <ref name="common-timing-attlist"/>
  10914. <ref name="common-endsync-timing-attlist"/>
  10915. <zeroOrMore>
  10916. <ref name="animation-element"/>
  10917. </zeroOrMore>
  10918. </element>
  10919. </define>
  10920. <define name="common-basic-timing-attlist" combine="interleave">
  10921. <ref name="common-begin-end-timing-attlist"/>
  10922. <ref name="common-dur-timing-attlist"/>
  10923. <ref name="common-repeat-timing-attlist"/>
  10924. </define>
  10925. <define name="common-timing-attlist" combine="interleave">
  10926. <ref name="common-basic-timing-attlist"/>
  10927. <ref name="common-restart-timing-attlist"/>
  10928. <ref name="common-restart-default-attlist"/>
  10929. <ref name="common-fill-timing-attlist"/>
  10930. <ref name="common-fill-default-attlist"/>
  10931. <ref name="common-time-manip-attlist"/>
  10932. </define>
  10933. <define name="animation-element" combine="choice">
  10934. <element name="anim:seq">
  10935. <ref name="common-anim-attlist"/>
  10936. <ref name="common-endsync-timing-attlist"/>
  10937. <ref name="common-timing-attlist"/>
  10938. <zeroOrMore>
  10939. <ref name="animation-element"/>
  10940. </zeroOrMore>
  10941. </element>
  10942. </define>
  10943. <define name="animation-element" combine="choice">
  10944. <element name="anim:iterate">
  10945. <ref name="common-anim-attlist"/>
  10946. <ref name="anim-iterate-attlist"/>
  10947. <ref name="common-timing-attlist"/>
  10948. <ref name="common-endsync-timing-attlist"/>
  10949. <zeroOrMore>
  10950. <ref name="animation-element"/>
  10951. </zeroOrMore>
  10952. </element>
  10953. </define>
  10954. <define name="anim-iterate-attlist" combine="interleave">
  10955. <ref name="common-anim-target-attlist"/>
  10956. </define>
  10957. <define name="anim-iterate-attlist" combine="interleave">
  10958. <optional>
  10959. <attribute name="anim:iterate-type">
  10960. <ref name="string"/>
  10961. </attribute>
  10962. </optional>
  10963. </define>
  10964. <define name="anim-iterate-attlist" combine="interleave">
  10965. <optional>
  10966. <attribute name="anim:iterate-interval">
  10967. <ref name="duration"/>
  10968. </attribute>
  10969. </optional>
  10970. </define>
  10971. <define name="animation-element" combine="choice">
  10972. <element name="anim:audio">
  10973. <ref name="common-anim-attlist"/>
  10974. <ref name="anim-audio-attlist"/>
  10975. <ref name="common-basic-timing-attlist"/>
  10976. </element>
  10977. </define>
  10978. <define name="anim-audio-attlist" combine="interleave">
  10979. <optional>
  10980. <attribute name="xlink:href">
  10981. <ref name="anyURI"/>
  10982. </attribute>
  10983. </optional>
  10984. </define>
  10985. <define name="anim-audio-attlist" combine="interleave">
  10986. <optional>
  10987. <attribute name="anim:audio-level">
  10988. <ref name="double"/>
  10989. </attribute>
  10990. </optional>
  10991. </define>
  10992. <define name="animation-element" combine="choice">
  10993. <element name="anim:command">
  10994. <ref name="common-anim-attlist"/>
  10995. <ref name="anim-command-attlist"/>
  10996. <ref name="common-begin-end-timing-attlist"/>
  10997. <ref name="common-anim-target-attlist"/>
  10998. <zeroOrMore>
  10999. <element name="anim:param">
  11000. <attribute name="anim:name"/>
  11001. <attribute name="anim:value"/>
  11002. </element>
  11003. </zeroOrMore>
  11004. </element>
  11005. </define>
  11006. <define name="anim-command-attlist" combine="interleave">
  11007. <attribute name="anim:command">
  11008. <ref name="string"/>
  11009. </attribute>
  11010. </define>
  11011. <define name="style-style">
  11012. <element name="style:style">
  11013. <ref name="style-style-attlist"/>
  11014. <ref name="style-style-content"/>
  11015. <zeroOrMore>
  11016. <ref name="style-map"/>
  11017. </zeroOrMore>
  11018. </element>
  11019. </define>
  11020. <define name="style-style-attlist" combine="interleave">
  11021. <attribute name="style:name">
  11022. <ref name="styleName"/>
  11023. </attribute>
  11024. </define>
  11025. <define name="style-style-attlist" combine="interleave">
  11026. <optional>
  11027. <attribute name="style:display-name">
  11028. <ref name="string"/>
  11029. </attribute>
  11030. </optional>
  11031. </define>
  11032. <define name="style-style-attlist" combine="interleave">
  11033. <optional>
  11034. <attribute name="style:parent-style-name">
  11035. <ref name="styleNameRef"/>
  11036. </attribute>
  11037. </optional>
  11038. </define>
  11039. <define name="style-style-attlist" combine="interleave">
  11040. <optional>
  11041. <attribute name="style:next-style-name">
  11042. <ref name="styleNameRef"/>
  11043. </attribute>
  11044. </optional>
  11045. </define>
  11046. <define name="style-style-attlist" combine="interleave">
  11047. <optional>
  11048. <attribute name="style:list-style-name">
  11049. <choice>
  11050. <ref name="styleName"/>
  11051. <empty/>
  11052. </choice>
  11053. </attribute>
  11054. </optional>
  11055. </define>
  11056. <define name="style-style-attlist" combine="interleave">
  11057. <optional>
  11058. <attribute name="style:master-page-name">
  11059. <ref name="styleNameRef"/>
  11060. </attribute>
  11061. </optional>
  11062. </define>
  11063. <define name="style-style-attlist" combine="interleave">
  11064. <optional>
  11065. <attribute name="style:auto-update" a:defaultValue="false">
  11066. <ref name="boolean"/>
  11067. </attribute>
  11068. </optional>
  11069. </define>
  11070. <define name="style-style-attlist" combine="interleave">
  11071. <optional>
  11072. <attribute name="style:data-style-name">
  11073. <ref name="styleNameRef"/>
  11074. </attribute>
  11075. </optional>
  11076. </define>
  11077. <define name="style-style-attlist" combine="interleave">
  11078. <optional>
  11079. <attribute name="style:class">
  11080. <ref name="string"/>
  11081. </attribute>
  11082. </optional>
  11083. </define>
  11084. <define name="style-style-attlist" combine="interleave">
  11085. <optional>
  11086. <attribute name="style:default-outline-level">
  11087. <ref name="positiveInteger"/>
  11088. </attribute>
  11089. </optional>
  11090. </define>
  11091. <define name="style-map">
  11092. <element name="style:map">
  11093. <ref name="style-map-attlist"/>
  11094. <empty/>
  11095. </element>
  11096. </define>
  11097. <define name="style-map-attlist" combine="interleave">
  11098. <attribute name="style:condition">
  11099. <ref name="string"/>
  11100. </attribute>
  11101. </define>
  11102. <define name="style-map-attlist" combine="interleave">
  11103. <attribute name="style:apply-style-name">
  11104. <ref name="styleNameRef"/>
  11105. </attribute>
  11106. </define>
  11107. <define name="style-map-attlist" combine="interleave">
  11108. <optional>
  11109. <attribute name="style:base-cell-address">
  11110. <ref name="cellAddress"/>
  11111. </attribute>
  11112. </optional>
  11113. </define>
  11114. <define name="style-default-style">
  11115. <element name="style:default-style">
  11116. <ref name="style-style-content"/>
  11117. </element>
  11118. </define>
  11119. <define name="style-page-layout">
  11120. <element name="style:page-layout">
  11121. <ref name="style-page-layout-attlist"/>
  11122. <optional>
  11123. <ref name="style-page-layout-properties"/>
  11124. </optional>
  11125. <optional>
  11126. <ref name="style-header-style"/>
  11127. </optional>
  11128. <optional>
  11129. <ref name="style-footer-style"/>
  11130. </optional>
  11131. </element>
  11132. </define>
  11133. <define name="style-page-layout-attlist" combine="interleave">
  11134. <attribute name="style:name">
  11135. <ref name="styleName"/>
  11136. </attribute>
  11137. </define>
  11138. <define name="style-page-layout-attlist" combine="interleave">
  11139. <optional>
  11140. <attribute name="style:page-usage" a:defaultValue="all">
  11141. <choice>
  11142. <value>all</value>
  11143. <value>left</value>
  11144. <value>right</value>
  11145. <value>mirrored</value>
  11146. </choice>
  11147. </attribute>
  11148. </optional>
  11149. </define>
  11150. <define name="style-header-style">
  11151. <element name="style:header-style">
  11152. <optional>
  11153. <ref name="style-header-footer-properties"/>
  11154. </optional>
  11155. </element>
  11156. </define>
  11157. <define name="style-footer-style">
  11158. <element name="style:footer-style">
  11159. <optional>
  11160. <ref name="style-header-footer-properties"/>
  11161. </optional>
  11162. </element>
  11163. </define>
  11164. <define name="style-master-page">
  11165. <element name="style:master-page">
  11166. <ref name="style-master-page-attlist"/>
  11167. <optional>
  11168. <ref name="style-header"/>
  11169. <optional>
  11170. <ref name="style-header-left"/>
  11171. </optional>
  11172. </optional>
  11173. <optional>
  11174. <ref name="style-footer"/>
  11175. <optional>
  11176. <ref name="style-footer-left"/>
  11177. </optional>
  11178. </optional>
  11179. <optional>
  11180. <ref name="office-forms"/>
  11181. </optional>
  11182. <zeroOrMore>
  11183. <ref name="style-style"/>
  11184. </zeroOrMore>
  11185. <zeroOrMore>
  11186. <ref name="shape"/>
  11187. </zeroOrMore>
  11188. <optional>
  11189. <ref name="presentation-notes"/>
  11190. </optional>
  11191. </element>
  11192. </define>
  11193. <define name="style-master-page-attlist" combine="interleave">
  11194. <attribute name="style:name">
  11195. <ref name="styleName"/>
  11196. </attribute>
  11197. </define>
  11198. <define name="style-master-page-attlist" combine="interleave">
  11199. <optional>
  11200. <attribute name="style:display-name">
  11201. <ref name="string"/>
  11202. </attribute>
  11203. </optional>
  11204. </define>
  11205. <define name="style-master-page-attlist" combine="interleave">
  11206. <attribute name="style:page-layout-name">
  11207. <ref name="styleNameRef"/>
  11208. </attribute>
  11209. </define>
  11210. <define name="style-master-page-attlist" combine="interleave">
  11211. <optional>
  11212. <attribute name="draw:style-name">
  11213. <ref name="styleNameRef"/>
  11214. </attribute>
  11215. </optional>
  11216. </define>
  11217. <define name="style-master-page-attlist" combine="interleave">
  11218. <optional>
  11219. <attribute name="style:next-style-name">
  11220. <ref name="styleNameRef"/>
  11221. </attribute>
  11222. </optional>
  11223. </define>
  11224. <define name="style-header">
  11225. <element name="style:header">
  11226. <ref name="common-style-header-footer-attlist"/>
  11227. <ref name="header-footer-content"/>
  11228. </element>
  11229. </define>
  11230. <define name="style-footer">
  11231. <element name="style:footer">
  11232. <ref name="common-style-header-footer-attlist"/>
  11233. <ref name="header-footer-content"/>
  11234. </element>
  11235. </define>
  11236. <define name="style-header-left">
  11237. <element name="style:header-left">
  11238. <ref name="common-style-header-footer-attlist"/>
  11239. <ref name="header-footer-content"/>
  11240. </element>
  11241. </define>
  11242. <define name="style-footer-left">
  11243. <element name="style:footer-left">
  11244. <ref name="common-style-header-footer-attlist"/>
  11245. <ref name="header-footer-content"/>
  11246. </element>
  11247. </define>
  11248. <define name="header-footer-content">
  11249. <choice>
  11250. <group>
  11251. <ref name="text-tracked-changes"/>
  11252. <ref name="text-decls"/>
  11253. <zeroOrMore>
  11254. <choice>
  11255. <ref name="text-h"/>
  11256. <ref name="text-p"/>
  11257. <ref name="text-list"/>
  11258. <ref name="table-table"/>
  11259. <ref name="text-section"/>
  11260. <ref name="text-table-of-content"/>
  11261. <ref name="text-illustration-index"/>
  11262. <ref name="text-table-index"/>
  11263. <ref name="text-object-index"/>
  11264. <ref name="text-user-index"/>
  11265. <ref name="text-alphabetical-index"/>
  11266. <ref name="text-bibliography"/>
  11267. <ref name="text-index-title"/>
  11268. <ref name="change-marks"/>
  11269. </choice>
  11270. </zeroOrMore>
  11271. </group>
  11272. <group>
  11273. <optional>
  11274. <ref name="style-region-left"/>
  11275. </optional>
  11276. <optional>
  11277. <ref name="style-region-center"/>
  11278. </optional>
  11279. <optional>
  11280. <ref name="style-region-right"/>
  11281. </optional>
  11282. </group>
  11283. </choice>
  11284. </define>
  11285. <define name="common-style-header-footer-attlist" combine="interleave">
  11286. <optional>
  11287. <attribute name="style:display" a:defaultValue="true">
  11288. <ref name="boolean"/>
  11289. </attribute>
  11290. </optional>
  11291. </define>
  11292. <define name="style-region-left">
  11293. <element name="style:region-left">
  11294. <ref name="region-content"/>
  11295. </element>
  11296. </define>
  11297. <define name="style-region-center">
  11298. <element name="style:region-center">
  11299. <ref name="region-content"/>
  11300. </element>
  11301. </define>
  11302. <define name="style-region-right">
  11303. <element name="style:region-right">
  11304. <ref name="region-content"/>
  11305. </element>
  11306. </define>
  11307. <define name="region-content">
  11308. <zeroOrMore>
  11309. <ref name="text-p"/>
  11310. </zeroOrMore>
  11311. </define>
  11312. <define name="presentation-notes">
  11313. <element name="presentation:notes">
  11314. <ref name="common-presentation-header-footer-attlist"/>
  11315. <ref name="presentation-notes-attlist"/>
  11316. <ref name="office-forms"/>
  11317. <zeroOrMore>
  11318. <ref name="shape"/>
  11319. </zeroOrMore>
  11320. </element>
  11321. </define>
  11322. <define name="presentation-notes-attlist" combine="interleave">
  11323. <optional>
  11324. <attribute name="style:page-layout-name">
  11325. <ref name="styleNameRef"/>
  11326. </attribute>
  11327. </optional>
  11328. </define>
  11329. <define name="presentation-notes-attlist" combine="interleave">
  11330. <optional>
  11331. <attribute name="draw:style-name">
  11332. <ref name="styleNameRef"/>
  11333. </attribute>
  11334. </optional>
  11335. </define>
  11336. <define name="table-table-template">
  11337. <element name="table:table-template">
  11338. <ref name="table-table-template-attlist"/>
  11339. <optional>
  11340. <ref name="table-first-row"/>
  11341. </optional>
  11342. <optional>
  11343. <ref name="table-last-row"/>
  11344. </optional>
  11345. <optional>
  11346. <ref name="table-first-column"/>
  11347. </optional>
  11348. <optional>
  11349. <ref name="table-last-column"/>
  11350. </optional>
  11351. <choice>
  11352. <ref name="table-body"/>
  11353. <group>
  11354. <ref name="table-even-rows"/>
  11355. <ref name="table-odd-rows"/>
  11356. </group>
  11357. <group>
  11358. <ref name="table-even-columns"/>
  11359. <ref name="table-odd-columns"/>
  11360. </group>
  11361. </choice>
  11362. </element>
  11363. </define>
  11364. <define name="table-table-template-attlist" combine="interleave">
  11365. <attribute name="text:name">
  11366. <ref name="string"/>
  11367. </attribute>
  11368. </define>
  11369. <define name="table-table-template-attlist" combine="interleave">
  11370. <attribute name="text:first-row-start-column">
  11371. <ref name="rowOrCol"/>
  11372. </attribute>
  11373. </define>
  11374. <define name="table-table-template-attlist" combine="interleave">
  11375. <attribute name="text:first-row-end-column">
  11376. <ref name="rowOrCol"/>
  11377. </attribute>
  11378. </define>
  11379. <define name="table-table-template-attlist" combine="interleave">
  11380. <attribute name="text:last-row-start-column">
  11381. <ref name="rowOrCol"/>
  11382. </attribute>
  11383. </define>
  11384. <define name="table-table-template-attlist" combine="interleave">
  11385. <attribute name="text:last-row-end-column">
  11386. <ref name="rowOrCol"/>
  11387. </attribute>
  11388. </define>
  11389. <define name="rowOrCol">
  11390. <choice>
  11391. <value>row</value>
  11392. <value>column</value>
  11393. </choice>
  11394. </define>
  11395. <define name="table-first-row">
  11396. <element name="table:first-row">
  11397. <ref name="common-table-template-attlist"/>
  11398. <empty/>
  11399. </element>
  11400. </define>
  11401. <define name="table-last-row">
  11402. <element name="table:last-row">
  11403. <ref name="common-table-template-attlist"/>
  11404. <empty/>
  11405. </element>
  11406. </define>
  11407. <define name="table-first-column">
  11408. <element name="table:first-column">
  11409. <ref name="common-table-template-attlist"/>
  11410. <empty/>
  11411. </element>
  11412. </define>
  11413. <define name="table-last-column">
  11414. <element name="table:last-column">
  11415. <ref name="common-table-template-attlist"/>
  11416. <empty/>
  11417. </element>
  11418. </define>
  11419. <define name="table-body">
  11420. <element name="table:body">
  11421. <ref name="common-table-template-attlist"/>
  11422. <empty/>
  11423. </element>
  11424. </define>
  11425. <define name="table-even-rows">
  11426. <element name="table:even-rows">
  11427. <ref name="common-table-template-attlist"/>
  11428. <empty/>
  11429. </element>
  11430. </define>
  11431. <define name="table-odd-rows">
  11432. <element name="table:odd-rows">
  11433. <ref name="common-table-template-attlist"/>
  11434. <empty/>
  11435. </element>
  11436. </define>
  11437. <define name="table-even-columns">
  11438. <element name="table:even-columns">
  11439. <ref name="common-table-template-attlist"/>
  11440. <empty/>
  11441. </element>
  11442. </define>
  11443. <define name="table-odd-columns">
  11444. <element name="table:odd-columns">
  11445. <ref name="common-table-template-attlist"/>
  11446. <empty/>
  11447. </element>
  11448. </define>
  11449. <define name="common-table-template-attlist" combine="interleave">
  11450. <attribute name="text:style-name">
  11451. <ref name="styleNameRef"/>
  11452. </attribute>
  11453. <attribute name="text:paragraph-style-name">
  11454. <optional>
  11455. <ref name="styleNameRef"/>
  11456. </optional>
  11457. </attribute>
  11458. </define>
  11459. <define name="style-font-face">
  11460. <element name="style:font-face">
  11461. <ref name="style-font-face-attlist"/>
  11462. <optional>
  11463. <ref name="svg-font-face-src"/>
  11464. </optional>
  11465. <optional>
  11466. <ref name="svg-definition-src"/>
  11467. </optional>
  11468. </element>
  11469. </define>
  11470. <define name="style-font-face-attlist" combine="interleave">
  11471. <optional>
  11472. <attribute name="svg:font-family">
  11473. <ref name="string"/>
  11474. </attribute>
  11475. </optional>
  11476. <optional>
  11477. <attribute name="svg:font-style">
  11478. <ref name="fontStyle"/>
  11479. </attribute>
  11480. </optional>
  11481. <optional>
  11482. <attribute name="svg:font-variant">
  11483. <ref name="fontVariant"/>
  11484. </attribute>
  11485. </optional>
  11486. <optional>
  11487. <attribute name="svg:font-weight">
  11488. <ref name="fontWeight"/>
  11489. </attribute>
  11490. </optional>
  11491. <optional>
  11492. <attribute name="svg:font-stretch">
  11493. <choice>
  11494. <value>normal</value>
  11495. <value>ultra-condensed</value>
  11496. <value>extra-condensed</value>
  11497. <value>condensed</value>
  11498. <value>semi-condensed</value>
  11499. <value>semi-expanded</value>
  11500. <value>expanded</value>
  11501. <value>extra-expanded</value>
  11502. <value>ultra-expanded</value>
  11503. </choice>
  11504. </attribute>
  11505. </optional>
  11506. <optional>
  11507. <attribute name="svg:font-size">
  11508. <ref name="positiveLength"/>
  11509. </attribute>
  11510. </optional>
  11511. <optional>
  11512. <attribute name="svg:unicode-range"/>
  11513. </optional>
  11514. <optional>
  11515. <attribute name="svg:units-per-em">
  11516. <ref name="integer"/>
  11517. </attribute>
  11518. </optional>
  11519. <optional>
  11520. <attribute name="svg:panose-1"/>
  11521. </optional>
  11522. <optional>
  11523. <attribute name="svg:stemv">
  11524. <ref name="integer"/>
  11525. </attribute>
  11526. </optional>
  11527. <optional>
  11528. <attribute name="svg:stemh">
  11529. <ref name="integer"/>
  11530. </attribute>
  11531. </optional>
  11532. <optional>
  11533. <attribute name="svg:slope">
  11534. <ref name="integer"/>
  11535. </attribute>
  11536. </optional>
  11537. <optional>
  11538. <attribute name="svg:cap-height">
  11539. <ref name="integer"/>
  11540. </attribute>
  11541. </optional>
  11542. <optional>
  11543. <attribute name="svg:x-height">
  11544. <ref name="integer"/>
  11545. </attribute>
  11546. </optional>
  11547. <optional>
  11548. <attribute name="svg:accent-height">
  11549. <ref name="integer"/>
  11550. </attribute>
  11551. </optional>
  11552. <optional>
  11553. <attribute name="svg:ascent">
  11554. <ref name="integer"/>
  11555. </attribute>
  11556. </optional>
  11557. <optional>
  11558. <attribute name="svg:descent">
  11559. <ref name="integer"/>
  11560. </attribute>
  11561. </optional>
  11562. <optional>
  11563. <attribute name="svg:widths"/>
  11564. </optional>
  11565. <optional>
  11566. <attribute name="svg:bbox"/>
  11567. </optional>
  11568. <optional>
  11569. <attribute name="svg:ideographic">
  11570. <ref name="integer"/>
  11571. </attribute>
  11572. </optional>
  11573. <optional>
  11574. <attribute name="svg:alphabetic">
  11575. <ref name="integer"/>
  11576. </attribute>
  11577. </optional>
  11578. <optional>
  11579. <attribute name="svg:mathematical">
  11580. <ref name="integer"/>
  11581. </attribute>
  11582. </optional>
  11583. <optional>
  11584. <attribute name="svg:hanging">
  11585. <ref name="integer"/>
  11586. </attribute>
  11587. </optional>
  11588. <optional>
  11589. <attribute name="svg:v-ideographic">
  11590. <ref name="integer"/>
  11591. </attribute>
  11592. </optional>
  11593. <optional>
  11594. <attribute name="svg:v-alphabetic">
  11595. <ref name="integer"/>
  11596. </attribute>
  11597. </optional>
  11598. <optional>
  11599. <attribute name="svg:v-mathematical">
  11600. <ref name="integer"/>
  11601. </attribute>
  11602. </optional>
  11603. <optional>
  11604. <attribute name="svg:v-hanging">
  11605. <ref name="integer"/>
  11606. </attribute>
  11607. </optional>
  11608. <optional>
  11609. <attribute name="svg:underline-position">
  11610. <ref name="integer"/>
  11611. </attribute>
  11612. </optional>
  11613. <optional>
  11614. <attribute name="svg:underline-thickness">
  11615. <ref name="integer"/>
  11616. </attribute>
  11617. </optional>
  11618. <optional>
  11619. <attribute name="svg:strikethrough-position">
  11620. <ref name="integer"/>
  11621. </attribute>
  11622. </optional>
  11623. <optional>
  11624. <attribute name="svg:strikethrough-thickness">
  11625. <ref name="integer"/>
  11626. </attribute>
  11627. </optional>
  11628. <optional>
  11629. <attribute name="svg:overline-position">
  11630. <ref name="integer"/>
  11631. </attribute>
  11632. </optional>
  11633. <optional>
  11634. <attribute name="svg:overline-thickness">
  11635. <ref name="integer"/>
  11636. </attribute>
  11637. </optional>
  11638. </define>
  11639. <define name="svg-font-face-src">
  11640. <element name="svg:font-face-src">
  11641. <oneOrMore>
  11642. <choice>
  11643. <ref name="svg-font-face-uri"/>
  11644. <ref name="svg-font-face-name"/>
  11645. </choice>
  11646. </oneOrMore>
  11647. </element>
  11648. </define>
  11649. <define name="svg-font-face-uri">
  11650. <element name="svg:font-face-uri">
  11651. <ref name="common-svg-font-face-xlink-attlist"/>
  11652. <zeroOrMore>
  11653. <ref name="svg-font-face-format"/>
  11654. </zeroOrMore>
  11655. </element>
  11656. </define>
  11657. <define name="svg-font-face-format">
  11658. <element name="svg:font-face-format">
  11659. <optional>
  11660. <attribute name="svg:string"/>
  11661. </optional>
  11662. <empty/>
  11663. </element>
  11664. </define>
  11665. <define name="svg-font-face-name">
  11666. <element name="svg:font-face-name">
  11667. <optional>
  11668. <attribute name="svg:name"/>
  11669. </optional>
  11670. <empty/>
  11671. </element>
  11672. </define>
  11673. <define name="svg-definition-src">
  11674. <element name="svg:definition-src">
  11675. <ref name="common-svg-font-face-xlink-attlist"/>
  11676. <empty/>
  11677. </element>
  11678. </define>
  11679. <define name="common-svg-font-face-xlink-attlist" combine="interleave">
  11680. <attribute name="xlink:href">
  11681. <ref name="anyURI"/>
  11682. </attribute>
  11683. <optional>
  11684. <attribute name="xlink:type" a:defaultValue="simple">
  11685. <value>simple</value>
  11686. </attribute>
  11687. </optional>
  11688. <optional>
  11689. <attribute name="xlink:actuate" a:defaultValue="onRequest">
  11690. <value>onRequest</value>
  11691. </attribute>
  11692. </optional>
  11693. </define>
  11694. <define name="style-font-face-attlist" combine="interleave">
  11695. <attribute name="style:name">
  11696. <ref name="string"/>
  11697. </attribute>
  11698. </define>
  11699. <define name="style-font-face-attlist" combine="interleave">
  11700. <optional>
  11701. <attribute name="style:font-adornments">
  11702. <ref name="string"/>
  11703. </attribute>
  11704. </optional>
  11705. </define>
  11706. <define name="style-font-face-attlist" combine="interleave">
  11707. <optional>
  11708. <attribute name="style:font-family-generic">
  11709. <ref name="fontFamilyGeneric"/>
  11710. </attribute>
  11711. </optional>
  11712. </define>
  11713. <define name="style-font-face-attlist" combine="interleave">
  11714. <optional>
  11715. <attribute name="style:font-pitch">
  11716. <ref name="fontPitch"/>
  11717. </attribute>
  11718. </optional>
  11719. </define>
  11720. <define name="style-font-face-attlist" combine="interleave">
  11721. <optional>
  11722. <attribute name="style:font-charset">
  11723. <ref name="textEncoding"/>
  11724. </attribute>
  11725. </optional>
  11726. </define>
  11727. <define name="number-number-style">
  11728. <element name="number:number-style">
  11729. <ref name="common-data-style-attlist"/>
  11730. <optional>
  11731. <ref name="style-text-properties"/>
  11732. </optional>
  11733. <optional>
  11734. <ref name="number-text"/>
  11735. </optional>
  11736. <optional>
  11737. <ref name="any-number"/>
  11738. <optional>
  11739. <ref name="number-text"/>
  11740. </optional>
  11741. </optional>
  11742. <zeroOrMore>
  11743. <ref name="style-map"/>
  11744. </zeroOrMore>
  11745. </element>
  11746. </define>
  11747. <define name="any-number">
  11748. <choice>
  11749. <ref name="number-number"/>
  11750. <ref name="number-scientific-number"/>
  11751. <ref name="number-fraction"/>
  11752. </choice>
  11753. </define>
  11754. <define name="number-number">
  11755. <element name="number:number">
  11756. <ref name="number-number-attlist"/>
  11757. <ref name="common-decimal-places-attlist"/>
  11758. <ref name="common-number-attlist"/>
  11759. <zeroOrMore>
  11760. <ref name="number-embedded-text"/>
  11761. </zeroOrMore>
  11762. </element>
  11763. </define>
  11764. <define name="number-number-attlist" combine="interleave">
  11765. <optional>
  11766. <attribute name="number:decimal-replacement"/>
  11767. </optional>
  11768. </define>
  11769. <define name="number-number-attlist" combine="interleave">
  11770. <optional>
  11771. <attribute name="number:display-factor" a:defaultValue="1">
  11772. <ref name="double"/>
  11773. </attribute>
  11774. </optional>
  11775. </define>
  11776. <define name="number-embedded-text">
  11777. <element name="number:embedded-text">
  11778. <ref name="number-embedded-text-attlist"/>
  11779. <text/>
  11780. </element>
  11781. </define>
  11782. <define name="number-embedded-text-attlist" combine="interleave">
  11783. <attribute name="number:position">
  11784. <ref name="integer"/>
  11785. </attribute>
  11786. </define>
  11787. <define name="number-scientific-number">
  11788. <element name="number:scientific-number">
  11789. <ref name="number-scientific-number-attlist"/>
  11790. <ref name="common-decimal-places-attlist"/>
  11791. <ref name="common-number-attlist"/>
  11792. <empty/>
  11793. </element>
  11794. </define>
  11795. <define name="number-scientific-number-attlist" combine="interleave">
  11796. <optional>
  11797. <attribute name="number:min-exponent-digits">
  11798. <ref name="integer"/>
  11799. </attribute>
  11800. </optional>
  11801. </define>
  11802. <define name="number-fraction">
  11803. <element name="number:fraction">
  11804. <ref name="number-fraction-attlist"/>
  11805. <ref name="common-number-attlist"/>
  11806. <empty/>
  11807. </element>
  11808. </define>
  11809. <define name="number-fraction-attlist" combine="interleave">
  11810. <optional>
  11811. <attribute name="number:min-numerator-digits">
  11812. <ref name="integer"/>
  11813. </attribute>
  11814. </optional>
  11815. </define>
  11816. <define name="number-fraction-attlist" combine="interleave">
  11817. <optional>
  11818. <attribute name="number:min-denominator-digits">
  11819. <ref name="integer"/>
  11820. </attribute>
  11821. </optional>
  11822. </define>
  11823. <define name="number-fraction-attlist" combine="interleave">
  11824. <optional>
  11825. <attribute name="number:denominator-value">
  11826. <ref name="integer"/>
  11827. </attribute>
  11828. </optional>
  11829. </define>
  11830. <define name="number-currency-style">
  11831. <element name="number:currency-style">
  11832. <ref name="common-data-style-attlist"/>
  11833. <ref name="common-auto-reorder-attlist"/>
  11834. <optional>
  11835. <ref name="style-text-properties"/>
  11836. </optional>
  11837. <optional>
  11838. <ref name="number-text"/>
  11839. </optional>
  11840. <optional>
  11841. <choice>
  11842. <group>
  11843. <ref name="number-and-text"/>
  11844. <optional>
  11845. <ref name="currency-symbol-and-text"/>
  11846. </optional>
  11847. </group>
  11848. <group>
  11849. <ref name="currency-symbol-and-text"/>
  11850. <optional>
  11851. <ref name="number-and-text"/>
  11852. </optional>
  11853. </group>
  11854. </choice>
  11855. </optional>
  11856. <zeroOrMore>
  11857. <ref name="style-map"/>
  11858. </zeroOrMore>
  11859. </element>
  11860. </define>
  11861. <define name="currency-symbol-and-text">
  11862. <ref name="number-currency-symbol"/>
  11863. <optional>
  11864. <ref name="number-text"/>
  11865. </optional>
  11866. </define>
  11867. <define name="number-and-text">
  11868. <ref name="number-number"/>
  11869. <optional>
  11870. <ref name="number-text"/>
  11871. </optional>
  11872. </define>
  11873. <define name="number-currency-symbol">
  11874. <element name="number:currency-symbol">
  11875. <ref name="number-currency-symbol-attlist"/>
  11876. <text/>
  11877. </element>
  11878. </define>
  11879. <define name="number-currency-symbol-attlist" combine="interleave">
  11880. <optional>
  11881. <attribute name="number:language">
  11882. <ref name="languageCode"/>
  11883. </attribute>
  11884. </optional>
  11885. <optional>
  11886. <attribute name="number:country">
  11887. <ref name="countryCode"/>
  11888. </attribute>
  11889. </optional>
  11890. </define>
  11891. <define name="number-percentage-style">
  11892. <element name="number:percentage-style">
  11893. <ref name="common-data-style-attlist"/>
  11894. <optional>
  11895. <ref name="style-text-properties"/>
  11896. </optional>
  11897. <optional>
  11898. <ref name="number-text"/>
  11899. </optional>
  11900. <optional>
  11901. <ref name="number-and-text"/>
  11902. </optional>
  11903. <zeroOrMore>
  11904. <ref name="style-map"/>
  11905. </zeroOrMore>
  11906. </element>
  11907. </define>
  11908. <define name="number-date-style">
  11909. <element name="number:date-style">
  11910. <ref name="common-data-style-attlist"/>
  11911. <ref name="common-auto-reorder-attlist"/>
  11912. <ref name="common-format-source-attlist"/>
  11913. <optional>
  11914. <ref name="style-text-properties"/>
  11915. </optional>
  11916. <!-- This DTD does not reflect the fact that some elements must not -->
  11917. <!-- occur more than once. -->
  11918. <optional>
  11919. <ref name="number-text"/>
  11920. </optional>
  11921. <oneOrMore>
  11922. <ref name="any-date"/>
  11923. <optional>
  11924. <ref name="number-text"/>
  11925. </optional>
  11926. </oneOrMore>
  11927. <zeroOrMore>
  11928. <ref name="style-map"/>
  11929. </zeroOrMore>
  11930. </element>
  11931. </define>
  11932. <define name="any-date">
  11933. <choice>
  11934. <ref name="number-day"/>
  11935. <ref name="number-month"/>
  11936. <ref name="number-year"/>
  11937. <ref name="number-era"/>
  11938. <ref name="number-day-of-week"/>
  11939. <ref name="number-week-of-year"/>
  11940. <ref name="number-quarter"/>
  11941. <ref name="number-hours"/>
  11942. <ref name="number-am-pm"/>
  11943. <ref name="number-minutes"/>
  11944. <ref name="number-seconds"/>
  11945. </choice>
  11946. </define>
  11947. <define name="number-day">
  11948. <element name="number:day">
  11949. <ref name="number-day-attlist"/>
  11950. <ref name="common-calendar-attlist"/>
  11951. <empty/>
  11952. </element>
  11953. </define>
  11954. <define name="number-day-attlist" combine="interleave">
  11955. <optional>
  11956. <attribute name="number:style" a:defaultValue="short">
  11957. <choice>
  11958. <value>short</value>
  11959. <value>long</value>
  11960. </choice>
  11961. </attribute>
  11962. </optional>
  11963. </define>
  11964. <define name="number-month">
  11965. <element name="number:month">
  11966. <ref name="number-month-attlist"/>
  11967. <ref name="common-calendar-attlist"/>
  11968. <empty/>
  11969. </element>
  11970. </define>
  11971. <define name="number-month-attlist" combine="interleave">
  11972. <optional>
  11973. <attribute name="number:textual" a:defaultValue="false">
  11974. <ref name="boolean"/>
  11975. </attribute>
  11976. </optional>
  11977. </define>
  11978. <define name="number-month-attlist" combine="interleave">
  11979. <optional>
  11980. <attribute name="number:possessive-form" a:defaultValue="false">
  11981. <ref name="boolean"/>
  11982. </attribute>
  11983. </optional>
  11984. </define>
  11985. <define name="number-month-attlist" combine="interleave">
  11986. <optional>
  11987. <attribute name="number:style" a:defaultValue="short">
  11988. <choice>
  11989. <value>short</value>
  11990. <value>long</value>
  11991. </choice>
  11992. </attribute>
  11993. </optional>
  11994. </define>
  11995. <define name="number-year">
  11996. <element name="number:year">
  11997. <ref name="number-year-attlist"/>
  11998. <ref name="common-calendar-attlist"/>
  11999. <empty/>
  12000. </element>
  12001. </define>
  12002. <define name="number-year-attlist" combine="interleave">
  12003. <optional>
  12004. <attribute name="number:style" a:defaultValue="short">
  12005. <choice>
  12006. <value>short</value>
  12007. <value>long</value>
  12008. </choice>
  12009. </attribute>
  12010. </optional>
  12011. </define>
  12012. <define name="number-era">
  12013. <element name="number:era">
  12014. <ref name="number-era-attlist"/>
  12015. <ref name="common-calendar-attlist"/>
  12016. <empty/>
  12017. </element>
  12018. </define>
  12019. <define name="number-era-attlist" combine="interleave">
  12020. <optional>
  12021. <attribute name="number:style" a:defaultValue="short">
  12022. <choice>
  12023. <value>short</value>
  12024. <value>long</value>
  12025. </choice>
  12026. </attribute>
  12027. </optional>
  12028. </define>
  12029. <define name="number-day-of-week">
  12030. <element name="number:day-of-week">
  12031. <ref name="number-day-of-week-attlist"/>
  12032. <ref name="common-calendar-attlist"/>
  12033. <empty/>
  12034. </element>
  12035. </define>
  12036. <define name="number-day-of-week-attlist" combine="interleave">
  12037. <optional>
  12038. <attribute name="number:style" a:defaultValue="short">
  12039. <choice>
  12040. <value>short</value>
  12041. <value>long</value>
  12042. </choice>
  12043. </attribute>
  12044. </optional>
  12045. </define>
  12046. <define name="number-week-of-year">
  12047. <element name="number:week-of-year">
  12048. <ref name="common-calendar-attlist"/>
  12049. <empty/>
  12050. </element>
  12051. </define>
  12052. <define name="number-quarter">
  12053. <element name="number:quarter">
  12054. <ref name="number-quarter-attlist"/>
  12055. <ref name="common-calendar-attlist"/>
  12056. <empty/>
  12057. </element>
  12058. </define>
  12059. <define name="number-quarter-attlist" combine="interleave">
  12060. <optional>
  12061. <attribute name="number:style" a:defaultValue="short">
  12062. <choice>
  12063. <value>short</value>
  12064. <value>long</value>
  12065. </choice>
  12066. </attribute>
  12067. </optional>
  12068. </define>
  12069. <define name="number-time-style">
  12070. <element name="number:time-style">
  12071. <ref name="number-time-style-attlist"/>
  12072. <ref name="common-data-style-attlist"/>
  12073. <ref name="common-format-source-attlist"/>
  12074. <optional>
  12075. <ref name="style-text-properties"/>
  12076. </optional>
  12077. <!-- This DTD does not reflect the fact that some elements must not -->
  12078. <!-- occur more than once. -->
  12079. <optional>
  12080. <ref name="number-text"/>
  12081. </optional>
  12082. <oneOrMore>
  12083. <ref name="any-time"/>
  12084. <optional>
  12085. <ref name="number-text"/>
  12086. </optional>
  12087. </oneOrMore>
  12088. <zeroOrMore>
  12089. <ref name="style-map"/>
  12090. </zeroOrMore>
  12091. </element>
  12092. </define>
  12093. <define name="any-time">
  12094. <choice>
  12095. <ref name="number-hours"/>
  12096. <ref name="number-am-pm"/>
  12097. <ref name="number-minutes"/>
  12098. <ref name="number-seconds"/>
  12099. </choice>
  12100. </define>
  12101. <define name="number-time-style-attlist" combine="interleave">
  12102. <optional>
  12103. <attribute name="number:truncate-on-overflow" a:defaultValue="true">
  12104. <ref name="boolean"/>
  12105. </attribute>
  12106. </optional>
  12107. </define>
  12108. <define name="number-hours">
  12109. <element name="number:hours">
  12110. <ref name="number-hours-attlist"/>
  12111. <empty/>
  12112. </element>
  12113. </define>
  12114. <define name="number-hours-attlist" combine="interleave">
  12115. <optional>
  12116. <attribute name="number:style" a:defaultValue="short">
  12117. <choice>
  12118. <value>short</value>
  12119. <value>long</value>
  12120. </choice>
  12121. </attribute>
  12122. </optional>
  12123. </define>
  12124. <define name="number-minutes">
  12125. <element name="number:minutes">
  12126. <ref name="number-minutes-attlist"/>
  12127. <empty/>
  12128. </element>
  12129. </define>
  12130. <define name="number-minutes-attlist" combine="interleave">
  12131. <optional>
  12132. <attribute name="number:style" a:defaultValue="short">
  12133. <choice>
  12134. <value>short</value>
  12135. <value>long</value>
  12136. </choice>
  12137. </attribute>
  12138. </optional>
  12139. </define>
  12140. <define name="number-seconds">
  12141. <element name="number:seconds">
  12142. <ref name="number-seconds-attlist"/>
  12143. <empty/>
  12144. </element>
  12145. </define>
  12146. <define name="number-seconds-attlist" combine="interleave">
  12147. <optional>
  12148. <attribute name="number:style" a:defaultValue="short">
  12149. <choice>
  12150. <value>short</value>
  12151. <value>long</value>
  12152. </choice>
  12153. </attribute>
  12154. </optional>
  12155. </define>
  12156. <define name="number-seconds-attlist" combine="interleave">
  12157. <optional>
  12158. <attribute name="number:decimal-places" a:defaultValue="0">
  12159. <ref name="integer"/>
  12160. </attribute>
  12161. </optional>
  12162. </define>
  12163. <define name="number-am-pm">
  12164. <element name="number:am-pm">
  12165. <empty/>
  12166. </element>
  12167. </define>
  12168. <define name="number-boolean-style">
  12169. <element name="number:boolean-style">
  12170. <ref name="common-data-style-attlist"/>
  12171. <optional>
  12172. <ref name="style-text-properties"/>
  12173. </optional>
  12174. <optional>
  12175. <ref name="number-text"/>
  12176. </optional>
  12177. <optional>
  12178. <ref name="number-boolean"/>
  12179. <optional>
  12180. <ref name="number-text"/>
  12181. </optional>
  12182. </optional>
  12183. <zeroOrMore>
  12184. <ref name="style-map"/>
  12185. </zeroOrMore>
  12186. </element>
  12187. </define>
  12188. <define name="number-boolean">
  12189. <element name="number:boolean">
  12190. <empty/>
  12191. </element>
  12192. </define>
  12193. <define name="number-text-style">
  12194. <element name="number:text-style">
  12195. <ref name="common-data-style-attlist"/>
  12196. <optional>
  12197. <ref name="style-text-properties"/>
  12198. </optional>
  12199. <optional>
  12200. <ref name="number-text"/>
  12201. </optional>
  12202. <zeroOrMore>
  12203. <ref name="number-text-content"/>
  12204. <optional>
  12205. <ref name="number-text"/>
  12206. </optional>
  12207. </zeroOrMore>
  12208. <zeroOrMore>
  12209. <ref name="style-map"/>
  12210. </zeroOrMore>
  12211. </element>
  12212. </define>
  12213. <define name="number-text">
  12214. <element name="number:text">
  12215. <text/>
  12216. </element>
  12217. </define>
  12218. <define name="number-text-content">
  12219. <element name="number:text-content">
  12220. <empty/>
  12221. </element>
  12222. </define>
  12223. <define name="common-data-style-attlist" combine="interleave">
  12224. <attribute name="style:name">
  12225. <ref name="styleName"/>
  12226. </attribute>
  12227. </define>
  12228. <define name="style-data-style-attlist" combine="interleave">
  12229. <optional>
  12230. <attribute name="style:display-name">
  12231. <ref name="string"/>
  12232. </attribute>
  12233. </optional>
  12234. </define>
  12235. <define name="common-data-style-attlist" combine="interleave">
  12236. <optional>
  12237. <attribute name="number:language">
  12238. <ref name="languageCode"/>
  12239. </attribute>
  12240. </optional>
  12241. </define>
  12242. <define name="common-data-style-attlist" combine="interleave">
  12243. <optional>
  12244. <attribute name="number:country">
  12245. <ref name="countryCode"/>
  12246. </attribute>
  12247. </optional>
  12248. </define>
  12249. <define name="common-data-style-attlist" combine="interleave">
  12250. <optional>
  12251. <attribute name="number:title"/>
  12252. </optional>
  12253. </define>
  12254. <define name="common-data-style-attlist" combine="interleave">
  12255. <optional>
  12256. <attribute name="style:volatile">
  12257. <ref name="boolean"/>
  12258. </attribute>
  12259. </optional>
  12260. </define>
  12261. <define name="common-auto-reorder-attlist" combine="interleave">
  12262. <optional>
  12263. <attribute name="number:automatic-order" a:defaultValue="false">
  12264. <ref name="boolean"/>
  12265. </attribute>
  12266. </optional>
  12267. </define>
  12268. <define name="common-format-source-attlist">
  12269. <optional>
  12270. <attribute name="number:format-source" a:defaultValue="fixed">
  12271. <choice>
  12272. <value>fixed</value>
  12273. <value>language</value>
  12274. </choice>
  12275. </attribute>
  12276. </optional>
  12277. </define>
  12278. <define name="common-data-style-attlist" combine="interleave">
  12279. <optional>
  12280. <attribute name="number:transliteration-format" a:defaultValue="1">
  12281. <ref name="string"/>
  12282. </attribute>
  12283. </optional>
  12284. </define>
  12285. <define name="common-data-style-attlist" combine="interleave">
  12286. <optional>
  12287. <attribute name="number:transliteration-language">
  12288. <ref name="countryCode"/>
  12289. </attribute>
  12290. </optional>
  12291. </define>
  12292. <define name="common-data-style-attlist" combine="interleave">
  12293. <optional>
  12294. <attribute name="number:transliteration-country">
  12295. <ref name="countryCode"/>
  12296. </attribute>
  12297. </optional>
  12298. </define>
  12299. <define name="common-data-style-attlist" combine="interleave">
  12300. <optional>
  12301. <attribute name="number:transliteration-style" a:defaultValue="short">
  12302. <choice>
  12303. <value>short</value>
  12304. <value>medium</value>
  12305. <value>long</value>
  12306. </choice>
  12307. </attribute>
  12308. </optional>
  12309. </define>
  12310. <define name="common-decimal-places-attlist">
  12311. <optional>
  12312. <attribute name="number:decimal-places">
  12313. <ref name="integer"/>
  12314. </attribute>
  12315. </optional>
  12316. </define>
  12317. <define name="common-number-attlist" combine="interleave">
  12318. <optional>
  12319. <attribute name="number:min-integer-digits">
  12320. <ref name="integer"/>
  12321. </attribute>
  12322. </optional>
  12323. </define>
  12324. <define name="common-number-attlist" combine="interleave">
  12325. <optional>
  12326. <attribute name="number:grouping" a:defaultValue="false">
  12327. <ref name="boolean"/>
  12328. </attribute>
  12329. </optional>
  12330. </define>
  12331. <define name="common-calendar-attlist" combine="interleave">
  12332. <optional>
  12333. <attribute name="number:calendar">
  12334. <choice>
  12335. <value>gregorian</value>
  12336. <value>gengou</value>
  12337. <value>ROC</value>
  12338. <value>hanja_yoil</value>
  12339. <value>hanja</value>
  12340. <value>hijri</value>
  12341. <value>jewish</value>
  12342. <value>buddhist</value>
  12343. <ref name="string"/>
  12344. </choice>
  12345. </attribute>
  12346. </optional>
  12347. </define>
  12348. <define name="style-style-content" combine="choice">
  12349. <group>
  12350. <attribute name="style:family">
  12351. <value>text</value>
  12352. </attribute>
  12353. <optional>
  12354. <ref name="style-text-properties"/>
  12355. </optional>
  12356. </group>
  12357. </define>
  12358. <define name="style-style-content" combine="choice">
  12359. <group>
  12360. <attribute name="style:family">
  12361. <value>paragraph</value>
  12362. </attribute>
  12363. <optional>
  12364. <ref name="style-paragraph-properties"/>
  12365. </optional>
  12366. <optional>
  12367. <ref name="style-text-properties"/>
  12368. </optional>
  12369. </group>
  12370. </define>
  12371. <define name="style-style-content" combine="choice">
  12372. <group>
  12373. <attribute name="style:family">
  12374. <value>section</value>
  12375. </attribute>
  12376. <optional>
  12377. <ref name="style-section-properties"/>
  12378. </optional>
  12379. </group>
  12380. </define>
  12381. <define name="style-style-content" combine="choice">
  12382. <group>
  12383. <attribute name="style:family">
  12384. <value>ruby</value>
  12385. </attribute>
  12386. <optional>
  12387. <ref name="style-ruby-properties"/>
  12388. </optional>
  12389. </group>
  12390. </define>
  12391. <define name="text-linenumbering-configuration">
  12392. <element name="text:linenumbering-configuration">
  12393. <ref name="text-linenumbering-configuration-attlist"/>
  12394. <optional>
  12395. <ref name="text-linenumbering-separator"/>
  12396. </optional>
  12397. </element>
  12398. </define>
  12399. <define name="text-linenumbering-configuration-attlist" combine="interleave">
  12400. <optional>
  12401. <attribute name="text:number-lines" a:defaultValue="true">
  12402. <ref name="boolean"/>
  12403. </attribute>
  12404. </optional>
  12405. </define>
  12406. <define name="text-linenumbering-configuration-attlist" combine="interleave">
  12407. <optional>
  12408. <ref name="common-num-format-attlist"/>
  12409. </optional>
  12410. </define>
  12411. <define name="text-linenumbering-configuration-attlist" combine="interleave">
  12412. <optional>
  12413. <attribute name="text:style-name">
  12414. <ref name="styleNameRef"/>
  12415. </attribute>
  12416. </optional>
  12417. </define>
  12418. <define name="text-linenumbering-configuration-attlist" combine="interleave">
  12419. <optional>
  12420. <attribute name="text:increment">
  12421. <ref name="nonNegativeInteger"/>
  12422. </attribute>
  12423. </optional>
  12424. </define>
  12425. <define name="text-linenumbering-configuration-attlist" combine="interleave">
  12426. <optional>
  12427. <attribute name="text:number-position" a:defaultValue="left">
  12428. <choice>
  12429. <value>left</value>
  12430. <value>right</value>
  12431. <value>inner</value>
  12432. <value>outer</value>
  12433. </choice>
  12434. </attribute>
  12435. </optional>
  12436. </define>
  12437. <define name="text-linenumbering-configuration-attlist" combine="interleave">
  12438. <optional>
  12439. <attribute name="text:offset">
  12440. <ref name="nonNegativeLength"/>
  12441. </attribute>
  12442. </optional>
  12443. </define>
  12444. <define name="text-linenumbering-configuration-attlist" combine="interleave">
  12445. <optional>
  12446. <attribute name="text:count-empty-lines" a:defaultValue="true">
  12447. <ref name="boolean"/>
  12448. </attribute>
  12449. </optional>
  12450. </define>
  12451. <define name="text-linenumbering-configuration-attlist" combine="interleave">
  12452. <optional>
  12453. <attribute name="text:count-in-text-boxes" a:defaultValue="false">
  12454. <ref name="boolean"/>
  12455. </attribute>
  12456. </optional>
  12457. </define>
  12458. <define name="text-linenumbering-configuration-attlist" combine="interleave">
  12459. <optional>
  12460. <attribute name="text:restart-on-page" a:defaultValue="false">
  12461. <ref name="boolean"/>
  12462. </attribute>
  12463. </optional>
  12464. </define>
  12465. <define name="text-linenumbering-separator">
  12466. <element name="text:linenumbering-separator">
  12467. <optional>
  12468. <attribute name="text:increment">
  12469. <ref name="nonNegativeInteger"/>
  12470. </attribute>
  12471. </optional>
  12472. <text/>
  12473. </element>
  12474. </define>
  12475. <define name="text-notes-configuration">
  12476. <element name="text:notes-configuration">
  12477. <ref name="text-notes-configuration-content"/>
  12478. </element>
  12479. </define>
  12480. <define name="text-notes-configuration-content" combine="interleave">
  12481. <ref name="text-note-class"/>
  12482. </define>
  12483. <define name="text-notes-configuration-content" combine="interleave">
  12484. <optional>
  12485. <attribute name="text:citation-style-name">
  12486. <ref name="styleNameRef"/>
  12487. </attribute>
  12488. </optional>
  12489. </define>
  12490. <define name="text-notes-configuration-content" combine="interleave">
  12491. <optional>
  12492. <attribute name="text:citation-body-style-name">
  12493. <ref name="styleNameRef"/>
  12494. </attribute>
  12495. </optional>
  12496. </define>
  12497. <define name="text-notes-configuration-content" combine="interleave">
  12498. <optional>
  12499. <attribute name="text:default-style-name">
  12500. <ref name="styleNameRef"/>
  12501. </attribute>
  12502. </optional>
  12503. </define>
  12504. <define name="text-notes-configuration-content" combine="interleave">
  12505. <optional>
  12506. <attribute name="text:master-page-name">
  12507. <ref name="styleNameRef"/>
  12508. </attribute>
  12509. </optional>
  12510. </define>
  12511. <define name="text-notes-configuration-content" combine="interleave">
  12512. <optional>
  12513. <attribute name="text:start-value">
  12514. <ref name="nonNegativeInteger"/>
  12515. </attribute>
  12516. </optional>
  12517. </define>
  12518. <define name="text-notes-configuration-content" combine="interleave">
  12519. <ref name="common-num-format-prefix-suffix-attlist"/>
  12520. <optional>
  12521. <ref name="common-num-format-attlist"/>
  12522. </optional>
  12523. </define>
  12524. <define name="text-notes-configuration-content" combine="interleave">
  12525. <optional>
  12526. <attribute name="text:start-numbering-at">
  12527. <choice>
  12528. <value>document</value>
  12529. <value>chapter</value>
  12530. <value>page</value>
  12531. </choice>
  12532. </attribute>
  12533. </optional>
  12534. </define>
  12535. <define name="text-notes-configuration-content" combine="interleave">
  12536. <optional>
  12537. <attribute name="text:footnotes-position">
  12538. <choice>
  12539. <value>text</value>
  12540. <value>page</value>
  12541. <value>section</value>
  12542. <value>document</value>
  12543. </choice>
  12544. </attribute>
  12545. </optional>
  12546. </define>
  12547. <define name="text-notes-configuration-content" combine="interleave">
  12548. <optional>
  12549. <element name="text:note-continuation-notice-forward">
  12550. <text/>
  12551. </element>
  12552. </optional>
  12553. </define>
  12554. <define name="text-notes-configuration-content" combine="interleave">
  12555. <optional>
  12556. <element name="text:note-continuation-notice-backward">
  12557. <text/>
  12558. </element>
  12559. </optional>
  12560. </define>
  12561. <define name="text-bibliography-configuration">
  12562. <element name="text:bibliography-configuration">
  12563. <ref name="text-bibliography-configuration-attlist"/>
  12564. <zeroOrMore>
  12565. <ref name="text-sort-key"/>
  12566. </zeroOrMore>
  12567. </element>
  12568. </define>
  12569. <define name="text-bibliography-configuration-attlist" combine="interleave">
  12570. <optional>
  12571. <attribute name="text:prefix">
  12572. <ref name="string"/>
  12573. </attribute>
  12574. </optional>
  12575. <optional>
  12576. <attribute name="text:suffix">
  12577. <ref name="string"/>
  12578. </attribute>
  12579. </optional>
  12580. </define>
  12581. <define name="text-bibliography-configuration-attlist" combine="interleave">
  12582. <optional>
  12583. <attribute name="text:numbered-entries" a:defaultValue="false">
  12584. <ref name="boolean"/>
  12585. </attribute>
  12586. </optional>
  12587. </define>
  12588. <define name="text-bibliography-configuration-attlist" combine="interleave">
  12589. <optional>
  12590. <attribute name="text:sort-by-position" a:defaultValue="true">
  12591. <ref name="boolean"/>
  12592. </attribute>
  12593. </optional>
  12594. <optional>
  12595. <attribute name="fo:language">
  12596. <ref name="languageCode"/>
  12597. </attribute>
  12598. </optional>
  12599. <optional>
  12600. <attribute name="fo:country">
  12601. <ref name="countryCode"/>
  12602. </attribute>
  12603. </optional>
  12604. <optional>
  12605. <attribute name="text:sort-algorithm">
  12606. <ref name="string"/>
  12607. </attribute>
  12608. </optional>
  12609. </define>
  12610. <define name="text-sort-key">
  12611. <element name="text:sort-key">
  12612. <ref name="text-sort-key-attlist"/>
  12613. <empty/>
  12614. </element>
  12615. </define>
  12616. <define name="text-sort-key-attlist" combine="interleave">
  12617. <attribute name="text:key">
  12618. <choice>
  12619. <value>address</value>
  12620. <value>annote</value>
  12621. <value>author</value>
  12622. <value>bibliography-type</value>
  12623. <value>booktitle</value>
  12624. <value>chapter</value>
  12625. <value>custom1</value>
  12626. <value>custom2</value>
  12627. <value>custom3</value>
  12628. <value>custom4</value>
  12629. <value>custom5</value>
  12630. <value>edition</value>
  12631. <value>editor</value>
  12632. <value>howpublished</value>
  12633. <value>identifier</value>
  12634. <value>institution</value>
  12635. <value>isbn</value>
  12636. <value>issn</value>
  12637. <value>journal</value>
  12638. <value>month</value>
  12639. <value>note</value>
  12640. <value>number</value>
  12641. <value>organizations</value>
  12642. <value>pages</value>
  12643. <value>publisher</value>
  12644. <value>report-type</value>
  12645. <value>school</value>
  12646. <value>series</value>
  12647. <value>title</value>
  12648. <value>url</value>
  12649. <value>volume</value>
  12650. <value>year</value>
  12651. </choice>
  12652. </attribute>
  12653. <optional>
  12654. <attribute name="text:sort-ascending" a:defaultValue="true">
  12655. <ref name="boolean"/>
  12656. </attribute>
  12657. </optional>
  12658. </define>
  12659. <define name="text-list-style">
  12660. <element name="text:list-style">
  12661. <ref name="text-list-style-attr"/>
  12662. <zeroOrMore>
  12663. <ref name="text-list-style-content"/>
  12664. </zeroOrMore>
  12665. </element>
  12666. </define>
  12667. <define name="text-list-style-attr" combine="interleave">
  12668. <attribute name="style:name">
  12669. <ref name="styleName"/>
  12670. </attribute>
  12671. </define>
  12672. <define name="text-list-style-attr" combine="interleave">
  12673. <optional>
  12674. <attribute name="style:display-name">
  12675. <ref name="string"/>
  12676. </attribute>
  12677. </optional>
  12678. </define>
  12679. <define name="text-list-style-attr" combine="interleave">
  12680. <optional>
  12681. <attribute name="text:consecutive-numbering" a:defaultValue="false">
  12682. <ref name="boolean"/>
  12683. </attribute>
  12684. </optional>
  12685. </define>
  12686. <define name="text-list-level-style-attr">
  12687. <attribute name="text:level">
  12688. <ref name="positiveInteger"/>
  12689. </attribute>
  12690. </define>
  12691. <define name="text-list-style-content" combine="choice">
  12692. <element name="text:list-level-style-number">
  12693. <ref name="text-list-level-style-attr"/>
  12694. <ref name="text-list-level-style-number-attr"/>
  12695. <optional>
  12696. <ref name="style-list-level-properties"/>
  12697. </optional>
  12698. <optional>
  12699. <ref name="style-text-properties"/>
  12700. </optional>
  12701. </element>
  12702. </define>
  12703. <define name="text-list-level-style-number-attr" combine="interleave">
  12704. <optional>
  12705. <attribute name="text:style-name">
  12706. <ref name="styleNameRef"/>
  12707. </attribute>
  12708. </optional>
  12709. </define>
  12710. <define name="text-list-level-style-number-attr" combine="interleave">
  12711. <ref name="common-num-format-attlist"/>
  12712. <ref name="common-num-format-prefix-suffix-attlist"/>
  12713. </define>
  12714. <define name="text-list-level-style-number-attr" combine="interleave">
  12715. <optional>
  12716. <attribute name="text:display-levels" a:defaultValue="1">
  12717. <ref name="positiveInteger"/>
  12718. </attribute>
  12719. </optional>
  12720. </define>
  12721. <define name="text-list-level-style-number-attr" combine="interleave">
  12722. <optional>
  12723. <attribute name="text:start-value" a:defaultValue="1">
  12724. <ref name="positiveInteger"/>
  12725. </attribute>
  12726. </optional>
  12727. </define>
  12728. <define name="text-list-style-content" combine="choice">
  12729. <element name="text:list-level-style-bullet">
  12730. <ref name="text-list-level-style-attr"/>
  12731. <ref name="text-list-level-style-bullet-attr"/>
  12732. <optional>
  12733. <ref name="style-list-level-properties"/>
  12734. </optional>
  12735. <optional>
  12736. <ref name="style-text-properties"/>
  12737. </optional>
  12738. </element>
  12739. </define>
  12740. <define name="text-list-level-style-bullet-attr" combine="interleave">
  12741. <optional>
  12742. <attribute name="text:style-name">
  12743. <ref name="styleNameRef"/>
  12744. </attribute>
  12745. </optional>
  12746. </define>
  12747. <define name="text-list-level-style-bullet-attr" combine="interleave">
  12748. <attribute name="text:bullet-char">
  12749. <ref name="character"/>
  12750. </attribute>
  12751. </define>
  12752. <define name="text-list-level-style-bullet-attr" combine="interleave">
  12753. <ref name="common-num-format-prefix-suffix-attlist"/>
  12754. </define>
  12755. <define name="text-list-level-style-bullet-attr" combine="interleave">
  12756. <optional>
  12757. <attribute name="text:bullet-relative-size">
  12758. <ref name="percent"/>
  12759. </attribute>
  12760. </optional>
  12761. </define>
  12762. <define name="text-list-style-content" combine="choice">
  12763. <element name="text:list-level-style-image">
  12764. <ref name="text-list-level-style-attr"/>
  12765. <ref name="text-list-level-style-image-attr"/>
  12766. <optional>
  12767. <ref name="style-list-level-properties"/>
  12768. </optional>
  12769. </element>
  12770. </define>
  12771. <define name="text-list-level-style-image-attr" combine="interleave">
  12772. <choice>
  12773. <ref name="common-draw-data-attlist"/>
  12774. <ref name="office-binary-data"/>
  12775. </choice>
  12776. </define>
  12777. <define name="text-outline-style">
  12778. <element name="text:outline-style">
  12779. <oneOrMore>
  12780. <ref name="text-outline-level-style"/>
  12781. </oneOrMore>
  12782. </element>
  12783. </define>
  12784. <define name="text-outline-level-style">
  12785. <element name="text:outline-level-style">
  12786. <ref name="text-outline-level-style-attlist"/>
  12787. <optional>
  12788. <ref name="style-list-level-properties"/>
  12789. </optional>
  12790. <optional>
  12791. <ref name="style-text-properties"/>
  12792. </optional>
  12793. </element>
  12794. </define>
  12795. <define name="text-outline-level-style-attlist" combine="interleave">
  12796. <attribute name="text:level">
  12797. <ref name="positiveInteger"/>
  12798. </attribute>
  12799. </define>
  12800. <define name="text-outline-level-style-attlist" combine="interleave">
  12801. <optional>
  12802. <attribute name="text:style-name">
  12803. <ref name="styleNameRef"/>
  12804. </attribute>
  12805. </optional>
  12806. </define>
  12807. <define name="text-outline-level-style-attlist" combine="interleave">
  12808. <ref name="common-num-format-attlist"/>
  12809. <ref name="common-num-format-prefix-suffix-attlist"/>
  12810. </define>
  12811. <define name="text-outline-level-style-attlist" combine="interleave">
  12812. <optional>
  12813. <attribute name="text:display-levels" a:defaultValue="1">
  12814. <ref name="positiveInteger"/>
  12815. </attribute>
  12816. </optional>
  12817. </define>
  12818. <define name="text-outline-level-style-attlist" combine="interleave">
  12819. <optional>
  12820. <attribute name="text:start-value" a:defaultValue="1">
  12821. <ref name="positiveInteger"/>
  12822. </attribute>
  12823. </optional>
  12824. </define>
  12825. <define name="style-style-content" combine="choice">
  12826. <group>
  12827. <attribute name="style:family">
  12828. <value>table</value>
  12829. </attribute>
  12830. <optional>
  12831. <ref name="style-table-properties"/>
  12832. </optional>
  12833. </group>
  12834. </define>
  12835. <define name="style-style-content" combine="choice">
  12836. <group>
  12837. <attribute name="style:family">
  12838. <value>table-column</value>
  12839. </attribute>
  12840. <optional>
  12841. <ref name="style-table-column-properties"/>
  12842. </optional>
  12843. </group>
  12844. </define>
  12845. <define name="style-style-content" combine="choice">
  12846. <group>
  12847. <attribute name="style:family">
  12848. <value>table-row</value>
  12849. </attribute>
  12850. <optional>
  12851. <ref name="style-table-row-properties"/>
  12852. </optional>
  12853. </group>
  12854. </define>
  12855. <define name="style-style-content" combine="choice">
  12856. <group>
  12857. <attribute name="style:family">
  12858. <value>table-cell</value>
  12859. </attribute>
  12860. <optional>
  12861. <ref name="style-table-cell-properties"/>
  12862. </optional>
  12863. <optional>
  12864. <ref name="style-paragraph-properties"/>
  12865. </optional>
  12866. <optional>
  12867. <ref name="style-text-properties"/>
  12868. </optional>
  12869. </group>
  12870. </define>
  12871. <define name="style-style-content" combine="choice">
  12872. <group>
  12873. <attribute name="style:family">
  12874. <choice>
  12875. <value>graphic</value>
  12876. <value>presentation</value>
  12877. </choice>
  12878. </attribute>
  12879. <optional>
  12880. <ref name="style-graphic-properties"/>
  12881. </optional>
  12882. <optional>
  12883. <ref name="style-paragraph-properties"/>
  12884. </optional>
  12885. <optional>
  12886. <ref name="style-text-properties"/>
  12887. </optional>
  12888. </group>
  12889. </define>
  12890. <define name="style-graphic-properties">
  12891. <element name="style:graphic-properties">
  12892. <ref name="style-graphic-properties-content"/>
  12893. </element>
  12894. </define>
  12895. <define name="style-graphic-properties-content">
  12896. <ref name="style-properties-content"/>
  12897. </define>
  12898. <define name="style-graphic-properties-content-strict">
  12899. <ref name="style-graphic-properties-attlist"/>
  12900. <ref name="style-graphic-fill-properties-attlist"/>
  12901. <ref name="style-graphic-properties-elements"/>
  12902. </define>
  12903. <define name=" style-graphic-properties-elements">
  12904. <empty/>
  12905. </define>
  12906. <define name="style-style-content" combine="choice">
  12907. <group>
  12908. <attribute name="style:family">
  12909. <value>drawing-page</value>
  12910. </attribute>
  12911. <optional>
  12912. <ref name="style-drawing-page-properties"/>
  12913. </optional>
  12914. </group>
  12915. </define>
  12916. <define name="style-drawing-page-properties">
  12917. <element name="style:drawing-page-properties">
  12918. <ref name="style-drawing-page-properties-content"/>
  12919. </element>
  12920. </define>
  12921. <define name="style-drawing-page-properties-content">
  12922. <ref name="style-properties-content"/>
  12923. </define>
  12924. <define name="style-drawing-page-properties-content-strict">
  12925. <ref name="style-graphic-fill-properties-attlist"/>
  12926. <ref name="style-drawing-page-properties-attlist"/>
  12927. <ref name="style-drawing-page-properties-elements"/>
  12928. </define>
  12929. <define name="draw-gradient">
  12930. <element name="draw:gradient">
  12931. <ref name="common-draw-gradient-attlist"/>
  12932. <ref name="draw-gradient-attlist"/>
  12933. <empty/>
  12934. </element>
  12935. </define>
  12936. <define name="common-draw-gradient-attlist" combine="interleave">
  12937. <optional>
  12938. <attribute name="draw:name">
  12939. <ref name="styleName"/>
  12940. </attribute>
  12941. </optional>
  12942. </define>
  12943. <define name="common-draw-gradient-attlist" combine="interleave">
  12944. <optional>
  12945. <attribute name="draw:display-name">
  12946. <ref name="string"/>
  12947. </attribute>
  12948. </optional>
  12949. </define>
  12950. <define name="common-draw-gradient-attlist" combine="interleave">
  12951. <attribute name="draw:style">
  12952. <ref name="gradient-style"/>
  12953. </attribute>
  12954. </define>
  12955. <define name="gradient-style">
  12956. <choice>
  12957. <value>linear</value>
  12958. <value>axial</value>
  12959. <value>radial</value>
  12960. <value>ellipsoid</value>
  12961. <value>square</value>
  12962. <value>rectangular</value>
  12963. </choice>
  12964. </define>
  12965. <define name="common-draw-gradient-attlist" combine="interleave">
  12966. <optional>
  12967. <attribute name="draw:cx">
  12968. <ref name="percent"/>
  12969. </attribute>
  12970. </optional>
  12971. <optional>
  12972. <attribute name="draw:cy">
  12973. <ref name="percent"/>
  12974. </attribute>
  12975. </optional>
  12976. </define>
  12977. <define name="draw-gradient-attlist" combine="interleave">
  12978. <optional>
  12979. <attribute name="draw:start-color">
  12980. <ref name="color"/>
  12981. </attribute>
  12982. </optional>
  12983. <optional>
  12984. <attribute name="draw:end-color">
  12985. <ref name="color"/>
  12986. </attribute>
  12987. </optional>
  12988. </define>
  12989. <define name="draw-gradient-attlist" combine="interleave">
  12990. <optional>
  12991. <attribute name="draw:start-intensity">
  12992. <ref name="percent"/>
  12993. </attribute>
  12994. </optional>
  12995. <optional>
  12996. <attribute name="draw:end-intensity">
  12997. <ref name="percent"/>
  12998. </attribute>
  12999. </optional>
  13000. </define>
  13001. <define name="common-draw-gradient-attlist" combine="interleave">
  13002. <optional>
  13003. <attribute name="draw:angle">
  13004. <ref name="integer"/>
  13005. </attribute>
  13006. </optional>
  13007. </define>
  13008. <define name="common-draw-gradient-attlist" combine="interleave">
  13009. <optional>
  13010. <attribute name="draw:border">
  13011. <ref name="percent"/>
  13012. </attribute>
  13013. </optional>
  13014. </define>
  13015. <define name="svg-linearGradient">
  13016. <element name="svg:linearGradient">
  13017. <ref name="common-svg-gradient-attlist"/>
  13018. <optional>
  13019. <attribute name="svg:x1" a:defaultValue="0%">
  13020. <choice>
  13021. <ref name="coordinate"/>
  13022. <ref name="percent"/>
  13023. </choice>
  13024. </attribute>
  13025. </optional>
  13026. <optional>
  13027. <attribute name="svg:y1" a:defaultValue="0%">
  13028. <choice>
  13029. <ref name="coordinate"/>
  13030. <ref name="percent"/>
  13031. </choice>
  13032. </attribute>
  13033. </optional>
  13034. <optional>
  13035. <attribute name="svg:x2" a:defaultValue="100%">
  13036. <choice>
  13037. <ref name="coordinate"/>
  13038. <ref name="percent"/>
  13039. </choice>
  13040. </attribute>
  13041. </optional>
  13042. <optional>
  13043. <attribute name="svg:y2" a:defaultValue="100%">
  13044. <choice>
  13045. <ref name="coordinate"/>
  13046. <ref name="percent"/>
  13047. </choice>
  13048. </attribute>
  13049. </optional>
  13050. <zeroOrMore>
  13051. <ref name="svg-stop"/>
  13052. </zeroOrMore>
  13053. </element>
  13054. </define>
  13055. <define name="svg-radialGradient">
  13056. <element name="svg:radialGradient">
  13057. <ref name="common-svg-gradient-attlist"/>
  13058. <optional>
  13059. <attribute name="svg:cx" a:defaultValue="50%">
  13060. <choice>
  13061. <ref name="coordinate"/>
  13062. <ref name="percent"/>
  13063. </choice>
  13064. </attribute>
  13065. </optional>
  13066. <optional>
  13067. <attribute name="svg:cy" a:defaultValue="50%">
  13068. <choice>
  13069. <ref name="coordinate"/>
  13070. <ref name="percent"/>
  13071. </choice>
  13072. </attribute>
  13073. </optional>
  13074. <optional>
  13075. <attribute name="svg:r" a:defaultValue="50%">
  13076. <choice>
  13077. <ref name="coordinate"/>
  13078. <ref name="percent"/>
  13079. </choice>
  13080. </attribute>
  13081. </optional>
  13082. <optional>
  13083. <attribute name="svg:fx">
  13084. <choice>
  13085. <ref name="coordinate"/>
  13086. <ref name="percent"/>
  13087. </choice>
  13088. </attribute>
  13089. </optional>
  13090. <optional>
  13091. <attribute name="svg:fy">
  13092. <choice>
  13093. <ref name="coordinate"/>
  13094. <ref name="percent"/>
  13095. </choice>
  13096. </attribute>
  13097. </optional>
  13098. <zeroOrMore>
  13099. <ref name="svg-stop"/>
  13100. </zeroOrMore>
  13101. </element>
  13102. </define>
  13103. <define name="svg-stop">
  13104. <element name="svg:stop">
  13105. <attribute name="svg:offset">
  13106. <choice>
  13107. <ref name="double"/>
  13108. <ref name="percent"/>
  13109. </choice>
  13110. </attribute>
  13111. <optional>
  13112. <attribute name="svg:stop-color">
  13113. <ref name="color"/>
  13114. </attribute>
  13115. </optional>
  13116. <optional>
  13117. <attribute name="svg:stop-opacity">
  13118. <ref name="double"/>
  13119. </attribute>
  13120. </optional>
  13121. </element>
  13122. </define>
  13123. <define name="common-svg-gradient-attlist" combine="interleave">
  13124. <optional>
  13125. <attribute name="svg:gradientUnits" a:defaultValue="objectBoundingBox">
  13126. <value>objectBoundingBox</value>
  13127. </attribute>
  13128. </optional>
  13129. <optional>
  13130. <attribute name="svg:gradientTransform">
  13131. <ref name="string"/>
  13132. </attribute>
  13133. </optional>
  13134. <optional>
  13135. <attribute name="svg:spreadMethod" a:defaultValue="pad">
  13136. <choice>
  13137. <value>pad</value>
  13138. <value>reflect</value>
  13139. <value>repeat</value>
  13140. </choice>
  13141. </attribute>
  13142. </optional>
  13143. </define>
  13144. <define name="common-svg-gradient-attlist" combine="interleave">
  13145. <attribute name="draw:name">
  13146. <ref name="styleName"/>
  13147. </attribute>
  13148. </define>
  13149. <define name="common-svg-gradient-attlist" combine="interleave">
  13150. <optional>
  13151. <attribute name="draw:display-name">
  13152. <ref name="string"/>
  13153. </attribute>
  13154. </optional>
  13155. </define>
  13156. <define name="draw-hatch">
  13157. <element name="draw:hatch">
  13158. <ref name="draw-hatch-attlist"/>
  13159. <empty/>
  13160. </element>
  13161. </define>
  13162. <define name="draw-hatch-attlist" combine="interleave">
  13163. <attribute name="draw:name">
  13164. <ref name="styleName"/>
  13165. </attribute>
  13166. </define>
  13167. <define name="draw-hatch-attlist" combine="interleave">
  13168. <optional>
  13169. <attribute name="draw:display-name">
  13170. <ref name="string"/>
  13171. </attribute>
  13172. </optional>
  13173. </define>
  13174. <define name="draw-hatch-attlist" combine="interleave">
  13175. <attribute name="draw:style">
  13176. <choice>
  13177. <value>single</value>
  13178. <value>double</value>
  13179. <value>triple</value>
  13180. </choice>
  13181. </attribute>
  13182. </define>
  13183. <define name="draw-hatch-attlist" combine="interleave">
  13184. <optional>
  13185. <attribute name="draw:color">
  13186. <ref name="color"/>
  13187. </attribute>
  13188. </optional>
  13189. </define>
  13190. <define name="draw-hatch-attlist" combine="interleave">
  13191. <optional>
  13192. <attribute name="draw:distance">
  13193. <ref name="length"/>
  13194. </attribute>
  13195. </optional>
  13196. </define>
  13197. <define name="draw-hatch-attlist" combine="interleave">
  13198. <optional>
  13199. <attribute name="draw:rotation">
  13200. <ref name="integer"/>
  13201. </attribute>
  13202. </optional>
  13203. </define>
  13204. <define name="draw-fill-image">
  13205. <element name="draw:fill-image">
  13206. <ref name="draw-fill-image-attlist"/>
  13207. <attribute name="xlink:href">
  13208. <ref name="anyURI"/>
  13209. </attribute>
  13210. <optional>
  13211. <attribute name="xlink:type" a:defaultValue="simple">
  13212. <choice>
  13213. <value>simple</value>
  13214. </choice>
  13215. </attribute>
  13216. </optional>
  13217. <optional>
  13218. <attribute name="xlink:show" a:defaultValue="embed">
  13219. <choice>
  13220. <value>embed</value>
  13221. </choice>
  13222. </attribute>
  13223. </optional>
  13224. <optional>
  13225. <attribute name="xlink:actuate" a:defaultValue="onLoad">
  13226. <choice>
  13227. <value>onLoad</value>
  13228. </choice>
  13229. </attribute>
  13230. </optional>
  13231. <empty/>
  13232. </element>
  13233. </define>
  13234. <define name="draw-fill-image-attlist" combine="interleave">
  13235. <attribute name="draw:name">
  13236. <ref name="styleName"/>
  13237. </attribute>
  13238. </define>
  13239. <define name="draw-fill-image-attlist" combine="interleave">
  13240. <optional>
  13241. <attribute name="draw:display-name">
  13242. <ref name="string"/>
  13243. </attribute>
  13244. </optional>
  13245. </define>
  13246. <define name="draw-fill-image-attlist" combine="interleave">
  13247. <optional>
  13248. <attribute name="svg:width">
  13249. <ref name="length"/>
  13250. </attribute>
  13251. </optional>
  13252. <optional>
  13253. <attribute name="svg:height">
  13254. <ref name="length"/>
  13255. </attribute>
  13256. </optional>
  13257. </define>
  13258. <define name="draw-opacity">
  13259. <element name="draw:opacity">
  13260. <ref name="common-draw-gradient-attlist"/>
  13261. <ref name="draw-opacity-attlist"/>
  13262. <empty/>
  13263. </element>
  13264. </define>
  13265. <define name="draw-opacity-attlist" combine="interleave">
  13266. <optional>
  13267. <attribute name="draw:start">
  13268. <ref name="percent"/>
  13269. </attribute>
  13270. </optional>
  13271. <optional>
  13272. <attribute name="draw:end">
  13273. <ref name="percent"/>
  13274. </attribute>
  13275. </optional>
  13276. </define>
  13277. <define name="draw-marker">
  13278. <element name="draw:marker">
  13279. <ref name="draw-marker-attlist"/>
  13280. <ref name="common-draw-viewbox-attlist"/>
  13281. <ref name="common-draw-path-data-attlist"/>
  13282. <empty/>
  13283. </element>
  13284. </define>
  13285. <define name="draw-marker-attlist" combine="interleave">
  13286. <attribute name="draw:name">
  13287. <ref name="styleName"/>
  13288. </attribute>
  13289. </define>
  13290. <define name="draw-marker-attlist" combine="interleave">
  13291. <optional>
  13292. <attribute name="draw:display-name">
  13293. <ref name="string"/>
  13294. </attribute>
  13295. </optional>
  13296. </define>
  13297. <define name="draw-stroke-dash">
  13298. <element name="draw:stroke-dash">
  13299. <ref name="draw-stroke-dash-attlist"/>
  13300. <empty/>
  13301. </element>
  13302. </define>
  13303. <define name="draw-stroke-dash-attlist" combine="interleave">
  13304. <attribute name="draw:name">
  13305. <ref name="styleName"/>
  13306. </attribute>
  13307. </define>
  13308. <define name="draw-stroke-dash-attlist" combine="interleave">
  13309. <optional>
  13310. <attribute name="draw:display-name">
  13311. <ref name="string"/>
  13312. </attribute>
  13313. </optional>
  13314. </define>
  13315. <define name="draw-stroke-dash-attlist" combine="interleave">
  13316. <optional>
  13317. <attribute name="draw:style">
  13318. <choice>
  13319. <value>rect</value>
  13320. <value>round</value>
  13321. </choice>
  13322. </attribute>
  13323. </optional>
  13324. </define>
  13325. <define name="draw-stroke-dash-attlist" combine="interleave">
  13326. <optional>
  13327. <attribute name="draw:dots1">
  13328. <ref name="integer"/>
  13329. </attribute>
  13330. </optional>
  13331. <optional>
  13332. <attribute name="draw:dots1-length">
  13333. <ref name="length"/>
  13334. </attribute>
  13335. </optional>
  13336. <optional>
  13337. <attribute name="draw:dots2">
  13338. <ref name="integer"/>
  13339. </attribute>
  13340. </optional>
  13341. <optional>
  13342. <attribute name="draw:dots2-length">
  13343. <ref name="length"/>
  13344. </attribute>
  13345. </optional>
  13346. </define>
  13347. <define name="draw-stroke-dash-attlist" combine="interleave">
  13348. <optional>
  13349. <attribute name="draw:distance">
  13350. <ref name="length"/>
  13351. </attribute>
  13352. </optional>
  13353. </define>
  13354. <define name="style-presentation-page-layout">
  13355. <element name="style:presentation-page-layout">
  13356. <attribute name="style:name">
  13357. <ref name="styleName"/>
  13358. </attribute>
  13359. <optional>
  13360. <attribute name="style:display-name">
  13361. <ref name="string"/>
  13362. </attribute>
  13363. </optional>
  13364. <zeroOrMore>
  13365. <ref name="presentation-placeholder"/>
  13366. </zeroOrMore>
  13367. </element>
  13368. </define>
  13369. <define name="presentation-placeholder">
  13370. <element name="presentation:placeholder">
  13371. <attribute name="presentation:object">
  13372. <ref name="presentation-classes"/>
  13373. </attribute>
  13374. <attribute name="svg:x">
  13375. <choice>
  13376. <ref name="coordinate"/>
  13377. <ref name="percent"/>
  13378. </choice>
  13379. </attribute>
  13380. <attribute name="svg:y">
  13381. <choice>
  13382. <ref name="coordinate"/>
  13383. <ref name="percent"/>
  13384. </choice>
  13385. </attribute>
  13386. <attribute name="svg:width">
  13387. <choice>
  13388. <ref name="length"/>
  13389. <ref name="percent"/>
  13390. </choice>
  13391. </attribute>
  13392. <attribute name="svg:height">
  13393. <choice>
  13394. <ref name="length"/>
  13395. <ref name="percent"/>
  13396. </choice>
  13397. </attribute>
  13398. <empty/>
  13399. </element>
  13400. </define>
  13401. <define name="style-style-content" combine="choice">
  13402. <group>
  13403. <attribute name="style:family">
  13404. <value>chart</value>
  13405. </attribute>
  13406. <optional>
  13407. <ref name="style-chart-properties"/>
  13408. </optional>
  13409. <optional>
  13410. <ref name="style-graphic-properties"/>
  13411. </optional>
  13412. <optional>
  13413. <ref name="style-paragraph-properties"/>
  13414. </optional>
  13415. <optional>
  13416. <ref name="style-text-properties"/>
  13417. </optional>
  13418. </group>
  13419. </define>
  13420. <define name="style-properties-content">
  13421. <ref name="anyAttListOrElements"/>
  13422. </define>
  13423. <define name="style-page-layout-properties">
  13424. <element name="style:page-layout-properties">
  13425. <ref name="style-page-layout-properties-content"/>
  13426. </element>
  13427. </define>
  13428. <define name="style-page-layout-properties-content">
  13429. <ref name="style-properties-content"/>
  13430. </define>
  13431. <define name="style-page-layout-properties-content-strict">
  13432. <ref name="style-page-layout-properties-attlist"/>
  13433. <ref name="style-page-layout-properties-elements"/>
  13434. </define>
  13435. <define name="style-page-layout-properties-attlist" combine="interleave">
  13436. <optional>
  13437. <attribute name="fo:page-width">
  13438. <ref name="length"/>
  13439. </attribute>
  13440. </optional>
  13441. <optional>
  13442. <attribute name="fo:page-height">
  13443. <ref name="length"/>
  13444. </attribute>
  13445. </optional>
  13446. </define>
  13447. <define name="style-page-layout-properties-attlist" combine="interleave">
  13448. <optional>
  13449. <ref name="common-num-format-attlist"/>
  13450. </optional>
  13451. <ref name="common-num-format-prefix-suffix-attlist"/>
  13452. </define>
  13453. <define name="style-page-layout-properties-attlist" combine="interleave">
  13454. <optional>
  13455. <attribute name="style:paper-tray-name">
  13456. <choice>
  13457. <value>default</value>
  13458. <ref name="string"/>
  13459. </choice>
  13460. </attribute>
  13461. </optional>
  13462. </define>
  13463. <define name="style-page-layout-properties-attlist" combine="interleave">
  13464. <optional>
  13465. <attribute name="style:print-orientation">
  13466. <choice>
  13467. <value>portrait</value>
  13468. <value>landscape</value>
  13469. </choice>
  13470. </attribute>
  13471. </optional>
  13472. </define>
  13473. <define name="style-page-layout-properties-attlist" combine="interleave">
  13474. <ref name="common-horizontal-margin-attlist"/>
  13475. <ref name="common-vertical-margin-attlist"/>
  13476. <ref name="common-margin-attlist"/>
  13477. </define>
  13478. <define name="style-page-layout-properties-attlist" combine="interleave">
  13479. <ref name="common-border-attlist"/>
  13480. </define>
  13481. <define name="style-page-layout-properties-attlist" combine="interleave">
  13482. <ref name="common-border-line-width-attlist"/>
  13483. </define>
  13484. <define name="style-page-layout-properties-attlist" combine="interleave">
  13485. <ref name="common-padding-attlist"/>
  13486. </define>
  13487. <define name="style-page-layout-properties-attlist" combine="interleave">
  13488. <ref name="common-shadow-attlist"/>
  13489. </define>
  13490. <define name="style-page-layout-properties-attlist" combine="interleave">
  13491. <ref name="common-background-color-attlist"/>
  13492. </define>
  13493. <define name="style-page-layout-properties-elements" combine="interleave">
  13494. <ref name="style-background-image"/>
  13495. </define>
  13496. <define name="style-page-layout-properties-elements" combine="interleave">
  13497. <ref name="style-columns"/>
  13498. </define>
  13499. <define name="style-page-layout-properties-attlist" combine="interleave">
  13500. <optional>
  13501. <attribute name="style:register-truth-ref-style-name">
  13502. <ref name="styleNameRef"/>
  13503. </attribute>
  13504. </optional>
  13505. </define>
  13506. <define name="style-page-layout-properties-attlist" combine="interleave">
  13507. <optional>
  13508. <attribute name="style:print">
  13509. <list>
  13510. <zeroOrMore>
  13511. <choice>
  13512. <value>headers</value>
  13513. <value>grid</value>
  13514. <value>annotations</value>
  13515. <value>objects</value>
  13516. <value>charts</value>
  13517. <value>drawings</value>
  13518. <value>formulas</value>
  13519. <value>zero-values</value>
  13520. </choice>
  13521. </zeroOrMore>
  13522. </list>
  13523. </attribute>
  13524. </optional>
  13525. </define>
  13526. <define name="style-page-layout-properties-attlist" combine="interleave">
  13527. <optional>
  13528. <attribute name="style:print-page-order">
  13529. <choice>
  13530. <value>ttb</value>
  13531. <value>ltr</value>
  13532. </choice>
  13533. </attribute>
  13534. </optional>
  13535. </define>
  13536. <define name="style-page-layout-properties-attlist" combine="interleave">
  13537. <optional>
  13538. <attribute name="style:first-page-number">
  13539. <choice>
  13540. <ref name="positiveInteger"/>
  13541. <value>continue</value>
  13542. </choice>
  13543. </attribute>
  13544. </optional>
  13545. </define>
  13546. <define name="style-page-layout-properties-attlist" combine="interleave">
  13547. <optional>
  13548. <attribute name="style:scale-to">
  13549. <ref name="percent"/>
  13550. </attribute>
  13551. </optional>
  13552. <optional>
  13553. <attribute name="style:scale-to-pages">
  13554. <ref name="positiveInteger"/>
  13555. </attribute>
  13556. </optional>
  13557. </define>
  13558. <define name="style-page-layout-properties-attlist" combine="interleave">
  13559. <optional>
  13560. <attribute name="style:table-centering">
  13561. <choice>
  13562. <value>horizontal</value>
  13563. <value>vertical</value>
  13564. <value>both</value>
  13565. <value>none</value>
  13566. </choice>
  13567. </attribute>
  13568. </optional>
  13569. </define>
  13570. <define name="style-page-layout-properties-attlist" combine="interleave">
  13571. <optional>
  13572. <attribute name="style:footnote-max-height">
  13573. <ref name="length"/>
  13574. </attribute>
  13575. </optional>
  13576. </define>
  13577. <define name="style-page-layout-properties-attlist" combine="interleave">
  13578. <ref name="common-writing-mode-attlist"/>
  13579. </define>
  13580. <define name="style-page-layout-properties-elements" combine="interleave">
  13581. <ref name="style-footnote-sep"/>
  13582. </define>
  13583. <define name="style-footnote-sep">
  13584. <optional>
  13585. <element name="style:footnote-sep">
  13586. <ref name="style-footnote-sep-attlist"/>
  13587. <empty/>
  13588. </element>
  13589. </optional>
  13590. </define>
  13591. <define name="style-footnote-sep-attlist" combine="interleave">
  13592. <optional>
  13593. <attribute name="style:width">
  13594. <ref name="length"/>
  13595. </attribute>
  13596. </optional>
  13597. <optional>
  13598. <attribute name="style:rel-width">
  13599. <ref name="percent"/>
  13600. </attribute>
  13601. </optional>
  13602. <optional>
  13603. <attribute name="style:color">
  13604. <ref name="color"/>
  13605. </attribute>
  13606. </optional>
  13607. <optional>
  13608. <attribute name="style:line-style">
  13609. <ref name="lineStyle"/>
  13610. </attribute>
  13611. </optional>
  13612. <optional>
  13613. <attribute name="style:adjustment" a:defaultValue="left">
  13614. <choice>
  13615. <value>left</value>
  13616. <value>center</value>
  13617. <value>right</value>
  13618. </choice>
  13619. </attribute>
  13620. </optional>
  13621. <optional>
  13622. <attribute name="style:distance-before-sep">
  13623. <ref name="length"/>
  13624. </attribute>
  13625. </optional>
  13626. <optional>
  13627. <attribute name="style:distance-after-sep">
  13628. <ref name="length"/>
  13629. </attribute>
  13630. </optional>
  13631. </define>
  13632. <define name="style-page-layout-properties-attlist" combine="interleave">
  13633. <optional>
  13634. <attribute name="style:layout-grid-mode">
  13635. <choice>
  13636. <value>none</value>
  13637. <value>line</value>
  13638. <value>both</value>
  13639. </choice>
  13640. </attribute>
  13641. </optional>
  13642. </define>
  13643. <define name="style-page-layout-properties-attlist" combine="interleave">
  13644. <optional>
  13645. <attribute name="style:layout-grid-base-height">
  13646. <ref name="length"/>
  13647. </attribute>
  13648. </optional>
  13649. </define>
  13650. <define name="style-page-layout-properties-attlist" combine="interleave">
  13651. <optional>
  13652. <attribute name="style:layout-grid-ruby-height">
  13653. <ref name="length"/>
  13654. </attribute>
  13655. </optional>
  13656. </define>
  13657. <define name="style-page-layout-properties-attlist" combine="interleave">
  13658. <optional>
  13659. <attribute name="style:layout-grid-lines">
  13660. <ref name="positiveInteger"/>
  13661. </attribute>
  13662. </optional>
  13663. </define>
  13664. <define name="style-page-layout-properties-attlist" combine="interleave">
  13665. <optional>
  13666. <attribute name="style:layout-grid-color">
  13667. <ref name="color"/>
  13668. </attribute>
  13669. </optional>
  13670. </define>
  13671. <define name="style-page-layout-properties-attlist" combine="interleave">
  13672. <optional>
  13673. <attribute name="style:layout-grid-ruby-below">
  13674. <ref name="boolean"/>
  13675. </attribute>
  13676. </optional>
  13677. </define>
  13678. <define name="style-page-layout-properties-attlist" combine="interleave">
  13679. <optional>
  13680. <attribute name="style:layout-grid-print">
  13681. <ref name="boolean"/>
  13682. </attribute>
  13683. </optional>
  13684. </define>
  13685. <define name="style-page-layout-properties-attlist" combine="interleave">
  13686. <optional>
  13687. <attribute name="style:layout-grid-display">
  13688. <ref name="boolean"/>
  13689. </attribute>
  13690. </optional>
  13691. </define>
  13692. <define name="style-header-footer-properties">
  13693. <element name="style:header-footer-properties">
  13694. <ref name="style-header-footer-properties-content"/>
  13695. </element>
  13696. </define>
  13697. <define name="style-header-footer-properties-content">
  13698. <ref name="style-properties-content"/>
  13699. </define>
  13700. <define name="style-header-footer-properties-content-strict">
  13701. <ref name="style-header-footer-properties-attlist"/>
  13702. <ref name="style-header-footer-properties-elements"/>
  13703. </define>
  13704. <define name="style-header-footer-properties-attlist" combine="interleave">
  13705. <optional>
  13706. <attribute name="svg:height">
  13707. <ref name="length"/>
  13708. </attribute>
  13709. </optional>
  13710. <optional>
  13711. <attribute name="fo:min-height">
  13712. <ref name="length"/>
  13713. </attribute>
  13714. </optional>
  13715. </define>
  13716. <define name="style-header-footer-properties-attlist" combine="interleave">
  13717. <ref name="common-horizontal-margin-attlist"/>
  13718. <ref name="common-vertical-margin-attlist"/>
  13719. <ref name="common-margin-attlist"/>
  13720. </define>
  13721. <define name="style-header-footer-properties-attlist" combine="interleave">
  13722. <ref name="common-border-attlist"/>
  13723. </define>
  13724. <define name="style-header-footer-properties-attlist" combine="interleave">
  13725. <ref name="common-border-line-width-attlist"/>
  13726. </define>
  13727. <define name="style-header-footer-properties-attlist" combine="interleave">
  13728. <ref name="common-padding-attlist"/>
  13729. </define>
  13730. <define name="style-header-footer-properties-attlist" combine="interleave">
  13731. <ref name="common-background-color-attlist"/>
  13732. </define>
  13733. <define name="style-header-footer-properties-elements" combine="interleave">
  13734. <ref name="style-background-image"/>
  13735. </define>
  13736. <define name="style-header-footer-properties-attlist" combine="interleave">
  13737. <ref name="common-shadow-attlist"/>
  13738. </define>
  13739. <define name="style-header-footer-properties-attlist" combine="interleave">
  13740. <optional>
  13741. <attribute name="style:dynamic-spacing">
  13742. <ref name="boolean"/>
  13743. </attribute>
  13744. </optional>
  13745. </define>
  13746. <define name="style-text-properties">
  13747. <element name="style:text-properties">
  13748. <ref name="style-text-properties-content"/>
  13749. </element>
  13750. </define>
  13751. <define name="style-text-properties-content">
  13752. <ref name="style-properties-content"/>
  13753. </define>
  13754. <define name="style-text-properties-content-strict">
  13755. <ref name="style-text-properties-attlist"/>
  13756. <ref name="style-text-properties-elements"/>
  13757. </define>
  13758. <define name="style-text-properties-elements">
  13759. <empty/>
  13760. </define>
  13761. <define name="style-text-properties-attlist" combine="interleave">
  13762. <optional>
  13763. <attribute name="fo:font-variant">
  13764. <ref name="fontVariant"/>
  13765. </attribute>
  13766. </optional>
  13767. </define>
  13768. <define name="fontVariant">
  13769. <choice>
  13770. <value>normal</value>
  13771. <value>small-caps</value>
  13772. </choice>
  13773. </define>
  13774. <define name="style-text-properties-attlist" combine="interleave">
  13775. <optional>
  13776. <attribute name="fo:text-transform">
  13777. <choice>
  13778. <value>none</value>
  13779. <value>lowercase</value>
  13780. <value>uppercase</value>
  13781. <value>capitalize</value>
  13782. </choice>
  13783. </attribute>
  13784. </optional>
  13785. </define>
  13786. <define name="style-text-properties-attlist" combine="interleave">
  13787. <optional>
  13788. <attribute name="fo:color">
  13789. <ref name="color"/>
  13790. </attribute>
  13791. </optional>
  13792. </define>
  13793. <define name="style-text-properties-attlist" combine="interleave">
  13794. <optional>
  13795. <attribute name="style:use-window-font-color">
  13796. <ref name="boolean"/>
  13797. </attribute>
  13798. </optional>
  13799. </define>
  13800. <define name="style-text-properties-attlist" combine="interleave">
  13801. <optional>
  13802. <attribute name="style:text-outline">
  13803. <ref name="boolean"/>
  13804. </attribute>
  13805. </optional>
  13806. </define>
  13807. <define name="style-text-properties-attlist" combine="interleave">
  13808. <optional>
  13809. <attribute name="style:text-line-through-type">
  13810. <ref name="lineType"/>
  13811. </attribute>
  13812. </optional>
  13813. </define>
  13814. <define name="style-text-properties-attlist" combine="interleave">
  13815. <optional>
  13816. <attribute name="style:text-line-through-style">
  13817. <ref name="lineStyle"/>
  13818. </attribute>
  13819. </optional>
  13820. </define>
  13821. <define name="style-text-properties-attlist" combine="interleave">
  13822. <optional>
  13823. <attribute name="style:text-line-through-width">
  13824. <ref name="lineWidth"/>
  13825. </attribute>
  13826. </optional>
  13827. </define>
  13828. <define name="style-text-properties-attlist" combine="interleave">
  13829. <optional>
  13830. <attribute name="style:text-line-through-color">
  13831. <choice>
  13832. <value>font-color</value>
  13833. <ref name="color"/>
  13834. </choice>
  13835. </attribute>
  13836. </optional>
  13837. </define>
  13838. <define name="style-text-properties-attlist" combine="interleave">
  13839. <optional>
  13840. <attribute name="style:text-line-through-text">
  13841. <ref name="string"/>
  13842. </attribute>
  13843. </optional>
  13844. </define>
  13845. <define name="style-text-properties-attlist" combine="interleave">
  13846. <optional>
  13847. <attribute name="style:text-line-through-text-style">
  13848. <ref name="styleNameRef"/>
  13849. </attribute>
  13850. </optional>
  13851. </define>
  13852. <define name="style-text-properties-attlist" combine="interleave">
  13853. <optional>
  13854. <attribute name="style:text-position">
  13855. <list>
  13856. <choice>
  13857. <ref name="percent"/>
  13858. <value>super</value>
  13859. <value>sub</value>
  13860. </choice>
  13861. <optional>
  13862. <ref name="percent"/>
  13863. </optional>
  13864. </list>
  13865. </attribute>
  13866. </optional>
  13867. </define>
  13868. <define name="style-text-properties-attlist" combine="interleave">
  13869. <optional>
  13870. <attribute name="style:font-name">
  13871. <ref name="string"/>
  13872. </attribute>
  13873. </optional>
  13874. <optional>
  13875. <attribute name="style:font-name-asian">
  13876. <ref name="string"/>
  13877. </attribute>
  13878. </optional>
  13879. <optional>
  13880. <attribute name="style:font-name-complex">
  13881. <ref name="string"/>
  13882. </attribute>
  13883. </optional>
  13884. </define>
  13885. <define name="style-text-properties-attlist" combine="interleave">
  13886. <optional>
  13887. <attribute name="fo:font-family">
  13888. <ref name="string"/>
  13889. </attribute>
  13890. </optional>
  13891. <optional>
  13892. <attribute name="style:font-family-asian">
  13893. <ref name="string"/>
  13894. </attribute>
  13895. </optional>
  13896. <optional>
  13897. <attribute name="style:font-family-complex">
  13898. <ref name="string"/>
  13899. </attribute>
  13900. </optional>
  13901. </define>
  13902. <define name="style-text-properties-attlist" combine="interleave">
  13903. <optional>
  13904. <attribute name="style:font-family-generic">
  13905. <ref name="fontFamilyGeneric"/>
  13906. </attribute>
  13907. </optional>
  13908. <optional>
  13909. <attribute name="style:font-family-generic-asian">
  13910. <ref name="fontFamilyGeneric"/>
  13911. </attribute>
  13912. </optional>
  13913. <optional>
  13914. <attribute name="style:font-family-generic-complex">
  13915. <ref name="fontFamilyGeneric"/>
  13916. </attribute>
  13917. </optional>
  13918. </define>
  13919. <define name="fontFamilyGeneric">
  13920. <choice>
  13921. <value>roman</value>
  13922. <value>swiss</value>
  13923. <value>modern</value>
  13924. <value>decorative</value>
  13925. <value>script</value>
  13926. <value>system</value>
  13927. </choice>
  13928. </define>
  13929. <define name="style-text-properties-attlist" combine="interleave">
  13930. <optional>
  13931. <attribute name="style:font-style-name">
  13932. <ref name="string"/>
  13933. </attribute>
  13934. </optional>
  13935. <optional>
  13936. <attribute name="style:font-style-name-asian">
  13937. <ref name="string"/>
  13938. </attribute>
  13939. </optional>
  13940. <optional>
  13941. <attribute name="style:font-style-name-complex">
  13942. <ref name="string"/>
  13943. </attribute>
  13944. </optional>
  13945. </define>
  13946. <define name="style-text-properties-attlist" combine="interleave">
  13947. <optional>
  13948. <attribute name="style:font-pitch">
  13949. <ref name="fontPitch"/>
  13950. </attribute>
  13951. </optional>
  13952. <optional>
  13953. <attribute name="style:font-pitch-asian">
  13954. <ref name="fontPitch"/>
  13955. </attribute>
  13956. </optional>
  13957. <optional>
  13958. <attribute name="style:font-pitch-complex">
  13959. <ref name="fontPitch"/>
  13960. </attribute>
  13961. </optional>
  13962. </define>
  13963. <define name="fontPitch">
  13964. <choice>
  13965. <value>fixed</value>
  13966. <value>variable</value>
  13967. </choice>
  13968. </define>
  13969. <define name="style-text-properties-attlist" combine="interleave">
  13970. <optional>
  13971. <attribute name="style:font-charset">
  13972. <ref name="textEncoding"/>
  13973. </attribute>
  13974. </optional>
  13975. <optional>
  13976. <attribute name="style:font-charset-asian">
  13977. <ref name="textEncoding"/>
  13978. </attribute>
  13979. </optional>
  13980. <optional>
  13981. <attribute name="style:font-charset-complex">
  13982. <ref name="textEncoding"/>
  13983. </attribute>
  13984. </optional>
  13985. </define>
  13986. <define name="textEncoding">
  13987. <data type="string">
  13988. <param name="pattern">[A-Za-z][A-Za-z0-9._\-]*</param>
  13989. </data>
  13990. </define>
  13991. <define name="style-text-properties-attlist" combine="interleave">
  13992. <optional>
  13993. <attribute name="fo:font-size">
  13994. <choice>
  13995. <ref name="positiveLength"/>
  13996. <ref name="percent"/>
  13997. </choice>
  13998. </attribute>
  13999. </optional>
  14000. <optional>
  14001. <attribute name="style:font-size-asian">
  14002. <choice>
  14003. <ref name="positiveLength"/>
  14004. <ref name="percent"/>
  14005. </choice>
  14006. </attribute>
  14007. </optional>
  14008. <optional>
  14009. <attribute name="style:font-size-complex">
  14010. <choice>
  14011. <ref name="positiveLength"/>
  14012. <ref name="percent"/>
  14013. </choice>
  14014. </attribute>
  14015. </optional>
  14016. </define>
  14017. <define name="style-text-properties-attlist" combine="interleave">
  14018. <optional>
  14019. <attribute name="style:font-size-rel">
  14020. <ref name="length"/>
  14021. </attribute>
  14022. </optional>
  14023. <optional>
  14024. <attribute name="style:font-size-rel-asian">
  14025. <ref name="length"/>
  14026. </attribute>
  14027. </optional>
  14028. <optional>
  14029. <attribute name="style:font-size-rel-complex">
  14030. <ref name="length"/>
  14031. </attribute>
  14032. </optional>
  14033. </define>
  14034. <define name="style-text-properties-attlist" combine="interleave">
  14035. <optional>
  14036. <attribute name="style:script-type">
  14037. <choice>
  14038. <value>latin</value>
  14039. <value>asian</value>
  14040. <value>complex</value>
  14041. <value>ignore</value>
  14042. </choice>
  14043. </attribute>
  14044. </optional>
  14045. </define>
  14046. <define name="style-text-properties-attlist" combine="interleave">
  14047. <optional>
  14048. <attribute name="fo:letter-spacing">
  14049. <choice>
  14050. <ref name="length"/>
  14051. <value>normal</value>
  14052. </choice>
  14053. </attribute>
  14054. </optional>
  14055. </define>
  14056. <define name="style-text-properties-attlist" combine="interleave">
  14057. <optional>
  14058. <attribute name="fo:language">
  14059. <ref name="languageCode"/>
  14060. </attribute>
  14061. </optional>
  14062. <optional>
  14063. <attribute name="style:language-asian">
  14064. <ref name="languageCode"/>
  14065. </attribute>
  14066. </optional>
  14067. <optional>
  14068. <attribute name="style:language-complex">
  14069. <ref name="languageCode"/>
  14070. </attribute>
  14071. </optional>
  14072. </define>
  14073. <define name="style-text-properties-attlist" combine="interleave">
  14074. <optional>
  14075. <attribute name="fo:country">
  14076. <ref name="countryCode"/>
  14077. </attribute>
  14078. </optional>
  14079. <optional>
  14080. <attribute name="style:country-asian">
  14081. <ref name="countryCode"/>
  14082. </attribute>
  14083. </optional>
  14084. <optional>
  14085. <attribute name="style:country-complex">
  14086. <ref name="countryCode"/>
  14087. </attribute>
  14088. </optional>
  14089. </define>
  14090. <define name="style-text-properties-attlist" combine="interleave">
  14091. <optional>
  14092. <attribute name="fo:font-style">
  14093. <ref name="fontStyle"/>
  14094. </attribute>
  14095. </optional>
  14096. <optional>
  14097. <attribute name="style:font-style-asian">
  14098. <ref name="fontStyle"/>
  14099. </attribute>
  14100. </optional>
  14101. <optional>
  14102. <attribute name="style:font-style-complex">
  14103. <ref name="fontStyle"/>
  14104. </attribute>
  14105. </optional>
  14106. </define>
  14107. <define name="fontStyle">
  14108. <choice>
  14109. <value>normal</value>
  14110. <value>italic</value>
  14111. <value>oblique</value>
  14112. </choice>
  14113. </define>
  14114. <define name="style-text-properties-attlist" combine="interleave">
  14115. <optional>
  14116. <attribute name="style:font-relief">
  14117. <choice>
  14118. <value>none</value>
  14119. <value>embossed</value>
  14120. <value>engraved</value>
  14121. </choice>
  14122. </attribute>
  14123. </optional>
  14124. </define>
  14125. <define name="style-text-properties-attlist" combine="interleave">
  14126. <optional>
  14127. <attribute name="fo:text-shadow">
  14128. <ref name="shadowType"/>
  14129. </attribute>
  14130. </optional>
  14131. </define>
  14132. <define name="shadowType">
  14133. <choice>
  14134. <value>none</value>
  14135. <!-- The following string must match an XSL shadow decl -->
  14136. <ref name="string"/>
  14137. </choice>
  14138. </define>
  14139. <define name="style-text-properties-attlist" combine="interleave">
  14140. <optional>
  14141. <attribute name="style:text-underline-type">
  14142. <ref name="lineType"/>
  14143. </attribute>
  14144. </optional>
  14145. </define>
  14146. <define name="lineType">
  14147. <choice>
  14148. <value>none</value>
  14149. <value>single</value>
  14150. <value>double</value>
  14151. </choice>
  14152. </define>
  14153. <define name="style-text-properties-attlist" combine="interleave">
  14154. <optional>
  14155. <attribute name="style:text-underline-style">
  14156. <ref name="lineStyle"/>
  14157. </attribute>
  14158. </optional>
  14159. </define>
  14160. <define name="lineStyle">
  14161. <choice>
  14162. <value>none</value>
  14163. <value>solid</value>
  14164. <value>dotted</value>
  14165. <value>dash</value>
  14166. <value>long-dash</value>
  14167. <value>dot-dash</value>
  14168. <value>dot-dot-dash</value>
  14169. <value>wave</value>
  14170. </choice>
  14171. </define>
  14172. <define name="style-text-properties-attlist" combine="interleave">
  14173. <optional>
  14174. <attribute name="style:text-underline-width">
  14175. <ref name="lineWidth"/>
  14176. </attribute>
  14177. </optional>
  14178. </define>
  14179. <define name="lineWidth">
  14180. <choice>
  14181. <value>auto</value>
  14182. <value>normal</value>
  14183. <value>bold</value>
  14184. <value>thin</value>
  14185. <value>dash</value>
  14186. <value>medium</value>
  14187. <value>thick</value>
  14188. <ref name="positiveInteger"/>
  14189. <ref name="percent"/>
  14190. <ref name="positiveLength"/>
  14191. </choice>
  14192. </define>
  14193. <define name="style-text-properties-attlist" combine="interleave">
  14194. <optional>
  14195. <attribute name="style:text-underline-color">
  14196. <choice>
  14197. <value>font-color</value>
  14198. <ref name="color"/>
  14199. </choice>
  14200. </attribute>
  14201. </optional>
  14202. </define>
  14203. <define name="style-text-properties-attlist" combine="interleave">
  14204. <optional>
  14205. <attribute name="fo:font-weight">
  14206. <ref name="fontWeight"/>
  14207. </attribute>
  14208. </optional>
  14209. <optional>
  14210. <attribute name="style:font-weight-asian">
  14211. <ref name="fontWeight"/>
  14212. </attribute>
  14213. </optional>
  14214. <optional>
  14215. <attribute name="style:font-weight-complex">
  14216. <ref name="fontWeight"/>
  14217. </attribute>
  14218. </optional>
  14219. </define>
  14220. <define name="fontWeight">
  14221. <choice>
  14222. <value>normal</value>
  14223. <value>bold</value>
  14224. <value>100</value>
  14225. <value>200</value>
  14226. <value>300</value>
  14227. <value>400</value>
  14228. <value>500</value>
  14229. <value>600</value>
  14230. <value>700</value>
  14231. <value>800</value>
  14232. <value>900</value>
  14233. </choice>
  14234. </define>
  14235. <define name="style-text-properties-attlist" combine="interleave">
  14236. <optional>
  14237. <attribute name="style:text-underline-mode">
  14238. <ref name="lineMode"/>
  14239. </attribute>
  14240. </optional>
  14241. </define>
  14242. <define name="lineMode">
  14243. <choice>
  14244. <value>continuous</value>
  14245. <value>skip-white-space</value>
  14246. </choice>
  14247. </define>
  14248. <define name="style-text-properties-attlist" combine="interleave">
  14249. <optional>
  14250. <attribute name="style:text-line-through-mode">
  14251. <ref name="lineMode"/>
  14252. </attribute>
  14253. </optional>
  14254. </define>
  14255. <define name="style-text-properties-attlist" combine="interleave">
  14256. <optional>
  14257. <attribute name="style:letter-kerning">
  14258. <ref name="boolean"/>
  14259. </attribute>
  14260. </optional>
  14261. </define>
  14262. <define name="style-text-properties-attlist" combine="interleave">
  14263. <optional>
  14264. <attribute name="style:text-blinking">
  14265. <ref name="boolean"/>
  14266. </attribute>
  14267. </optional>
  14268. </define>
  14269. <define name="style-text-properties-attlist" combine="interleave">
  14270. <ref name="common-background-color-attlist"/>
  14271. </define>
  14272. <define name="style-text-properties-attlist" combine="interleave">
  14273. <optional>
  14274. <attribute name="style:text-combine">
  14275. <choice>
  14276. <value>none</value>
  14277. <value>letters</value>
  14278. <value>lines</value>
  14279. </choice>
  14280. </attribute>
  14281. </optional>
  14282. </define>
  14283. <define name="style-text-properties-attlist" combine="interleave">
  14284. <optional>
  14285. <attribute name="style:text-combine-start-char">
  14286. <ref name="character"/>
  14287. </attribute>
  14288. </optional>
  14289. <optional>
  14290. <attribute name="style:text-combine-end-char">
  14291. <ref name="character"/>
  14292. </attribute>
  14293. </optional>
  14294. </define>
  14295. <define name="style-text-properties-attlist" combine="interleave">
  14296. <optional>
  14297. <attribute name="style:text-emphasize">
  14298. <choice>
  14299. <value>none</value>
  14300. <list>
  14301. <choice>
  14302. <value>none</value>
  14303. <value>accent</value>
  14304. <value>dot</value>
  14305. <value>circle</value>
  14306. <value>disc</value>
  14307. </choice>
  14308. <choice>
  14309. <value>above</value>
  14310. <value>below</value>
  14311. </choice>
  14312. </list>
  14313. </choice>
  14314. </attribute>
  14315. </optional>
  14316. </define>
  14317. <define name="style-text-properties-attlist" combine="interleave">
  14318. <optional>
  14319. <attribute name="style:text-scale">
  14320. <ref name="percent"/>
  14321. </attribute>
  14322. </optional>
  14323. </define>
  14324. <define name="style-text-properties-attlist" combine="interleave">
  14325. <optional>
  14326. <attribute name="style:text-rotation-angle">
  14327. <ref name="integer"/>
  14328. </attribute>
  14329. </optional>
  14330. </define>
  14331. <define name="style-text-properties-attlist" combine="interleave">
  14332. <optional>
  14333. <attribute name="style:text-rotation-scale">
  14334. <choice>
  14335. <value>fixed</value>
  14336. <value>line-height</value>
  14337. </choice>
  14338. </attribute>
  14339. </optional>
  14340. </define>
  14341. <define name="style-text-properties-attlist" combine="interleave">
  14342. <optional>
  14343. <attribute name="fo:hyphenate">
  14344. <ref name="boolean"/>
  14345. </attribute>
  14346. </optional>
  14347. </define>
  14348. <define name="style-text-properties-attlist" combine="interleave">
  14349. <optional>
  14350. <attribute name="fo:hyphenation-remain-char-count">
  14351. <ref name="positiveInteger"/>
  14352. </attribute>
  14353. </optional>
  14354. </define>
  14355. <define name="style-text-properties-attlist" combine="interleave">
  14356. <optional>
  14357. <attribute name="fo:hyphenation-push-char-count">
  14358. <ref name="positiveInteger"/>
  14359. </attribute>
  14360. </optional>
  14361. </define>
  14362. <define name="style-text-properties-attlist" combine="interleave">
  14363. <choice>
  14364. <attribute name="text:display">
  14365. <value>true</value>
  14366. </attribute>
  14367. <attribute name="text:display">
  14368. <value>none</value>
  14369. </attribute>
  14370. <group>
  14371. <attribute name="text:display">
  14372. <value>condition</value>
  14373. </attribute>
  14374. <attribute name="text:condition">
  14375. <value>none</value>
  14376. </attribute>
  14377. </group>
  14378. <empty/>
  14379. </choice>
  14380. </define>
  14381. <define name="style-paragraph-properties">
  14382. <element name="style:paragraph-properties">
  14383. <ref name="style-paragraph-properties-content"/>
  14384. </element>
  14385. </define>
  14386. <define name="style-paragraph-properties-content">
  14387. <ref name="style-properties-content"/>
  14388. </define>
  14389. <define name="style-paragraph-properties-content-strict">
  14390. <ref name="style-paragraph-properties-attlist"/>
  14391. <ref name="style-paragraph-properties-elements"/>
  14392. </define>
  14393. <define name="style-paragraph-properties-attlist" combine="interleave">
  14394. <optional>
  14395. <attribute name="fo:line-height">
  14396. <choice>
  14397. <value>normal</value>
  14398. <ref name="nonNegativeLength"/>
  14399. <ref name="percent"/>
  14400. </choice>
  14401. </attribute>
  14402. </optional>
  14403. </define>
  14404. <define name="style-paragraph-properties-attlist" combine="interleave">
  14405. <optional>
  14406. <attribute name="style:line-height-at-least">
  14407. <ref name="nonNegativeLength"/>
  14408. </attribute>
  14409. </optional>
  14410. </define>
  14411. <define name="style-paragraph-properties-attlist" combine="interleave">
  14412. <optional>
  14413. <attribute name="style:line-spacing">
  14414. <ref name="length"/>
  14415. </attribute>
  14416. </optional>
  14417. </define>
  14418. <define name="style-paragraph-properties-attlist" combine="interleave">
  14419. <optional>
  14420. <attribute name="style:font-independent-line-spacing">
  14421. <ref name="boolean"/>
  14422. </attribute>
  14423. </optional>
  14424. </define>
  14425. <define name="style-paragraph-properties-attlist" combine="interleave">
  14426. <ref name="common-text-align"/>
  14427. </define>
  14428. <define name="common-text-align">
  14429. <optional>
  14430. <attribute name="fo:text-align">
  14431. <choice>
  14432. <value>start</value>
  14433. <value>end</value>
  14434. <value>left</value>
  14435. <value>right</value>
  14436. <value>center</value>
  14437. <value>justify</value>
  14438. </choice>
  14439. </attribute>
  14440. </optional>
  14441. </define>
  14442. <define name="style-paragraph-properties-attlist" combine="interleave">
  14443. <optional>
  14444. <attribute name="fo:text-align-last">
  14445. <choice>
  14446. <value>start</value>
  14447. <value>center</value>
  14448. <value>justify</value>
  14449. </choice>
  14450. </attribute>
  14451. </optional>
  14452. </define>
  14453. <define name="style-paragraph-properties-attlist" combine="interleave">
  14454. <optional>
  14455. <attribute name="style:justify-single-word">
  14456. <ref name="boolean"/>
  14457. </attribute>
  14458. </optional>
  14459. </define>
  14460. <define name="style-paragraph-properties-attlist" combine="interleave">
  14461. <optional>
  14462. <attribute name="fo:keep-together">
  14463. <choice>
  14464. <value>auto</value>
  14465. <value>always</value>
  14466. </choice>
  14467. </attribute>
  14468. </optional>
  14469. </define>
  14470. <define name="style-paragraph-properties-attlist" combine="interleave">
  14471. <optional>
  14472. <attribute name="fo:widows">
  14473. <ref name="nonNegativeInteger"/>
  14474. </attribute>
  14475. </optional>
  14476. </define>
  14477. <define name="style-paragraph-properties-attlist" combine="interleave">
  14478. <optional>
  14479. <attribute name="fo:orphans">
  14480. <ref name="nonNegativeInteger"/>
  14481. </attribute>
  14482. </optional>
  14483. </define>
  14484. <define name="style-paragraph-properties-elements" combine="interleave">
  14485. <ref name="style-tab-stops"/>
  14486. </define>
  14487. <define name="style-tab-stops">
  14488. <optional>
  14489. <element name="style:tab-stops">
  14490. <zeroOrMore>
  14491. <ref name="style-tab-stop"/>
  14492. </zeroOrMore>
  14493. </element>
  14494. </optional>
  14495. </define>
  14496. <define name="style-tab-stop">
  14497. <element name="style:tab-stop">
  14498. <ref name="style-tab-stop-attlist"/>
  14499. <empty/>
  14500. </element>
  14501. </define>
  14502. <define name="style-tab-stop-attlist" combine="interleave">
  14503. <attribute name="style:position">
  14504. <ref name="nonNegativeLength"/>
  14505. </attribute>
  14506. </define>
  14507. <define name="style-tab-stop-attlist" combine="interleave">
  14508. <choice>
  14509. <optional>
  14510. <attribute name="style:type" a:defaultValue="left">
  14511. <choice>
  14512. <value>left</value>
  14513. <value>center</value>
  14514. <value>right</value>
  14515. </choice>
  14516. </attribute>
  14517. </optional>
  14518. <group>
  14519. <attribute name="style:type">
  14520. <value>char</value>
  14521. </attribute>
  14522. <ref name="style-tab-stop-char-attlist"/>
  14523. </group>
  14524. </choice>
  14525. </define>
  14526. <define name="style-tab-stop-char-attlist" combine="interleave">
  14527. <attribute name="style:char">
  14528. <ref name="character"/>
  14529. </attribute>
  14530. </define>
  14531. <define name="style-tab-stop-attlist" combine="interleave">
  14532. <optional>
  14533. <attribute name="style:leader-type">
  14534. <ref name="lineType"/>
  14535. </attribute>
  14536. </optional>
  14537. </define>
  14538. <define name="style-tab-stop-attlist" combine="interleave">
  14539. <optional>
  14540. <attribute name="style:leader-style">
  14541. <ref name="lineStyle"/>
  14542. </attribute>
  14543. </optional>
  14544. </define>
  14545. <define name="style-tab-stop-attlist" combine="interleave">
  14546. <optional>
  14547. <attribute name="style:leader-width">
  14548. <ref name="lineWidth"/>
  14549. </attribute>
  14550. </optional>
  14551. </define>
  14552. <define name="style-tab-stop-attlist" combine="interleave">
  14553. <optional>
  14554. <attribute name="style:leader-color">
  14555. <choice>
  14556. <value>font-color</value>
  14557. <ref name="color"/>
  14558. </choice>
  14559. </attribute>
  14560. </optional>
  14561. </define>
  14562. <define name="style-tab-stop-attlist" combine="interleave">
  14563. <optional>
  14564. <attribute name="style:leader-text" a:defaultValue=" ">
  14565. <ref name="string"/>
  14566. </attribute>
  14567. </optional>
  14568. </define>
  14569. <define name="style-tab-stop-attlist" combine="interleave">
  14570. <optional>
  14571. <attribute name="style:leader-text-style">
  14572. <ref name="styleNameRef"/>
  14573. </attribute>
  14574. </optional>
  14575. </define>
  14576. <define name="style-paragraph-properties-attlist" combine="interleave">
  14577. <optional>
  14578. <attribute name="style:tab-stop-distance">
  14579. <ref name="nonNegativeLength"/>
  14580. </attribute>
  14581. </optional>
  14582. </define>
  14583. <define name="style-paragraph-properties-attlist" combine="interleave">
  14584. <optional>
  14585. <attribute name="fo:hyphenation-keep">
  14586. <choice>
  14587. <value>auto</value>
  14588. <value>page</value>
  14589. </choice>
  14590. </attribute>
  14591. </optional>
  14592. </define>
  14593. <define name="style-paragraph-properties-attlist" combine="interleave">
  14594. <optional>
  14595. <attribute name="fo:hyphenation-ladder-count">
  14596. <choice>
  14597. <value>no-limit</value>
  14598. <ref name="positiveInteger"/>
  14599. </choice>
  14600. </attribute>
  14601. </optional>
  14602. </define>
  14603. <define name="style-paragraph-properties-elements" combine="interleave">
  14604. <ref name="style-drop-cap"/>
  14605. </define>
  14606. <define name="style-drop-cap">
  14607. <optional>
  14608. <element name="style:drop-cap">
  14609. <ref name="style-drop-cap-attlist"/>
  14610. <empty/>
  14611. </element>
  14612. </optional>
  14613. </define>
  14614. <define name="style-drop-cap-attlist" combine="interleave">
  14615. <optional>
  14616. <attribute name="style:length" a:defaultValue="1">
  14617. <choice>
  14618. <value>word</value>
  14619. <ref name="positiveInteger"/>
  14620. </choice>
  14621. </attribute>
  14622. </optional>
  14623. </define>
  14624. <define name="style-drop-cap-attlist" combine="interleave">
  14625. <optional>
  14626. <attribute name="style:lines" a:defaultValue="1">
  14627. <ref name="positiveInteger"/>
  14628. </attribute>
  14629. </optional>
  14630. </define>
  14631. <define name="style-drop-cap-attlist" combine="interleave">
  14632. <optional>
  14633. <attribute name="style:distance" a:defaultValue="0cm">
  14634. <ref name="length"/>
  14635. </attribute>
  14636. </optional>
  14637. </define>
  14638. <define name="style-drop-cap-attlist" combine="interleave">
  14639. <optional>
  14640. <attribute name="style:style-name">
  14641. <ref name="styleNameRef"/>
  14642. </attribute>
  14643. </optional>
  14644. </define>
  14645. <define name="style-paragraph-properties-attlist" combine="interleave">
  14646. <optional>
  14647. <attribute name="style:register-true">
  14648. <ref name="boolean"/>
  14649. </attribute>
  14650. </optional>
  14651. </define>
  14652. <define name="style-paragraph-properties-attlist" combine="interleave">
  14653. <ref name="common-horizontal-margin-attlist"/>
  14654. </define>
  14655. <define name="common-horizontal-margin-attlist">
  14656. <optional>
  14657. <attribute name="fo:margin-left">
  14658. <choice>
  14659. <ref name="length"/>
  14660. <ref name="percent"/>
  14661. </choice>
  14662. </attribute>
  14663. </optional>
  14664. <optional>
  14665. <attribute name="fo:margin-right">
  14666. <choice>
  14667. <ref name="length"/>
  14668. <ref name="percent"/>
  14669. </choice>
  14670. </attribute>
  14671. </optional>
  14672. </define>
  14673. <define name="style-paragraph-properties-attlist" combine="interleave">
  14674. <optional>
  14675. <attribute name="fo:text-indent">
  14676. <choice>
  14677. <ref name="length"/>
  14678. <ref name="percent"/>
  14679. </choice>
  14680. </attribute>
  14681. </optional>
  14682. </define>
  14683. <define name="style-paragraph-properties-attlist" combine="interleave">
  14684. <optional>
  14685. <attribute name="style:auto-text-indent">
  14686. <ref name="boolean"/>
  14687. </attribute>
  14688. </optional>
  14689. </define>
  14690. <define name="style-paragraph-properties-attlist" combine="interleave">
  14691. <ref name="common-vertical-margin-attlist"/>
  14692. </define>
  14693. <define name="common-vertical-margin-attlist">
  14694. <optional>
  14695. <attribute name="fo:margin-top">
  14696. <choice>
  14697. <ref name="nonNegativeLength"/>
  14698. <ref name="percent"/>
  14699. </choice>
  14700. </attribute>
  14701. </optional>
  14702. <optional>
  14703. <attribute name="fo:margin-bottom">
  14704. <choice>
  14705. <ref name="nonNegativeLength"/>
  14706. <ref name="percent"/>
  14707. </choice>
  14708. </attribute>
  14709. </optional>
  14710. </define>
  14711. <define name="style-paragraph-properties-attlist" combine="interleave">
  14712. <ref name="common-margin-attlist"/>
  14713. </define>
  14714. <define name="common-margin-attlist">
  14715. <optional>
  14716. <attribute name="fo:margin">
  14717. <choice>
  14718. <ref name="nonNegativeLength"/>
  14719. <ref name="percent"/>
  14720. </choice>
  14721. </attribute>
  14722. </optional>
  14723. </define>
  14724. <define name="style-paragraph-properties-attlist" combine="interleave">
  14725. <ref name="common-break-attlist"/>
  14726. </define>
  14727. <define name="common-break-attlist">
  14728. <optional>
  14729. <attribute name="fo:break-before">
  14730. <choice>
  14731. <value>auto</value>
  14732. <value>column</value>
  14733. <value>page</value>
  14734. </choice>
  14735. </attribute>
  14736. </optional>
  14737. <optional>
  14738. <attribute name="fo:break-after">
  14739. <choice>
  14740. <value>auto</value>
  14741. <value>column</value>
  14742. <value>page</value>
  14743. </choice>
  14744. </attribute>
  14745. </optional>
  14746. </define>
  14747. <define name="style-paragraph-properties-attlist" combine="interleave">
  14748. <ref name="common-background-color-attlist"/>
  14749. </define>
  14750. <define name="common-background-color-attlist">
  14751. <optional>
  14752. <attribute name="fo:background-color">
  14753. <choice>
  14754. <value>transparent</value>
  14755. <ref name="color"/>
  14756. </choice>
  14757. </attribute>
  14758. </optional>
  14759. </define>
  14760. <define name="style-paragraph-properties-elements" combine="interleave">
  14761. <ref name="style-background-image"/>
  14762. </define>
  14763. <define name="style-background-image">
  14764. <optional>
  14765. <element name="style:background-image">
  14766. <ref name="style-background-image-attlist"/>
  14767. <choice>
  14768. <ref name="common-draw-data-attlist"/>
  14769. <ref name="office-binary-data"/>
  14770. <empty/>
  14771. </choice>
  14772. </element>
  14773. </optional>
  14774. </define>
  14775. <define name="style-background-image-attlist" combine="interleave">
  14776. <optional>
  14777. <attribute name="style:repeat" a:defaultValue="repeat">
  14778. <choice>
  14779. <value>no-repeat</value>
  14780. <value>repeat</value>
  14781. <value>stretch</value>
  14782. </choice>
  14783. </attribute>
  14784. </optional>
  14785. </define>
  14786. <define name="style-background-image-attlist" combine="interleave">
  14787. <optional>
  14788. <attribute name="style:position" a:defaultValue="center">
  14789. <choice>
  14790. <value>left</value>
  14791. <value>center</value>
  14792. <value>right</value>
  14793. <value>top</value>
  14794. <value>bottom</value>
  14795. <list>
  14796. <ref name="horiBackPos"/>
  14797. <ref name="vertBackPos"/>
  14798. </list>
  14799. <list>
  14800. <ref name="vertBackPos"/>
  14801. <ref name="horiBackPos"/>
  14802. </list>
  14803. </choice>
  14804. </attribute>
  14805. </optional>
  14806. </define>
  14807. <define name="horiBackPos">
  14808. <choice>
  14809. <value>left</value>
  14810. <value>center</value>
  14811. <value>right</value>
  14812. </choice>
  14813. </define>
  14814. <define name="vertBackPos">
  14815. <choice>
  14816. <value>top</value>
  14817. <value>center</value>
  14818. <value>bottom</value>
  14819. </choice>
  14820. </define>
  14821. <define name="style-background-image-attlist" combine="interleave">
  14822. <optional>
  14823. <attribute name="style:filter-name">
  14824. <ref name="string"/>
  14825. </attribute>
  14826. </optional>
  14827. </define>
  14828. <define name="style-background-image-attlist" combine="interleave">
  14829. <optional>
  14830. <attribute name="draw:opacity">
  14831. <ref name="percent"/>
  14832. </attribute>
  14833. </optional>
  14834. </define>
  14835. <define name="style-paragraph-properties-attlist" combine="interleave">
  14836. <ref name="common-border-attlist"/>
  14837. </define>
  14838. <define name="common-border-attlist">
  14839. <optional>
  14840. <attribute name="fo:border">
  14841. <ref name="string"/>
  14842. </attribute>
  14843. </optional>
  14844. <optional>
  14845. <attribute name="fo:border-top">
  14846. <ref name="string"/>
  14847. </attribute>
  14848. </optional>
  14849. <optional>
  14850. <attribute name="fo:border-bottom">
  14851. <ref name="string"/>
  14852. </attribute>
  14853. </optional>
  14854. <optional>
  14855. <attribute name="fo:border-left">
  14856. <ref name="string"/>
  14857. </attribute>
  14858. </optional>
  14859. <optional>
  14860. <attribute name="fo:border-right">
  14861. <ref name="string"/>
  14862. </attribute>
  14863. </optional>
  14864. </define>
  14865. <define name="style-paragraph-properties-attlist" combine="interleave">
  14866. <ref name="common-border-line-width-attlist"/>
  14867. </define>
  14868. <define name="common-border-line-width-attlist">
  14869. <optional>
  14870. <attribute name="style:border-line-width">
  14871. <ref name="borderWidths"/>
  14872. </attribute>
  14873. </optional>
  14874. <optional>
  14875. <attribute name="style:border-line-width-top">
  14876. <ref name="borderWidths"/>
  14877. </attribute>
  14878. </optional>
  14879. <optional>
  14880. <attribute name="style:border-line-width-bottom">
  14881. <ref name="borderWidths"/>
  14882. </attribute>
  14883. </optional>
  14884. <optional>
  14885. <attribute name="style:border-line-width-left">
  14886. <ref name="borderWidths"/>
  14887. </attribute>
  14888. </optional>
  14889. <optional>
  14890. <attribute name="style:border-line-width-right">
  14891. <ref name="borderWidths"/>
  14892. </attribute>
  14893. </optional>
  14894. </define>
  14895. <define name="borderWidths">
  14896. <list>
  14897. <ref name="positiveLength"/>
  14898. <ref name="positiveLength"/>
  14899. <ref name="positiveLength"/>
  14900. </list>
  14901. </define>
  14902. <define name="style-paragraph-properties-attlist" combine="interleave">
  14903. <ref name="common-padding-attlist"/>
  14904. </define>
  14905. <define name="common-padding-attlist">
  14906. <optional>
  14907. <attribute name="fo:padding">
  14908. <ref name="nonNegativeLength"/>
  14909. </attribute>
  14910. </optional>
  14911. <optional>
  14912. <attribute name="fo:padding-top">
  14913. <ref name="nonNegativeLength"/>
  14914. </attribute>
  14915. </optional>
  14916. <optional>
  14917. <attribute name="fo:padding-bottom">
  14918. <ref name="nonNegativeLength"/>
  14919. </attribute>
  14920. </optional>
  14921. <optional>
  14922. <attribute name="fo:padding-left">
  14923. <ref name="nonNegativeLength"/>
  14924. </attribute>
  14925. </optional>
  14926. <optional>
  14927. <attribute name="fo:padding-right">
  14928. <ref name="nonNegativeLength"/>
  14929. </attribute>
  14930. </optional>
  14931. </define>
  14932. <define name="style-paragraph-properties-attlist" combine="interleave">
  14933. <ref name="common-shadow-attlist"/>
  14934. </define>
  14935. <define name="common-shadow-attlist">
  14936. <optional>
  14937. <attribute name="style:shadow">
  14938. <ref name="shadowType"/>
  14939. </attribute>
  14940. </optional>
  14941. </define>
  14942. <define name="style-paragraph-properties-attlist" combine="interleave">
  14943. <ref name="common-keep-with-next-attlist"/>
  14944. </define>
  14945. <define name="common-keep-with-next-attlist">
  14946. <optional>
  14947. <attribute name="fo:keep-with-next">
  14948. <choice>
  14949. <value>auto</value>
  14950. <value>always</value>
  14951. </choice>
  14952. </attribute>
  14953. </optional>
  14954. </define>
  14955. <define name="style-paragraph-properties-attlist" combine="interleave">
  14956. <optional>
  14957. <attribute name="text:number-lines" a:defaultValue="false">
  14958. <ref name="boolean"/>
  14959. </attribute>
  14960. </optional>
  14961. </define>
  14962. <define name="style-paragraph-properties-attlist" combine="interleave">
  14963. <optional>
  14964. <attribute name="text:line-number">
  14965. <ref name="nonNegativeInteger"/>
  14966. </attribute>
  14967. </optional>
  14968. </define>
  14969. <define name="style-paragraph-properties-attlist" combine="interleave">
  14970. <optional>
  14971. <attribute name="style:text-autospace">
  14972. <choice>
  14973. <value>none</value>
  14974. <value>ideograph-alpha</value>
  14975. </choice>
  14976. </attribute>
  14977. </optional>
  14978. </define>
  14979. <define name="style-paragraph-properties-attlist" combine="interleave">
  14980. <optional>
  14981. <attribute name="style:punctuation-wrap">
  14982. <choice>
  14983. <value>simple</value>
  14984. <value>hanging</value>
  14985. </choice>
  14986. </attribute>
  14987. </optional>
  14988. </define>
  14989. <define name="style-paragraph-properties-attlist" combine="interleave">
  14990. <optional>
  14991. <attribute name="style:line-break">
  14992. <choice>
  14993. <value>normal</value>
  14994. <value>strict</value>
  14995. </choice>
  14996. </attribute>
  14997. </optional>
  14998. </define>
  14999. <define name="style-paragraph-properties-attlist" combine="interleave">
  15000. <optional>
  15001. <attribute name="style:vertical-align" a:defaultValue="auto">
  15002. <choice>
  15003. <value>top</value>
  15004. <value>middle</value>
  15005. <value>bottom</value>
  15006. <value>auto</value>
  15007. <value>baseline</value>
  15008. </choice>
  15009. </attribute>
  15010. </optional>
  15011. </define>
  15012. <define name="style-paragraph-properties-attlist" combine="interleave">
  15013. <ref name="common-writing-mode-attlist"/>
  15014. </define>
  15015. <define name="common-writing-mode-attlist">
  15016. <optional>
  15017. <attribute name="style:writing-mode">
  15018. <choice>
  15019. <value>lr-tb</value>
  15020. <value>rl-tb</value>
  15021. <value>tb-rl</value>
  15022. <value>tb-lr</value>
  15023. <value>lr</value>
  15024. <value>rl</value>
  15025. <value>tb</value>
  15026. <value>page</value>
  15027. </choice>
  15028. </attribute>
  15029. </optional>
  15030. </define>
  15031. <define name="style-paragraph-properties-attlist" combine="interleave">
  15032. <optional>
  15033. <attribute name="style:writing-mode-automatic">
  15034. <ref name="boolean"/>
  15035. </attribute>
  15036. </optional>
  15037. </define>
  15038. <define name="style-paragraph-properties-attlist" combine="interleave">
  15039. <optional>
  15040. <attribute name="style:snap-to-layout-grid">
  15041. <ref name="boolean"/>
  15042. </attribute>
  15043. </optional>
  15044. </define>
  15045. <define name="style-paragraph-properties-attlist" combine="interleave">
  15046. <ref name="common-page-number-attlist"/>
  15047. </define>
  15048. <define name="common-page-number-attlist">
  15049. <optional>
  15050. <attribute name="style:page-number">
  15051. <choice> <ref name="positiveInteger"/> <value>auto</value> </choice>
  15052. </attribute>
  15053. </optional>
  15054. </define>
  15055. <define name="style-paragraph-properties-attlist" combine="interleave">
  15056. <optional>
  15057. <attribute name="style:background-transparency">
  15058. <ref name="percent"/>
  15059. </attribute>
  15060. </optional>
  15061. </define>
  15062. <define name="style-ruby-properties">
  15063. <element name="style:ruby-properties">
  15064. <ref name="style-ruby-properties-content"/>
  15065. </element>
  15066. </define>
  15067. <define name="style-ruby-properties-content">
  15068. <ref name="style-properties-content"/>
  15069. </define>
  15070. <define name="style-ruby-properties-content-strict">
  15071. <ref name="style-ruby-properties-attlist"/>
  15072. <ref name="style-ruby-properties-elements"/>
  15073. </define>
  15074. <define name="style-ruby-properties-elements">
  15075. <empty/>
  15076. </define>
  15077. <define name="style-ruby-properties-attlist" combine="interleave">
  15078. <optional>
  15079. <attribute name="style:ruby-position">
  15080. <choice>
  15081. <value>above</value>
  15082. <value>below</value>
  15083. </choice>
  15084. </attribute>
  15085. </optional>
  15086. </define>
  15087. <define name="style-ruby-properties-attlist" combine="interleave">
  15088. <optional>
  15089. <attribute name="style:ruby-align">
  15090. <choice>
  15091. <value>left</value>
  15092. <value>center</value>
  15093. <value>right</value>
  15094. <value>distribute-letter</value>
  15095. <value>distribute-space</value>
  15096. </choice>
  15097. </attribute>
  15098. </optional>
  15099. </define>
  15100. <define name="style-section-properties">
  15101. <element name="style:section-properties">
  15102. <ref name="style-section-properties-content"/>
  15103. </element>
  15104. </define>
  15105. <define name="style-section-properties-content">
  15106. <ref name="style-properties-content"/>
  15107. </define>
  15108. <define name="style-section-properties-content-strict">
  15109. <ref name="style-section-properties-attlist"/>
  15110. <ref name="style-section-properties-elements"/>
  15111. </define>
  15112. <define name="style-section-properties-attlist" combine="interleave">
  15113. <ref name="common-background-color-attlist"/>
  15114. </define>
  15115. <define name="style-section-properties-elements" combine="interleave">
  15116. <ref name="style-background-image"/>
  15117. </define>
  15118. <define name="style-section-properties-attlist" combine="interleave">
  15119. <ref name="common-horizontal-margin-attlist"/>
  15120. </define>
  15121. <define name="style-section-properties-elements" combine="interleave">
  15122. <ref name="style-columns"/>
  15123. </define>
  15124. <define name="style-columns">
  15125. <optional>
  15126. <element name="style:columns">
  15127. <ref name="style-columns-attlist"/>
  15128. <optional>
  15129. <ref name="style-column-sep"/>
  15130. </optional>
  15131. <zeroOrMore>
  15132. <ref name="style-column"/>
  15133. </zeroOrMore>
  15134. </element>
  15135. </optional>
  15136. </define>
  15137. <define name="style-columns-attlist" combine="interleave">
  15138. <attribute name="fo:column-count">
  15139. <ref name="positiveInteger"/>
  15140. </attribute>
  15141. </define>
  15142. <define name="style-columns-attlist" combine="interleave">
  15143. <optional>
  15144. <attribute name="fo:column-gap">
  15145. <ref name="length"/>
  15146. </attribute>
  15147. </optional>
  15148. </define>
  15149. <define name="style-column">
  15150. <element name="style:column">
  15151. <ref name="style-column-attlist"/>
  15152. </element>
  15153. </define>
  15154. <define name="style-column-attlist" combine="interleave">
  15155. <attribute name="style:rel-width">
  15156. <ref name="relativeLength"/>
  15157. </attribute>
  15158. </define>
  15159. <define name="style-column-attlist" combine="interleave">
  15160. <optional>
  15161. <attribute name="fo:start-indent" a:defaultValue="0cm">
  15162. <ref name="length"/>
  15163. </attribute>
  15164. </optional>
  15165. </define>
  15166. <define name="style-column-attlist" combine="interleave">
  15167. <optional>
  15168. <attribute name="fo:end-indent" a:defaultValue="0cm">
  15169. <ref name="length"/>
  15170. </attribute>
  15171. </optional>
  15172. </define>
  15173. <define name="style-column-attlist" combine="interleave">
  15174. <optional>
  15175. <attribute name="fo:space-before" a:defaultValue="0cm">
  15176. <ref name="length"/>
  15177. </attribute>
  15178. </optional>
  15179. </define>
  15180. <define name="style-column-attlist" combine="interleave">
  15181. <optional>
  15182. <attribute name="fo:space-after" a:defaultValue="0cm">
  15183. <ref name="length"/>
  15184. </attribute>
  15185. </optional>
  15186. </define>
  15187. <define name="style-column-sep">
  15188. <element name="style:column-sep">
  15189. <ref name="style-column-sep-attlist"/>
  15190. </element>
  15191. </define>
  15192. <define name="style-column-sep-attlist" combine="interleave">
  15193. <optional>
  15194. <attribute name="style:style" a:defaultValue="solid">
  15195. <choice>
  15196. <value>none</value>
  15197. <value>solid</value>
  15198. <value>dotted</value>
  15199. <value>dashed</value>
  15200. <value>dot-dashed</value>
  15201. </choice>
  15202. </attribute>
  15203. </optional>
  15204. </define>
  15205. <define name="style-column-sep-attlist" combine="interleave">
  15206. <attribute name="style:width">
  15207. <ref name="length"/>
  15208. </attribute>
  15209. </define>
  15210. <define name="style-column-sep-attlist" combine="interleave">
  15211. <optional>
  15212. <attribute name="style:height" a:defaultValue="100%">
  15213. <ref name="percent"/>
  15214. </attribute>
  15215. </optional>
  15216. </define>
  15217. <define name="style-column-sep-attlist" combine="interleave">
  15218. <optional>
  15219. <attribute name="style:vertical-align" a:defaultValue="top">
  15220. <choice>
  15221. <value>top</value>
  15222. <value>middle</value>
  15223. <value>bottom</value>
  15224. </choice>
  15225. </attribute>
  15226. </optional>
  15227. </define>
  15228. <define name="style-column-sep-attlist" combine="interleave">
  15229. <optional>
  15230. <attribute name="style:color" a:defaultValue="#000000">
  15231. <ref name="color"/>
  15232. </attribute>
  15233. </optional>
  15234. </define>
  15235. <define name="style-section-properties-attlist" combine="interleave">
  15236. <optional>
  15237. <attribute name="style:protect" a:defaultValue="false">
  15238. <ref name="boolean"/>
  15239. </attribute>
  15240. </optional>
  15241. </define>
  15242. <define name="style-section-properties-attlist" combine="interleave">
  15243. <optional>
  15244. <attribute name="text:dont-balance-text-columns">
  15245. <ref name="boolean"/>
  15246. </attribute>
  15247. </optional>
  15248. </define>
  15249. <define name="style-section-properties-attlist" combine="interleave">
  15250. <ref name="common-writing-mode-attlist"/>
  15251. </define>
  15252. <define name="style-section-properties-elements" combine="interleave">
  15253. <zeroOrMore>
  15254. <ref name="text-notes-configuration"/>
  15255. </zeroOrMore>
  15256. </define>
  15257. <define name="style-table-properties">
  15258. <element name="style:table-properties">
  15259. <ref name="style-table-properties-content"/>
  15260. </element>
  15261. </define>
  15262. <define name="style-table-properties-content">
  15263. <ref name="style-properties-content"/>
  15264. </define>
  15265. <define name="style-table-properties-content-strict">
  15266. <ref name="style-table-properties-attlist"/>
  15267. <ref name="style-table-properties-elements"/>
  15268. </define>
  15269. <define name="style-table-properties-attlist" combine="interleave">
  15270. <optional>
  15271. <attribute name="style:width">
  15272. <ref name="positiveLength"/>
  15273. </attribute>
  15274. </optional>
  15275. <optional>
  15276. <attribute name="style:rel-width">
  15277. <ref name="percent"/>
  15278. </attribute>
  15279. </optional>
  15280. </define>
  15281. <define name="style-table-properties-attlist" combine="interleave">
  15282. <optional>
  15283. <attribute name="table:align">
  15284. <choice>
  15285. <value>left</value>
  15286. <value>center</value>
  15287. <value>right</value>
  15288. <value>margins</value>
  15289. </choice>
  15290. </attribute>
  15291. </optional>
  15292. </define>
  15293. <define name="style-table-properties-attlist" combine="interleave">
  15294. <ref name="common-horizontal-margin-attlist"/>
  15295. </define>
  15296. <define name="style-table-properties-attlist" combine="interleave">
  15297. <ref name="common-vertical-margin-attlist"/>
  15298. </define>
  15299. <define name="style-table-properties-attlist" combine="interleave">
  15300. <ref name="common-margin-attlist"/>
  15301. </define>
  15302. <define name="style-table-properties-attlist" combine="interleave">
  15303. <ref name="common-page-number-attlist"/>
  15304. </define>
  15305. <define name="style-table-properties-attlist" combine="interleave">
  15306. <ref name="common-break-attlist"/>
  15307. </define>
  15308. <define name="style-table-properties-attlist" combine="interleave">
  15309. <ref name="common-background-color-attlist"/>
  15310. </define>
  15311. <define name="style-table-properties-elements" combine="interleave">
  15312. <ref name="style-background-image"/>
  15313. </define>
  15314. <define name="style-table-properties-attlist" combine="interleave">
  15315. <ref name="common-shadow-attlist"/>
  15316. </define>
  15317. <define name="style-table-properties-attlist" combine="interleave">
  15318. <ref name="common-keep-with-next-attlist"/>
  15319. </define>
  15320. <define name="style-table-properties-attlist" combine="interleave">
  15321. <optional>
  15322. <attribute name="style:may-break-between-rows">
  15323. <ref name="boolean"/>
  15324. </attribute>
  15325. </optional>
  15326. </define>
  15327. <define name="style-table-properties-attlist" combine="interleave">
  15328. <optional>
  15329. <attribute name="table:border-model">
  15330. <choice>
  15331. <value>collapsing</value>
  15332. <value>separating</value>
  15333. </choice>
  15334. </attribute>
  15335. </optional>
  15336. </define>
  15337. <define name="style-table-properties-attlist" combine="interleave">
  15338. <ref name="common-writing-mode-attlist"/>
  15339. </define>
  15340. <define name="style-table-properties-attlist" combine="interleave">
  15341. <optional>
  15342. <attribute name="table:display">
  15343. <ref name="boolean"/>
  15344. </attribute>
  15345. </optional>
  15346. </define>
  15347. <define name="style-table-column-properties">
  15348. <element name="style:table-column-properties">
  15349. <ref name="style-table-column-properties-content"/>
  15350. </element>
  15351. </define>
  15352. <define name="style-table-column-properties-content">
  15353. <ref name="style-properties-content"/>
  15354. </define>
  15355. <define name="style-table-column-properties-content-strict">
  15356. <ref name="style-table-column-properties-attlist"/>
  15357. <ref name="style-table-column-properties-elements"/>
  15358. </define>
  15359. <define name="style-table-column-properties-elements">
  15360. <empty/>
  15361. </define>
  15362. <define name="style-table-column-properties-attlist" combine="interleave">
  15363. <optional>
  15364. <attribute name="style:column-width">
  15365. <ref name="positiveLength"/>
  15366. </attribute>
  15367. </optional>
  15368. <optional>
  15369. <attribute name="style:rel-column-width">
  15370. <ref name="relativeLength"/>
  15371. </attribute>
  15372. </optional>
  15373. </define>
  15374. <define name="style-table-column-properties-attlist" combine="interleave">
  15375. <optional>
  15376. <attribute name="style:use-optimal-column-width">
  15377. <ref name="boolean"/>
  15378. </attribute>
  15379. </optional>
  15380. </define>
  15381. <define name="style-table-column-properties-attlist" combine="interleave">
  15382. <ref name="common-break-attlist"/>
  15383. </define>
  15384. <define name="style-table-row-properties">
  15385. <element name="style:table-row-properties">
  15386. <ref name="style-table-row-properties-content"/>
  15387. </element>
  15388. </define>
  15389. <define name="style-table-row-properties-content">
  15390. <ref name="style-properties-content"/>
  15391. </define>
  15392. <define name="style-table-row-properties-content-strict">
  15393. <ref name="style-table-row-properties-attlist"/>
  15394. <ref name="style-table-row-properties-elements"/>
  15395. </define>
  15396. <define name="style-table-row-properties-attlist" combine="interleave">
  15397. <optional>
  15398. <attribute name="style:row-height">
  15399. <ref name="positiveLength"/>
  15400. </attribute>
  15401. </optional>
  15402. <optional>
  15403. <attribute name="style:min-row-height">
  15404. <ref name="nonNegativeLength"/>
  15405. </attribute>
  15406. </optional>
  15407. </define>
  15408. <define name="style-table-row-properties-attlist" combine="interleave">
  15409. <optional>
  15410. <attribute name="style:use-optimal-row-height">
  15411. <ref name="boolean"/>
  15412. </attribute>
  15413. </optional>
  15414. </define>
  15415. <define name="style-table-row-properties-attlist" combine="interleave">
  15416. <ref name="common-background-color-attlist"/>
  15417. </define>
  15418. <define name="style-table-row-properties-elements" combine="interleave">
  15419. <ref name="style-background-image"/>
  15420. </define>
  15421. <define name="style-table-row-properties-attlist" combine="interleave">
  15422. <ref name="common-break-attlist"/>
  15423. </define>
  15424. <define name="style-table-row-properties-attlist" combine="interleave">
  15425. <optional>
  15426. <attribute name="fo:keep-together">
  15427. <choice>
  15428. <value>auto</value>
  15429. <value>always</value>
  15430. </choice>
  15431. </attribute>
  15432. </optional>
  15433. </define>
  15434. <define name="style-table-cell-properties">
  15435. <element name="style:table-cell-properties">
  15436. <ref name="style-table-cell-properties-content"/>
  15437. </element>
  15438. </define>
  15439. <define name="style-table-cell-properties-content">
  15440. <ref name="style-properties-content"/>
  15441. </define>
  15442. <define name="style-table-cell-properties-content-strict">
  15443. <ref name="style-table-cell-properties-attlist"/>
  15444. <ref name="style-table-cell-properties-elements"/>
  15445. </define>
  15446. <define name="style-table-cell-properties-attlist" combine="interleave">
  15447. <optional>
  15448. <attribute name="style:vertical-align">
  15449. <choice>
  15450. <value>top</value>
  15451. <value>middle</value>
  15452. <value>bottom</value>
  15453. <value>automatic</value>
  15454. </choice>
  15455. </attribute>
  15456. </optional>
  15457. </define>
  15458. <define name="style-table-cell-properties-attlist" combine="interleave">
  15459. <optional>
  15460. <attribute name="style:text-align-source">
  15461. <choice>
  15462. <value>fix</value>
  15463. <value>value-type</value>
  15464. </choice>
  15465. </attribute>
  15466. </optional>
  15467. </define>
  15468. <define name="style-table-cell-properties-attlist" combine="interleave">
  15469. <ref name="common-style-direction-attlist"/>
  15470. </define>
  15471. <define name="common-style-direction-attlist">
  15472. <optional>
  15473. <attribute name="style:direction">
  15474. <choice>
  15475. <value>ltr</value>
  15476. <value>ttb</value>
  15477. </choice>
  15478. </attribute>
  15479. </optional>
  15480. </define>
  15481. <define name="style-table-cell-properties-attlist" combine="interleave">
  15482. <optional>
  15483. <attribute name="style:glyph-orientation-vertical">
  15484. <choice>
  15485. <value>auto</value>
  15486. <value>0</value>
  15487. </choice>
  15488. </attribute>
  15489. </optional>
  15490. </define>
  15491. <define name="style-table-cell-properties-attlist" combine="interleave">
  15492. <ref name="common-shadow-attlist"/>
  15493. </define>
  15494. <define name="style-table-cell-properties-attlist" combine="interleave">
  15495. <ref name="common-background-color-attlist"/>
  15496. </define>
  15497. <define name="style-table-cell-properties-elements" combine="interleave">
  15498. <ref name="style-background-image"/>
  15499. </define>
  15500. <define name="style-table-cell-properties-attlist" combine="interleave">
  15501. <ref name="common-border-attlist"/>
  15502. </define>
  15503. <define name="style-table-cell-properties-attlist" combine="interleave">
  15504. <optional>
  15505. <attribute name="style:diagonal-tl-br">
  15506. <ref name="string"/>
  15507. </attribute>
  15508. </optional>
  15509. <optional>
  15510. <attribute name="style:diagonal-tl-br-widths">
  15511. <ref name="borderWidths"/>
  15512. </attribute>
  15513. </optional>
  15514. <optional>
  15515. <attribute name="style:diagonal-bl-tr">
  15516. <ref name="string"/>
  15517. </attribute>
  15518. </optional>
  15519. <optional>
  15520. <attribute name="style:diagonal-bl-tr-widths">
  15521. <ref name="borderWidths"/>
  15522. </attribute>
  15523. </optional>
  15524. </define>
  15525. <define name="style-table-cell-properties-attlist" combine="interleave">
  15526. <ref name="common-border-line-width-attlist"/>
  15527. </define>
  15528. <define name="style-table-cell-properties-attlist" combine="interleave">
  15529. <ref name="common-padding-attlist"/>
  15530. </define>
  15531. <define name="style-table-cell-properties-attlist" combine="interleave">
  15532. <optional>
  15533. <attribute name="fo:wrap-option">
  15534. <choice>
  15535. <value>no-wrap</value>
  15536. <value>wrap</value>
  15537. </choice>
  15538. </attribute>
  15539. </optional>
  15540. </define>
  15541. <define name="style-table-cell-properties-attlist" combine="interleave">
  15542. <ref name="common-rotation-angle-attlist"/>
  15543. </define>
  15544. <define name="common-rotation-angle-attlist">
  15545. <optional>
  15546. <attribute name="style:rotation-angle">
  15547. <ref name="nonNegativeInteger"/>
  15548. </attribute>
  15549. </optional>
  15550. </define>
  15551. <define name="style-table-cell-properties-attlist" combine="interleave">
  15552. <optional>
  15553. <attribute name="style:rotation-align">
  15554. <choice>
  15555. <value>none</value>
  15556. <value>bottom</value>
  15557. <value>top</value>
  15558. <value>center</value>
  15559. </choice>
  15560. </attribute>
  15561. </optional>
  15562. </define>
  15563. <define name="style-table-cell-properties-attlist" combine="interleave">
  15564. <optional>
  15565. <attribute name="style:cell-protect">
  15566. <choice>
  15567. <value>none</value>
  15568. <value>hidden-and-protected</value>
  15569. <list>
  15570. <oneOrMore>
  15571. <choice>
  15572. <value>protected</value>
  15573. <value>formula-hidden</value>
  15574. </choice>
  15575. </oneOrMore>
  15576. </list>
  15577. </choice>
  15578. </attribute>
  15579. </optional>
  15580. </define>
  15581. <define name="style-table-cell-properties-attlist" combine="interleave">
  15582. <optional>
  15583. <attribute name="style:print-content">
  15584. <ref name="boolean"/>
  15585. </attribute>
  15586. </optional>
  15587. </define>
  15588. <define name="style-table-cell-properties-attlist" combine="interleave">
  15589. <optional>
  15590. <attribute name="style:decimal-places">
  15591. <ref name="nonNegativeInteger"/>
  15592. </attribute>
  15593. </optional>
  15594. </define>
  15595. <define name="style-table-cell-properties-attlist" combine="interleave">
  15596. <optional>
  15597. <attribute name="style:repeat-content">
  15598. <ref name="boolean"/>
  15599. </attribute>
  15600. </optional>
  15601. </define>
  15602. <define name="style-table-cell-properties-attlist" combine="interleave">
  15603. <optional>
  15604. <attribute name="style:shrink-to-fit">
  15605. <ref name="boolean"/>
  15606. </attribute>
  15607. </optional>
  15608. </define>
  15609. <define name="style-list-level-properties">
  15610. <element name="style:list-level-properties">
  15611. <ref name="style-list-level-properties-content"/>
  15612. </element>
  15613. </define>
  15614. <define name="style-list-level-properties-content">
  15615. <ref name="style-properties-content"/>
  15616. </define>
  15617. <define name="style-list-level-properties-content-strict">
  15618. <ref name="style-list-level-properties-attlist"/>
  15619. <ref name="style-list-level-properties-elements"/>
  15620. </define>
  15621. <define name="style-list-level-properties-elements">
  15622. <empty/>
  15623. </define>
  15624. <define name="style-list-level-properties-attlist" combine="interleave">
  15625. <ref name="common-text-align"/>
  15626. </define>
  15627. <define name="style-list-level-properties-attlist" combine="interleave">
  15628. <optional>
  15629. <attribute name="text:space-before">
  15630. <ref name="nonNegativeLength"/>
  15631. </attribute>
  15632. </optional>
  15633. </define>
  15634. <define name="style-list-level-properties-attlist" combine="interleave">
  15635. <optional>
  15636. <attribute name="text:min-label-width">
  15637. <ref name="nonNegativeLength"/>
  15638. </attribute>
  15639. </optional>
  15640. </define>
  15641. <define name="style-list-level-properties-attlist" combine="interleave">
  15642. <optional>
  15643. <attribute name="text:min-label-distance">
  15644. <ref name="nonNegativeLength"/>
  15645. </attribute>
  15646. </optional>
  15647. </define>
  15648. <define name="style-list-level-properties-attlist" combine="interleave">
  15649. <optional>
  15650. <attribute name="style:font-name">
  15651. <ref name="string"/>
  15652. </attribute>
  15653. </optional>
  15654. </define>
  15655. <define name="style-list-level-properties-attlist" combine="interleave">
  15656. <optional>
  15657. <attribute name="fo:width">
  15658. <ref name="positiveLength"/>
  15659. </attribute>
  15660. </optional>
  15661. <optional>
  15662. <attribute name="fo:height">
  15663. <ref name="positiveLength"/>
  15664. </attribute>
  15665. </optional>
  15666. </define>
  15667. <define name="style-list-level-properties-attlist" combine="interleave">
  15668. <ref name="common-vertical-rel-attlist"/>
  15669. <ref name="common-vertical-pos-attlist"/>
  15670. </define>
  15671. <define name="style-graphic-properties-attlist" combine="interleave">
  15672. <optional>
  15673. <attribute name="draw:stroke">
  15674. <choice>
  15675. <value>none</value>
  15676. <value>dash</value>
  15677. <value>solid</value>
  15678. </choice>
  15679. </attribute>
  15680. </optional>
  15681. </define>
  15682. <define name="style-graphic-properties-attlist" combine="interleave">
  15683. <optional>
  15684. <attribute name="draw:stroke-dash">
  15685. <ref name="styleNameRef"/>
  15686. </attribute>
  15687. </optional>
  15688. </define>
  15689. <define name="style-graphic-properties-attlist" combine="interleave">
  15690. <optional>
  15691. <attribute name="draw:stroke-dash-names">
  15692. <ref name="styleNameRefs"/>
  15693. </attribute>
  15694. </optional>
  15695. </define>
  15696. <define name="style-graphic-properties-attlist" combine="interleave">
  15697. <optional>
  15698. <attribute name="svg:stroke-width">
  15699. <ref name="length"/>
  15700. </attribute>
  15701. </optional>
  15702. </define>
  15703. <define name="style-graphic-properties-attlist" combine="interleave">
  15704. <optional>
  15705. <attribute name="svg:stroke-color">
  15706. <ref name="color"/>
  15707. </attribute>
  15708. </optional>
  15709. </define>
  15710. <define name="style-graphic-properties-attlist" combine="interleave">
  15711. <optional>
  15712. <attribute name="draw:marker-start">
  15713. <ref name="styleNameRef"/>
  15714. </attribute>
  15715. </optional>
  15716. </define>
  15717. <define name="style-graphic-properties-attlist" combine="interleave">
  15718. <optional>
  15719. <attribute name="draw:marker-end">
  15720. <ref name="styleNameRef"/>
  15721. </attribute>
  15722. </optional>
  15723. </define>
  15724. <define name="style-graphic-properties-attlist" combine="interleave">
  15725. <optional>
  15726. <attribute name="draw:marker-start-width">
  15727. <ref name="length"/>
  15728. </attribute>
  15729. </optional>
  15730. </define>
  15731. <define name="style-graphic-properties-attlist" combine="interleave">
  15732. <optional>
  15733. <attribute name="draw:marker-end-width">
  15734. <ref name="length"/>
  15735. </attribute>
  15736. </optional>
  15737. </define>
  15738. <define name="style-graphic-properties-attlist" combine="interleave">
  15739. <optional>
  15740. <attribute name="draw:marker-start-center">
  15741. <ref name="boolean"/>
  15742. </attribute>
  15743. </optional>
  15744. </define>
  15745. <define name="style-graphic-properties-attlist" combine="interleave">
  15746. <optional>
  15747. <attribute name="draw:marker-end-center">
  15748. <ref name="boolean"/>
  15749. </attribute>
  15750. </optional>
  15751. </define>
  15752. <define name="style-graphic-properties-attlist" combine="interleave">
  15753. <optional>
  15754. <attribute name="svg:stroke-opacity">
  15755. <choice>
  15756. <data type="double">
  15757. <param name="minInclusive">0</param>
  15758. <param name="maxInclusive">1</param>
  15759. </data>
  15760. <ref name="percent"/>
  15761. </choice>
  15762. </attribute>
  15763. </optional>
  15764. </define>
  15765. <define name="style-graphic-properties-attlist" combine="interleave">
  15766. <optional>
  15767. <attribute name="draw:stroke-linejoin">
  15768. <choice>
  15769. <value>miter</value>
  15770. <value>round</value>
  15771. <value>bevel</value>
  15772. <value>middle</value>
  15773. <value>none</value>
  15774. <value>inherit</value>
  15775. </choice>
  15776. </attribute>
  15777. </optional>
  15778. </define>
  15779. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15780. <optional>
  15781. <attribute name="draw:fill">
  15782. <choice>
  15783. <value>none</value>
  15784. <value>solid</value>
  15785. <value>bitmap</value>
  15786. <value>gradient</value>
  15787. <value>hatch</value>
  15788. </choice>
  15789. </attribute>
  15790. </optional>
  15791. </define>
  15792. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15793. <optional>
  15794. <attribute name="draw:fill-color">
  15795. <ref name="color"/>
  15796. </attribute>
  15797. </optional>
  15798. </define>
  15799. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15800. <optional>
  15801. <attribute name="draw:secondary-fill-color">
  15802. <ref name="color"/>
  15803. </attribute>
  15804. </optional>
  15805. </define>
  15806. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15807. <optional>
  15808. <attribute name="draw:fill-gradient-name">
  15809. <ref name="styleNameRef"/>
  15810. </attribute>
  15811. </optional>
  15812. </define>
  15813. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15814. <optional>
  15815. <attribute name="draw:gradient-step-count">
  15816. <ref name="nonNegativeInteger"/>
  15817. </attribute>
  15818. </optional>
  15819. </define>
  15820. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15821. <optional>
  15822. <attribute name="draw:fill-hatch-name">
  15823. <ref name="styleNameRef"/>
  15824. </attribute>
  15825. </optional>
  15826. </define>
  15827. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15828. <optional>
  15829. <attribute name="draw:fill-hatch-solid">
  15830. <ref name="boolean"/>
  15831. </attribute>
  15832. </optional>
  15833. </define>
  15834. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15835. <optional>
  15836. <attribute name="draw:fill-image-name">
  15837. <ref name="styleNameRef"/>
  15838. </attribute>
  15839. </optional>
  15840. </define>
  15841. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15842. <optional>
  15843. <attribute name="style:repeat">
  15844. <choice>
  15845. <value>no-repeat</value>
  15846. <value>repeat</value>
  15847. <value>stretch</value>
  15848. </choice>
  15849. </attribute>
  15850. </optional>
  15851. </define>
  15852. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15853. <optional>
  15854. <attribute name="draw:fill-image-width">
  15855. <choice>
  15856. <ref name="length"/>
  15857. <ref name="percent"/>
  15858. </choice>
  15859. </attribute>
  15860. </optional>
  15861. <optional>
  15862. <attribute name="draw:fill-image-height">
  15863. <choice>
  15864. <ref name="length"/>
  15865. <ref name="percent"/>
  15866. </choice>
  15867. </attribute>
  15868. </optional>
  15869. </define>
  15870. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15871. <optional>
  15872. <attribute name="draw:fill-image-ref-point-x">
  15873. <ref name="percent"/>
  15874. </attribute>
  15875. </optional>
  15876. <optional>
  15877. <attribute name="draw:fill-image-ref-point-y">
  15878. <ref name="percent"/>
  15879. </attribute>
  15880. </optional>
  15881. <optional>
  15882. <attribute name="draw:fill-image-ref-point">
  15883. <choice>
  15884. <value>top-left</value>
  15885. <value>top</value>
  15886. <value>top-right</value>
  15887. <value>left</value>
  15888. <value>center</value>
  15889. <value>right</value>
  15890. <value>bottom-left</value>
  15891. <value>bottom</value>
  15892. <value>bottom-right</value>
  15893. </choice>
  15894. </attribute>
  15895. </optional>
  15896. </define>
  15897. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15898. <optional>
  15899. <attribute name="draw:tile-repeat-offset"/>
  15900. </optional>
  15901. </define>
  15902. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15903. <optional>
  15904. <attribute name="draw:opacity">
  15905. <ref name="percent"/>
  15906. </attribute>
  15907. </optional>
  15908. </define>
  15909. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15910. <optional>
  15911. <attribute name="draw:opacity-name">
  15912. <ref name="styleNameRef"/>
  15913. </attribute>
  15914. </optional>
  15915. </define>
  15916. <define name="style-graphic-fill-properties-attlist" combine="interleave">
  15917. <optional>
  15918. <attribute name="svg:fill-rule">
  15919. <choice>
  15920. <value>nonzero</value>
  15921. <value>evenodd</value>
  15922. </choice>
  15923. </attribute>
  15924. </optional>
  15925. </define>
  15926. <define name="style-graphic-properties-attlist" combine="interleave">
  15927. <optional>
  15928. <attribute name="draw:symbol-color">
  15929. <ref name="color"/>
  15930. </attribute>
  15931. </optional>
  15932. </define>
  15933. <define name="style-graphic-properties-attlist" combine="interleave">
  15934. <optional>
  15935. <attribute name="text:animation">
  15936. <choice>
  15937. <value>none</value>
  15938. <value>scroll</value>
  15939. <value>alternate</value>
  15940. <value>slide</value>
  15941. </choice>
  15942. </attribute>
  15943. </optional>
  15944. </define>
  15945. <define name="style-graphic-properties-attlist" combine="interleave">
  15946. <optional>
  15947. <attribute name="text:animation-direction">
  15948. <choice>
  15949. <value>left</value>
  15950. <value>right</value>
  15951. <value>up</value>
  15952. <value>down</value>
  15953. </choice>
  15954. </attribute>
  15955. </optional>
  15956. </define>
  15957. <define name="style-graphic-properties-attlist" combine="interleave">
  15958. <optional>
  15959. <attribute name="text:animation-start-inside">
  15960. <ref name="boolean"/>
  15961. </attribute>
  15962. </optional>
  15963. </define>
  15964. <define name="style-graphic-properties-attlist" combine="interleave">
  15965. <optional>
  15966. <attribute name="text:animation-stop-inside">
  15967. <ref name="boolean"/>
  15968. </attribute>
  15969. </optional>
  15970. </define>
  15971. <define name="style-graphic-properties-attlist" combine="interleave">
  15972. <optional>
  15973. <attribute name="text:animation-repeat">
  15974. <ref name="nonNegativeInteger"/>
  15975. </attribute>
  15976. </optional>
  15977. </define>
  15978. <define name="style-graphic-properties-attlist" combine="interleave">
  15979. <optional>
  15980. <attribute name="text:animation-delay">
  15981. <ref name="duration"/>
  15982. </attribute>
  15983. </optional>
  15984. </define>
  15985. <define name="style-graphic-properties-attlist" combine="interleave">
  15986. <optional>
  15987. <attribute name="text:animation-steps">
  15988. <ref name="length"/>
  15989. </attribute>
  15990. </optional>
  15991. </define>
  15992. <define name="style-graphic-properties-attlist" combine="interleave">
  15993. <optional>
  15994. <attribute name="draw:auto-grow-width">
  15995. <ref name="boolean"/>
  15996. </attribute>
  15997. </optional>
  15998. <optional>
  15999. <attribute name="draw:auto-grow-height">
  16000. <ref name="boolean"/>
  16001. </attribute>
  16002. </optional>
  16003. </define>
  16004. <define name="style-graphic-properties-attlist" combine="interleave">
  16005. <optional>
  16006. <attribute name="draw:fit-to-size">
  16007. <ref name="boolean"/>
  16008. </attribute>
  16009. </optional>
  16010. </define>
  16011. <define name="style-graphic-properties-attlist" combine="interleave">
  16012. <optional>
  16013. <attribute name="draw:fit-to-contour">
  16014. <ref name="boolean"/>
  16015. </attribute>
  16016. </optional>
  16017. </define>
  16018. <define name="style-graphic-properties-attlist" combine="interleave">
  16019. <optional>
  16020. <attribute name="draw:textarea-vertical-align">
  16021. <choice>
  16022. <value>top</value>
  16023. <value>middle</value>
  16024. <value>bottom</value>
  16025. <value>justify</value>
  16026. </choice>
  16027. </attribute>
  16028. </optional>
  16029. </define>
  16030. <define name="style-graphic-properties-attlist" combine="interleave">
  16031. <optional>
  16032. <attribute name="draw:textarea-horizontal-align">
  16033. <choice>
  16034. <value>left</value>
  16035. <value>center</value>
  16036. <value>right</value>
  16037. <value>justify</value>
  16038. </choice>
  16039. </attribute>
  16040. </optional>
  16041. </define>
  16042. <define name="style-graphic-properties-attlist" combine="interleave">
  16043. <optional>
  16044. <attribute name="fo:wrap-option">
  16045. <choice>
  16046. <value>no-wrap</value>
  16047. <value>wrap</value>
  16048. </choice>
  16049. </attribute>
  16050. </optional>
  16051. </define>
  16052. <define name="style-graphic-properties-elements" combine="interleave">
  16053. <optional>
  16054. <ref name="text-list-style"/>
  16055. </optional>
  16056. </define>
  16057. <define name="style-graphic-properties-attlist" combine="interleave">
  16058. <optional>
  16059. <attribute name="draw:color-mode">
  16060. <choice>
  16061. <value>greyscale</value>
  16062. <value>mono</value>
  16063. <value>watermark</value>
  16064. <value>standard</value>
  16065. </choice>
  16066. </attribute>
  16067. </optional>
  16068. </define>
  16069. <define name="style-graphic-properties-attlist" combine="interleave">
  16070. <optional>
  16071. <attribute name="draw:color-inversion">
  16072. <ref name="boolean"/>
  16073. </attribute>
  16074. </optional>
  16075. </define>
  16076. <define name="style-graphic-properties-attlist" combine="interleave">
  16077. <optional>
  16078. <attribute name="draw:luminance">
  16079. <ref name="percent"/>
  16080. </attribute>
  16081. </optional>
  16082. </define>
  16083. <define name="style-graphic-properties-attlist" combine="interleave">
  16084. <optional>
  16085. <attribute name="draw:contrast">
  16086. <ref name="percent"/>
  16087. </attribute>
  16088. </optional>
  16089. </define>
  16090. <define name="style-graphic-properties-attlist" combine="interleave">
  16091. <optional>
  16092. <attribute name="draw:gamma">
  16093. <ref name="percent"/>
  16094. </attribute>
  16095. </optional>
  16096. </define>
  16097. <define name="style-graphic-properties-attlist" combine="interleave">
  16098. <optional>
  16099. <attribute name="draw:red">
  16100. <ref name="percent"/>
  16101. </attribute>
  16102. </optional>
  16103. </define>
  16104. <define name="style-graphic-properties-attlist" combine="interleave">
  16105. <optional>
  16106. <attribute name="draw:green">
  16107. <ref name="percent"/>
  16108. </attribute>
  16109. </optional>
  16110. </define>
  16111. <define name="style-graphic-properties-attlist" combine="interleave">
  16112. <optional>
  16113. <attribute name="draw:blue">
  16114. <ref name="percent"/>
  16115. </attribute>
  16116. </optional>
  16117. </define>
  16118. <define name="style-graphic-properties-attlist" combine="interleave">
  16119. <optional>
  16120. <attribute name="draw:image-opacity">
  16121. <ref name="percent"/>
  16122. </attribute>
  16123. </optional>
  16124. </define>
  16125. <define name="style-graphic-properties-attlist" combine="interleave">
  16126. <optional>
  16127. <attribute name="draw:shadow">
  16128. <choice>
  16129. <value>visible</value>
  16130. <value>hidden</value>
  16131. </choice>
  16132. </attribute>
  16133. </optional>
  16134. </define>
  16135. <define name="style-graphic-properties-attlist" combine="interleave">
  16136. <optional>
  16137. <attribute name="draw:shadow-offset-x">
  16138. <ref name="length"/>
  16139. </attribute>
  16140. </optional>
  16141. <optional>
  16142. <attribute name="draw:shadow-offset-y">
  16143. <ref name="length"/>
  16144. </attribute>
  16145. </optional>
  16146. </define>
  16147. <define name="style-graphic-properties-attlist" combine="interleave">
  16148. <optional>
  16149. <attribute name="draw:shadow-color">
  16150. <ref name="color"/>
  16151. </attribute>
  16152. </optional>
  16153. </define>
  16154. <define name="style-graphic-properties-attlist" combine="interleave">
  16155. <optional>
  16156. <attribute name="draw:shadow-opacity">
  16157. <ref name="percent"/>
  16158. </attribute>
  16159. </optional>
  16160. </define>
  16161. <define name="style-graphic-properties-attlist" combine="interleave">
  16162. <optional>
  16163. <attribute name="draw:start-line-spacing-horizontal">
  16164. <ref name="distance"/>
  16165. </attribute>
  16166. </optional>
  16167. <optional>
  16168. <attribute name="draw:start-line-spacing-vertical">
  16169. <ref name="distance"/>
  16170. </attribute>
  16171. </optional>
  16172. </define>
  16173. <define name="style-graphic-properties-attlist" combine="interleave">
  16174. <optional>
  16175. <attribute name="draw:end-line-spacing-horizontal">
  16176. <ref name="distance"/>
  16177. </attribute>
  16178. </optional>
  16179. <optional>
  16180. <attribute name="draw:end-line-spacing-vertical">
  16181. <ref name="distance"/>
  16182. </attribute>
  16183. </optional>
  16184. </define>
  16185. <define name="style-graphic-properties-attlist" combine="interleave">
  16186. <optional>
  16187. <attribute name="draw:line-distance">
  16188. <ref name="distance"/>
  16189. </attribute>
  16190. </optional>
  16191. </define>
  16192. <define name="style-graphic-properties-attlist" combine="interleave">
  16193. <optional>
  16194. <attribute name="draw:guide-overhang">
  16195. <ref name="length"/>
  16196. </attribute>
  16197. </optional>
  16198. </define>
  16199. <define name="style-graphic-properties-attlist" combine="interleave">
  16200. <optional>
  16201. <attribute name="draw:guide-distance">
  16202. <ref name="distance"/>
  16203. </attribute>
  16204. </optional>
  16205. </define>
  16206. <define name="style-graphic-properties-attlist" combine="interleave">
  16207. <optional>
  16208. <attribute name="draw:start-guide">
  16209. <ref name="length"/>
  16210. </attribute>
  16211. </optional>
  16212. </define>
  16213. <define name="style-graphic-properties-attlist" combine="interleave">
  16214. <optional>
  16215. <attribute name="draw:end-guide">
  16216. <ref name="length"/>
  16217. </attribute>
  16218. </optional>
  16219. </define>
  16220. <define name="style-graphic-properties-attlist" combine="interleave">
  16221. <optional>
  16222. <attribute name="draw:placing">
  16223. <choice>
  16224. <value>below</value>
  16225. <value>above</value>
  16226. </choice>
  16227. </attribute>
  16228. </optional>
  16229. </define>
  16230. <define name="style-graphic-properties-attlist" combine="interleave">
  16231. <optional>
  16232. <attribute name="draw:parallel">
  16233. <ref name="boolean"/>
  16234. </attribute>
  16235. </optional>
  16236. </define>
  16237. <define name="style-graphic-properties-attlist" combine="interleave">
  16238. <optional>
  16239. <attribute name="draw:measure-align">
  16240. <choice>
  16241. <value>automatic</value>
  16242. <value>left-outside</value>
  16243. <value>inside</value>
  16244. <value>right-outside</value>
  16245. </choice>
  16246. </attribute>
  16247. </optional>
  16248. <optional>
  16249. <attribute name="draw:measure-vertical-align">
  16250. <choice>
  16251. <value>automatic</value>
  16252. <value>above</value>
  16253. <value>below</value>
  16254. <value>center</value>
  16255. </choice>
  16256. </attribute>
  16257. </optional>
  16258. </define>
  16259. <define name="style-graphic-properties-attlist" combine="interleave">
  16260. <optional>
  16261. <attribute name="draw:unit">
  16262. <choice>
  16263. <value>automatic</value>
  16264. <value>mm</value>
  16265. <value>cm</value>
  16266. <value>m</value>
  16267. <value>km</value>
  16268. <value>pt</value>
  16269. <value>pc</value>
  16270. <value>inch</value>
  16271. <value>ft</value>
  16272. <value>mi</value>
  16273. </choice>
  16274. </attribute>
  16275. </optional>
  16276. </define>
  16277. <define name="style-graphic-properties-attlist" combine="interleave">
  16278. <optional>
  16279. <attribute name="draw:show-unit">
  16280. <ref name="boolean"/>
  16281. </attribute>
  16282. </optional>
  16283. </define>
  16284. <define name="style-graphic-properties-attlist" combine="interleave">
  16285. <optional>
  16286. <attribute name="draw:decimal-places">
  16287. <ref name="nonNegativeInteger"/>
  16288. </attribute>
  16289. </optional>
  16290. </define>
  16291. <define name="style-graphic-properties-attlist" combine="interleave">
  16292. <optional>
  16293. <attribute name="draw:caption-type">
  16294. <choice>
  16295. <value>straight-line</value>
  16296. <value>angled-line</value>
  16297. <value>angled-connector-line</value>
  16298. </choice>
  16299. </attribute>
  16300. </optional>
  16301. </define>
  16302. <define name="style-graphic-properties-attlist" combine="interleave">
  16303. <optional>
  16304. <attribute name="draw:caption-angle-type">
  16305. <choice>
  16306. <value>fixed</value>
  16307. <value>free</value>
  16308. </choice>
  16309. </attribute>
  16310. </optional>
  16311. </define>
  16312. <define name="style-graphic-properties-attlist" combine="interleave">
  16313. <optional>
  16314. <attribute name="draw:caption-angle">
  16315. <ref name="nonNegativeInteger"/>
  16316. </attribute>
  16317. </optional>
  16318. </define>
  16319. <define name="style-graphic-properties-attlist" combine="interleave">
  16320. <optional>
  16321. <attribute name="draw:caption-gap">
  16322. <ref name="distance"/>
  16323. </attribute>
  16324. </optional>
  16325. </define>
  16326. <define name="style-graphic-properties-attlist" combine="interleave">
  16327. <optional>
  16328. <attribute name="draw:caption-escape-direction">
  16329. <choice>
  16330. <value>horizontal</value>
  16331. <value>vertical</value>
  16332. <value>auto</value>
  16333. </choice>
  16334. </attribute>
  16335. </optional>
  16336. </define>
  16337. <define name="style-graphic-properties-attlist" combine="interleave">
  16338. <optional>
  16339. <attribute name="draw:caption-escape">
  16340. <choice>
  16341. <ref name="length"/>
  16342. <ref name="percent"/>
  16343. </choice>
  16344. </attribute>
  16345. </optional>
  16346. </define>
  16347. <define name="style-graphic-properties-attlist" combine="interleave">
  16348. <optional>
  16349. <attribute name="draw:caption-line-length">
  16350. <ref name="length"/>
  16351. </attribute>
  16352. </optional>
  16353. </define>
  16354. <define name="style-graphic-properties-attlist" combine="interleave">
  16355. <optional>
  16356. <attribute name="draw:caption-fit-line-length">
  16357. <ref name="boolean"/>
  16358. </attribute>
  16359. </optional>
  16360. </define>
  16361. <define name="style-graphic-properties-attlist" combine="interleave">
  16362. <optional>
  16363. <attribute name="dr3d:horizontal-segments">
  16364. <ref name="nonNegativeInteger"/>
  16365. </attribute>
  16366. </optional>
  16367. </define>
  16368. <define name="style-graphic-properties-attlist" combine="interleave">
  16369. <optional>
  16370. <attribute name="dr3d:vertical-segments">
  16371. <ref name="nonNegativeInteger"/>
  16372. </attribute>
  16373. </optional>
  16374. </define>
  16375. <define name="style-graphic-properties-attlist" combine="interleave">
  16376. <optional>
  16377. <attribute name="dr3d:edge-rounding">
  16378. <ref name="percent"/>
  16379. </attribute>
  16380. </optional>
  16381. </define>
  16382. <define name="style-graphic-properties-attlist" combine="interleave">
  16383. <optional>
  16384. <attribute name="dr3d:edge-rounding-mode">
  16385. <choice>
  16386. <value>correct</value>
  16387. <value>attractive</value>
  16388. </choice>
  16389. </attribute>
  16390. </optional>
  16391. </define>
  16392. <define name="style-graphic-properties-attlist" combine="interleave">
  16393. <optional>
  16394. <attribute name="dr3d:back-scale">
  16395. <ref name="percent"/>
  16396. </attribute>
  16397. </optional>
  16398. </define>
  16399. <define name="style-graphic-properties-attlist" combine="interleave">
  16400. <optional>
  16401. <attribute name="dr3d:depth">
  16402. <ref name="length"/>
  16403. </attribute>
  16404. </optional>
  16405. </define>
  16406. <define name="style-graphic-properties-attlist" combine="interleave">
  16407. <optional>
  16408. <attribute name="dr3d:backface-culling">
  16409. <choice>
  16410. <value>enabled</value>
  16411. <value>disabled</value>
  16412. </choice>
  16413. </attribute>
  16414. </optional>
  16415. </define>
  16416. <define name="style-graphic-properties-attlist" combine="interleave">
  16417. <optional>
  16418. <attribute name="dr3d:end-angle">
  16419. <ref name="nonNegativeInteger"/>
  16420. </attribute>
  16421. </optional>
  16422. </define>
  16423. <define name="style-graphic-properties-attlist" combine="interleave">
  16424. <optional>
  16425. <attribute name="dr3d:close-front">
  16426. <ref name="boolean"/>
  16427. </attribute>
  16428. </optional>
  16429. </define>
  16430. <define name="style-graphic-properties-attlist" combine="interleave">
  16431. <optional>
  16432. <attribute name="dr3d:close-back">
  16433. <ref name="boolean"/>
  16434. </attribute>
  16435. </optional>
  16436. </define>
  16437. <define name="style-graphic-properties-attlist" combine="interleave">
  16438. <optional>
  16439. <attribute name="dr3d:lighting-mode">
  16440. <choice>
  16441. <value>standard</value>
  16442. <value>double-sided</value>
  16443. </choice>
  16444. </attribute>
  16445. </optional>
  16446. </define>
  16447. <define name="style-graphic-properties-attlist" combine="interleave">
  16448. <optional>
  16449. <attribute name="dr3d:normals-kind">
  16450. <choice>
  16451. <value>object</value>
  16452. <value>flat</value>
  16453. <value>sphere</value>
  16454. </choice>
  16455. </attribute>
  16456. </optional>
  16457. </define>
  16458. <define name="style-graphic-properties-attlist" combine="interleave">
  16459. <optional>
  16460. <attribute name="dr3d:normals-direction">
  16461. <choice>
  16462. <value>normal</value>
  16463. <value>inverse</value>
  16464. </choice>
  16465. </attribute>
  16466. </optional>
  16467. </define>
  16468. <define name="style-graphic-properties-attlist" combine="interleave">
  16469. <optional>
  16470. <attribute name="dr3d:texture-generation-mode-x">
  16471. <choice>
  16472. <value>object</value>
  16473. <value>parallel</value>
  16474. <value>sphere</value>
  16475. </choice>
  16476. </attribute>
  16477. </optional>
  16478. <optional>
  16479. <attribute name="dr3d:texture-generation-mode-y">
  16480. <choice>
  16481. <value>object</value>
  16482. <value>parallel</value>
  16483. <value>sphere</value>
  16484. </choice>
  16485. </attribute>
  16486. </optional>
  16487. </define>
  16488. <define name="style-graphic-properties-attlist" combine="interleave">
  16489. <optional>
  16490. <attribute name="dr3d:texture-kind">
  16491. <choice>
  16492. <value>luminance</value>
  16493. <value>intensity</value>
  16494. <value>color</value>
  16495. </choice>
  16496. </attribute>
  16497. </optional>
  16498. </define>
  16499. <define name="style-graphic-properties-attlist" combine="interleave">
  16500. <optional>
  16501. <attribute name="dr3d:texture-filter">
  16502. <choice>
  16503. <value>enabled</value>
  16504. <value>disabled</value>
  16505. </choice>
  16506. </attribute>
  16507. </optional>
  16508. </define>
  16509. <define name="style-graphic-properties-attlist" combine="interleave">
  16510. <optional>
  16511. <attribute name="dr3d:texture-mode">
  16512. <choice>
  16513. <value>replace</value>
  16514. <value>modulate</value>
  16515. <value>blend</value>
  16516. </choice>
  16517. </attribute>
  16518. </optional>
  16519. </define>
  16520. <define name="style-graphic-properties-attlist" combine="interleave">
  16521. <optional>
  16522. <attribute name="dr3d:ambient-color">
  16523. <ref name="color"/>
  16524. </attribute>
  16525. </optional>
  16526. <optional>
  16527. <attribute name="dr3d:emissive-color">
  16528. <ref name="color"/>
  16529. </attribute>
  16530. </optional>
  16531. <optional>
  16532. <attribute name="dr3d:specular-color">
  16533. <ref name="color"/>
  16534. </attribute>
  16535. </optional>
  16536. <optional>
  16537. <attribute name="dr3d:diffuse-color">
  16538. <ref name="color"/>
  16539. </attribute>
  16540. </optional>
  16541. </define>
  16542. <define name="style-graphic-properties-attlist" combine="interleave">
  16543. <optional>
  16544. <attribute name="dr3d:shininess">
  16545. <ref name="percent"/>
  16546. </attribute>
  16547. </optional>
  16548. </define>
  16549. <define name="style-graphic-properties-attlist" combine="interleave">
  16550. <optional>
  16551. <attribute name="dr3d:shadow">
  16552. <choice>
  16553. <value>visible</value>
  16554. <value>hidden</value>
  16555. </choice>
  16556. </attribute>
  16557. </optional>
  16558. </define>
  16559. <define name="style-graphic-properties-attlist" combine="interleave">
  16560. <ref name="common-draw-rel-size-attlist"/>
  16561. <optional>
  16562. <attribute name="fo:min-width">
  16563. <choice>
  16564. <ref name="length"/>
  16565. <ref name="percent"/>
  16566. </choice>
  16567. </attribute>
  16568. </optional>
  16569. </define>
  16570. <define name="style-graphic-properties-attlist" combine="interleave">
  16571. <optional>
  16572. <attribute name="fo:min-height">
  16573. <choice>
  16574. <ref name="length"/>
  16575. <ref name="percent"/>
  16576. </choice>
  16577. </attribute>
  16578. </optional>
  16579. </define>
  16580. <define name="style-graphic-properties-attlist" combine="interleave">
  16581. <optional>
  16582. <attribute name="fo:max-height">
  16583. <choice>
  16584. <ref name="length"/>
  16585. <ref name="percent"/>
  16586. </choice>
  16587. </attribute>
  16588. </optional>
  16589. <optional>
  16590. <attribute name="fo:max-width">
  16591. <choice>
  16592. <ref name="length"/>
  16593. <ref name="percent"/>
  16594. </choice>
  16595. </attribute>
  16596. </optional>
  16597. </define>
  16598. <define name="style-graphic-properties-attlist" combine="interleave">
  16599. <ref name="common-horizontal-margin-attlist"/>
  16600. </define>
  16601. <define name="style-graphic-properties-attlist" combine="interleave">
  16602. <ref name="common-vertical-margin-attlist"/>
  16603. </define>
  16604. <define name="style-graphic-properties-attlist" combine="interleave">
  16605. <ref name="common-margin-attlist"/>
  16606. </define>
  16607. <define name="style-graphic-properties-attlist" combine="interleave">
  16608. <optional>
  16609. <attribute name="style:print-content">
  16610. <ref name="boolean"/>
  16611. </attribute>
  16612. </optional>
  16613. </define>
  16614. <define name="style-graphic-properties-attlist" combine="interleave">
  16615. <optional>
  16616. <attribute name="style:protect">
  16617. <choice>
  16618. <value>none</value>
  16619. <list>
  16620. <oneOrMore>
  16621. <choice>
  16622. <value>content</value>
  16623. <value>position</value>
  16624. <value>size</value>
  16625. </choice>
  16626. </oneOrMore>
  16627. </list>
  16628. </choice>
  16629. </attribute>
  16630. </optional>
  16631. </define>
  16632. <define name="style-graphic-properties-attlist" combine="interleave">
  16633. <optional>
  16634. <attribute name="style:horizontal-pos">
  16635. <choice>
  16636. <value>left</value>
  16637. <value>center</value>
  16638. <value>right</value>
  16639. <value>from-left</value>
  16640. <value>inside</value>
  16641. <value>outside</value>
  16642. <value>from-inside</value>
  16643. </choice>
  16644. </attribute>
  16645. </optional>
  16646. <optional>
  16647. <attribute name="svg:x">
  16648. <ref name="coordinate"/>
  16649. </attribute>
  16650. </optional>
  16651. </define>
  16652. <define name="style-graphic-properties-attlist" combine="interleave">
  16653. <optional>
  16654. <attribute name="style:horizontal-rel">
  16655. <choice>
  16656. <value>page</value>
  16657. <value>page-content</value>
  16658. <value>page-start-margin</value>
  16659. <value>page-end-margin</value>
  16660. <value>frame</value>
  16661. <value>frame-content</value>
  16662. <value>frame-start-margin</value>
  16663. <value>frame-end-margin</value>
  16664. <value>paragraph</value>
  16665. <value>paragraph-content</value>
  16666. <value>paragraph-start-margin</value>
  16667. <value>paragraph-end-margin</value>
  16668. <value>char</value>
  16669. </choice>
  16670. </attribute>
  16671. </optional>
  16672. </define>
  16673. <define name="style-graphic-properties-attlist" combine="interleave">
  16674. <ref name="common-vertical-pos-attlist"/>
  16675. </define>
  16676. <define name="common-vertical-pos-attlist">
  16677. <optional>
  16678. <attribute name="style:vertical-pos">
  16679. <choice>
  16680. <value>top</value>
  16681. <value>middle</value>
  16682. <value>bottom</value>
  16683. <value>from-top</value>
  16684. <value>below</value>
  16685. </choice>
  16686. </attribute>
  16687. </optional>
  16688. <optional>
  16689. <attribute name="svg:y">
  16690. <ref name="coordinate"/>
  16691. </attribute>
  16692. </optional>
  16693. </define>
  16694. <define name="style-graphic-properties-attlist" combine="interleave">
  16695. <ref name="common-vertical-rel-attlist"/>
  16696. </define>
  16697. <define name="common-vertical-rel-attlist">
  16698. <optional>
  16699. <attribute name="style:vertical-rel">
  16700. <choice>
  16701. <value>page</value>
  16702. <value>page-content</value>
  16703. <value>frame</value>
  16704. <value>frame-content</value>
  16705. <value>paragraph</value>
  16706. <value>paragraph-content</value>
  16707. <value>char</value>
  16708. <value>line</value>
  16709. <value>baseline</value>
  16710. <value>text</value>
  16711. </choice>
  16712. </attribute>
  16713. </optional>
  16714. </define>
  16715. <define name="style-graphic-properties-attlist" combine="interleave">
  16716. <ref name="common-text-anchor-attlist"/>
  16717. </define>
  16718. <define name="style-graphic-properties-attlist" combine="interleave">
  16719. <ref name="common-border-attlist"/>
  16720. </define>
  16721. <define name="style-graphic-properties-attlist" combine="interleave">
  16722. <ref name="common-border-line-width-attlist"/>
  16723. </define>
  16724. <define name="style-graphic-properties-attlist" combine="interleave">
  16725. <ref name="common-padding-attlist"/>
  16726. </define>
  16727. <define name="style-graphic-properties-attlist" combine="interleave">
  16728. <ref name="common-shadow-attlist"/>
  16729. </define>
  16730. <define name="style-graphic-properties-attlist" combine="interleave">
  16731. <ref name="common-background-color-attlist"/>
  16732. </define>
  16733. <define name="style-graphic-properties-elements" combine="interleave">
  16734. <ref name="style-background-image"/>
  16735. </define>
  16736. <define name="style-graphic-properties-elements" combine="interleave">
  16737. <ref name="style-columns"/>
  16738. </define>
  16739. <define name="style-graphic-properties-attlist" combine="interleave">
  16740. <optional>
  16741. <attribute name="style:editable">
  16742. <ref name="boolean"/>
  16743. </attribute>
  16744. </optional>
  16745. </define>
  16746. <define name="style-graphic-properties-attlist" combine="interleave">
  16747. <optional>
  16748. <attribute name="style:wrap">
  16749. <choice>
  16750. <value>none</value>
  16751. <value>left</value>
  16752. <value>right</value>
  16753. <value>parallel</value>
  16754. <value>dynamic</value>
  16755. <value>run-through</value>
  16756. <value>biggest</value>
  16757. </choice>
  16758. </attribute>
  16759. </optional>
  16760. </define>
  16761. <define name="style-graphic-properties-attlist" combine="interleave">
  16762. <optional>
  16763. <attribute name="style:wrap-dynamic-threshold">
  16764. <ref name="nonNegativeLength"/>
  16765. </attribute>
  16766. </optional>
  16767. </define>
  16768. <define name="style-graphic-properties-attlist" combine="interleave">
  16769. <optional>
  16770. <attribute name="style:number-wrapped-paragraphs">
  16771. <choice>
  16772. <value>no-limit</value>
  16773. <ref name="positiveInteger"/>
  16774. </choice>
  16775. </attribute>
  16776. </optional>
  16777. </define>
  16778. <define name="style-graphic-properties-attlist" combine="interleave">
  16779. <optional>
  16780. <attribute name="style:wrap-contour">
  16781. <ref name="boolean"/>
  16782. </attribute>
  16783. </optional>
  16784. </define>
  16785. <define name="style-graphic-properties-attlist" combine="interleave">
  16786. <optional>
  16787. <attribute name="style:wrap-contour-mode">
  16788. <choice>
  16789. <value>full</value>
  16790. <value>outside</value>
  16791. </choice>
  16792. </attribute>
  16793. </optional>
  16794. </define>
  16795. <define name="style-graphic-properties-attlist" combine="interleave">
  16796. <optional>
  16797. <attribute name="style:run-through">
  16798. <choice>
  16799. <value>foreground</value>
  16800. <value>background</value>
  16801. </choice>
  16802. </attribute>
  16803. </optional>
  16804. </define>
  16805. <define name="style-graphic-properties-attlist" combine="interleave">
  16806. <optional>
  16807. <attribute name="style:flow-with-text">
  16808. <ref name="boolean"/>
  16809. </attribute>
  16810. </optional>
  16811. </define>
  16812. <define name="style-graphic-properties-attlist" combine="interleave">
  16813. <optional>
  16814. <attribute name="style:overflow-behavior">
  16815. <choice>
  16816. <value>clip</value>
  16817. <value>auto-create-new-frame</value>
  16818. </choice>
  16819. </attribute>
  16820. </optional>
  16821. </define>
  16822. <define name="style-graphic-properties-attlist" combine="interleave">
  16823. <optional>
  16824. <attribute name="style:mirror">
  16825. <choice>
  16826. <value>none</value>
  16827. <value>vertical</value>
  16828. <ref name="horizontal-mirror"/>
  16829. <list>
  16830. <value>vertical</value>
  16831. <ref name="horizontal-mirror"/>
  16832. </list>
  16833. <list>
  16834. <ref name="horizontal-mirror"/>
  16835. <value>vertical</value>
  16836. </list>
  16837. </choice>
  16838. </attribute>
  16839. </optional>
  16840. </define>
  16841. <define name="horizontal-mirror">
  16842. <choice>
  16843. <value>horizontal</value>
  16844. <value>horizontal-on-odd</value>
  16845. <value>horizontal-on-even</value>
  16846. </choice>
  16847. </define>
  16848. <define name="style-graphic-properties-attlist" combine="interleave">
  16849. <optional>
  16850. <attribute name="fo:clip">
  16851. <!-- The attribute value must match the one XSL's clip -->
  16852. <ref name="string"/>
  16853. </attribute>
  16854. </optional>
  16855. </define>
  16856. <define name="style-graphic-properties-attlist" combine="interleave">
  16857. <optional>
  16858. <attribute name="draw:wrap-influence-on-position"
  16859. a:defaultValue="iterative">
  16860. <choice>
  16861. <value>iterative</value>
  16862. <value>once-concurrent</value>
  16863. <value>once-successive</value>
  16864. </choice>
  16865. </attribute>
  16866. </optional>
  16867. </define>
  16868. <define name="style-graphic-properties-attlist" combine="interleave">
  16869. <ref name="common-writing-mode-attlist"/>
  16870. </define>
  16871. <define name="style-graphic-properties-attlist" combine="interleave">
  16872. <optional>
  16873. <attribute name="draw:frame-display-scrollbar">
  16874. <ref name="boolean"/>
  16875. </attribute>
  16876. </optional>
  16877. </define>
  16878. <define name="style-graphic-properties-attlist" combine="interleave">
  16879. <optional>
  16880. <attribute name="draw:frame-display-border">
  16881. <ref name="boolean"/>
  16882. </attribute>
  16883. </optional>
  16884. </define>
  16885. <define name="style-graphic-properties-attlist" combine="interleave">
  16886. <optional>
  16887. <attribute name="draw:frame-margin-horizontal">
  16888. <ref name="nonNegativePixelLength"/>
  16889. </attribute>
  16890. </optional>
  16891. <optional>
  16892. <attribute name="draw:frame-margin-vertical">
  16893. <ref name="nonNegativePixelLength"/>
  16894. </attribute>
  16895. </optional>
  16896. </define>
  16897. <define name="nonNegativePixelLength">
  16898. <data type="string">
  16899. <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)(px)</param>
  16900. </data>
  16901. </define>
  16902. <define name="style-graphic-properties-attlist" combine="interleave">
  16903. <optional>
  16904. <attribute name="draw:visible-area-left">
  16905. <ref name="nonNegativeLength"/>
  16906. </attribute>
  16907. </optional>
  16908. <optional>
  16909. <attribute name="draw:visible-area-top">
  16910. <ref name="nonNegativeLength"/>
  16911. </attribute>
  16912. </optional>
  16913. <optional>
  16914. <attribute name="draw:visible-area-width">
  16915. <ref name="positiveLength"/>
  16916. </attribute>
  16917. </optional>
  16918. <optional>
  16919. <attribute name="draw:visible-area-height">
  16920. <ref name="positiveLength"/>
  16921. </attribute>
  16922. </optional>
  16923. </define>
  16924. <define name="style-graphic-properties-attlist" combine="interleave">
  16925. <optional>
  16926. <attribute name="draw:ole-draw-aspect">
  16927. <ref name="nonNegativeInteger"/>
  16928. </attribute>
  16929. </optional>
  16930. </define>
  16931. <define name="style-chart-properties">
  16932. <element name="style:chart-properties">
  16933. <ref name="style-chart-properties-content"/>
  16934. </element>
  16935. </define>
  16936. <define name="style-chart-properties-content">
  16937. <ref name="style-properties-content"/>
  16938. </define>
  16939. <define name="style-chart-properties-content-strict">
  16940. <ref name="style-chart-properties-attlist"/>
  16941. <ref name="style-chart-properties-elements"/>
  16942. </define>
  16943. <define name="style-chart-properties-elements">
  16944. <empty/>
  16945. </define>
  16946. <define name="style-chart-properties-attlist" combine="interleave">
  16947. <optional>
  16948. <attribute name="chart:scale-text" a:defaultValue="true">
  16949. <ref name="boolean"/>
  16950. </attribute>
  16951. </optional>
  16952. </define>
  16953. <define name="style-chart-properties-attlist" combine="interleave">
  16954. <optional>
  16955. <attribute name="chart:three-dimensional">
  16956. <ref name="boolean"/>
  16957. </attribute>
  16958. </optional>
  16959. </define>
  16960. <define name="style-chart-properties-attlist" combine="interleave">
  16961. <optional>
  16962. <attribute name="chart:deep">
  16963. <ref name="boolean"/>
  16964. </attribute>
  16965. </optional>
  16966. </define>
  16967. <define name="style-chart-properties-attlist" combine="interleave">
  16968. <choice>
  16969. <attribute name="chart:symbol-type">
  16970. <value>none</value>
  16971. </attribute>
  16972. <attribute name="chart:symbol-type">
  16973. <value>automatic</value>
  16974. </attribute>
  16975. <group>
  16976. <attribute name="chart:symbol-type">
  16977. <value>named-symbol</value>
  16978. </attribute>
  16979. <attribute name="chart:symbol-name">
  16980. <choice>
  16981. <value>square</value>
  16982. <value>diamond</value>
  16983. <value>arrow-down</value>
  16984. <value>arrow-up</value>
  16985. <value>arrow-right</value>
  16986. <value>arrow-left</value>
  16987. <value>bow-tie</value>
  16988. <value>hourglass</value>
  16989. <value>circle</value>
  16990. <value>star</value>
  16991. <value>x</value>
  16992. <value>plus</value>
  16993. <value>asterisk</value>
  16994. <value>horizontal-bar</value>
  16995. <value>vertical-bar</value>
  16996. </choice>
  16997. </attribute>
  16998. </group>
  16999. <group>
  17000. <attribute name="chart:symbol-type">
  17001. <value>image</value>
  17002. </attribute>
  17003. <element name="chart:symbol-image">
  17004. <attribute name="xlink:href">
  17005. <ref name="anyURI"/>
  17006. </attribute>
  17007. </element>
  17008. </group>
  17009. <empty/>
  17010. </choice>
  17011. </define>
  17012. <define name="style-chart-properties-attlist" combine="interleave">
  17013. <optional>
  17014. <attribute name="chart:symbol-width">
  17015. <ref name="nonNegativeLength"/>
  17016. </attribute>
  17017. </optional>
  17018. <optional>
  17019. <attribute name="chart:symbol-height">
  17020. <ref name="nonNegativeLength"/>
  17021. </attribute>
  17022. </optional>
  17023. </define>
  17024. <define name="style-chart-properties-attlist" combine="interleave">
  17025. <optional>
  17026. <attribute name="chart:vertical" a:defaultValue="false">
  17027. <ref name="boolean"/>
  17028. </attribute>
  17029. </optional>
  17030. </define>
  17031. <define name="style-chart-properties-attlist" combine="interleave">
  17032. <optional>
  17033. <attribute name="chart:connect-bars" a:defaultValue="false">
  17034. <ref name="boolean"/>
  17035. </attribute>
  17036. </optional>
  17037. </define>
  17038. <define name="style-chart-properties-attlist" combine="interleave">
  17039. <optional>
  17040. <attribute name="chart:gap-width">
  17041. <ref name="integer"/>
  17042. </attribute>
  17043. </optional>
  17044. <optional>
  17045. <attribute name="chart:overlap">
  17046. <ref name="integer"/>
  17047. </attribute>
  17048. </optional>
  17049. </define>
  17050. <define name="style-chart-properties-attlist" combine="interleave">
  17051. <optional>
  17052. <attribute name="chart:japanese-candle-stick"
  17053. a:defaultValue="false">
  17054. <ref name="boolean"/>
  17055. </attribute>
  17056. </optional>
  17057. </define>
  17058. <define name="style-chart-properties-attlist" combine="interleave">
  17059. <optional>
  17060. <attribute name="chart:interpolation" a:defaultValue="none">
  17061. <choice>
  17062. <value>none</value>
  17063. <value>cubic-spline</value>
  17064. <value>b-spline</value>
  17065. </choice>
  17066. </attribute>
  17067. </optional>
  17068. <optional>
  17069. <attribute name="chart:spline-order" a:defaultValue="2">
  17070. <ref name="positiveInteger"/>
  17071. </attribute>
  17072. </optional>
  17073. <optional>
  17074. <attribute name="chart:spline-resolution" a:defaultValue="20">
  17075. <ref name="positiveInteger"/>
  17076. </attribute>
  17077. </optional>
  17078. </define>
  17079. <define name="style-chart-properties-attlist" combine="interleave">
  17080. <optional>
  17081. <attribute name="chart:pie-offset" a:defaultValue="0">
  17082. <ref name="nonNegativeInteger"/>
  17083. </attribute>
  17084. </optional>
  17085. </define>
  17086. <define name="style-chart-properties-attlist" combine="interleave">
  17087. <optional>
  17088. <attribute name="chart:lines" a:defaultValue="false">
  17089. <ref name="boolean"/>
  17090. </attribute>
  17091. </optional>
  17092. </define>
  17093. <define name="style-chart-properties-attlist" combine="interleave">
  17094. <optional>
  17095. <attribute name="chart:solid-type" a:defaultValue="cuboid">
  17096. <choice>
  17097. <value>cuboid</value>
  17098. <value>cylinder</value>
  17099. <value>cone</value>
  17100. <value>pyramid</value>
  17101. </choice>
  17102. </attribute>
  17103. </optional>
  17104. </define>
  17105. <define name="style-chart-properties-attlist" combine="interleave">
  17106. <optional>
  17107. <attribute name="chart:stacked" a:defaultValue="false">
  17108. <ref name="boolean"/>
  17109. </attribute>
  17110. </optional>
  17111. <optional>
  17112. <attribute name="chart:percentage" a:defaultValue="false">
  17113. <ref name="boolean"/>
  17114. </attribute>
  17115. </optional>
  17116. </define>
  17117. <define name="style-chart-properties-attlist" combine="interleave">
  17118. <optional>
  17119. <attribute name="chart:link-data-style-to-source">
  17120. <ref name="boolean"/>
  17121. </attribute>
  17122. </optional>
  17123. </define>
  17124. <define name="style-chart-properties-attlist" combine="interleave">
  17125. <optional>
  17126. <attribute name="chart:visible">
  17127. <ref name="boolean"/>
  17128. </attribute>
  17129. </optional>
  17130. </define>
  17131. <define name="style-chart-properties-attlist" combine="interleave">
  17132. <optional>
  17133. <attribute name="chart:logarithmic">
  17134. <ref name="boolean"/>
  17135. </attribute>
  17136. </optional>
  17137. </define>
  17138. <define name="style-chart-properties-attlist" combine="interleave">
  17139. <optional>
  17140. <attribute name="chart:maximum">
  17141. <ref name="double"/>
  17142. </attribute>
  17143. </optional>
  17144. <optional>
  17145. <attribute name="chart:minimum">
  17146. <ref name="double"/>
  17147. </attribute>
  17148. </optional>
  17149. <optional>
  17150. <attribute name="chart:origin">
  17151. <ref name="double"/>
  17152. </attribute>
  17153. </optional>
  17154. <optional>
  17155. <attribute name="chart:interval-major">
  17156. <ref name="double"/>
  17157. </attribute>
  17158. </optional>
  17159. <optional>
  17160. <attribute name="chart:interval-minor-divisor">
  17161. <ref name="positiveInteger"/>
  17162. </attribute>
  17163. </optional>
  17164. </define>
  17165. <define name="style-chart-properties-attlist" combine="interleave">
  17166. <optional>
  17167. <attribute name="chart:tick-marks-major-inner">
  17168. <ref name="boolean"/>
  17169. </attribute>
  17170. </optional>
  17171. <optional>
  17172. <attribute name="chart:tick-marks-major-outer">
  17173. <ref name="boolean"/>
  17174. </attribute>
  17175. </optional>
  17176. <optional>
  17177. <attribute name="chart:tick-marks-minor-inner">
  17178. <ref name="boolean"/>
  17179. </attribute>
  17180. </optional>
  17181. <optional>
  17182. <attribute name="chart:tick-marks-minor-outer">
  17183. <ref name="boolean"/>
  17184. </attribute>
  17185. </optional>
  17186. </define>
  17187. <define name="style-chart-properties-attlist" combine="interleave">
  17188. <optional>
  17189. <attribute name="chart:display-label">
  17190. <ref name="boolean"/>
  17191. </attribute>
  17192. </optional>
  17193. <optional>
  17194. <attribute name="chart:text-overlap">
  17195. <ref name="boolean"/>
  17196. </attribute>
  17197. </optional>
  17198. <optional>
  17199. <attribute name="text:line-break">
  17200. <ref name="boolean"/>
  17201. </attribute>
  17202. </optional>
  17203. <optional>
  17204. <attribute name="chart:label-arrangement"
  17205. a:defaultValue="side-by-side">
  17206. <choice>
  17207. <value>side-by-side</value>
  17208. <value>stagger-even</value>
  17209. <value>stagger-odd</value>
  17210. </choice>
  17211. </attribute>
  17212. </optional>
  17213. </define>
  17214. <define name="style-chart-properties-attlist" combine="interleave">
  17215. <ref name="common-style-direction-attlist"/>
  17216. </define>
  17217. <define name="style-chart-properties-attlist" combine="interleave">
  17218. <ref name="common-rotation-angle-attlist"/>
  17219. </define>
  17220. <define name="style-chart-properties-attlist" combine="interleave">
  17221. <optional>
  17222. <attribute name="chart:data-label-number">
  17223. <choice>
  17224. <value>none</value>
  17225. <value>value</value>
  17226. <value>percentage</value>
  17227. </choice>
  17228. </attribute>
  17229. </optional>
  17230. </define>
  17231. <define name="style-chart-properties-attlist" combine="interleave">
  17232. <optional>
  17233. <attribute name="chart:data-label-text">
  17234. <ref name="boolean"/>
  17235. </attribute>
  17236. </optional>
  17237. </define>
  17238. <define name="style-chart-properties-attlist" combine="interleave">
  17239. <optional>
  17240. <attribute name="chart:data-label-symbol">
  17241. <ref name="boolean"/>
  17242. </attribute>
  17243. </optional>
  17244. </define>
  17245. <define name="style-chart-properties-attlist" combine="interleave">
  17246. <optional>
  17247. <attribute name="chart:mean-value">
  17248. <ref name="boolean"/>
  17249. </attribute>
  17250. </optional>
  17251. </define>
  17252. <define name="style-chart-properties-attlist" combine="interleave">
  17253. <optional>
  17254. <attribute name="chart:error-category" a:defaultValue="none">
  17255. <choice>
  17256. <value>none</value>
  17257. <value>variance</value>
  17258. <value>standard-deviation</value>
  17259. <value>percentage</value>
  17260. <value>error-margin</value>
  17261. <value>constant</value>
  17262. </choice>
  17263. </attribute>
  17264. </optional>
  17265. </define>
  17266. <define name="style-chart-properties-attlist" combine="interleave">
  17267. <optional>
  17268. <attribute name="chart:error-percentage">
  17269. <ref name="double"/>
  17270. </attribute>
  17271. </optional>
  17272. </define>
  17273. <define name="style-chart-properties-attlist" combine="interleave">
  17274. <optional>
  17275. <attribute name="chart:error-margin">
  17276. <ref name="double"/>
  17277. </attribute>
  17278. </optional>
  17279. </define>
  17280. <define name="style-chart-properties-attlist" combine="interleave">
  17281. <optional>
  17282. <attribute name="chart:error-lower-limit">
  17283. <ref name="double"/>
  17284. </attribute>
  17285. </optional>
  17286. <optional>
  17287. <attribute name="chart:error-upper-limit">
  17288. <ref name="double"/>
  17289. </attribute>
  17290. </optional>
  17291. </define>
  17292. <define name="style-chart-properties-attlist" combine="interleave">
  17293. <optional>
  17294. <attribute name="chart:error-upper-indicator">
  17295. <ref name="boolean"/>
  17296. </attribute>
  17297. </optional>
  17298. <optional>
  17299. <attribute name="chart:error-lower-indicator">
  17300. <ref name="boolean"/>
  17301. </attribute>
  17302. </optional>
  17303. </define>
  17304. <define name="style-chart-properties-attlist" combine="interleave">
  17305. <optional>
  17306. <attribute name="chart:series-source" a:defaultValue="columns">
  17307. <choice>
  17308. <value>columns</value>
  17309. <value>rows</value>
  17310. </choice>
  17311. </attribute>
  17312. </optional>
  17313. </define>
  17314. <define name="style-chart-properties-attlist" combine="interleave">
  17315. <optional>
  17316. <attribute name="chart:regression-type" a:defaultValue="none">
  17317. <choice>
  17318. <value>none</value>
  17319. <value>linear</value>
  17320. <value>logarithmic</value>
  17321. <value>exponential</value>
  17322. <value>power</value>
  17323. </choice>
  17324. </attribute>
  17325. </optional>
  17326. </define>
  17327. <define name="style-drawing-page-properties-attlist"
  17328. combine="interleave">
  17329. <optional>
  17330. <attribute name="presentation:transition-type">
  17331. <choice>
  17332. <value>manual</value>
  17333. <value>automatic</value>
  17334. <value>semi-automatic</value>
  17335. </choice>
  17336. </attribute>
  17337. </optional>
  17338. </define>
  17339. <define name="style-drawing-page-properties-attlist"
  17340. combine="interleave">
  17341. <optional>
  17342. <attribute name="presentation:transition-style">
  17343. <choice>
  17344. <value>none</value>
  17345. <value>fade-from-left</value>
  17346. <value>fade-from-top</value>
  17347. <value>fade-from-right</value>
  17348. <value>fade-from-bottom</value>
  17349. <value>fade-from-upperleft</value>
  17350. <value>fade-from-upperright</value>
  17351. <value>fade-from-lowerleft</value>
  17352. <value>fade-from-lowerright</value>
  17353. <value>move-from-left</value>
  17354. <value>move-from-top</value>
  17355. <value>move-from-right</value>
  17356. <value>move-from-bottom</value>
  17357. <value>move-from-upperleft</value>
  17358. <value>move-from-upperright</value>
  17359. <value>move-from-lowerleft</value>
  17360. <value>move-from-lowerright</value>
  17361. <value>uncover-to-left</value>
  17362. <value>uncover-to-top</value>
  17363. <value>uncover-to-right</value>
  17364. <value>uncover-to-bottom</value>
  17365. <value>uncover-to-upperleft</value>
  17366. <value>uncover-to-upperright</value>
  17367. <value>uncover-to-lowerleft</value>
  17368. <value>uncover-to-lowerright</value>
  17369. <value>fade-to-center</value>
  17370. <value>fade-from-center</value>
  17371. <value>vertical-stripes</value>
  17372. <value>horizontal-stripes</value>
  17373. <value>clockwise</value>
  17374. <value>counterclockwise</value>
  17375. <value>open-vertical</value>
  17376. <value>open-horizontal</value>
  17377. <value>close-vertical</value>
  17378. <value>close-horizontal</value>
  17379. <value>wavyline-from-left</value>
  17380. <value>wavyline-from-top</value>
  17381. <value>wavyline-from-right</value>
  17382. <value>wavyline-from-bottom</value>
  17383. <value>spiralin-left</value>
  17384. <value>spiralin-right</value>
  17385. <value>spiralout-left</value>
  17386. <value>spiralout-right</value>
  17387. <value>roll-from-top</value>
  17388. <value>roll-from-left</value>
  17389. <value>roll-from-right</value>
  17390. <value>roll-from-bottom</value>
  17391. <value>stretch-from-left</value>
  17392. <value>stretch-from-top</value>
  17393. <value>stretch-from-right</value>
  17394. <value>stretch-from-bottom</value>
  17395. <value>vertical-lines</value>
  17396. <value>horizontal-lines</value>
  17397. <value>dissolve</value>
  17398. <value>random</value>
  17399. <value>vertical-checkerboard</value>
  17400. <value>horizontal-checkerboard</value>
  17401. <value>interlocking-horizontal-left</value>
  17402. <value>interlocking-horizontal-right</value>
  17403. <value>interlocking-vertical-top</value>
  17404. <value>interlocking-vertical-bottom</value>
  17405. <value>fly-away</value>
  17406. <value>open</value>
  17407. <value>close</value>
  17408. <value>melt</value>
  17409. </choice>
  17410. </attribute>
  17411. </optional>
  17412. </define>
  17413. <define name="style-drawing-page-properties-attlist"
  17414. combine="interleave">
  17415. <optional>
  17416. <attribute name="presentation:transition-speed">
  17417. <ref name="presentationSpeeds"/>
  17418. </attribute>
  17419. </optional>
  17420. </define>
  17421. <define name="style-drawing-page-properties-attlist " combine="interleave">
  17422. <optional>
  17423. <attribute name="smil:type">
  17424. <ref name="string"/>
  17425. </attribute>
  17426. </optional>
  17427. </define>
  17428. <define name="style-drawing-page-properties-attlist" combine="interleave">
  17429. <optional>
  17430. <attribute name="smil:subtype">
  17431. <ref name="string"/>
  17432. </attribute>
  17433. </optional>
  17434. </define>
  17435. <define name="style-drawing-page-properties-attlist" combine="interleave">
  17436. <optional>
  17437. <attribute name="smil:direction" a:defaultValue="forward">
  17438. <choice>
  17439. <value>forward</value>
  17440. <value>reverse</value>
  17441. </choice>
  17442. </attribute>
  17443. </optional>
  17444. </define>
  17445. <define name="style-drawing-page-properties-attlist" combine="interleave">
  17446. <optional>
  17447. <attribute name="smil:fadeColor">
  17448. <ref name="color"/>
  17449. </attribute>
  17450. </optional>
  17451. </define>
  17452. <define name="style-drawing-page-properties-attlist"
  17453. combine="interleave">
  17454. <optional>
  17455. <attribute name="presentation:duration">
  17456. <ref name="duration"/>
  17457. </attribute>
  17458. </optional>
  17459. </define>
  17460. <define name="style-drawing-page-properties-attlist"
  17461. combine="interleave">
  17462. <optional>
  17463. <attribute name="presentation:visibility">
  17464. <choice>
  17465. <value>visible</value>
  17466. <value>hidden</value>
  17467. </choice>
  17468. </attribute>
  17469. </optional>
  17470. </define>
  17471. <define name="style-drawing-page-properties-elements"
  17472. combine="interleave">
  17473. <optional>
  17474. <ref name="presentation-sound"/>
  17475. </optional>
  17476. </define>
  17477. <define name="style-drawing-page-properties-attlist"
  17478. combine="interleave">
  17479. <optional>
  17480. <attribute name="draw:background-size">
  17481. <choice>
  17482. <value>full</value>
  17483. <value>border</value>
  17484. </choice>
  17485. </attribute>
  17486. </optional>
  17487. </define>
  17488. <define name="style-drawing-page-properties-attlist"
  17489. combine="interleave">
  17490. <optional>
  17491. <attribute name="presentation:background-objects-visible">
  17492. <ref name="boolean"/>
  17493. </attribute>
  17494. </optional>
  17495. </define>
  17496. <define name="style-drawing-page-properties-attlist"
  17497. combine="interleave">
  17498. <optional>
  17499. <attribute name="presentation:background-visible">
  17500. <ref name="boolean"/>
  17501. </attribute>
  17502. </optional>
  17503. </define>
  17504. <define name="style-drawing-page-properties-attlist" combine="interleave">
  17505. <optional>
  17506. <attribute name="presentation:display-header">
  17507. <ref name="boolean"/>
  17508. </attribute>
  17509. </optional>
  17510. </define>
  17511. <define name="style-drawing-page-properties-attlist" combine="interleave">
  17512. <optional>
  17513. <attribute name="presentation:display-footer">
  17514. <ref name="boolean"/>
  17515. </attribute>
  17516. </optional>
  17517. </define>
  17518. <define name="style-drawing-page-properties-attlist" combine="interleave">
  17519. <optional>
  17520. <attribute name="presentation:display-page-number">
  17521. <ref name="boolean"/>
  17522. </attribute>
  17523. </optional>
  17524. </define>
  17525. <define name="style-drawing-page-properties-attlist" combine="interleave">
  17526. <optional>
  17527. <attribute name="presentation:display-date-time">
  17528. <ref name="boolean"/>
  17529. </attribute>
  17530. </optional>
  17531. </define>
  17532. <define name="string">
  17533. <data type="string"/>
  17534. </define>
  17535. <define name="date">
  17536. <data type="date"/>
  17537. </define>
  17538. <define name="time">
  17539. <data type="time"/>
  17540. </define>
  17541. <define name="dateTime">
  17542. <data type="dateTime"/>
  17543. </define>
  17544. <define name="duration">
  17545. <data type="duration"/>
  17546. </define>
  17547. <define name="integer">
  17548. <data type="integer"/>
  17549. </define>
  17550. <define name="nonNegativeInteger">
  17551. <data type="nonNegativeInteger"/>
  17552. </define>
  17553. <define name="positiveInteger">
  17554. <data type="positiveInteger"/>
  17555. </define>
  17556. <define name="double">
  17557. <data type="double"/>
  17558. </define>
  17559. <define name="anyURI">
  17560. <data type="anyURI"/>
  17561. </define>
  17562. <define name="base64Binary">
  17563. <data type="base64Binary"/>
  17564. </define>
  17565. <define name="ID">
  17566. <data type="ID"/>
  17567. </define>
  17568. <define name="IDREF">
  17569. <data type="IDREF"/>
  17570. </define>
  17571. <define name="IDREFS">
  17572. <data type="IDREFS"/>
  17573. </define>
  17574. <define name="boolean">
  17575. <choice>
  17576. <value>true</value>
  17577. <value>false</value>
  17578. </choice>
  17579. </define>
  17580. <define name="dateOrDateTime">
  17581. <choice>
  17582. <data type="date"/>
  17583. <data type="dateTime"/>
  17584. </choice>
  17585. </define>
  17586. <define name="timeOrDateTime">
  17587. <choice>
  17588. <data type="time"/>
  17589. <data type="dateTime"/>
  17590. </choice>
  17591. </define>
  17592. <define name="language">
  17593. <data type="language"/>
  17594. </define>
  17595. <define name="countryCode">
  17596. <data type="token">
  17597. <param name="pattern">[A-Za-z0-9]{1,8}</param>
  17598. </data>
  17599. </define>
  17600. <define name="languageCode">
  17601. <data type="token">
  17602. <param name="pattern">[A-Za-z]{1,8}</param>
  17603. </data>
  17604. </define>
  17605. <define name="character">
  17606. <data type="string">
  17607. <param name="length">1</param>
  17608. </data>
  17609. </define>
  17610. <define name="length">
  17611. <data type="string">
  17612. <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
  17613. </data>
  17614. </define>
  17615. <define name="nonNegativeLength">
  17616. <data type="string">
  17617. <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
  17618. </data>
  17619. </define>
  17620. <define name="positiveLength">
  17621. <data type="string">
  17622. <param name="pattern">([0-9]*[1-9][0-9]*(\.[0-9]*)?|0+\.[0-9]*[1-9][0-9]*|\.[0-9]*[1-9][0-9]*)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
  17623. </data>
  17624. </define>
  17625. <define name="percent">
  17626. <data type="string">
  17627. <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)%</param>
  17628. </data>
  17629. </define>
  17630. <define name="relativeLength">
  17631. <data type="string">
  17632. <param name="pattern">[0-9]+\*</param>
  17633. </data>
  17634. </define>
  17635. <define name="coordinate">
  17636. <ref name="length"/>
  17637. </define>
  17638. <define name="distance">
  17639. <ref name="length"/>
  17640. </define>
  17641. <define name="color">
  17642. <data type="string">
  17643. <param name="pattern">#[0-9a-fA-F]{6}</param>
  17644. </data>
  17645. </define>
  17646. <define name="styleName">
  17647. <data type="NCName"/>
  17648. </define>
  17649. <define name="styleNameRef">
  17650. <choice>
  17651. <data type="NCName"/>
  17652. <empty/>
  17653. </choice>
  17654. </define>
  17655. <define name="styleNameRefs">
  17656. <list>
  17657. <zeroOrMore>
  17658. <data type="NCName"/>
  17659. </zeroOrMore>
  17660. </list>
  17661. </define>
  17662. <define name="variableName">
  17663. <data type="string"/>
  17664. </define>
  17665. <define name="formula">
  17666. <!-- A formula should start with a namespace prefix, -->
  17667. <!-- but has no restrictions-->
  17668. <data type="string"/>
  17669. </define>
  17670. <define name="targetFrameName">
  17671. <choice>
  17672. <value>_self</value>
  17673. <value>_blank</value>
  17674. <value>_parent</value>
  17675. <value>_top</value>
  17676. <ref name="string"/>
  17677. </choice>
  17678. </define>
  17679. <define name="valueType">
  17680. <choice>
  17681. <value>float</value>
  17682. <value>time</value>
  17683. <value>date</value>
  17684. <value>percentage</value>
  17685. <value>currency</value>
  17686. <value>boolean</value>
  17687. <value>string</value>
  17688. </choice>
  17689. </define>
  17690. <define name="points">
  17691. <data type="string">
  17692. <param name="pattern">-?[0-9]+,-?[0-9]+([ ]+-?[0-9]+,-?[0-9]+)*</param>
  17693. </data>
  17694. </define>
  17695. <define name="pathData">
  17696. <data type="string"/>
  17697. </define>
  17698. <define name="vector3D">
  17699. <data type="string">
  17700. <param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)){2}[ ]*\)</param>
  17701. </data>
  17702. </define>
  17703. <define name="namespacedToken">
  17704. <data type="string">
  17705. <param name="pattern">[0-9a-zA-Z_]+:[0-9a-zA-Z._\-]+</param>
  17706. </data>
  17707. </define>
  17708. <define name="anyAttListOrElements">
  17709. <zeroOrMore>
  17710. <attribute>
  17711. <anyName/>
  17712. <text/>
  17713. </attribute>
  17714. </zeroOrMore>
  17715. <ref name="anyElements"/>
  17716. </define>
  17717. <define name="anyElements">
  17718. <zeroOrMore>
  17719. <element>
  17720. <anyName/>
  17721. <mixed>
  17722. <ref name="anyAttListOrElements"/>
  17723. </mixed>
  17724. </element>
  17725. </zeroOrMore>
  17726. </define>
  17727. </grammar>