OpenDocument-v1.2-cs01-schema.rng 440 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Open Document Format for Office Applications (OpenDocument) Version 1.2
  4. Committee Specification (CS) 01, 17 March 2011
  5. Relax-NG Schema
  6. Copyright (c) OASIS Open 2002-2011. All Rights Reserved.
  7. All capitalized terms in the following text have the meanings assigned to them
  8. in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The
  9. full Policy may be found at the OASIS website.
  10. This document and translations of it may be copied and furnished to others, and
  11. derivative works that comment on or otherwise explain it or assist in its
  12. implementation may be prepared, copied, published, and distributed, in whole or
  13. in part, without restriction of any kind, provided that the above copyright
  14. notice and this section are included on all such copies and derivative works.
  15. However, this document itself may not be modified in any way, including by
  16. removing the copyright notice or references to OASIS, except as needed for the
  17. purpose of developing any document or deliverable produced by an OASIS
  18. Technical Committee (in which case the rules applicable to copyrights, as set
  19. forth in the OASIS IPR Policy, must be followed) or as required to translate it
  20. into languages other than English.
  21. The limited permissions granted above are perpetual and will not be revoked by
  22. OASIS or its successors or assigns.
  23. This document and the information contained herein is provided on an "AS IS"
  24. basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
  25. LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
  26. INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
  27. FITNESS FOR A PARTICULAR PURPOSE.
  28. -->
  29. <grammar
  30. xmlns="http://relaxng.org/ns/structure/1.0"
  31. datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
  32. xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
  33. xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
  34. xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
  35. xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
  36. xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
  37. xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
  38. xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
  39. xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
  40. xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
  41. xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
  42. xmlns:db="urn:oasis:names:tc:opendocument:xmlns:database:1.0"
  43. xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
  44. xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
  45. xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
  46. xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
  47. xmlns:dc="http://purl.org/dc/elements/1.1/"
  48. xmlns:xlink="http://www.w3.org/1999/xlink"
  49. xmlns:math="http://www.w3.org/1998/Math/MathML"
  50. xmlns:xforms="http://www.w3.org/2002/xforms"
  51. xmlns:grddl="http://www.w3.org/2003/g/data-view#"
  52. xmlns:xhtml="http://www.w3.org/1999/xhtml"
  53. xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
  54. xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
  55. xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
  56. >
  57. <define name="office-process-content">
  58. <optional>
  59. <attribute name="office:process-content">
  60. <ref name="boolean"/>
  61. </attribute>
  62. </optional>
  63. </define>
  64. <start>
  65. <choice>
  66. <ref name="office-document"/>
  67. <ref name="office-document-content"/>
  68. <ref name="office-document-styles"/>
  69. <ref name="office-document-meta"/>
  70. <ref name="office-document-settings"/>
  71. </choice>
  72. </start>
  73. <define name="office-document">
  74. <element name="office:document">
  75. <ref name="office-document-attrs"/>
  76. <ref name="office-document-common-attrs"/>
  77. <ref name="office-meta"/>
  78. <ref name="office-settings"/>
  79. <ref name="office-scripts"/>
  80. <ref name="office-font-face-decls"/>
  81. <ref name="office-styles"/>
  82. <ref name="office-automatic-styles"/>
  83. <ref name="office-master-styles"/>
  84. <ref name="office-body"/>
  85. </element>
  86. </define>
  87. <define name="office-document-content">
  88. <element name="office:document-content">
  89. <ref name="office-document-common-attrs"/>
  90. <ref name="office-scripts"/>
  91. <ref name="office-font-face-decls"/>
  92. <ref name="office-automatic-styles"/>
  93. <ref name="office-body"/>
  94. </element>
  95. </define>
  96. <define name="office-document-styles">
  97. <element name="office:document-styles">
  98. <ref name="office-document-common-attrs"/>
  99. <ref name="office-font-face-decls"/>
  100. <ref name="office-styles"/>
  101. <ref name="office-automatic-styles"/>
  102. <ref name="office-master-styles"/>
  103. </element>
  104. </define>
  105. <define name="office-document-meta">
  106. <element name="office:document-meta">
  107. <ref name="office-document-common-attrs"/>
  108. <ref name="office-meta"/>
  109. </element>
  110. </define>
  111. <define name="office-document-settings">
  112. <element name="office:document-settings">
  113. <ref name="office-document-common-attrs"/>
  114. <ref name="office-settings"/>
  115. </element>
  116. </define>
  117. <define name="office-document-common-attrs">
  118. <interleave>
  119. <attribute name="office:version">
  120. <value>1.2</value>
  121. </attribute>
  122. <optional>
  123. <attribute name="grddl:transformation">
  124. <list>
  125. <zeroOrMore>
  126. <ref name="anyIRI"/>
  127. </zeroOrMore>
  128. </list>
  129. </attribute>
  130. </optional>
  131. </interleave>
  132. </define>
  133. <define name="office-document-attrs">
  134. <attribute name="office:mimetype">
  135. <ref name="string"/>
  136. </attribute>
  137. </define>
  138. <define name="office-meta">
  139. <optional>
  140. <element name="office:meta">
  141. <ref name="office-meta-content-strict"/>
  142. </element>
  143. </optional>
  144. </define>
  145. <define name="office-meta-content-strict">
  146. <zeroOrMore>
  147. <ref name="office-meta-data"/>
  148. </zeroOrMore>
  149. </define>
  150. <define name="office-body">
  151. <element name="office:body">
  152. <ref name="office-body-content"/>
  153. </element>
  154. </define>
  155. <define name="office-body-content">
  156. <choice>
  157. <element name="office:text">
  158. <ref name="office-text-attlist"/>
  159. <ref name="office-text-content-prelude"/>
  160. <ref name="office-text-content-main"/>
  161. <ref name="office-text-content-epilogue"/>
  162. </element>
  163. <element name="office:drawing">
  164. <ref name="office-drawing-attlist"/>
  165. <ref name="office-drawing-content-prelude"/>
  166. <ref name="office-drawing-content-main"/>
  167. <ref name="office-drawing-content-epilogue"/>
  168. </element>
  169. <element name="office:presentation">
  170. <ref name="office-presentation-attlist"/>
  171. <ref name="office-presentation-content-prelude"/>
  172. <ref name="office-presentation-content-main"/>
  173. <ref name="office-presentation-content-epilogue"/>
  174. </element>
  175. <element name="office:spreadsheet">
  176. <ref name="office-spreadsheet-attlist"/>
  177. <ref name="office-spreadsheet-content-prelude"/>
  178. <ref name="office-spreadsheet-content-main"/>
  179. <ref name="office-spreadsheet-content-epilogue"/>
  180. </element>
  181. <element name="office:chart">
  182. <ref name="office-chart-attlist"/>
  183. <ref name="office-chart-content-prelude"/>
  184. <ref name="office-chart-content-main"/>
  185. <ref name="office-chart-content-epilogue"/>
  186. </element>
  187. <element name="office:image">
  188. <ref name="office-image-attlist"/>
  189. <ref name="office-image-content-prelude"/>
  190. <ref name="office-image-content-main"/>
  191. <ref name="office-image-content-epilogue"/>
  192. </element>
  193. <ref name="office-database"/>
  194. </choice>
  195. </define>
  196. <define name="office-text-content-prelude">
  197. <ref name="office-forms"/>
  198. <ref name="text-tracked-changes"/>
  199. <ref name="text-decls"/>
  200. <ref name="table-decls"/>
  201. </define>
  202. <define name="office-text-content-main">
  203. <choice>
  204. <zeroOrMore>
  205. <ref name="text-content"/>
  206. </zeroOrMore>
  207. <group>
  208. <ref name="text-page-sequence"/>
  209. <zeroOrMore>
  210. <choice>
  211. <ref name="shape"/>
  212. </choice>
  213. </zeroOrMore>
  214. </group>
  215. </choice>
  216. </define>
  217. <define name="text-content">
  218. <choice>
  219. <ref name="text-h"/>
  220. <ref name="text-p"/>
  221. <ref name="text-list"/>
  222. <ref name="text-numbered-paragraph"/>
  223. <ref name="table-table"/>
  224. <ref name="text-section"/>
  225. <ref name="text-soft-page-break"/>
  226. <ref name="text-table-of-content"/>
  227. <ref name="text-illustration-index"/>
  228. <ref name="text-table-index"/>
  229. <ref name="text-object-index"/>
  230. <ref name="text-user-index"/>
  231. <ref name="text-alphabetical-index"/>
  232. <ref name="text-bibliography"/>
  233. <ref name="shape"/>
  234. <ref name="change-marks"/>
  235. </choice>
  236. </define>
  237. <define name="office-text-content-epilogue">
  238. <ref name="table-functions"/>
  239. </define>
  240. <define name="office-text-attlist">
  241. <interleave>
  242. <optional>
  243. <attribute name="text:global">
  244. <ref name="boolean"/>
  245. </attribute>
  246. </optional>
  247. <optional>
  248. <attribute name="text:use-soft-page-breaks">
  249. <ref name="boolean"/>
  250. </attribute>
  251. </optional>
  252. </interleave>
  253. </define>
  254. <define name="office-drawing-attlist">
  255. <empty/>
  256. </define>
  257. <define name="office-drawing-content-prelude">
  258. <ref name="text-decls"/>
  259. <ref name="table-decls"/>
  260. </define>
  261. <define name="office-drawing-content-main">
  262. <zeroOrMore>
  263. <ref name="draw-page"/>
  264. </zeroOrMore>
  265. </define>
  266. <define name="office-drawing-content-epilogue">
  267. <ref name="table-functions"/>
  268. </define>
  269. <define name="office-presentation-attlist">
  270. <empty/>
  271. </define>
  272. <define name="office-presentation-content-prelude">
  273. <ref name="text-decls"/>
  274. <ref name="table-decls"/>
  275. <ref name="presentation-decls"/>
  276. </define>
  277. <define name="office-presentation-content-main">
  278. <zeroOrMore>
  279. <ref name="draw-page"/>
  280. </zeroOrMore>
  281. </define>
  282. <define name="office-presentation-content-epilogue">
  283. <ref name="presentation-settings"/>
  284. <ref name="table-functions"/>
  285. </define>
  286. <define name="office-spreadsheet-content-prelude">
  287. <optional>
  288. <ref name="table-tracked-changes"/>
  289. </optional>
  290. <ref name="text-decls"/>
  291. <ref name="table-decls"/>
  292. </define>
  293. <define name="table-decls">
  294. <optional>
  295. <ref name="table-calculation-settings"/>
  296. </optional>
  297. <optional>
  298. <ref name="table-content-validations"/>
  299. </optional>
  300. <optional>
  301. <ref name="table-label-ranges"/>
  302. </optional>
  303. </define>
  304. <define name="office-spreadsheet-content-main">
  305. <zeroOrMore>
  306. <ref name="table-table"/>
  307. </zeroOrMore>
  308. </define>
  309. <define name="office-spreadsheet-content-epilogue">
  310. <ref name="table-functions"/>
  311. </define>
  312. <define name="table-functions">
  313. <optional>
  314. <ref name="table-named-expressions"/>
  315. </optional>
  316. <optional>
  317. <ref name="table-database-ranges"/>
  318. </optional>
  319. <optional>
  320. <ref name="table-data-pilot-tables"/>
  321. </optional>
  322. <optional>
  323. <ref name="table-consolidation"/>
  324. </optional>
  325. <optional>
  326. <ref name="table-dde-links"/>
  327. </optional>
  328. </define>
  329. <define name="office-chart-attlist">
  330. <empty/>
  331. </define>
  332. <define name="office-chart-content-prelude">
  333. <ref name="text-decls"/>
  334. <ref name="table-decls"/>
  335. </define>
  336. <define name="office-chart-content-main">
  337. <ref name="chart-chart"/>
  338. </define>
  339. <define name="office-chart-content-epilogue">
  340. <ref name="table-functions"/>
  341. </define>
  342. <define name="office-image-attlist">
  343. <empty/>
  344. </define>
  345. <define name="office-image-content-prelude">
  346. <empty/>
  347. </define>
  348. <define name="office-image-content-main">
  349. <ref name="draw-frame"/>
  350. </define>
  351. <define name="office-image-content-epilogue">
  352. <empty/>
  353. </define>
  354. <define name="office-settings">
  355. <optional>
  356. <element name="office:settings">
  357. <oneOrMore>
  358. <ref name="config-config-item-set"/>
  359. </oneOrMore>
  360. </element>
  361. </optional>
  362. </define>
  363. <define name="config-config-item-set">
  364. <element name="config:config-item-set">
  365. <ref name="config-config-item-set-attlist"/>
  366. <ref name="config-items"/>
  367. </element>
  368. </define>
  369. <define name="config-items">
  370. <oneOrMore>
  371. <choice>
  372. <ref name="config-config-item"/>
  373. <ref name="config-config-item-set"/>
  374. <ref name="config-config-item-map-named"/>
  375. <ref name="config-config-item-map-indexed"/>
  376. </choice>
  377. </oneOrMore>
  378. </define>
  379. <define name="config-config-item-set-attlist">
  380. <attribute name="config:name">
  381. <ref name="string"/>
  382. </attribute>
  383. </define>
  384. <define name="config-config-item">
  385. <element name="config:config-item">
  386. <ref name="config-config-item-attlist"/>
  387. <text/>
  388. </element>
  389. </define>
  390. <define name="config-config-item-attlist">
  391. <interleave>
  392. <attribute name="config:name">
  393. <ref name="string"/>
  394. </attribute>
  395. <attribute name="config:type">
  396. <choice>
  397. <value>boolean</value>
  398. <value>short</value>
  399. <value>int</value>
  400. <value>long</value>
  401. <value>double</value>
  402. <value>string</value>
  403. <value>datetime</value>
  404. <value>base64Binary</value>
  405. </choice>
  406. </attribute>
  407. </interleave>
  408. </define>
  409. <define name="config-config-item-map-indexed">
  410. <element name="config:config-item-map-indexed">
  411. <ref name="config-config-item-map-indexed-attlist"/>
  412. <oneOrMore>
  413. <ref name="config-config-item-map-entry"/>
  414. </oneOrMore>
  415. </element>
  416. </define>
  417. <define name="config-config-item-map-indexed-attlist">
  418. <attribute name="config:name">
  419. <ref name="string"/>
  420. </attribute>
  421. </define>
  422. <define name="config-config-item-map-entry">
  423. <element name="config:config-item-map-entry">
  424. <ref name="config-config-item-map-entry-attlist"/>
  425. <ref name="config-items"/>
  426. </element>
  427. </define>
  428. <define name="config-config-item-map-entry-attlist">
  429. <optional>
  430. <attribute name="config:name">
  431. <ref name="string"/>
  432. </attribute>
  433. </optional>
  434. </define>
  435. <define name="config-config-item-map-named">
  436. <element name="config:config-item-map-named">
  437. <ref name="config-config-item-map-named-attlist"/>
  438. <oneOrMore>
  439. <ref name="config-config-item-map-entry"/>
  440. </oneOrMore>
  441. </element>
  442. </define>
  443. <define name="config-config-item-map-named-attlist">
  444. <attribute name="config:name">
  445. <ref name="string"/>
  446. </attribute>
  447. </define>
  448. <define name="office-scripts">
  449. <optional>
  450. <element name="office:scripts">
  451. <zeroOrMore>
  452. <ref name="office-script"/>
  453. </zeroOrMore>
  454. <optional>
  455. <ref name="office-event-listeners"/>
  456. </optional>
  457. </element>
  458. </optional>
  459. </define>
  460. <define name="office-script">
  461. <element name="office:script">
  462. <ref name="office-script-attlist"/>
  463. <mixed>
  464. <ref name="anyElements"/>
  465. </mixed>
  466. </element>
  467. </define>
  468. <define name="office-script-attlist">
  469. <attribute name="script:language">
  470. <ref name="string"/>
  471. </attribute>
  472. </define>
  473. <define name="office-font-face-decls">
  474. <optional>
  475. <element name="office:font-face-decls">
  476. <zeroOrMore>
  477. <ref name="style-font-face"/>
  478. </zeroOrMore>
  479. </element>
  480. </optional>
  481. </define>
  482. <define name="office-styles">
  483. <optional>
  484. <element name="office:styles">
  485. <interleave>
  486. <ref name="styles"/>
  487. <zeroOrMore>
  488. <ref name="style-default-style"/>
  489. </zeroOrMore>
  490. <optional>
  491. <ref name="style-default-page-layout"/>
  492. </optional>
  493. <optional>
  494. <ref name="text-outline-style"/>
  495. </optional>
  496. <zeroOrMore>
  497. <ref name="text-notes-configuration"/>
  498. </zeroOrMore>
  499. <optional>
  500. <ref name="text-bibliography-configuration"/>
  501. </optional>
  502. <optional>
  503. <ref name="text-linenumbering-configuration"/>
  504. </optional>
  505. <zeroOrMore>
  506. <ref name="draw-gradient"/>
  507. </zeroOrMore>
  508. <zeroOrMore>
  509. <ref name="svg-linearGradient"/>
  510. </zeroOrMore>
  511. <zeroOrMore>
  512. <ref name="svg-radialGradient"/>
  513. </zeroOrMore>
  514. <zeroOrMore>
  515. <ref name="draw-hatch"/>
  516. </zeroOrMore>
  517. <zeroOrMore>
  518. <ref name="draw-fill-image"/>
  519. </zeroOrMore>
  520. <zeroOrMore>
  521. <ref name="draw-marker"/>
  522. </zeroOrMore>
  523. <zeroOrMore>
  524. <ref name="draw-stroke-dash"/>
  525. </zeroOrMore>
  526. <zeroOrMore>
  527. <ref name="draw-opacity"/>
  528. </zeroOrMore>
  529. <zeroOrMore>
  530. <ref name="style-presentation-page-layout"/>
  531. </zeroOrMore>
  532. <zeroOrMore>
  533. <ref name="table-table-template"/>
  534. </zeroOrMore>
  535. </interleave>
  536. </element>
  537. </optional>
  538. </define>
  539. <define name="office-automatic-styles">
  540. <optional>
  541. <element name="office:automatic-styles">
  542. <interleave>
  543. <ref name="styles"/>
  544. <zeroOrMore>
  545. <ref name="style-page-layout"/>
  546. </zeroOrMore>
  547. </interleave>
  548. </element>
  549. </optional>
  550. </define>
  551. <define name="office-master-styles">
  552. <optional>
  553. <element name="office:master-styles">
  554. <interleave>
  555. <zeroOrMore>
  556. <ref name="style-master-page"/>
  557. </zeroOrMore>
  558. <optional>
  559. <ref name="style-handout-master"/>
  560. </optional>
  561. <optional>
  562. <ref name="draw-layer-set"/>
  563. </optional>
  564. </interleave>
  565. </element>
  566. </optional>
  567. </define>
  568. <define name="styles">
  569. <interleave>
  570. <zeroOrMore>
  571. <ref name="style-style"/>
  572. </zeroOrMore>
  573. <zeroOrMore>
  574. <ref name="text-list-style"/>
  575. </zeroOrMore>
  576. <zeroOrMore>
  577. <ref name="number-number-style"/>
  578. </zeroOrMore>
  579. <zeroOrMore>
  580. <ref name="number-currency-style"/>
  581. </zeroOrMore>
  582. <zeroOrMore>
  583. <ref name="number-percentage-style"/>
  584. </zeroOrMore>
  585. <zeroOrMore>
  586. <ref name="number-date-style"/>
  587. </zeroOrMore>
  588. <zeroOrMore>
  589. <ref name="number-time-style"/>
  590. </zeroOrMore>
  591. <zeroOrMore>
  592. <ref name="number-boolean-style"/>
  593. </zeroOrMore>
  594. <zeroOrMore>
  595. <ref name="number-text-style"/>
  596. </zeroOrMore>
  597. </interleave>
  598. </define>
  599. <define name="office-meta-data">
  600. <choice>
  601. <element name="meta:generator">
  602. <ref name="string"/>
  603. </element>
  604. <element name="dc:title">
  605. <ref name="string"/>
  606. </element>
  607. <element name="dc:description">
  608. <ref name="string"/>
  609. </element>
  610. <element name="dc:subject">
  611. <ref name="string"/>
  612. </element>
  613. <element name="meta:keyword">
  614. <ref name="string"/>
  615. </element>
  616. <element name="meta:initial-creator">
  617. <ref name="string"/>
  618. </element>
  619. <ref name="dc-creator"/>
  620. <element name="meta:printed-by">
  621. <ref name="string"/>
  622. </element>
  623. <element name="meta:creation-date">
  624. <ref name="dateTime"/>
  625. </element>
  626. <ref name="dc-date"/>
  627. <element name="meta:print-date">
  628. <ref name="dateTime"/>
  629. </element>
  630. <element name="meta:template">
  631. <attribute name="xlink:type">
  632. <value>simple</value>
  633. </attribute>
  634. <attribute name="xlink:href">
  635. <ref name="anyIRI"/>
  636. </attribute>
  637. <optional>
  638. <attribute name="xlink:actuate">
  639. <value>onRequest</value>
  640. </attribute>
  641. </optional>
  642. <optional>
  643. <attribute name="xlink:title">
  644. <ref name="string"/>
  645. </attribute>
  646. </optional>
  647. <optional>
  648. <attribute name="meta:date">
  649. <ref name="dateTime"/>
  650. </attribute>
  651. </optional>
  652. </element>
  653. <element name="meta:auto-reload">
  654. <optional>
  655. <attribute name="xlink:type">
  656. <value>simple</value>
  657. </attribute>
  658. <attribute name="xlink:href">
  659. <ref name="anyIRI"/>
  660. </attribute>
  661. <optional>
  662. <attribute name="xlink:show">
  663. <value>replace</value>
  664. </attribute>
  665. </optional>
  666. <optional>
  667. <attribute name="xlink:actuate">
  668. <value>onLoad</value>
  669. </attribute>
  670. </optional>
  671. </optional>
  672. <optional>
  673. <attribute name="meta:delay">
  674. <ref name="duration"/>
  675. </attribute>
  676. </optional>
  677. </element>
  678. <element name="meta:hyperlink-behaviour">
  679. <optional>
  680. <attribute name="office:target-frame-name">
  681. <ref name="targetFrameName"/>
  682. </attribute>
  683. </optional>
  684. <optional>
  685. <attribute name="xlink:show">
  686. <choice>
  687. <value>new</value>
  688. <value>replace</value>
  689. </choice>
  690. </attribute>
  691. </optional>
  692. </element>
  693. <element name="dc:language">
  694. <ref name="language"/>
  695. </element>
  696. <element name="meta:editing-cycles">
  697. <ref name="nonNegativeInteger"/>
  698. </element>
  699. <element name="meta:editing-duration">
  700. <ref name="duration"/>
  701. </element>
  702. <element name="meta:document-statistic">
  703. <optional>
  704. <attribute name="meta:page-count">
  705. <ref name="nonNegativeInteger"/>
  706. </attribute>
  707. </optional>
  708. <optional>
  709. <attribute name="meta:table-count">
  710. <ref name="nonNegativeInteger"/>
  711. </attribute>
  712. </optional>
  713. <optional>
  714. <attribute name="meta:draw-count">
  715. <ref name="nonNegativeInteger"/>
  716. </attribute>
  717. </optional>
  718. <optional>
  719. <attribute name="meta:image-count">
  720. <ref name="nonNegativeInteger"/>
  721. </attribute>
  722. </optional>
  723. <optional>
  724. <attribute name="meta:ole-object-count">
  725. <ref name="nonNegativeInteger"/>
  726. </attribute>
  727. </optional>
  728. <optional>
  729. <attribute name="meta:object-count">
  730. <ref name="nonNegativeInteger"/>
  731. </attribute>
  732. </optional>
  733. <optional>
  734. <attribute name="meta:paragraph-count">
  735. <ref name="nonNegativeInteger"/>
  736. </attribute>
  737. </optional>
  738. <optional>
  739. <attribute name="meta:word-count">
  740. <ref name="nonNegativeInteger"/>
  741. </attribute>
  742. </optional>
  743. <optional>
  744. <attribute name="meta:character-count">
  745. <ref name="nonNegativeInteger"/>
  746. </attribute>
  747. </optional>
  748. <optional>
  749. <attribute name="meta:frame-count">
  750. <ref name="nonNegativeInteger"/>
  751. </attribute>
  752. </optional>
  753. <optional>
  754. <attribute name="meta:sentence-count">
  755. <ref name="nonNegativeInteger"/>
  756. </attribute>
  757. </optional>
  758. <optional>
  759. <attribute name="meta:syllable-count">
  760. <ref name="nonNegativeInteger"/>
  761. </attribute>
  762. </optional>
  763. <optional>
  764. <attribute name="meta:non-whitespace-character-count">
  765. <ref name="nonNegativeInteger"/>
  766. </attribute>
  767. </optional>
  768. <optional>
  769. <attribute name="meta:row-count">
  770. <ref name="nonNegativeInteger"/>
  771. </attribute>
  772. </optional>
  773. <optional>
  774. <attribute name="meta:cell-count">
  775. <ref name="nonNegativeInteger"/>
  776. </attribute>
  777. </optional>
  778. </element>
  779. <element name="meta:user-defined">
  780. <attribute name="meta:name">
  781. <ref name="string"/>
  782. </attribute>
  783. <choice>
  784. <group>
  785. <attribute name="meta:value-type">
  786. <value>float</value>
  787. </attribute>
  788. <ref name="double"/>
  789. </group>
  790. <group>
  791. <attribute name="meta:value-type">
  792. <value>date</value>
  793. </attribute>
  794. <ref name="dateOrDateTime"/>
  795. </group>
  796. <group>
  797. <attribute name="meta:value-type">
  798. <value>time</value>
  799. </attribute>
  800. <ref name="duration"/>
  801. </group>
  802. <group>
  803. <attribute name="meta:value-type">
  804. <value>boolean</value>
  805. </attribute>
  806. <ref name="boolean"/>
  807. </group>
  808. <group>
  809. <attribute name="meta:value-type">
  810. <value>string</value>
  811. </attribute>
  812. <ref name="string"/>
  813. </group>
  814. <text/>
  815. </choice>
  816. </element>
  817. </choice>
  818. </define>
  819. <define name="dc-creator">
  820. <element name="dc:creator">
  821. <ref name="string"/>
  822. </element>
  823. </define>
  824. <define name="dc-date">
  825. <element name="dc:date">
  826. <ref name="dateTime"/>
  827. </element>
  828. </define>
  829. <define name="text-h">
  830. <element name="text:h">
  831. <ref name="heading-attrs"/>
  832. <ref name="paragraph-attrs"/>
  833. <optional>
  834. <ref name="text-number"/>
  835. </optional>
  836. <zeroOrMore>
  837. <ref name="paragraph-content-or-hyperlink"/>
  838. </zeroOrMore>
  839. </element>
  840. </define>
  841. <define name="heading-attrs">
  842. <interleave>
  843. <attribute name="text:outline-level">
  844. <ref name="positiveInteger"/>
  845. </attribute>
  846. <optional>
  847. <attribute name="text:restart-numbering">
  848. <ref name="boolean"/>
  849. </attribute>
  850. </optional>
  851. <optional>
  852. <attribute name="text:start-value">
  853. <ref name="nonNegativeInteger"/>
  854. </attribute>
  855. </optional>
  856. <optional>
  857. <attribute name="text:is-list-header">
  858. <ref name="boolean"/>
  859. </attribute>
  860. </optional>
  861. </interleave>
  862. </define>
  863. <define name="text-number">
  864. <element name="text:number">
  865. <ref name="string"/>
  866. </element>
  867. </define>
  868. <define name="text-p">
  869. <element name="text:p">
  870. <ref name="paragraph-attrs"/>
  871. <zeroOrMore>
  872. <ref name="paragraph-content-or-hyperlink"/>
  873. </zeroOrMore>
  874. </element>
  875. </define>
  876. <define name="paragraph-attrs">
  877. <interleave>
  878. <optional>
  879. <attribute name="text:style-name">
  880. <ref name="styleNameRef"/>
  881. </attribute>
  882. </optional>
  883. <optional>
  884. <attribute name="text:class-names">
  885. <ref name="styleNameRefs"/>
  886. </attribute>
  887. </optional>
  888. <optional>
  889. <attribute name="text:cond-style-name">
  890. <ref name="styleNameRef"/>
  891. </attribute>
  892. </optional>
  893. <optional>
  894. <group>
  895. <ref name="xml-id"/>
  896. <optional>
  897. <attribute name="text:id">
  898. <ref name="NCName"/>
  899. </attribute>
  900. </optional>
  901. </group>
  902. </optional>
  903. <optional>
  904. <ref name="common-in-content-meta-attlist"/>
  905. </optional>
  906. </interleave>
  907. </define>
  908. <define name="text-page-sequence">
  909. <element name="text:page-sequence">
  910. <oneOrMore>
  911. <ref name="text-page"/>
  912. </oneOrMore>
  913. </element>
  914. </define>
  915. <define name="text-page">
  916. <element name="text:page">
  917. <ref name="text-page-attlist"/>
  918. <empty/>
  919. </element>
  920. </define>
  921. <define name="text-page-attlist">
  922. <attribute name="text:master-page-name">
  923. <ref name="styleNameRef"/>
  924. </attribute>
  925. </define>
  926. <define name="text-list">
  927. <element name="text:list">
  928. <ref name="text-list-attr"/>
  929. <optional>
  930. <ref name="text-list-header"/>
  931. </optional>
  932. <zeroOrMore>
  933. <ref name="text-list-item"/>
  934. </zeroOrMore>
  935. </element>
  936. </define>
  937. <define name="text-list-attr">
  938. <interleave>
  939. <optional>
  940. <attribute name="text:style-name">
  941. <ref name="styleNameRef"/>
  942. </attribute>
  943. </optional>
  944. <optional>
  945. <attribute name="text:continue-numbering">
  946. <ref name="boolean"/>
  947. </attribute>
  948. </optional>
  949. <optional>
  950. <attribute name="text:continue-list">
  951. <ref name="IDREF"/>
  952. </attribute>
  953. </optional>
  954. <optional>
  955. <ref name="xml-id"/>
  956. </optional>
  957. </interleave>
  958. </define>
  959. <define name="text-list-item">
  960. <element name="text:list-item">
  961. <ref name="text-list-item-attr"/>
  962. <ref name="text-list-item-content"/>
  963. </element>
  964. </define>
  965. <define name="text-list-item-content">
  966. <optional>
  967. <ref name="text-number"/>
  968. </optional>
  969. <zeroOrMore>
  970. <choice>
  971. <ref name="text-p"/>
  972. <ref name="text-h"/>
  973. <ref name="text-list"/>
  974. <ref name="text-soft-page-break"/>
  975. </choice>
  976. </zeroOrMore>
  977. </define>
  978. <define name="text-list-item-attr">
  979. <interleave>
  980. <optional>
  981. <attribute name="text:start-value">
  982. <ref name="nonNegativeInteger"/>
  983. </attribute>
  984. </optional>
  985. <optional>
  986. <attribute name="text:style-override">
  987. <ref name="styleNameRef"/>
  988. </attribute>
  989. </optional>
  990. <optional>
  991. <ref name="xml-id"/>
  992. </optional>
  993. </interleave>
  994. </define>
  995. <define name="text-list-header">
  996. <element name="text:list-header">
  997. <ref name="text-list-header-attr"/>
  998. <ref name="text-list-item-content"/>
  999. </element>
  1000. </define>
  1001. <define name="text-list-header-attr">
  1002. <optional>
  1003. <ref name="xml-id"/>
  1004. </optional>
  1005. </define>
  1006. <define name="text-numbered-paragraph">
  1007. <element name="text:numbered-paragraph">
  1008. <ref name="text-numbered-paragraph-attr"/>
  1009. <optional>
  1010. <ref name="text-number"/>
  1011. </optional>
  1012. <choice>
  1013. <ref name="text-p"/>
  1014. <ref name="text-h"/>
  1015. </choice>
  1016. </element>
  1017. </define>
  1018. <define name="text-numbered-paragraph-attr">
  1019. <interleave>
  1020. <attribute name="text:list-id">
  1021. <ref name="NCName"/>
  1022. </attribute>
  1023. <optional>
  1024. <attribute name="text:level">
  1025. <ref name="positiveInteger"/>
  1026. </attribute>
  1027. </optional>
  1028. <optional>
  1029. <attribute name="text:style-name">
  1030. <ref name="styleNameRef"/>
  1031. </attribute>
  1032. <attribute name="text:continue-numbering">
  1033. <ref name="boolean"/>
  1034. </attribute>
  1035. <attribute name="text:start-value">
  1036. <ref name="nonNegativeInteger"/>
  1037. </attribute>
  1038. </optional>
  1039. <optional>
  1040. <ref name="xml-id"/>
  1041. </optional>
  1042. </interleave>
  1043. </define>
  1044. <define name="text-section">
  1045. <element name="text:section">
  1046. <ref name="text-section-attlist"/>
  1047. <choice>
  1048. <ref name="text-section-source"/>
  1049. <ref name="text-section-source-dde"/>
  1050. <empty/>
  1051. </choice>
  1052. <zeroOrMore>
  1053. <ref name="text-content"/>
  1054. </zeroOrMore>
  1055. </element>
  1056. </define>
  1057. <define name="text-section-attlist">
  1058. <interleave>
  1059. <ref name="common-section-attlist"/>
  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. </interleave>
  1078. </define>
  1079. <define name="common-section-attlist">
  1080. <interleave>
  1081. <optional>
  1082. <attribute name="text:style-name">
  1083. <ref name="styleNameRef"/>
  1084. </attribute>
  1085. </optional>
  1086. <attribute name="text:name">
  1087. <ref name="string"/>
  1088. </attribute>
  1089. <optional>
  1090. <attribute name="text:protected">
  1091. <ref name="boolean"/>
  1092. </attribute>
  1093. </optional>
  1094. <optional>
  1095. <attribute name="text:protection-key">
  1096. <ref name="string"/>
  1097. </attribute>
  1098. </optional>
  1099. <optional>
  1100. <attribute name="text:protection-key-digest-algorithm">
  1101. <ref name="anyIRI"/>
  1102. </attribute>
  1103. </optional>
  1104. <optional>
  1105. <ref name="xml-id"/>
  1106. </optional>
  1107. </interleave>
  1108. </define>
  1109. <define name="text-section-source">
  1110. <element name="text:section-source">
  1111. <ref name="text-section-source-attr"/>
  1112. </element>
  1113. </define>
  1114. <define name="text-section-source-attr">
  1115. <interleave>
  1116. <optional>
  1117. <attribute name="xlink:type">
  1118. <value>simple</value>
  1119. </attribute>
  1120. <attribute name="xlink:href">
  1121. <ref name="anyIRI"/>
  1122. </attribute>
  1123. <optional>
  1124. <attribute name="xlink:show">
  1125. <value>embed</value>
  1126. </attribute>
  1127. </optional>
  1128. </optional>
  1129. <optional>
  1130. <attribute name="text:section-name">
  1131. <ref name="string"/>
  1132. </attribute>
  1133. </optional>
  1134. <optional>
  1135. <attribute name="text:filter-name">
  1136. <ref name="string"/>
  1137. </attribute>
  1138. </optional>
  1139. </interleave>
  1140. </define>
  1141. <define name="text-section-source-dde">
  1142. <ref name="office-dde-source"/>
  1143. </define>
  1144. <define name="text-tracked-changes">
  1145. <optional>
  1146. <element name="text:tracked-changes">
  1147. <ref name="text-tracked-changes-attr"/>
  1148. <zeroOrMore>
  1149. <ref name="text-changed-region"/>
  1150. </zeroOrMore>
  1151. </element>
  1152. </optional>
  1153. </define>
  1154. <define name="text-tracked-changes-attr">
  1155. <optional>
  1156. <attribute name="text:track-changes">
  1157. <ref name="boolean"/>
  1158. </attribute>
  1159. </optional>
  1160. </define>
  1161. <define name="text-changed-region">
  1162. <element name="text:changed-region">
  1163. <ref name="text-changed-region-attr"/>
  1164. <ref name="text-changed-region-content"/>
  1165. </element>
  1166. </define>
  1167. <define name="text-changed-region-attr">
  1168. <group>
  1169. <ref name="xml-id"/>
  1170. <optional>
  1171. <attribute name="text:id">
  1172. <ref name="NCName"/>
  1173. </attribute>
  1174. </optional>
  1175. </group>
  1176. </define>
  1177. <define name="text-changed-region-content">
  1178. <choice>
  1179. <element name="text:insertion">
  1180. <ref name="office-change-info"/>
  1181. </element>
  1182. <element name="text:deletion">
  1183. <ref name="office-change-info"/>
  1184. <zeroOrMore>
  1185. <ref name="text-content"/>
  1186. </zeroOrMore>
  1187. </element>
  1188. <element name="text:format-change">
  1189. <ref name="office-change-info"/>
  1190. </element>
  1191. </choice>
  1192. </define>
  1193. <define name="change-marks">
  1194. <choice>
  1195. <element name="text:change">
  1196. <ref name="change-mark-attr"/>
  1197. </element>
  1198. <element name="text:change-start">
  1199. <ref name="change-mark-attr"/>
  1200. </element>
  1201. <element name="text:change-end">
  1202. <ref name="change-mark-attr"/>
  1203. </element>
  1204. </choice>
  1205. </define>
  1206. <define name="change-mark-attr">
  1207. <attribute name="text:change-id">
  1208. <ref name="IDREF"/>
  1209. </attribute>
  1210. </define>
  1211. <define name="text-soft-page-break">
  1212. <element name="text:soft-page-break">
  1213. <empty/>
  1214. </element>
  1215. </define>
  1216. <define name="text-decls">
  1217. <optional>
  1218. <element name="text:variable-decls">
  1219. <zeroOrMore>
  1220. <ref name="text-variable-decl"/>
  1221. </zeroOrMore>
  1222. </element>
  1223. </optional>
  1224. <optional>
  1225. <element name="text:sequence-decls">
  1226. <zeroOrMore>
  1227. <ref name="text-sequence-decl"/>
  1228. </zeroOrMore>
  1229. </element>
  1230. </optional>
  1231. <optional>
  1232. <element name="text:user-field-decls">
  1233. <zeroOrMore>
  1234. <ref name="text-user-field-decl"/>
  1235. </zeroOrMore>
  1236. </element>
  1237. </optional>
  1238. <optional>
  1239. <element name="text:dde-connection-decls">
  1240. <zeroOrMore>
  1241. <ref name="text-dde-connection-decl"/>
  1242. </zeroOrMore>
  1243. </element>
  1244. </optional>
  1245. <optional>
  1246. <ref name="text-alphabetical-index-auto-mark-file"/>
  1247. </optional>
  1248. </define>
  1249. <define name="paragraph-content-or-hyperlink">
  1250. <choice>
  1251. <ref name="paragraph-content"/>
  1252. <ref name="text-a"/>
  1253. </choice>
  1254. </define>
  1255. <define name="paragraph-content">
  1256. <choice>
  1257. <text/>
  1258. <element name="text:s">
  1259. <optional>
  1260. <attribute name="text:c">
  1261. <ref name="nonNegativeInteger"/>
  1262. </attribute>
  1263. </optional>
  1264. </element>
  1265. <element name="text:tab">
  1266. <ref name="text-tab-attr"/>
  1267. </element>
  1268. <element name="text:line-break">
  1269. <empty/>
  1270. </element>
  1271. <ref name="text-soft-page-break"/>
  1272. <element name="text:span">
  1273. <optional>
  1274. <attribute name="text:style-name">
  1275. <ref name="styleNameRef"/>
  1276. </attribute>
  1277. </optional>
  1278. <optional>
  1279. <attribute name="text:class-names">
  1280. <ref name="styleNameRefs"/>
  1281. </attribute>
  1282. </optional>
  1283. <zeroOrMore>
  1284. <ref name="paragraph-content-or-hyperlink"/>
  1285. </zeroOrMore>
  1286. </element>
  1287. <element name="text:meta">
  1288. <ref name="text-meta-attlist"/>
  1289. <zeroOrMore>
  1290. <ref name="paragraph-content-or-hyperlink"/>
  1291. </zeroOrMore>
  1292. </element>
  1293. <choice>
  1294. <ref name="text-bookmark"/>
  1295. <ref name="text-bookmark-start"/>
  1296. <ref name="text-bookmark-end"/>
  1297. </choice>
  1298. <element name="text:reference-mark">
  1299. <attribute name="text:name">
  1300. <ref name="string"/>
  1301. </attribute>
  1302. </element>
  1303. <choice>
  1304. <element name="text:reference-mark-start">
  1305. <attribute name="text:name">
  1306. <ref name="string"/>
  1307. </attribute>
  1308. </element>
  1309. <element name="text:reference-mark-end">
  1310. <attribute name="text:name">
  1311. <ref name="string"/>
  1312. </attribute>
  1313. </element>
  1314. </choice>
  1315. <element name="text:note">
  1316. <ref name="text-note-class"/>
  1317. <optional>
  1318. <attribute name="text:id">
  1319. <ref name="string"/>
  1320. </attribute>
  1321. </optional>
  1322. <element name="text:note-citation">
  1323. <optional>
  1324. <attribute name="text:label">
  1325. <ref name="string"/>
  1326. </attribute>
  1327. </optional>
  1328. <text/>
  1329. </element>
  1330. <element name="text:note-body">
  1331. <zeroOrMore>
  1332. <ref name="text-content"/>
  1333. </zeroOrMore>
  1334. </element>
  1335. </element>
  1336. <element name="text:ruby">
  1337. <optional>
  1338. <attribute name="text:style-name">
  1339. <ref name="styleNameRef"/>
  1340. </attribute>
  1341. </optional>
  1342. <element name="text:ruby-base">
  1343. <zeroOrMore>
  1344. <ref name="paragraph-content-or-hyperlink"/>
  1345. </zeroOrMore>
  1346. </element>
  1347. <element name="text:ruby-text">
  1348. <optional>
  1349. <attribute name="text:style-name">
  1350. <ref name="styleNameRef"/>
  1351. </attribute>
  1352. </optional>
  1353. <text/>
  1354. </element>
  1355. </element>
  1356. <choice>
  1357. <ref name="office-annotation"/>
  1358. <ref name="office-annotation-end"/>
  1359. </choice>
  1360. <ref name="change-marks"/>
  1361. <ref name="shape"/>
  1362. <element name="text:date">
  1363. <ref name="text-date-attlist"/>
  1364. <text/>
  1365. </element>
  1366. <element name="text:time">
  1367. <ref name="text-time-attlist"/>
  1368. <text/>
  1369. </element>
  1370. <element name="text:page-number">
  1371. <ref name="text-page-number-attlist"/>
  1372. <text/>
  1373. </element>
  1374. <element name="text:page-continuation">
  1375. <ref name="text-page-continuation-attlist"/>
  1376. <text/>
  1377. </element>
  1378. <element name="text:sender-firstname">
  1379. <ref name="common-field-fixed-attlist"/>
  1380. <text/>
  1381. </element>
  1382. <element name="text:sender-lastname">
  1383. <ref name="common-field-fixed-attlist"/>
  1384. <text/>
  1385. </element>
  1386. <element name="text:sender-initials">
  1387. <ref name="common-field-fixed-attlist"/>
  1388. <text/>
  1389. </element>
  1390. <element name="text:sender-title">
  1391. <ref name="common-field-fixed-attlist"/>
  1392. <text/>
  1393. </element>
  1394. <element name="text:sender-position">
  1395. <ref name="common-field-fixed-attlist"/>
  1396. <text/>
  1397. </element>
  1398. <element name="text:sender-email">
  1399. <ref name="common-field-fixed-attlist"/>
  1400. <text/>
  1401. </element>
  1402. <element name="text:sender-phone-private">
  1403. <ref name="common-field-fixed-attlist"/>
  1404. <text/>
  1405. </element>
  1406. <element name="text:sender-fax">
  1407. <ref name="common-field-fixed-attlist"/>
  1408. <text/>
  1409. </element>
  1410. <element name="text:sender-company">
  1411. <ref name="common-field-fixed-attlist"/>
  1412. <text/>
  1413. </element>
  1414. <element name="text:sender-phone-work">
  1415. <ref name="common-field-fixed-attlist"/>
  1416. <text/>
  1417. </element>
  1418. <element name="text:sender-street">
  1419. <ref name="common-field-fixed-attlist"/>
  1420. <text/>
  1421. </element>
  1422. <element name="text:sender-city">
  1423. <ref name="common-field-fixed-attlist"/>
  1424. <text/>
  1425. </element>
  1426. <element name="text:sender-postal-code">
  1427. <ref name="common-field-fixed-attlist"/>
  1428. <text/>
  1429. </element>
  1430. <element name="text:sender-country">
  1431. <ref name="common-field-fixed-attlist"/>
  1432. <text/>
  1433. </element>
  1434. <element name="text:sender-state-or-province">
  1435. <ref name="common-field-fixed-attlist"/>
  1436. <text/>
  1437. </element>
  1438. <element name="text:author-name">
  1439. <ref name="common-field-fixed-attlist"/>
  1440. <text/>
  1441. </element>
  1442. <element name="text:author-initials">
  1443. <ref name="common-field-fixed-attlist"/>
  1444. <text/>
  1445. </element>
  1446. <element name="text:chapter">
  1447. <ref name="text-chapter-attlist"/>
  1448. <text/>
  1449. </element>
  1450. <element name="text:file-name">
  1451. <ref name="text-file-name-attlist"/>
  1452. <text/>
  1453. </element>
  1454. <element name="text:template-name">
  1455. <ref name="text-template-name-attlist"/>
  1456. <text/>
  1457. </element>
  1458. <element name="text:sheet-name">
  1459. <text/>
  1460. </element>
  1461. <element name="text:variable-set">
  1462. <interleave>
  1463. <ref name="common-field-name-attlist"/>
  1464. <ref name="common-field-formula-attlist"/>
  1465. <ref name="common-value-and-type-attlist"/>
  1466. <ref name="common-field-display-value-none-attlist"/>
  1467. <ref name="common-field-data-style-name-attlist"/>
  1468. </interleave>
  1469. <text/>
  1470. </element>
  1471. <element name="text:variable-get">
  1472. <interleave>
  1473. <ref name="common-field-name-attlist"/>
  1474. <ref name="common-field-display-value-formula-attlist"/>
  1475. <ref name="common-field-data-style-name-attlist"/>
  1476. </interleave>
  1477. <text/>
  1478. </element>
  1479. <element name="text:variable-input">
  1480. <interleave>
  1481. <ref name="common-field-name-attlist"/>
  1482. <ref name="common-field-description-attlist"/>
  1483. <ref name="common-value-type-attlist"/>
  1484. <ref name="common-field-display-value-none-attlist"/>
  1485. <ref name="common-field-data-style-name-attlist"/>
  1486. </interleave>
  1487. <text/>
  1488. </element>
  1489. <element name="text:user-field-get">
  1490. <interleave>
  1491. <ref name="common-field-name-attlist"/>
  1492. <ref name="common-field-display-value-formula-none-attlist"/>
  1493. <ref name="common-field-data-style-name-attlist"/>
  1494. </interleave>
  1495. <text/>
  1496. </element>
  1497. <element name="text:user-field-input">
  1498. <interleave>
  1499. <ref name="common-field-name-attlist"/>
  1500. <ref name="common-field-description-attlist"/>
  1501. <ref name="common-field-data-style-name-attlist"/>
  1502. </interleave>
  1503. <text/>
  1504. </element>
  1505. <element name="text:sequence">
  1506. <interleave>
  1507. <ref name="common-field-name-attlist"/>
  1508. <ref name="common-field-formula-attlist"/>
  1509. <ref name="common-field-num-format-attlist"/>
  1510. <ref name="text-sequence-ref-name"/>
  1511. </interleave>
  1512. <text/>
  1513. </element>
  1514. <element name="text:expression">
  1515. <interleave>
  1516. <ref name="common-field-formula-attlist"/>
  1517. <optional>
  1518. <ref name="common-value-and-type-attlist"/>
  1519. </optional>
  1520. <ref name="common-field-display-value-formula-attlist"/>
  1521. <ref name="common-field-data-style-name-attlist"/>
  1522. </interleave>
  1523. <text/>
  1524. </element>
  1525. <element name="text:text-input">
  1526. <ref name="common-field-description-attlist"/>
  1527. <text/>
  1528. </element>
  1529. <element name="text:initial-creator">
  1530. <ref name="common-field-fixed-attlist"/>
  1531. <text/>
  1532. </element>
  1533. <element name="text:creation-date">
  1534. <interleave>
  1535. <ref name="common-field-fixed-attlist"/>
  1536. <ref name="common-field-data-style-name-attlist"/>
  1537. <optional>
  1538. <attribute name="text:date-value">
  1539. <ref name="dateOrDateTime"/>
  1540. </attribute>
  1541. </optional>
  1542. </interleave>
  1543. <text/>
  1544. </element>
  1545. <element name="text:creation-time">
  1546. <interleave>
  1547. <ref name="common-field-fixed-attlist"/>
  1548. <ref name="common-field-data-style-name-attlist"/>
  1549. <optional>
  1550. <attribute name="text:time-value">
  1551. <ref name="timeOrDateTime"/>
  1552. </attribute>
  1553. </optional>
  1554. </interleave>
  1555. <text/>
  1556. </element>
  1557. <element name="text:description">
  1558. <ref name="common-field-fixed-attlist"/>
  1559. <text/>
  1560. </element>
  1561. <element name="text:user-defined">
  1562. <interleave>
  1563. <ref name="common-field-fixed-attlist"/>
  1564. <attribute name="text:name">
  1565. <ref name="string"/>
  1566. </attribute>
  1567. <ref name="common-field-data-style-name-attlist"/>
  1568. <optional>
  1569. <attribute name="office:value">
  1570. <ref name="double"/>
  1571. </attribute>
  1572. </optional>
  1573. <optional>
  1574. <attribute name="office:date-value">
  1575. <ref name="dateOrDateTime"/>
  1576. </attribute>
  1577. </optional>
  1578. <optional>
  1579. <attribute name="office:time-value">
  1580. <ref name="duration"/>
  1581. </attribute>
  1582. </optional>
  1583. <optional>
  1584. <attribute name="office:boolean-value">
  1585. <ref name="boolean"/>
  1586. </attribute>
  1587. </optional>
  1588. <optional>
  1589. <attribute name="office:string-value">
  1590. <ref name="string"/>
  1591. </attribute>
  1592. </optional>
  1593. </interleave>
  1594. <text/>
  1595. </element>
  1596. <element name="text:print-time">
  1597. <interleave>
  1598. <ref name="common-field-fixed-attlist"/>
  1599. <ref name="common-field-data-style-name-attlist"/>
  1600. <optional>
  1601. <attribute name="text:time-value">
  1602. <ref name="time"/>
  1603. </attribute>
  1604. </optional>
  1605. </interleave>
  1606. <text/>
  1607. </element>
  1608. <element name="text:print-date">
  1609. <interleave>
  1610. <ref name="common-field-fixed-attlist"/>
  1611. <ref name="common-field-data-style-name-attlist"/>
  1612. <optional>
  1613. <attribute name="text:date-value">
  1614. <ref name="date"/>
  1615. </attribute>
  1616. </optional>
  1617. </interleave>
  1618. <text/>
  1619. </element>
  1620. <element name="text:printed-by">
  1621. <ref name="common-field-fixed-attlist"/>
  1622. <text/>
  1623. </element>
  1624. <element name="text:title">
  1625. <ref name="common-field-fixed-attlist"/>
  1626. <text/>
  1627. </element>
  1628. <element name="text:subject">
  1629. <ref name="common-field-fixed-attlist"/>
  1630. <text/>
  1631. </element>
  1632. <element name="text:keywords">
  1633. <ref name="common-field-fixed-attlist"/>
  1634. <text/>
  1635. </element>
  1636. <element name="text:editing-cycles">
  1637. <ref name="common-field-fixed-attlist"/>
  1638. <text/>
  1639. </element>
  1640. <element name="text:editing-duration">
  1641. <interleave>
  1642. <ref name="common-field-fixed-attlist"/>
  1643. <ref name="common-field-data-style-name-attlist"/>
  1644. <optional>
  1645. <attribute name="text:duration">
  1646. <ref name="duration"/>
  1647. </attribute>
  1648. </optional>
  1649. </interleave>
  1650. <text/>
  1651. </element>
  1652. <element name="text:modification-time">
  1653. <interleave>
  1654. <ref name="common-field-fixed-attlist"/>
  1655. <ref name="common-field-data-style-name-attlist"/>
  1656. <optional>
  1657. <attribute name="text:time-value">
  1658. <ref name="time"/>
  1659. </attribute>
  1660. </optional>
  1661. </interleave>
  1662. <text/>
  1663. </element>
  1664. <element name="text:modification-date">
  1665. <interleave>
  1666. <ref name="common-field-fixed-attlist"/>
  1667. <ref name="common-field-data-style-name-attlist"/>
  1668. <optional>
  1669. <attribute name="text:date-value">
  1670. <ref name="date"/>
  1671. </attribute>
  1672. </optional>
  1673. </interleave>
  1674. <text/>
  1675. </element>
  1676. <element name="text:creator">
  1677. <ref name="common-field-fixed-attlist"/>
  1678. <text/>
  1679. </element>
  1680. <element>
  1681. <choice>
  1682. <name>text:page-count</name>
  1683. <name>text:paragraph-count</name>
  1684. <name>text:word-count</name>
  1685. <name>text:character-count</name>
  1686. <name>text:table-count</name>
  1687. <name>text:image-count</name>
  1688. <name>text:object-count</name>
  1689. </choice>
  1690. <ref name="common-field-num-format-attlist"/>
  1691. <text/>
  1692. </element>
  1693. <element name="text:database-display">
  1694. <ref name="text-database-display-attlist"/>
  1695. <text/>
  1696. </element>
  1697. <element name="text:database-next">
  1698. <ref name="text-database-next-attlist"/>
  1699. </element>
  1700. <element name="text:database-row-select">
  1701. <ref name="text-database-row-select-attlist"/>
  1702. </element>
  1703. <element name="text:database-row-number">
  1704. <interleave>
  1705. <ref name="common-field-database-table"/>
  1706. <ref name="common-field-num-format-attlist"/>
  1707. <optional>
  1708. <attribute name="text:value">
  1709. <ref name="nonNegativeInteger"/>
  1710. </attribute>
  1711. </optional>
  1712. </interleave>
  1713. <text/>
  1714. </element>
  1715. <element name="text:database-name">
  1716. <ref name="common-field-database-table"/>
  1717. <text/>
  1718. </element>
  1719. <element name="text:page-variable-set">
  1720. <ref name="text-set-page-variable-attlist"/>
  1721. <text/>
  1722. </element>
  1723. <element name="text:page-variable-get">
  1724. <ref name="text-get-page-variable-attlist"/>
  1725. <text/>
  1726. </element>
  1727. <element name="text:placeholder">
  1728. <ref name="text-placeholder-attlist"/>
  1729. <text/>
  1730. </element>
  1731. <element name="text:conditional-text">
  1732. <ref name="text-conditional-text-attlist"/>
  1733. <text/>
  1734. </element>
  1735. <element name="text:hidden-text">
  1736. <ref name="text-hidden-text-attlist"/>
  1737. <text/>
  1738. </element>
  1739. <element>
  1740. <choice>
  1741. <name>text:reference-ref</name>
  1742. <name>text:bookmark-ref</name>
  1743. </choice>
  1744. <interleave>
  1745. <ref name="text-common-ref-content"/>
  1746. <ref name="text-bookmark-ref-content"/>
  1747. </interleave>
  1748. </element>
  1749. <element name="text:note-ref">
  1750. <interleave>
  1751. <ref name="text-common-ref-content"/>
  1752. <ref name="text-note-ref-content"/>
  1753. </interleave>
  1754. </element>
  1755. <element name="text:sequence-ref">
  1756. <interleave>
  1757. <ref name="text-common-ref-content"/>
  1758. <ref name="text-sequence-ref-content"/>
  1759. </interleave>
  1760. </element>
  1761. <element name="text:script">
  1762. <interleave>
  1763. <choice>
  1764. <group>
  1765. <attribute name="xlink:type">
  1766. <value>simple</value>
  1767. </attribute>
  1768. <attribute name="xlink:href">
  1769. <ref name="anyIRI"/>
  1770. </attribute>
  1771. </group>
  1772. <text/>
  1773. </choice>
  1774. <optional>
  1775. <attribute name="script:language">
  1776. <ref name="string"/>
  1777. </attribute>
  1778. </optional>
  1779. </interleave>
  1780. </element>
  1781. <element name="text:execute-macro">
  1782. <optional>
  1783. <attribute name="text:name">
  1784. <ref name="string"/>
  1785. </attribute>
  1786. </optional>
  1787. <optional>
  1788. <ref name="office-event-listeners"/>
  1789. </optional>
  1790. <text/>
  1791. </element>
  1792. <element name="text:hidden-paragraph">
  1793. <ref name="text-hidden-paragraph-attlist"/>
  1794. <text/>
  1795. </element>
  1796. <element name="text:dde-connection">
  1797. <attribute name="text:connection-name">
  1798. <ref name="string"/>
  1799. </attribute>
  1800. <text/>
  1801. </element>
  1802. <element name="text:measure">
  1803. <attribute name="text:kind">
  1804. <choice>
  1805. <value>value</value>
  1806. <value>unit</value>
  1807. <value>gap</value>
  1808. </choice>
  1809. </attribute>
  1810. <text/>
  1811. </element>
  1812. <element name="text:table-formula">
  1813. <interleave>
  1814. <ref name="common-field-formula-attlist"/>
  1815. <ref name="common-field-display-value-formula-attlist"/>
  1816. <ref name="common-field-data-style-name-attlist"/>
  1817. </interleave>
  1818. <text/>
  1819. </element>
  1820. <element name="text:meta-field">
  1821. <ref name="text-meta-field-attlist"/>
  1822. <zeroOrMore>
  1823. <ref name="paragraph-content-or-hyperlink"/>
  1824. </zeroOrMore>
  1825. </element>
  1826. <element name="text:toc-mark-start">
  1827. <ref name="text-toc-mark-start-attrs"/>
  1828. </element>
  1829. <element name="text:toc-mark-end">
  1830. <ref name="text-id"/>
  1831. </element>
  1832. <element name="text:toc-mark">
  1833. <attribute name="text:string-value">
  1834. <ref name="string"/>
  1835. </attribute>
  1836. <ref name="text-outline-level"/>
  1837. </element>
  1838. <element name="text:user-index-mark-start">
  1839. <ref name="text-id"/>
  1840. <ref name="text-outline-level"/>
  1841. <ref name="text-index-name"/>
  1842. </element>
  1843. <element name="text:user-index-mark-end">
  1844. <ref name="text-id"/>
  1845. </element>
  1846. <element name="text:user-index-mark">
  1847. <attribute name="text:string-value">
  1848. <ref name="string"/>
  1849. </attribute>
  1850. <ref name="text-outline-level"/>
  1851. <ref name="text-index-name"/>
  1852. </element>
  1853. <element name="text:alphabetical-index-mark-start">
  1854. <ref name="text-id"/>
  1855. <ref name="text-alphabetical-index-mark-attrs"/>
  1856. </element>
  1857. <element name="text:alphabetical-index-mark-end">
  1858. <ref name="text-id"/>
  1859. </element>
  1860. <element name="text:alphabetical-index-mark">
  1861. <attribute name="text:string-value">
  1862. <ref name="string"/>
  1863. </attribute>
  1864. <ref name="text-alphabetical-index-mark-attrs"/>
  1865. </element>
  1866. <element name="text:bibliography-mark">
  1867. <attribute name="text:bibliography-type">
  1868. <ref name="text-bibliography-types"/>
  1869. </attribute>
  1870. <zeroOrMore>
  1871. <attribute>
  1872. <choice>
  1873. <name>text:identifier</name>
  1874. <name>text:address</name>
  1875. <name>text:annote</name>
  1876. <name>text:author</name>
  1877. <name>text:booktitle</name>
  1878. <name>text:chapter</name>
  1879. <name>text:edition</name>
  1880. <name>text:editor</name>
  1881. <name>text:howpublished</name>
  1882. <name>text:institution</name>
  1883. <name>text:journal</name>
  1884. <name>text:month</name>
  1885. <name>text:note</name>
  1886. <name>text:number</name>
  1887. <name>text:organizations</name>
  1888. <name>text:pages</name>
  1889. <name>text:publisher</name>
  1890. <name>text:school</name>
  1891. <name>text:series</name>
  1892. <name>text:title</name>
  1893. <name>text:report-type</name>
  1894. <name>text:volume</name>
  1895. <name>text:year</name>
  1896. <name>text:url</name>
  1897. <name>text:custom1</name>
  1898. <name>text:custom2</name>
  1899. <name>text:custom3</name>
  1900. <name>text:custom4</name>
  1901. <name>text:custom5</name>
  1902. <name>text:isbn</name>
  1903. <name>text:issn</name>
  1904. </choice>
  1905. <ref name="string"/>
  1906. </attribute>
  1907. </zeroOrMore>
  1908. <text/>
  1909. </element>
  1910. <element name="presentation:header">
  1911. <empty/>
  1912. </element>
  1913. <element name="presentation:footer">
  1914. <empty/>
  1915. </element>
  1916. <element name="presentation:date-time">
  1917. <empty/>
  1918. </element>
  1919. </choice>
  1920. </define>
  1921. <define name="text-tab-attr">
  1922. <optional>
  1923. <attribute name="text:tab-ref">
  1924. <ref name="nonNegativeInteger"/>
  1925. </attribute>
  1926. </optional>
  1927. </define>
  1928. <define name="text-a">
  1929. <element name="text:a">
  1930. <ref name="text-a-attlist"/>
  1931. <optional>
  1932. <ref name="office-event-listeners"/>
  1933. </optional>
  1934. <zeroOrMore>
  1935. <ref name="paragraph-content"/>
  1936. </zeroOrMore>
  1937. </element>
  1938. </define>
  1939. <define name="text-a-attlist">
  1940. <interleave>
  1941. <optional>
  1942. <attribute name="office:name">
  1943. <ref name="string"/>
  1944. </attribute>
  1945. </optional>
  1946. <optional>
  1947. <attribute name="office:title">
  1948. <ref name="string"/>
  1949. </attribute>
  1950. </optional>
  1951. <attribute name="xlink:type">
  1952. <value>simple</value>
  1953. </attribute>
  1954. <attribute name="xlink:href">
  1955. <ref name="anyIRI"/>
  1956. </attribute>
  1957. <optional>
  1958. <attribute name="xlink:actuate">
  1959. <value>onRequest</value>
  1960. </attribute>
  1961. </optional>
  1962. <optional>
  1963. <attribute name="office:target-frame-name">
  1964. <ref name="targetFrameName"/>
  1965. </attribute>
  1966. </optional>
  1967. <optional>
  1968. <attribute name="xlink:show">
  1969. <choice>
  1970. <value>new</value>
  1971. <value>replace</value>
  1972. </choice>
  1973. </attribute>
  1974. </optional>
  1975. <optional>
  1976. <attribute name="text:style-name">
  1977. <ref name="styleNameRef"/>
  1978. </attribute>
  1979. </optional>
  1980. <optional>
  1981. <attribute name="text:visited-style-name">
  1982. <ref name="styleNameRef"/>
  1983. </attribute>
  1984. </optional>
  1985. </interleave>
  1986. </define>
  1987. <define name="text-meta-attlist">
  1988. <interleave>
  1989. <optional>
  1990. <ref name="common-in-content-meta-attlist"/>
  1991. </optional>
  1992. <optional>
  1993. <ref name="xml-id"/>
  1994. </optional>
  1995. </interleave>
  1996. </define>
  1997. <define name="text-bookmark">
  1998. <element name="text:bookmark">
  1999. <ref name="text-bookmark-attlist"/>
  2000. <empty/>
  2001. </element>
  2002. </define>
  2003. <define name="text-bookmark-start">
  2004. <element name="text:bookmark-start">
  2005. <ref name="text-bookmark-start-attlist"/>
  2006. <empty/>
  2007. </element>
  2008. </define>
  2009. <define name="text-bookmark-end">
  2010. <element name="text:bookmark-end">
  2011. <ref name="text-bookmark-end-attlist"/>
  2012. <empty/>
  2013. </element>
  2014. </define>
  2015. <define name="text-bookmark-attlist">
  2016. <interleave>
  2017. <attribute name="text:name">
  2018. <ref name="string"/>
  2019. </attribute>
  2020. <optional>
  2021. <ref name="xml-id"/>
  2022. </optional>
  2023. </interleave>
  2024. </define>
  2025. <define name="text-bookmark-start-attlist">
  2026. <interleave>
  2027. <attribute name="text:name">
  2028. <ref name="string"/>
  2029. </attribute>
  2030. <optional>
  2031. <ref name="xml-id"/>
  2032. </optional>
  2033. <optional>
  2034. <ref name="common-in-content-meta-attlist"/>
  2035. </optional>
  2036. </interleave>
  2037. </define>
  2038. <define name="text-bookmark-end-attlist">
  2039. <attribute name="text:name">
  2040. <ref name="string"/>
  2041. </attribute>
  2042. </define>
  2043. <define name="text-note-class">
  2044. <attribute name="text:note-class">
  2045. <choice>
  2046. <value>footnote</value>
  2047. <value>endnote</value>
  2048. </choice>
  2049. </attribute>
  2050. </define>
  2051. <define name="text-date-attlist">
  2052. <interleave>
  2053. <interleave>
  2054. <ref name="common-field-fixed-attlist"/>
  2055. <ref name="common-field-data-style-name-attlist"/>
  2056. </interleave>
  2057. <optional>
  2058. <attribute name="text:date-value">
  2059. <ref name="dateOrDateTime"/>
  2060. </attribute>
  2061. </optional>
  2062. <optional>
  2063. <attribute name="text:date-adjust">
  2064. <ref name="duration"/>
  2065. </attribute>
  2066. </optional>
  2067. </interleave>
  2068. </define>
  2069. <define name="text-time-attlist">
  2070. <interleave>
  2071. <interleave>
  2072. <ref name="common-field-fixed-attlist"/>
  2073. <ref name="common-field-data-style-name-attlist"/>
  2074. </interleave>
  2075. <optional>
  2076. <attribute name="text:time-value">
  2077. <ref name="timeOrDateTime"/>
  2078. </attribute>
  2079. </optional>
  2080. <optional>
  2081. <attribute name="text:time-adjust">
  2082. <ref name="duration"/>
  2083. </attribute>
  2084. </optional>
  2085. </interleave>
  2086. </define>
  2087. <define name="text-page-number-attlist">
  2088. <interleave>
  2089. <interleave>
  2090. <ref name="common-field-num-format-attlist"/>
  2091. <ref name="common-field-fixed-attlist"/>
  2092. </interleave>
  2093. <optional>
  2094. <attribute name="text:page-adjust">
  2095. <ref name="integer"/>
  2096. </attribute>
  2097. </optional>
  2098. <optional>
  2099. <attribute name="text:select-page">
  2100. <choice>
  2101. <value>previous</value>
  2102. <value>current</value>
  2103. <value>next</value>
  2104. </choice>
  2105. </attribute>
  2106. </optional>
  2107. </interleave>
  2108. </define>
  2109. <define name="text-page-continuation-attlist">
  2110. <interleave>
  2111. <attribute name="text:select-page">
  2112. <choice>
  2113. <value>previous</value>
  2114. <value>next</value>
  2115. </choice>
  2116. </attribute>
  2117. <optional>
  2118. <attribute name="text:string-value">
  2119. <ref name="string"/>
  2120. </attribute>
  2121. </optional>
  2122. </interleave>
  2123. </define>
  2124. <define name="text-chapter-attlist">
  2125. <interleave>
  2126. <attribute name="text:display">
  2127. <choice>
  2128. <value>name</value>
  2129. <value>number</value>
  2130. <value>number-and-name</value>
  2131. <value>plain-number-and-name</value>
  2132. <value>plain-number</value>
  2133. </choice>
  2134. </attribute>
  2135. <attribute name="text:outline-level">
  2136. <ref name="nonNegativeInteger"/>
  2137. </attribute>
  2138. </interleave>
  2139. </define>
  2140. <define name="text-file-name-attlist">
  2141. <interleave>
  2142. <optional>
  2143. <attribute name="text:display">
  2144. <choice>
  2145. <value>full</value>
  2146. <value>path</value>
  2147. <value>name</value>
  2148. <value>name-and-extension</value>
  2149. </choice>
  2150. </attribute>
  2151. </optional>
  2152. <ref name="common-field-fixed-attlist"/>
  2153. </interleave>
  2154. </define>
  2155. <define name="text-template-name-attlist">
  2156. <optional>
  2157. <attribute name="text:display">
  2158. <choice>
  2159. <value>full</value>
  2160. <value>path</value>
  2161. <value>name</value>
  2162. <value>name-and-extension</value>
  2163. <value>area</value>
  2164. <value>title</value>
  2165. </choice>
  2166. </attribute>
  2167. </optional>
  2168. </define>
  2169. <define name="text-variable-decl">
  2170. <element name="text:variable-decl">
  2171. <ref name="common-field-name-attlist"/>
  2172. <ref name="common-value-type-attlist"/>
  2173. </element>
  2174. </define>
  2175. <define name="text-user-field-decl">
  2176. <element name="text:user-field-decl">
  2177. <ref name="common-field-name-attlist"/>
  2178. <optional>
  2179. <ref name="common-field-formula-attlist"/>
  2180. </optional>
  2181. <ref name="common-value-and-type-attlist"/>
  2182. </element>
  2183. </define>
  2184. <define name="text-sequence-decl">
  2185. <element name="text:sequence-decl">
  2186. <ref name="text-sequence-decl-attlist"/>
  2187. </element>
  2188. </define>
  2189. <define name="text-sequence-decl-attlist">
  2190. <interleave>
  2191. <ref name="common-field-name-attlist"/>
  2192. <attribute name="text:display-outline-level">
  2193. <ref name="nonNegativeInteger"/>
  2194. </attribute>
  2195. <optional>
  2196. <attribute name="text:separation-character">
  2197. <ref name="character"/>
  2198. </attribute>
  2199. </optional>
  2200. </interleave>
  2201. </define>
  2202. <define name="text-sequence-ref-name">
  2203. <optional>
  2204. <attribute name="text:ref-name">
  2205. <ref name="string"/>
  2206. </attribute>
  2207. </optional>
  2208. </define>
  2209. <define name="common-field-database-table">
  2210. <ref name="common-field-database-table-attlist"/>
  2211. <ref name="common-field-database-name"/>
  2212. </define>
  2213. <define name="common-field-database-name">
  2214. <choice>
  2215. <optional>
  2216. <attribute name="text:database-name">
  2217. <ref name="string"/>
  2218. </attribute>
  2219. </optional>
  2220. <ref name="form-connection-resource"/>
  2221. </choice>
  2222. </define>
  2223. <define name="common-field-database-table-attlist">
  2224. <interleave>
  2225. <attribute name="text:table-name">
  2226. <ref name="string"/>
  2227. </attribute>
  2228. <optional>
  2229. <attribute name="text:table-type">
  2230. <choice>
  2231. <value>table</value>
  2232. <value>query</value>
  2233. <value>command</value>
  2234. </choice>
  2235. </attribute>
  2236. </optional>
  2237. </interleave>
  2238. </define>
  2239. <define name="text-database-display-attlist">
  2240. <interleave>
  2241. <ref name="common-field-database-table"/>
  2242. <ref name="common-field-data-style-name-attlist"/>
  2243. <attribute name="text:column-name">
  2244. <ref name="string"/>
  2245. </attribute>
  2246. </interleave>
  2247. </define>
  2248. <define name="text-database-next-attlist">
  2249. <interleave>
  2250. <ref name="common-field-database-table"/>
  2251. <optional>
  2252. <attribute name="text:condition">
  2253. <ref name="string"/>
  2254. </attribute>
  2255. </optional>
  2256. </interleave>
  2257. </define>
  2258. <define name="text-database-row-select-attlist">
  2259. <interleave>
  2260. <ref name="common-field-database-table"/>
  2261. <optional>
  2262. <attribute name="text:condition">
  2263. <ref name="string"/>
  2264. </attribute>
  2265. </optional>
  2266. <optional>
  2267. <attribute name="text:row-number">
  2268. <ref name="nonNegativeInteger"/>
  2269. </attribute>
  2270. </optional>
  2271. </interleave>
  2272. </define>
  2273. <define name="text-set-page-variable-attlist">
  2274. <interleave>
  2275. <optional>
  2276. <attribute name="text:active">
  2277. <ref name="boolean"/>
  2278. </attribute>
  2279. </optional>
  2280. <optional>
  2281. <attribute name="text:page-adjust">
  2282. <ref name="integer"/>
  2283. </attribute>
  2284. </optional>
  2285. </interleave>
  2286. </define>
  2287. <define name="text-get-page-variable-attlist">
  2288. <ref name="common-field-num-format-attlist"/>
  2289. </define>
  2290. <define name="text-placeholder-attlist">
  2291. <interleave>
  2292. <attribute name="text:placeholder-type">
  2293. <choice>
  2294. <value>text</value>
  2295. <value>table</value>
  2296. <value>text-box</value>
  2297. <value>image</value>
  2298. <value>object</value>
  2299. </choice>
  2300. </attribute>
  2301. <ref name="common-field-description-attlist"/>
  2302. </interleave>
  2303. </define>
  2304. <define name="text-conditional-text-attlist">
  2305. <interleave>
  2306. <attribute name="text:condition">
  2307. <ref name="string"/>
  2308. </attribute>
  2309. <attribute name="text:string-value-if-true">
  2310. <ref name="string"/>
  2311. </attribute>
  2312. <attribute name="text:string-value-if-false">
  2313. <ref name="string"/>
  2314. </attribute>
  2315. <optional>
  2316. <attribute name="text:current-value">
  2317. <ref name="boolean"/>
  2318. </attribute>
  2319. </optional>
  2320. </interleave>
  2321. </define>
  2322. <define name="text-hidden-text-attlist">
  2323. <interleave>
  2324. <attribute name="text:condition">
  2325. <ref name="string"/>
  2326. </attribute>
  2327. <attribute name="text:string-value">
  2328. <ref name="string"/>
  2329. </attribute>
  2330. <optional>
  2331. <attribute name="text:is-hidden">
  2332. <ref name="boolean"/>
  2333. </attribute>
  2334. </optional>
  2335. </interleave>
  2336. </define>
  2337. <define name="text-common-ref-content">
  2338. <interleave>
  2339. <text/>
  2340. <optional>
  2341. <attribute name="text:ref-name">
  2342. <ref name="string"/>
  2343. </attribute>
  2344. </optional>
  2345. </interleave>
  2346. </define>
  2347. <define name="text-bookmark-ref-content">
  2348. <optional>
  2349. <attribute name="text:reference-format">
  2350. <choice>
  2351. <ref name="common-ref-format-values"/>
  2352. <value>number-no-superior</value>
  2353. <value>number-all-superior</value>
  2354. <value>number</value>
  2355. </choice>
  2356. </attribute>
  2357. </optional>
  2358. </define>
  2359. <define name="text-note-ref-content">
  2360. <interleave>
  2361. <optional>
  2362. <attribute name="text:reference-format">
  2363. <choice>
  2364. <ref name="common-ref-format-values"/>
  2365. </choice>
  2366. </attribute>
  2367. </optional>
  2368. <ref name="text-note-class"/>
  2369. </interleave>
  2370. </define>
  2371. <define name="text-sequence-ref-content">
  2372. <optional>
  2373. <attribute name="text:reference-format">
  2374. <choice>
  2375. <ref name="common-ref-format-values"/>
  2376. <value>category-and-value</value>
  2377. <value>caption</value>
  2378. <value>value</value>
  2379. </choice>
  2380. </attribute>
  2381. </optional>
  2382. </define>
  2383. <define name="common-ref-format-values">
  2384. <choice>
  2385. <value>page</value>
  2386. <value>chapter</value>
  2387. <value>direction</value>
  2388. <value>text</value>
  2389. </choice>
  2390. </define>
  2391. <define name="text-hidden-paragraph-attlist">
  2392. <interleave>
  2393. <attribute name="text:condition">
  2394. <ref name="string"/>
  2395. </attribute>
  2396. <optional>
  2397. <attribute name="text:is-hidden">
  2398. <ref name="boolean"/>
  2399. </attribute>
  2400. </optional>
  2401. </interleave>
  2402. </define>
  2403. <define name="text-meta-field-attlist">
  2404. <interleave>
  2405. <ref name="xml-id"/>
  2406. <ref name="common-field-data-style-name-attlist"/>
  2407. </interleave>
  2408. </define>
  2409. <define name="common-value-type-attlist">
  2410. <attribute name="office:value-type">
  2411. <ref name="valueType"/>
  2412. </attribute>
  2413. </define>
  2414. <define name="common-value-and-type-attlist">
  2415. <choice>
  2416. <group>
  2417. <attribute name="office:value-type">
  2418. <value>float</value>
  2419. </attribute>
  2420. <attribute name="office:value">
  2421. <ref name="double"/>
  2422. </attribute>
  2423. </group>
  2424. <group>
  2425. <attribute name="office:value-type">
  2426. <value>percentage</value>
  2427. </attribute>
  2428. <attribute name="office:value">
  2429. <ref name="double"/>
  2430. </attribute>
  2431. </group>
  2432. <group>
  2433. <attribute name="office:value-type">
  2434. <value>currency</value>
  2435. </attribute>
  2436. <attribute name="office:value">
  2437. <ref name="double"/>
  2438. </attribute>
  2439. <optional>
  2440. <attribute name="office:currency">
  2441. <ref name="string"/>
  2442. </attribute>
  2443. </optional>
  2444. </group>
  2445. <group>
  2446. <attribute name="office:value-type">
  2447. <value>date</value>
  2448. </attribute>
  2449. <attribute name="office:date-value">
  2450. <ref name="dateOrDateTime"/>
  2451. </attribute>
  2452. </group>
  2453. <group>
  2454. <attribute name="office:value-type">
  2455. <value>time</value>
  2456. </attribute>
  2457. <attribute name="office:time-value">
  2458. <ref name="duration"/>
  2459. </attribute>
  2460. </group>
  2461. <group>
  2462. <attribute name="office:value-type">
  2463. <value>boolean</value>
  2464. </attribute>
  2465. <attribute name="office:boolean-value">
  2466. <ref name="boolean"/>
  2467. </attribute>
  2468. </group>
  2469. <group>
  2470. <attribute name="office:value-type">
  2471. <value>string</value>
  2472. </attribute>
  2473. <optional>
  2474. <attribute name="office:string-value">
  2475. <ref name="string"/>
  2476. </attribute>
  2477. </optional>
  2478. </group>
  2479. </choice>
  2480. </define>
  2481. <define name="common-field-fixed-attlist">
  2482. <optional>
  2483. <attribute name="text:fixed">
  2484. <ref name="boolean"/>
  2485. </attribute>
  2486. </optional>
  2487. </define>
  2488. <define name="common-field-name-attlist">
  2489. <attribute name="text:name">
  2490. <ref name="variableName"/>
  2491. </attribute>
  2492. </define>
  2493. <define name="common-field-description-attlist">
  2494. <optional>
  2495. <attribute name="text:description">
  2496. <ref name="string"/>
  2497. </attribute>
  2498. </optional>
  2499. </define>
  2500. <define name="common-field-display-value-none-attlist">
  2501. <optional>
  2502. <attribute name="text:display">
  2503. <choice>
  2504. <value>value</value>
  2505. <value>none</value>
  2506. </choice>
  2507. </attribute>
  2508. </optional>
  2509. </define>
  2510. <define name="common-field-display-value-formula-none-attlist">
  2511. <optional>
  2512. <attribute name="text:display">
  2513. <choice>
  2514. <value>value</value>
  2515. <value>formula</value>
  2516. <value>none</value>
  2517. </choice>
  2518. </attribute>
  2519. </optional>
  2520. </define>
  2521. <define name="common-field-display-value-formula-attlist">
  2522. <optional>
  2523. <attribute name="text:display">
  2524. <choice>
  2525. <value>value</value>
  2526. <value>formula</value>
  2527. </choice>
  2528. </attribute>
  2529. </optional>
  2530. </define>
  2531. <define name="common-field-formula-attlist">
  2532. <optional>
  2533. <attribute name="text:formula">
  2534. <ref name="string"/>
  2535. </attribute>
  2536. </optional>
  2537. </define>
  2538. <define name="common-field-data-style-name-attlist">
  2539. <optional>
  2540. <attribute name="style:data-style-name">
  2541. <ref name="styleNameRef"/>
  2542. </attribute>
  2543. </optional>
  2544. </define>
  2545. <define name="common-field-num-format-attlist">
  2546. <optional>
  2547. <ref name="common-num-format-attlist"/>
  2548. </optional>
  2549. </define>
  2550. <define name="text-toc-mark-start-attrs">
  2551. <ref name="text-id"/>
  2552. <ref name="text-outline-level"/>
  2553. </define>
  2554. <define name="text-outline-level">
  2555. <optional>
  2556. <attribute name="text:outline-level">
  2557. <ref name="positiveInteger"/>
  2558. </attribute>
  2559. </optional>
  2560. </define>
  2561. <define name="text-id">
  2562. <attribute name="text:id">
  2563. <ref name="string"/>
  2564. </attribute>
  2565. </define>
  2566. <define name="text-index-name">
  2567. <attribute name="text:index-name">
  2568. <ref name="string"/>
  2569. </attribute>
  2570. </define>
  2571. <define name="text-alphabetical-index-mark-attrs">
  2572. <interleave>
  2573. <optional>
  2574. <attribute name="text:key1">
  2575. <ref name="string"/>
  2576. </attribute>
  2577. </optional>
  2578. <optional>
  2579. <attribute name="text:key2">
  2580. <ref name="string"/>
  2581. </attribute>
  2582. </optional>
  2583. <optional>
  2584. <attribute name="text:string-value-phonetic">
  2585. <ref name="string"/>
  2586. </attribute>
  2587. </optional>
  2588. <optional>
  2589. <attribute name="text:key1-phonetic">
  2590. <ref name="string"/>
  2591. </attribute>
  2592. </optional>
  2593. <optional>
  2594. <attribute name="text:key2-phonetic">
  2595. <ref name="string"/>
  2596. </attribute>
  2597. </optional>
  2598. <optional>
  2599. <attribute name="text:main-entry">
  2600. <ref name="boolean"/>
  2601. </attribute>
  2602. </optional>
  2603. </interleave>
  2604. </define>
  2605. <define name="text-bibliography-types">
  2606. <choice>
  2607. <value>article</value>
  2608. <value>book</value>
  2609. <value>booklet</value>
  2610. <value>conference</value>
  2611. <value>custom1</value>
  2612. <value>custom2</value>
  2613. <value>custom3</value>
  2614. <value>custom4</value>
  2615. <value>custom5</value>
  2616. <value>email</value>
  2617. <value>inbook</value>
  2618. <value>incollection</value>
  2619. <value>inproceedings</value>
  2620. <value>journal</value>
  2621. <value>manual</value>
  2622. <value>mastersthesis</value>
  2623. <value>misc</value>
  2624. <value>phdthesis</value>
  2625. <value>proceedings</value>
  2626. <value>techreport</value>
  2627. <value>unpublished</value>
  2628. <value>www</value>
  2629. </choice>
  2630. </define>
  2631. <define name="text-index-body">
  2632. <element name="text:index-body">
  2633. <zeroOrMore>
  2634. <ref name="index-content-main"/>
  2635. </zeroOrMore>
  2636. </element>
  2637. </define>
  2638. <define name="index-content-main">
  2639. <choice>
  2640. <ref name="text-content"/>
  2641. <ref name="text-index-title"/>
  2642. </choice>
  2643. </define>
  2644. <define name="text-index-title">
  2645. <element name="text:index-title">
  2646. <ref name="common-section-attlist"/>
  2647. <zeroOrMore>
  2648. <ref name="index-content-main"/>
  2649. </zeroOrMore>
  2650. </element>
  2651. </define>
  2652. <define name="text-table-of-content">
  2653. <element name="text:table-of-content">
  2654. <ref name="common-section-attlist"/>
  2655. <ref name="text-table-of-content-source"/>
  2656. <ref name="text-index-body"/>
  2657. </element>
  2658. </define>
  2659. <define name="text-table-of-content-source">
  2660. <element name="text:table-of-content-source">
  2661. <ref name="text-table-of-content-source-attlist"/>
  2662. <optional>
  2663. <ref name="text-index-title-template"/>
  2664. </optional>
  2665. <zeroOrMore>
  2666. <ref name="text-table-of-content-entry-template"/>
  2667. </zeroOrMore>
  2668. <zeroOrMore>
  2669. <ref name="text-index-source-styles"/>
  2670. </zeroOrMore>
  2671. </element>
  2672. </define>
  2673. <define name="text-table-of-content-source-attlist">
  2674. <interleave>
  2675. <optional>
  2676. <attribute name="text:outline-level">
  2677. <ref name="positiveInteger"/>
  2678. </attribute>
  2679. </optional>
  2680. <optional>
  2681. <attribute name="text:use-outline-level">
  2682. <ref name="boolean"/>
  2683. </attribute>
  2684. </optional>
  2685. <optional>
  2686. <attribute name="text:use-index-marks">
  2687. <ref name="boolean"/>
  2688. </attribute>
  2689. </optional>
  2690. <optional>
  2691. <attribute name="text:use-index-source-styles">
  2692. <ref name="boolean"/>
  2693. </attribute>
  2694. </optional>
  2695. <optional>
  2696. <attribute name="text:index-scope">
  2697. <choice>
  2698. <value>document</value>
  2699. <value>chapter</value>
  2700. </choice>
  2701. </attribute>
  2702. </optional>
  2703. <optional>
  2704. <attribute name="text:relative-tab-stop-position">
  2705. <ref name="boolean"/>
  2706. </attribute>
  2707. </optional>
  2708. </interleave>
  2709. </define>
  2710. <define name="text-table-of-content-entry-template">
  2711. <element name="text:table-of-content-entry-template">
  2712. <ref name="text-table-of-content-entry-template-attlist"/>
  2713. <zeroOrMore>
  2714. <ref name="text-table-of-content-children"/>
  2715. </zeroOrMore>
  2716. </element>
  2717. </define>
  2718. <define name="text-table-of-content-children">
  2719. <choice>
  2720. <ref name="text-index-entry-chapter"/>
  2721. <ref name="text-index-entry-page-number"/>
  2722. <ref name="text-index-entry-text"/>
  2723. <ref name="text-index-entry-span"/>
  2724. <ref name="text-index-entry-tab-stop"/>
  2725. <ref name="text-index-entry-link-start"/>
  2726. <ref name="text-index-entry-link-end"/>
  2727. </choice>
  2728. </define>
  2729. <define name="text-table-of-content-entry-template-attlist">
  2730. <interleave>
  2731. <attribute name="text:outline-level">
  2732. <ref name="positiveInteger"/>
  2733. </attribute>
  2734. <attribute name="text:style-name">
  2735. <ref name="styleNameRef"/>
  2736. </attribute>
  2737. </interleave>
  2738. </define>
  2739. <define name="text-illustration-index">
  2740. <element name="text:illustration-index">
  2741. <ref name="common-section-attlist"/>
  2742. <ref name="text-illustration-index-source"/>
  2743. <ref name="text-index-body"/>
  2744. </element>
  2745. </define>
  2746. <define name="text-illustration-index-source">
  2747. <element name="text:illustration-index-source">
  2748. <ref name="text-illustration-index-source-attrs"/>
  2749. <optional>
  2750. <ref name="text-index-title-template"/>
  2751. </optional>
  2752. <optional>
  2753. <ref name="text-illustration-index-entry-template"/>
  2754. </optional>
  2755. </element>
  2756. </define>
  2757. <define name="text-illustration-index-source-attrs">
  2758. <interleave>
  2759. <ref name="text-index-scope-attr"/>
  2760. <ref name="text-relative-tab-stop-position-attr"/>
  2761. <optional>
  2762. <attribute name="text:use-caption">
  2763. <ref name="boolean"/>
  2764. </attribute>
  2765. </optional>
  2766. <optional>
  2767. <attribute name="text:caption-sequence-name">
  2768. <ref name="string"/>
  2769. </attribute>
  2770. </optional>
  2771. <optional>
  2772. <attribute name="text:caption-sequence-format">
  2773. <choice>
  2774. <value>text</value>
  2775. <value>category-and-value</value>
  2776. <value>caption</value>
  2777. </choice>
  2778. </attribute>
  2779. </optional>
  2780. </interleave>
  2781. </define>
  2782. <define name="text-index-scope-attr">
  2783. <optional>
  2784. <attribute name="text:index-scope">
  2785. <choice>
  2786. <value>document</value>
  2787. <value>chapter</value>
  2788. </choice>
  2789. </attribute>
  2790. </optional>
  2791. </define>
  2792. <define name="text-relative-tab-stop-position-attr">
  2793. <optional>
  2794. <attribute name="text:relative-tab-stop-position">
  2795. <ref name="boolean"/>
  2796. </attribute>
  2797. </optional>
  2798. </define>
  2799. <define name="text-illustration-index-entry-template">
  2800. <element name="text:illustration-index-entry-template">
  2801. <ref name="text-illustration-index-entry-content"/>
  2802. </element>
  2803. </define>
  2804. <define name="text-illustration-index-entry-content">
  2805. <ref name="text-illustration-index-entry-template-attrs"/>
  2806. <zeroOrMore>
  2807. <choice>
  2808. <ref name="text-index-entry-chapter"/>
  2809. <ref name="text-index-entry-page-number"/>
  2810. <ref name="text-index-entry-text"/>
  2811. <ref name="text-index-entry-span"/>
  2812. <ref name="text-index-entry-tab-stop"/>
  2813. </choice>
  2814. </zeroOrMore>
  2815. </define>
  2816. <define name="text-illustration-index-entry-template-attrs">
  2817. <attribute name="text:style-name">
  2818. <ref name="styleNameRef"/>
  2819. </attribute>
  2820. </define>
  2821. <define name="text-table-index">
  2822. <element name="text:table-index">
  2823. <ref name="common-section-attlist"/>
  2824. <ref name="text-table-index-source"/>
  2825. <ref name="text-index-body"/>
  2826. </element>
  2827. </define>
  2828. <define name="text-table-index-source">
  2829. <element name="text:table-index-source">
  2830. <ref name="text-illustration-index-source-attrs"/>
  2831. <optional>
  2832. <ref name="text-index-title-template"/>
  2833. </optional>
  2834. <optional>
  2835. <ref name="text-table-index-entry-template"/>
  2836. </optional>
  2837. </element>
  2838. </define>
  2839. <define name="text-table-index-entry-template">
  2840. <element name="text:table-index-entry-template">
  2841. <ref name="text-illustration-index-entry-content"/>
  2842. </element>
  2843. </define>
  2844. <define name="text-object-index">
  2845. <element name="text:object-index">
  2846. <ref name="common-section-attlist"/>
  2847. <ref name="text-object-index-source"/>
  2848. <ref name="text-index-body"/>
  2849. </element>
  2850. </define>
  2851. <define name="text-object-index-source">
  2852. <element name="text:object-index-source">
  2853. <ref name="text-object-index-source-attrs"/>
  2854. <optional>
  2855. <ref name="text-index-title-template"/>
  2856. </optional>
  2857. <optional>
  2858. <ref name="text-object-index-entry-template"/>
  2859. </optional>
  2860. </element>
  2861. </define>
  2862. <define name="text-object-index-source-attrs">
  2863. <interleave>
  2864. <ref name="text-index-scope-attr"/>
  2865. <ref name="text-relative-tab-stop-position-attr"/>
  2866. <optional>
  2867. <attribute name="text:use-spreadsheet-objects">
  2868. <ref name="boolean"/>
  2869. </attribute>
  2870. </optional>
  2871. <optional>
  2872. <attribute name="text:use-math-objects">
  2873. <ref name="boolean"/>
  2874. </attribute>
  2875. </optional>
  2876. <optional>
  2877. <attribute name="text:use-draw-objects">
  2878. <ref name="boolean"/>
  2879. </attribute>
  2880. </optional>
  2881. <optional>
  2882. <attribute name="text:use-chart-objects">
  2883. <ref name="boolean"/>
  2884. </attribute>
  2885. </optional>
  2886. <optional>
  2887. <attribute name="text:use-other-objects">
  2888. <ref name="boolean"/>
  2889. </attribute>
  2890. </optional>
  2891. </interleave>
  2892. </define>
  2893. <define name="text-object-index-entry-template">
  2894. <element name="text:object-index-entry-template">
  2895. <ref name="text-illustration-index-entry-content"/>
  2896. </element>
  2897. </define>
  2898. <define name="text-user-index">
  2899. <element name="text:user-index">
  2900. <ref name="common-section-attlist"/>
  2901. <ref name="text-user-index-source"/>
  2902. <ref name="text-index-body"/>
  2903. </element>
  2904. </define>
  2905. <define name="text-user-index-source">
  2906. <element name="text:user-index-source">
  2907. <ref name="text-user-index-source-attr"/>
  2908. <optional>
  2909. <ref name="text-index-title-template"/>
  2910. </optional>
  2911. <zeroOrMore>
  2912. <ref name="text-user-index-entry-template"/>
  2913. </zeroOrMore>
  2914. <zeroOrMore>
  2915. <ref name="text-index-source-styles"/>
  2916. </zeroOrMore>
  2917. </element>
  2918. </define>
  2919. <define name="text-user-index-source-attr">
  2920. <interleave>
  2921. <ref name="text-index-scope-attr"/>
  2922. <ref name="text-relative-tab-stop-position-attr"/>
  2923. <optional>
  2924. <attribute name="text:use-index-marks">
  2925. <ref name="boolean"/>
  2926. </attribute>
  2927. </optional>
  2928. <optional>
  2929. <attribute name="text:use-index-source-styles">
  2930. <ref name="boolean"/>
  2931. </attribute>
  2932. </optional>
  2933. <optional>
  2934. <attribute name="text:use-graphics">
  2935. <ref name="boolean"/>
  2936. </attribute>
  2937. </optional>
  2938. <optional>
  2939. <attribute name="text:use-tables">
  2940. <ref name="boolean"/>
  2941. </attribute>
  2942. </optional>
  2943. <optional>
  2944. <attribute name="text:use-floating-frames">
  2945. <ref name="boolean"/>
  2946. </attribute>
  2947. </optional>
  2948. <optional>
  2949. <attribute name="text:use-objects">
  2950. <ref name="boolean"/>
  2951. </attribute>
  2952. </optional>
  2953. <optional>
  2954. <attribute name="text:copy-outline-levels">
  2955. <ref name="boolean"/>
  2956. </attribute>
  2957. </optional>
  2958. <attribute name="text:index-name">
  2959. <ref name="string"/>
  2960. </attribute>
  2961. </interleave>
  2962. </define>
  2963. <define name="text-user-index-entry-template">
  2964. <element name="text:user-index-entry-template">
  2965. <ref name="text-user-index-entry-template-attrs"/>
  2966. <zeroOrMore>
  2967. <choice>
  2968. <ref name="text-index-entry-chapter"/>
  2969. <ref name="text-index-entry-page-number"/>
  2970. <ref name="text-index-entry-text"/>
  2971. <ref name="text-index-entry-span"/>
  2972. <ref name="text-index-entry-tab-stop"/>
  2973. </choice>
  2974. </zeroOrMore>
  2975. </element>
  2976. </define>
  2977. <define name="text-user-index-entry-template-attrs">
  2978. <interleave>
  2979. <attribute name="text:outline-level">
  2980. <ref name="positiveInteger"/>
  2981. </attribute>
  2982. <attribute name="text:style-name">
  2983. <ref name="styleNameRef"/>
  2984. </attribute>
  2985. </interleave>
  2986. </define>
  2987. <define name="text-alphabetical-index">
  2988. <element name="text:alphabetical-index">
  2989. <ref name="common-section-attlist"/>
  2990. <ref name="text-alphabetical-index-source"/>
  2991. <ref name="text-index-body"/>
  2992. </element>
  2993. </define>
  2994. <define name="text-alphabetical-index-source">
  2995. <element name="text:alphabetical-index-source">
  2996. <ref name="text-alphabetical-index-source-attrs"/>
  2997. <optional>
  2998. <ref name="text-index-title-template"/>
  2999. </optional>
  3000. <zeroOrMore>
  3001. <ref name="text-alphabetical-index-entry-template"/>
  3002. </zeroOrMore>
  3003. </element>
  3004. </define>
  3005. <define name="text-alphabetical-index-source-attrs">
  3006. <interleave>
  3007. <ref name="text-index-scope-attr"/>
  3008. <ref name="text-relative-tab-stop-position-attr"/>
  3009. <optional>
  3010. <attribute name="text:ignore-case">
  3011. <ref name="boolean"/>
  3012. </attribute>
  3013. </optional>
  3014. <optional>
  3015. <attribute name="text:main-entry-style-name">
  3016. <ref name="styleNameRef"/>
  3017. </attribute>
  3018. </optional>
  3019. <optional>
  3020. <attribute name="text:alphabetical-separators">
  3021. <ref name="boolean"/>
  3022. </attribute>
  3023. </optional>
  3024. <optional>
  3025. <attribute name="text:combine-entries">
  3026. <ref name="boolean"/>
  3027. </attribute>
  3028. </optional>
  3029. <optional>
  3030. <attribute name="text:combine-entries-with-dash">
  3031. <ref name="boolean"/>
  3032. </attribute>
  3033. </optional>
  3034. <optional>
  3035. <attribute name="text:combine-entries-with-pp">
  3036. <ref name="boolean"/>
  3037. </attribute>
  3038. </optional>
  3039. <optional>
  3040. <attribute name="text:use-keys-as-entries">
  3041. <ref name="boolean"/>
  3042. </attribute>
  3043. </optional>
  3044. <optional>
  3045. <attribute name="text:capitalize-entries">
  3046. <ref name="boolean"/>
  3047. </attribute>
  3048. </optional>
  3049. <optional>
  3050. <attribute name="text:comma-separated">
  3051. <ref name="boolean"/>
  3052. </attribute>
  3053. </optional>
  3054. <optional>
  3055. <attribute name="fo:language">
  3056. <ref name="languageCode"/>
  3057. </attribute>
  3058. </optional>
  3059. <optional>
  3060. <attribute name="fo:country">
  3061. <ref name="countryCode"/>
  3062. </attribute>
  3063. </optional>
  3064. <optional>
  3065. <attribute name="fo:script">
  3066. <ref name="scriptCode"/>
  3067. </attribute>
  3068. </optional>
  3069. <optional>
  3070. <attribute name="style:rfc-language-tag">
  3071. <ref name="language"/>
  3072. </attribute>
  3073. </optional>
  3074. <optional>
  3075. <attribute name="text:sort-algorithm">
  3076. <ref name="string"/>
  3077. </attribute>
  3078. </optional>
  3079. </interleave>
  3080. </define>
  3081. <define name="text-alphabetical-index-auto-mark-file">
  3082. <element name="text:alphabetical-index-auto-mark-file">
  3083. <attribute name="xlink:type">
  3084. <value>simple</value>
  3085. </attribute>
  3086. <attribute name="xlink:href">
  3087. <ref name="anyIRI"/>
  3088. </attribute>
  3089. </element>
  3090. </define>
  3091. <define name="text-alphabetical-index-entry-template">
  3092. <element name="text:alphabetical-index-entry-template">
  3093. <ref name="text-alphabetical-index-entry-template-attrs"/>
  3094. <zeroOrMore>
  3095. <choice>
  3096. <ref name="text-index-entry-chapter"/>
  3097. <ref name="text-index-entry-page-number"/>
  3098. <ref name="text-index-entry-text"/>
  3099. <ref name="text-index-entry-span"/>
  3100. <ref name="text-index-entry-tab-stop"/>
  3101. </choice>
  3102. </zeroOrMore>
  3103. </element>
  3104. </define>
  3105. <define name="text-alphabetical-index-entry-template-attrs">
  3106. <interleave>
  3107. <attribute name="text:outline-level">
  3108. <choice>
  3109. <value>1</value>
  3110. <value>2</value>
  3111. <value>3</value>
  3112. <value>separator</value>
  3113. </choice>
  3114. </attribute>
  3115. <attribute name="text:style-name">
  3116. <ref name="styleNameRef"/>
  3117. </attribute>
  3118. </interleave>
  3119. </define>
  3120. <define name="text-bibliography">
  3121. <element name="text:bibliography">
  3122. <ref name="common-section-attlist"/>
  3123. <ref name="text-bibliography-source"/>
  3124. <ref name="text-index-body"/>
  3125. </element>
  3126. </define>
  3127. <define name="text-bibliography-source">
  3128. <element name="text:bibliography-source">
  3129. <optional>
  3130. <ref name="text-index-title-template"/>
  3131. </optional>
  3132. <zeroOrMore>
  3133. <ref name="text-bibliography-entry-template"/>
  3134. </zeroOrMore>
  3135. </element>
  3136. </define>
  3137. <define name="text-bibliography-entry-template">
  3138. <element name="text:bibliography-entry-template">
  3139. <ref name="text-bibliography-entry-template-attrs"/>
  3140. <zeroOrMore>
  3141. <choice>
  3142. <ref name="text-index-entry-span"/>
  3143. <ref name="text-index-entry-tab-stop"/>
  3144. <ref name="text-index-entry-bibliography"/>
  3145. </choice>
  3146. </zeroOrMore>
  3147. </element>
  3148. </define>
  3149. <define name="text-bibliography-entry-template-attrs">
  3150. <interleave>
  3151. <attribute name="text:bibliography-type">
  3152. <ref name="text-bibliography-types"/>
  3153. </attribute>
  3154. <attribute name="text:style-name">
  3155. <ref name="styleNameRef"/>
  3156. </attribute>
  3157. </interleave>
  3158. </define>
  3159. <define name="text-index-source-styles">
  3160. <element name="text:index-source-styles">
  3161. <attribute name="text:outline-level">
  3162. <ref name="positiveInteger"/>
  3163. </attribute>
  3164. <zeroOrMore>
  3165. <ref name="text-index-source-style"/>
  3166. </zeroOrMore>
  3167. </element>
  3168. </define>
  3169. <define name="text-index-source-style">
  3170. <element name="text:index-source-style">
  3171. <attribute name="text:style-name">
  3172. <ref name="styleName"/>
  3173. </attribute>
  3174. <empty/>
  3175. </element>
  3176. </define>
  3177. <define name="text-index-title-template">
  3178. <element name="text:index-title-template">
  3179. <optional>
  3180. <attribute name="text:style-name">
  3181. <ref name="styleNameRef"/>
  3182. </attribute>
  3183. </optional>
  3184. <text/>
  3185. </element>
  3186. </define>
  3187. <define name="text-index-entry-chapter">
  3188. <element name="text:index-entry-chapter">
  3189. <optional>
  3190. <attribute name="text:style-name">
  3191. <ref name="styleNameRef"/>
  3192. </attribute>
  3193. </optional>
  3194. <ref name="text-index-entry-chapter-attrs"/>
  3195. </element>
  3196. </define>
  3197. <define name="text-index-entry-chapter-attrs">
  3198. <interleave>
  3199. <optional>
  3200. <attribute name="text:display">
  3201. <choice>
  3202. <value>name</value>
  3203. <value>number</value>
  3204. <value>number-and-name</value>
  3205. <value>plain-number</value>
  3206. <value>plain-number-and-name</value>
  3207. </choice>
  3208. </attribute>
  3209. </optional>
  3210. <optional>
  3211. <attribute name="text:outline-level">
  3212. <ref name="positiveInteger"/>
  3213. </attribute>
  3214. </optional>
  3215. </interleave>
  3216. </define>
  3217. <define name="text-index-entry-text">
  3218. <element name="text:index-entry-text">
  3219. <optional>
  3220. <attribute name="text:style-name">
  3221. <ref name="styleNameRef"/>
  3222. </attribute>
  3223. </optional>
  3224. </element>
  3225. </define>
  3226. <define name="text-index-entry-page-number">
  3227. <element name="text:index-entry-page-number">
  3228. <optional>
  3229. <attribute name="text:style-name">
  3230. <ref name="styleNameRef"/>
  3231. </attribute>
  3232. </optional>
  3233. </element>
  3234. </define>
  3235. <define name="text-index-entry-span">
  3236. <element name="text:index-entry-span">
  3237. <optional>
  3238. <attribute name="text:style-name">
  3239. <ref name="styleNameRef"/>
  3240. </attribute>
  3241. </optional>
  3242. <text/>
  3243. </element>
  3244. </define>
  3245. <define name="text-index-entry-bibliography">
  3246. <element name="text:index-entry-bibliography">
  3247. <ref name="text-index-entry-bibliography-attrs"/>
  3248. </element>
  3249. </define>
  3250. <define name="text-index-entry-bibliography-attrs">
  3251. <interleave>
  3252. <optional>
  3253. <attribute name="text:style-name">
  3254. <ref name="styleNameRef"/>
  3255. </attribute>
  3256. </optional>
  3257. <attribute name="text:bibliography-data-field">
  3258. <choice>
  3259. <value>address</value>
  3260. <value>annote</value>
  3261. <value>author</value>
  3262. <value>bibliography-type</value>
  3263. <value>booktitle</value>
  3264. <value>chapter</value>
  3265. <value>custom1</value>
  3266. <value>custom2</value>
  3267. <value>custom3</value>
  3268. <value>custom4</value>
  3269. <value>custom5</value>
  3270. <value>edition</value>
  3271. <value>editor</value>
  3272. <value>howpublished</value>
  3273. <value>identifier</value>
  3274. <value>institution</value>
  3275. <value>isbn</value>
  3276. <value>issn</value>
  3277. <value>journal</value>
  3278. <value>month</value>
  3279. <value>note</value>
  3280. <value>number</value>
  3281. <value>organizations</value>
  3282. <value>pages</value>
  3283. <value>publisher</value>
  3284. <value>report-type</value>
  3285. <value>school</value>
  3286. <value>series</value>
  3287. <value>title</value>
  3288. <value>url</value>
  3289. <value>volume</value>
  3290. <value>year</value>
  3291. </choice>
  3292. </attribute>
  3293. </interleave>
  3294. </define>
  3295. <define name="text-index-entry-tab-stop">
  3296. <element name="text:index-entry-tab-stop">
  3297. <optional>
  3298. <attribute name="text:style-name">
  3299. <ref name="styleNameRef"/>
  3300. </attribute>
  3301. </optional>
  3302. <ref name="text-index-entry-tab-stop-attrs"/>
  3303. </element>
  3304. </define>
  3305. <define name="text-index-entry-tab-stop-attrs">
  3306. <interleave>
  3307. <optional>
  3308. <attribute name="style:leader-char">
  3309. <ref name="character"/>
  3310. </attribute>
  3311. </optional>
  3312. <choice>
  3313. <attribute name="style:type">
  3314. <value>right</value>
  3315. </attribute>
  3316. <group>
  3317. <attribute name="style:type">
  3318. <value>left</value>
  3319. </attribute>
  3320. <attribute name="style:position">
  3321. <ref name="length"/>
  3322. </attribute>
  3323. </group>
  3324. </choice>
  3325. </interleave>
  3326. </define>
  3327. <define name="text-index-entry-link-start">
  3328. <element name="text:index-entry-link-start">
  3329. <optional>
  3330. <attribute name="text:style-name">
  3331. <ref name="styleNameRef"/>
  3332. </attribute>
  3333. </optional>
  3334. </element>
  3335. </define>
  3336. <define name="text-index-entry-link-end">
  3337. <element name="text:index-entry-link-end">
  3338. <optional>
  3339. <attribute name="text:style-name">
  3340. <ref name="styleNameRef"/>
  3341. </attribute>
  3342. </optional>
  3343. </element>
  3344. </define>
  3345. <define name="table-table">
  3346. <element name="table:table">
  3347. <ref name="table-table-attlist"/>
  3348. <optional>
  3349. <ref name="table-title"/>
  3350. </optional>
  3351. <optional>
  3352. <ref name="table-desc"/>
  3353. </optional>
  3354. <optional>
  3355. <ref name="table-table-source"/>
  3356. </optional>
  3357. <optional>
  3358. <ref name="office-dde-source"/>
  3359. </optional>
  3360. <optional>
  3361. <ref name="table-scenario"/>
  3362. </optional>
  3363. <optional>
  3364. <ref name="office-forms"/>
  3365. </optional>
  3366. <optional>
  3367. <ref name="table-shapes"/>
  3368. </optional>
  3369. <ref name="table-columns-and-groups"/>
  3370. <ref name="table-rows-and-groups"/>
  3371. <optional>
  3372. <ref name="table-named-expressions"/>
  3373. </optional>
  3374. </element>
  3375. </define>
  3376. <define name="table-columns-and-groups">
  3377. <oneOrMore>
  3378. <choice>
  3379. <ref name="table-table-column-group"/>
  3380. <ref name="table-columns-no-group"/>
  3381. </choice>
  3382. </oneOrMore>
  3383. </define>
  3384. <define name="table-columns-no-group">
  3385. <choice>
  3386. <group>
  3387. <ref name="table-columns"/>
  3388. <optional>
  3389. <ref name="table-table-header-columns"/>
  3390. <optional>
  3391. <ref name="table-columns"/>
  3392. </optional>
  3393. </optional>
  3394. </group>
  3395. <group>
  3396. <ref name="table-table-header-columns"/>
  3397. <optional>
  3398. <ref name="table-columns"/>
  3399. </optional>
  3400. </group>
  3401. </choice>
  3402. </define>
  3403. <define name="table-columns">
  3404. <choice>
  3405. <ref name="table-table-columns"/>
  3406. <oneOrMore>
  3407. <ref name="table-table-column"/>
  3408. </oneOrMore>
  3409. </choice>
  3410. </define>
  3411. <define name="table-rows-and-groups">
  3412. <oneOrMore>
  3413. <choice>
  3414. <ref name="table-table-row-group"/>
  3415. <ref name="table-rows-no-group"/>
  3416. </choice>
  3417. </oneOrMore>
  3418. </define>
  3419. <define name="table-rows-no-group">
  3420. <choice>
  3421. <group>
  3422. <ref name="table-rows"/>
  3423. <optional>
  3424. <ref name="table-table-header-rows"/>
  3425. <optional>
  3426. <ref name="table-rows"/>
  3427. </optional>
  3428. </optional>
  3429. </group>
  3430. <group>
  3431. <ref name="table-table-header-rows"/>
  3432. <optional>
  3433. <ref name="table-rows"/>
  3434. </optional>
  3435. </group>
  3436. </choice>
  3437. </define>
  3438. <define name="table-rows">
  3439. <choice>
  3440. <ref name="table-table-rows"/>
  3441. <oneOrMore>
  3442. <optional>
  3443. <ref name="text-soft-page-break"/>
  3444. </optional>
  3445. <ref name="table-table-row"/>
  3446. </oneOrMore>
  3447. </choice>
  3448. </define>
  3449. <define name="table-table-attlist">
  3450. <interleave>
  3451. <optional>
  3452. <attribute name="table:name">
  3453. <ref name="string"/>
  3454. </attribute>
  3455. </optional>
  3456. <optional>
  3457. <attribute name="table:style-name">
  3458. <ref name="styleNameRef"/>
  3459. </attribute>
  3460. </optional>
  3461. <optional>
  3462. <attribute name="table:template-name">
  3463. <ref name="string"/>
  3464. </attribute>
  3465. </optional>
  3466. <optional>
  3467. <attribute name="table:use-first-row-styles">
  3468. <ref name="boolean"/>
  3469. </attribute>
  3470. </optional>
  3471. <optional>
  3472. <attribute name="table:use-last-row-styles">
  3473. <ref name="boolean"/>
  3474. </attribute>
  3475. </optional>
  3476. <optional>
  3477. <attribute name="table:use-first-column-styles">
  3478. <ref name="boolean"/>
  3479. </attribute>
  3480. </optional>
  3481. <optional>
  3482. <attribute name="table:use-last-column-styles">
  3483. <ref name="boolean"/>
  3484. </attribute>
  3485. </optional>
  3486. <optional>
  3487. <attribute name="table:use-banding-rows-styles">
  3488. <ref name="boolean"/>
  3489. </attribute>
  3490. </optional>
  3491. <optional>
  3492. <attribute name="table:use-banding-columns-styles">
  3493. <ref name="boolean"/>
  3494. </attribute>
  3495. </optional>
  3496. <optional>
  3497. <attribute name="table:protected">
  3498. <ref name="boolean"/>
  3499. </attribute>
  3500. </optional>
  3501. <optional>
  3502. <attribute name="table:protection-key">
  3503. <ref name="string"/>
  3504. </attribute>
  3505. </optional>
  3506. <optional>
  3507. <attribute name="table:protection-key-digest-algorithm">
  3508. <ref name="anyIRI"/>
  3509. </attribute>
  3510. </optional>
  3511. <optional>
  3512. <attribute name="table:print">
  3513. <ref name="boolean"/>
  3514. </attribute>
  3515. </optional>
  3516. <optional>
  3517. <attribute name="table:print-ranges">
  3518. <ref name="cellRangeAddressList"/>
  3519. </attribute>
  3520. </optional>
  3521. <optional>
  3522. <ref name="xml-id"/>
  3523. </optional>
  3524. <optional>
  3525. <attribute name="table:is-sub-table">
  3526. <ref name="boolean"/>
  3527. </attribute>
  3528. </optional>
  3529. </interleave>
  3530. </define>
  3531. <define name="table-title">
  3532. <element name="table:title">
  3533. <text/>
  3534. </element>
  3535. </define>
  3536. <define name="table-desc">
  3537. <element name="table:desc">
  3538. <text/>
  3539. </element>
  3540. </define>
  3541. <define name="table-table-row">
  3542. <element name="table:table-row">
  3543. <ref name="table-table-row-attlist"/>
  3544. <oneOrMore>
  3545. <choice>
  3546. <ref name="table-table-cell"/>
  3547. <ref name="table-covered-table-cell"/>
  3548. </choice>
  3549. </oneOrMore>
  3550. </element>
  3551. </define>
  3552. <define name="table-table-row-attlist">
  3553. <interleave>
  3554. <optional>
  3555. <attribute name="table:number-rows-repeated">
  3556. <ref name="positiveInteger"/>
  3557. </attribute>
  3558. </optional>
  3559. <optional>
  3560. <attribute name="table:style-name">
  3561. <ref name="styleNameRef"/>
  3562. </attribute>
  3563. </optional>
  3564. <optional>
  3565. <attribute name="table:default-cell-style-name">
  3566. <ref name="styleNameRef"/>
  3567. </attribute>
  3568. </optional>
  3569. <optional>
  3570. <attribute name="table:visibility">
  3571. <ref name="table-visibility-value"/>
  3572. </attribute>
  3573. </optional>
  3574. <optional>
  3575. <ref name="xml-id"/>
  3576. </optional>
  3577. </interleave>
  3578. </define>
  3579. <define name="table-visibility-value">
  3580. <choice>
  3581. <value>visible</value>
  3582. <value>collapse</value>
  3583. <value>filter</value>
  3584. </choice>
  3585. </define>
  3586. <define name="table-table-cell">
  3587. <element name="table:table-cell">
  3588. <ref name="table-table-cell-attlist"/>
  3589. <ref name="table-table-cell-attlist-extra"/>
  3590. <ref name="table-table-cell-content"/>
  3591. </element>
  3592. </define>
  3593. <define name="table-covered-table-cell">
  3594. <element name="table:covered-table-cell">
  3595. <ref name="table-table-cell-attlist"/>
  3596. <ref name="table-table-cell-content"/>
  3597. </element>
  3598. </define>
  3599. <define name="table-table-cell-content">
  3600. <optional>
  3601. <ref name="table-cell-range-source"/>
  3602. </optional>
  3603. <optional>
  3604. <ref name="office-annotation"/>
  3605. </optional>
  3606. <optional>
  3607. <ref name="table-detective"/>
  3608. </optional>
  3609. <zeroOrMore>
  3610. <ref name="text-content"/>
  3611. </zeroOrMore>
  3612. </define>
  3613. <define name="table-table-cell-attlist">
  3614. <interleave>
  3615. <optional>
  3616. <attribute name="table:number-columns-repeated">
  3617. <ref name="positiveInteger"/>
  3618. </attribute>
  3619. </optional>
  3620. <optional>
  3621. <attribute name="table:style-name">
  3622. <ref name="styleNameRef"/>
  3623. </attribute>
  3624. </optional>
  3625. <optional>
  3626. <attribute name="table:content-validation-name">
  3627. <ref name="string"/>
  3628. </attribute>
  3629. </optional>
  3630. <optional>
  3631. <attribute name="table:formula">
  3632. <ref name="string"/>
  3633. </attribute>
  3634. </optional>
  3635. <optional>
  3636. <ref name="common-value-and-type-attlist"/>
  3637. </optional>
  3638. <optional>
  3639. <attribute name="table:protect">
  3640. <ref name="boolean"/>
  3641. </attribute>
  3642. </optional>
  3643. <optional>
  3644. <attribute name="table:protected">
  3645. <ref name="boolean"/>
  3646. </attribute>
  3647. </optional>
  3648. <optional>
  3649. <ref name="xml-id"/>
  3650. </optional>
  3651. <optional>
  3652. <ref name="common-in-content-meta-attlist"/>
  3653. </optional>
  3654. </interleave>
  3655. </define>
  3656. <define name="table-table-cell-attlist-extra">
  3657. <interleave>
  3658. <optional>
  3659. <attribute name="table:number-columns-spanned">
  3660. <ref name="positiveInteger"/>
  3661. </attribute>
  3662. </optional>
  3663. <optional>
  3664. <attribute name="table:number-rows-spanned">
  3665. <ref name="positiveInteger"/>
  3666. </attribute>
  3667. </optional>
  3668. <optional>
  3669. <attribute name="table:number-matrix-columns-spanned">
  3670. <ref name="positiveInteger"/>
  3671. </attribute>
  3672. </optional>
  3673. <optional>
  3674. <attribute name="table:number-matrix-rows-spanned">
  3675. <ref name="positiveInteger"/>
  3676. </attribute>
  3677. </optional>
  3678. </interleave>
  3679. </define>
  3680. <define name="table-table-column">
  3681. <element name="table:table-column">
  3682. <ref name="table-table-column-attlist"/>
  3683. <empty/>
  3684. </element>
  3685. </define>
  3686. <define name="table-table-column-attlist">
  3687. <interleave>
  3688. <optional>
  3689. <attribute name="table:number-columns-repeated">
  3690. <ref name="positiveInteger"/>
  3691. </attribute>
  3692. </optional>
  3693. <optional>
  3694. <attribute name="table:style-name">
  3695. <ref name="styleNameRef"/>
  3696. </attribute>
  3697. </optional>
  3698. <optional>
  3699. <attribute name="table:visibility">
  3700. <ref name="table-visibility-value"/>
  3701. </attribute>
  3702. </optional>
  3703. <optional>
  3704. <attribute name="table:default-cell-style-name">
  3705. <ref name="styleNameRef"/>
  3706. </attribute>
  3707. </optional>
  3708. <optional>
  3709. <ref name="xml-id"/>
  3710. </optional>
  3711. </interleave>
  3712. </define>
  3713. <define name="table-table-header-columns">
  3714. <element name="table:table-header-columns">
  3715. <oneOrMore>
  3716. <ref name="table-table-column"/>
  3717. </oneOrMore>
  3718. </element>
  3719. </define>
  3720. <define name="table-table-columns">
  3721. <element name="table:table-columns">
  3722. <oneOrMore>
  3723. <ref name="table-table-column"/>
  3724. </oneOrMore>
  3725. </element>
  3726. </define>
  3727. <define name="table-table-column-group">
  3728. <element name="table:table-column-group">
  3729. <ref name="table-table-column-group-attlist"/>
  3730. <ref name="table-columns-and-groups"/>
  3731. </element>
  3732. </define>
  3733. <define name="table-table-column-group-attlist">
  3734. <optional>
  3735. <attribute name="table:display">
  3736. <ref name="boolean"/>
  3737. </attribute>
  3738. </optional>
  3739. </define>
  3740. <define name="table-table-header-rows">
  3741. <element name="table:table-header-rows">
  3742. <oneOrMore>
  3743. <optional>
  3744. <ref name="text-soft-page-break"/>
  3745. </optional>
  3746. <ref name="table-table-row"/>
  3747. </oneOrMore>
  3748. </element>
  3749. </define>
  3750. <define name="table-table-rows">
  3751. <element name="table:table-rows">
  3752. <oneOrMore>
  3753. <optional>
  3754. <ref name="text-soft-page-break"/>
  3755. </optional>
  3756. <ref name="table-table-row"/>
  3757. </oneOrMore>
  3758. </element>
  3759. </define>
  3760. <define name="table-table-row-group">
  3761. <element name="table:table-row-group">
  3762. <ref name="table-table-row-group-attlist"/>
  3763. <ref name="table-rows-and-groups"/>
  3764. </element>
  3765. </define>
  3766. <define name="table-table-row-group-attlist">
  3767. <optional>
  3768. <attribute name="table:display">
  3769. <ref name="boolean"/>
  3770. </attribute>
  3771. </optional>
  3772. </define>
  3773. <define name="cellAddress">
  3774. <data type="string">
  3775. <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+</param>
  3776. </data>
  3777. </define>
  3778. <define name="cellRangeAddress">
  3779. <choice>
  3780. <data type="string">
  3781. <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+)?</param>
  3782. </data>
  3783. <data type="string">
  3784. <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[0-9]+:($?([^\. ']+|'([^']|'')+'))?\.$?[0-9]+</param>
  3785. </data>
  3786. <data type="string">
  3787. <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+</param>
  3788. </data>
  3789. </choice>
  3790. </define>
  3791. <define name="cellRangeAddressList">
  3792. <data type="string"/>
  3793. <dc:description>Value is a space separated list of "cellRangeAddress" patterns</dc:description>
  3794. </define>
  3795. <define name="table-table-source">
  3796. <element name="table:table-source">
  3797. <ref name="table-table-source-attlist"/>
  3798. <ref name="table-linked-source-attlist"/>
  3799. <empty/>
  3800. </element>
  3801. </define>
  3802. <define name="table-table-source-attlist">
  3803. <interleave>
  3804. <optional>
  3805. <attribute name="table:mode">
  3806. <choice>
  3807. <value>copy-all</value>
  3808. <value>copy-results-only</value>
  3809. </choice>
  3810. </attribute>
  3811. </optional>
  3812. <optional>
  3813. <attribute name="table:table-name">
  3814. <ref name="string"/>
  3815. </attribute>
  3816. </optional>
  3817. </interleave>
  3818. </define>
  3819. <define name="table-linked-source-attlist">
  3820. <interleave>
  3821. <attribute name="xlink:type">
  3822. <value>simple</value>
  3823. </attribute>
  3824. <attribute name="xlink:href">
  3825. <ref name="anyIRI"/>
  3826. </attribute>
  3827. <optional>
  3828. <attribute name="xlink:actuate">
  3829. <value>onRequest</value>
  3830. </attribute>
  3831. </optional>
  3832. <optional>
  3833. <attribute name="table:filter-name">
  3834. <ref name="string"/>
  3835. </attribute>
  3836. </optional>
  3837. <optional>
  3838. <attribute name="table:filter-options">
  3839. <ref name="string"/>
  3840. </attribute>
  3841. </optional>
  3842. <optional>
  3843. <attribute name="table:refresh-delay">
  3844. <ref name="duration"/>
  3845. </attribute>
  3846. </optional>
  3847. </interleave>
  3848. </define>
  3849. <define name="table-scenario">
  3850. <element name="table:scenario">
  3851. <ref name="table-scenario-attlist"/>
  3852. <empty/>
  3853. </element>
  3854. </define>
  3855. <define name="table-scenario-attlist">
  3856. <interleave>
  3857. <attribute name="table:scenario-ranges">
  3858. <ref name="cellRangeAddressList"/>
  3859. </attribute>
  3860. <attribute name="table:is-active">
  3861. <ref name="boolean"/>
  3862. </attribute>
  3863. <optional>
  3864. <attribute name="table:display-border">
  3865. <ref name="boolean"/>
  3866. </attribute>
  3867. </optional>
  3868. <optional>
  3869. <attribute name="table:border-color">
  3870. <ref name="color"/>
  3871. </attribute>
  3872. </optional>
  3873. <optional>
  3874. <attribute name="table:copy-back">
  3875. <ref name="boolean"/>
  3876. </attribute>
  3877. </optional>
  3878. <optional>
  3879. <attribute name="table:copy-styles">
  3880. <ref name="boolean"/>
  3881. </attribute>
  3882. </optional>
  3883. <optional>
  3884. <attribute name="table:copy-formulas">
  3885. <ref name="boolean"/>
  3886. </attribute>
  3887. </optional>
  3888. <optional>
  3889. <attribute name="table:comment">
  3890. <ref name="string"/>
  3891. </attribute>
  3892. </optional>
  3893. <optional>
  3894. <attribute name="table:protected">
  3895. <ref name="boolean"/>
  3896. </attribute>
  3897. </optional>
  3898. </interleave>
  3899. </define>
  3900. <define name="table-shapes">
  3901. <element name="table:shapes">
  3902. <oneOrMore>
  3903. <ref name="shape"/>
  3904. </oneOrMore>
  3905. </element>
  3906. </define>
  3907. <define name="table-cell-range-source">
  3908. <element name="table:cell-range-source">
  3909. <ref name="table-table-cell-range-source-attlist"/>
  3910. <ref name="table-linked-source-attlist"/>
  3911. <empty/>
  3912. </element>
  3913. </define>
  3914. <define name="table-table-cell-range-source-attlist">
  3915. <interleave>
  3916. <attribute name="table:name">
  3917. <ref name="string"/>
  3918. </attribute>
  3919. <attribute name="table:last-column-spanned">
  3920. <ref name="positiveInteger"/>
  3921. </attribute>
  3922. <attribute name="table:last-row-spanned">
  3923. <ref name="positiveInteger"/>
  3924. </attribute>
  3925. </interleave>
  3926. </define>
  3927. <define name="table-detective">
  3928. <element name="table:detective">
  3929. <zeroOrMore>
  3930. <ref name="table-highlighted-range"/>
  3931. </zeroOrMore>
  3932. <zeroOrMore>
  3933. <ref name="table-operation"/>
  3934. </zeroOrMore>
  3935. </element>
  3936. </define>
  3937. <define name="table-operation">
  3938. <element name="table:operation">
  3939. <ref name="table-operation-attlist"/>
  3940. <empty/>
  3941. </element>
  3942. </define>
  3943. <define name="table-operation-attlist">
  3944. <interleave>
  3945. <attribute name="table:name">
  3946. <choice>
  3947. <value>trace-dependents</value>
  3948. <value>remove-dependents</value>
  3949. <value>trace-precedents</value>
  3950. <value>remove-precedents</value>
  3951. <value>trace-errors</value>
  3952. </choice>
  3953. </attribute>
  3954. <attribute name="table:index">
  3955. <ref name="nonNegativeInteger"/>
  3956. </attribute>
  3957. </interleave>
  3958. </define>
  3959. <define name="table-highlighted-range">
  3960. <element name="table:highlighted-range">
  3961. <choice>
  3962. <group>
  3963. <ref name="table-highlighted-range-attlist"/>
  3964. </group>
  3965. <group>
  3966. <ref name="table-highlighted-range-attlist-invalid"/>
  3967. </group>
  3968. </choice>
  3969. <empty/>
  3970. </element>
  3971. </define>
  3972. <define name="table-highlighted-range-attlist">
  3973. <interleave>
  3974. <optional>
  3975. <attribute name="table:cell-range-address">
  3976. <ref name="cellRangeAddress"/>
  3977. </attribute>
  3978. </optional>
  3979. <attribute name="table:direction">
  3980. <choice>
  3981. <value>from-another-table</value>
  3982. <value>to-another-table</value>
  3983. <value>from-same-table</value>
  3984. </choice>
  3985. </attribute>
  3986. <optional>
  3987. <attribute name="table:contains-error">
  3988. <ref name="boolean"/>
  3989. </attribute>
  3990. </optional>
  3991. </interleave>
  3992. </define>
  3993. <define name="table-highlighted-range-attlist-invalid">
  3994. <attribute name="table:marked-invalid">
  3995. <ref name="boolean"/>
  3996. </attribute>
  3997. </define>
  3998. <define name="office-spreadsheet-attlist">
  3999. <optional>
  4000. <attribute name="table:structure-protected">
  4001. <ref name="boolean"/>
  4002. </attribute>
  4003. </optional>
  4004. <optional>
  4005. <attribute name="table:protection-key">
  4006. <ref name="string"/>
  4007. </attribute>
  4008. </optional>
  4009. <optional>
  4010. <attribute name="table:protection-key-digest-algorithm">
  4011. <ref name="anyIRI"/>
  4012. </attribute>
  4013. </optional>
  4014. </define>
  4015. <define name="table-calculation-settings">
  4016. <element name="table:calculation-settings">
  4017. <ref name="table-calculation-setting-attlist"/>
  4018. <optional>
  4019. <ref name="table-null-date"/>
  4020. </optional>
  4021. <optional>
  4022. <ref name="table-iteration"/>
  4023. </optional>
  4024. </element>
  4025. </define>
  4026. <define name="table-calculation-setting-attlist">
  4027. <interleave>
  4028. <optional>
  4029. <attribute name="table:case-sensitive">
  4030. <ref name="boolean"/>
  4031. </attribute>
  4032. </optional>
  4033. <optional>
  4034. <attribute name="table:precision-as-shown">
  4035. <ref name="boolean"/>
  4036. </attribute>
  4037. </optional>
  4038. <optional>
  4039. <attribute name="table:search-criteria-must-apply-to-whole-cell">
  4040. <ref name="boolean"/>
  4041. </attribute>
  4042. </optional>
  4043. <optional>
  4044. <attribute name="table:automatic-find-labels">
  4045. <ref name="boolean"/>
  4046. </attribute>
  4047. </optional>
  4048. <optional>
  4049. <attribute name="table:use-regular-expressions">
  4050. <ref name="boolean"/>
  4051. </attribute>
  4052. </optional>
  4053. <optional>
  4054. <attribute name="table:use-wildcards">
  4055. <ref name="boolean"/>
  4056. </attribute>
  4057. </optional>
  4058. <optional>
  4059. <attribute name="table:null-year">
  4060. <ref name="positiveInteger"/>
  4061. </attribute>
  4062. </optional>
  4063. </interleave>
  4064. </define>
  4065. <define name="table-null-date">
  4066. <element name="table:null-date">
  4067. <optional>
  4068. <attribute name="table:value-type">
  4069. <value>date</value>
  4070. </attribute>
  4071. </optional>
  4072. <optional>
  4073. <attribute name="table:date-value">
  4074. <ref name="date"/>
  4075. </attribute>
  4076. </optional>
  4077. <empty/>
  4078. </element>
  4079. </define>
  4080. <define name="table-iteration">
  4081. <element name="table:iteration">
  4082. <optional>
  4083. <attribute name="table:status">
  4084. <choice>
  4085. <value>enable</value>
  4086. <value>disable</value>
  4087. </choice>
  4088. </attribute>
  4089. </optional>
  4090. <optional>
  4091. <attribute name="table:steps">
  4092. <ref name="positiveInteger"/>
  4093. </attribute>
  4094. </optional>
  4095. <optional>
  4096. <attribute name="table:maximum-difference">
  4097. <ref name="double"/>
  4098. </attribute>
  4099. </optional>
  4100. <empty/>
  4101. </element>
  4102. </define>
  4103. <define name="table-content-validations">
  4104. <element name="table:content-validations">
  4105. <oneOrMore>
  4106. <ref name="table-content-validation"/>
  4107. </oneOrMore>
  4108. </element>
  4109. </define>
  4110. <define name="table-content-validation">
  4111. <element name="table:content-validation">
  4112. <ref name="table-validation-attlist"/>
  4113. <optional>
  4114. <ref name="table-help-message"/>
  4115. </optional>
  4116. <optional>
  4117. <choice>
  4118. <ref name="table-error-message"/>
  4119. <group>
  4120. <ref name="table-error-macro"/>
  4121. <ref name="office-event-listeners"/>
  4122. </group>
  4123. </choice>
  4124. </optional>
  4125. </element>
  4126. </define>
  4127. <define name="table-validation-attlist">
  4128. <interleave>
  4129. <attribute name="table:name">
  4130. <ref name="string"/>
  4131. </attribute>
  4132. <optional>
  4133. <attribute name="table:condition">
  4134. <ref name="string"/>
  4135. </attribute>
  4136. </optional>
  4137. <optional>
  4138. <attribute name="table:base-cell-address">
  4139. <ref name="cellAddress"/>
  4140. </attribute>
  4141. </optional>
  4142. <optional>
  4143. <attribute name="table:allow-empty-cell">
  4144. <ref name="boolean"/>
  4145. </attribute>
  4146. </optional>
  4147. <optional>
  4148. <attribute name="table:display-list">
  4149. <choice>
  4150. <value>none</value>
  4151. <value>unsorted</value>
  4152. <value>sort-ascending</value>
  4153. </choice>
  4154. </attribute>
  4155. </optional>
  4156. </interleave>
  4157. </define>
  4158. <define name="table-help-message">
  4159. <element name="table:help-message">
  4160. <optional>
  4161. <attribute name="table:title">
  4162. <ref name="string"/>
  4163. </attribute>
  4164. </optional>
  4165. <optional>
  4166. <attribute name="table:display">
  4167. <ref name="boolean"/>
  4168. </attribute>
  4169. </optional>
  4170. <zeroOrMore>
  4171. <ref name="text-p"/>
  4172. </zeroOrMore>
  4173. </element>
  4174. </define>
  4175. <define name="table-error-message">
  4176. <element name="table:error-message">
  4177. <optional>
  4178. <attribute name="table:title">
  4179. <ref name="string"/>
  4180. </attribute>
  4181. </optional>
  4182. <optional>
  4183. <attribute name="table:display">
  4184. <ref name="boolean"/>
  4185. </attribute>
  4186. </optional>
  4187. <optional>
  4188. <attribute name="table:message-type">
  4189. <choice>
  4190. <value>stop</value>
  4191. <value>warning</value>
  4192. <value>information</value>
  4193. </choice>
  4194. </attribute>
  4195. </optional>
  4196. <zeroOrMore>
  4197. <ref name="text-p"/>
  4198. </zeroOrMore>
  4199. </element>
  4200. </define>
  4201. <define name="table-error-macro">
  4202. <element name="table:error-macro">
  4203. <optional>
  4204. <attribute name="table:execute">
  4205. <ref name="boolean"/>
  4206. </attribute>
  4207. </optional>
  4208. </element>
  4209. </define>
  4210. <define name="table-label-ranges">
  4211. <element name="table:label-ranges">
  4212. <zeroOrMore>
  4213. <ref name="table-label-range"/>
  4214. </zeroOrMore>
  4215. </element>
  4216. </define>
  4217. <define name="table-label-range">
  4218. <element name="table:label-range">
  4219. <ref name="table-label-range-attlist"/>
  4220. <empty/>
  4221. </element>
  4222. </define>
  4223. <define name="table-label-range-attlist">
  4224. <interleave>
  4225. <attribute name="table:label-cell-range-address">
  4226. <ref name="cellRangeAddress"/>
  4227. </attribute>
  4228. <attribute name="table:data-cell-range-address">
  4229. <ref name="cellRangeAddress"/>
  4230. </attribute>
  4231. <attribute name="table:orientation">
  4232. <choice>
  4233. <value>column</value>
  4234. <value>row</value>
  4235. </choice>
  4236. </attribute>
  4237. </interleave>
  4238. </define>
  4239. <define name="table-named-expressions">
  4240. <element name="table:named-expressions">
  4241. <zeroOrMore>
  4242. <choice>
  4243. <ref name="table-named-range"/>
  4244. <ref name="table-named-expression"/>
  4245. </choice>
  4246. </zeroOrMore>
  4247. </element>
  4248. </define>
  4249. <define name="table-named-range">
  4250. <element name="table:named-range">
  4251. <ref name="table-named-range-attlist"/>
  4252. <empty/>
  4253. </element>
  4254. </define>
  4255. <define name="table-named-range-attlist">
  4256. <attribute name="table:name">
  4257. <ref name="string"/>
  4258. </attribute>
  4259. <attribute name="table:cell-range-address">
  4260. <ref name="cellRangeAddress"/>
  4261. </attribute>
  4262. <optional>
  4263. <attribute name="table:base-cell-address">
  4264. <ref name="cellAddress"/>
  4265. </attribute>
  4266. </optional>
  4267. <optional>
  4268. <attribute name="table:range-usable-as">
  4269. <choice>
  4270. <value>none</value>
  4271. <list>
  4272. <oneOrMore>
  4273. <choice>
  4274. <value>print-range</value>
  4275. <value>filter</value>
  4276. <value>repeat-row</value>
  4277. <value>repeat-column</value>
  4278. </choice>
  4279. </oneOrMore>
  4280. </list>
  4281. </choice>
  4282. </attribute>
  4283. </optional>
  4284. </define>
  4285. <define name="table-named-expression">
  4286. <element name="table:named-expression">
  4287. <ref name="table-named-expression-attlist"/>
  4288. <empty/>
  4289. </element>
  4290. </define>
  4291. <define name="table-named-expression-attlist">
  4292. <attribute name="table:name">
  4293. <ref name="string"/>
  4294. </attribute>
  4295. <attribute name="table:expression">
  4296. <ref name="string"/>
  4297. </attribute>
  4298. <optional>
  4299. <attribute name="table:base-cell-address">
  4300. <ref name="cellAddress"/>
  4301. </attribute>
  4302. </optional>
  4303. </define>
  4304. <define name="table-database-ranges">
  4305. <element name="table:database-ranges">
  4306. <zeroOrMore>
  4307. <ref name="table-database-range"/>
  4308. </zeroOrMore>
  4309. </element>
  4310. </define>
  4311. <define name="table-database-range">
  4312. <element name="table:database-range">
  4313. <ref name="table-database-range-attlist"/>
  4314. <optional>
  4315. <choice>
  4316. <ref name="table-database-source-sql"/>
  4317. <ref name="table-database-source-table"/>
  4318. <ref name="table-database-source-query"/>
  4319. </choice>
  4320. </optional>
  4321. <optional>
  4322. <ref name="table-filter"/>
  4323. </optional>
  4324. <optional>
  4325. <ref name="table-sort"/>
  4326. </optional>
  4327. <optional>
  4328. <ref name="table-subtotal-rules"/>
  4329. </optional>
  4330. </element>
  4331. </define>
  4332. <define name="table-database-range-attlist">
  4333. <interleave>
  4334. <optional>
  4335. <attribute name="table:name">
  4336. <ref name="string"/>
  4337. </attribute>
  4338. </optional>
  4339. <optional>
  4340. <attribute name="table:is-selection">
  4341. <ref name="boolean"/>
  4342. </attribute>
  4343. </optional>
  4344. <optional>
  4345. <attribute name="table:on-update-keep-styles">
  4346. <ref name="boolean"/>
  4347. </attribute>
  4348. </optional>
  4349. <optional>
  4350. <attribute name="table:on-update-keep-size">
  4351. <ref name="boolean"/>
  4352. </attribute>
  4353. </optional>
  4354. <optional>
  4355. <attribute name="table:has-persistent-data">
  4356. <ref name="boolean"/>
  4357. </attribute>
  4358. </optional>
  4359. <optional>
  4360. <attribute name="table:orientation">
  4361. <choice>
  4362. <value>column</value>
  4363. <value>row</value>
  4364. </choice>
  4365. </attribute>
  4366. </optional>
  4367. <optional>
  4368. <attribute name="table:contains-header">
  4369. <ref name="boolean"/>
  4370. </attribute>
  4371. </optional>
  4372. <optional>
  4373. <attribute name="table:display-filter-buttons">
  4374. <ref name="boolean"/>
  4375. </attribute>
  4376. </optional>
  4377. <attribute name="table:target-range-address">
  4378. <ref name="cellRangeAddress"/>
  4379. </attribute>
  4380. <optional>
  4381. <attribute name="table:refresh-delay">
  4382. <ref name="boolean"/>
  4383. </attribute>
  4384. </optional>
  4385. </interleave>
  4386. </define>
  4387. <define name="table-database-source-sql">
  4388. <element name="table:database-source-sql">
  4389. <ref name="table-database-source-sql-attlist"/>
  4390. <empty/>
  4391. </element>
  4392. </define>
  4393. <define name="table-database-source-sql-attlist">
  4394. <interleave>
  4395. <attribute name="table:database-name">
  4396. <ref name="string"/>
  4397. </attribute>
  4398. <attribute name="table:sql-statement">
  4399. <ref name="string"/>
  4400. </attribute>
  4401. <optional>
  4402. <attribute name="table:parse-sql-statement">
  4403. <ref name="boolean"/>
  4404. </attribute>
  4405. </optional>
  4406. </interleave>
  4407. </define>
  4408. <define name="table-database-source-query">
  4409. <element name="table:database-source-table">
  4410. <ref name="table-database-source-table-attlist"/>
  4411. <empty/>
  4412. </element>
  4413. </define>
  4414. <define name="table-database-source-table-attlist">
  4415. <interleave>
  4416. <attribute name="table:database-name">
  4417. <ref name="string"/>
  4418. </attribute>
  4419. <attribute name="table:database-table-name">
  4420. <ref name="string"/>
  4421. </attribute>
  4422. </interleave>
  4423. </define>
  4424. <define name="table-database-source-table">
  4425. <element name="table:database-source-query">
  4426. <ref name="table-database-source-query-attlist"/>
  4427. <empty/>
  4428. </element>
  4429. </define>
  4430. <define name="table-database-source-query-attlist">
  4431. <interleave>
  4432. <attribute name="table:database-name">
  4433. <ref name="string"/>
  4434. </attribute>
  4435. <attribute name="table:query-name">
  4436. <ref name="string"/>
  4437. </attribute>
  4438. </interleave>
  4439. </define>
  4440. <define name="table-sort">
  4441. <element name="table:sort">
  4442. <ref name="table-sort-attlist"/>
  4443. <oneOrMore>
  4444. <ref name="table-sort-by"/>
  4445. </oneOrMore>
  4446. </element>
  4447. </define>
  4448. <define name="table-sort-attlist">
  4449. <interleave>
  4450. <optional>
  4451. <attribute name="table:bind-styles-to-content">
  4452. <ref name="boolean"/>
  4453. </attribute>
  4454. </optional>
  4455. <optional>
  4456. <attribute name="table:target-range-address">
  4457. <ref name="cellRangeAddress"/>
  4458. </attribute>
  4459. </optional>
  4460. <optional>
  4461. <attribute name="table:case-sensitive">
  4462. <ref name="boolean"/>
  4463. </attribute>
  4464. </optional>
  4465. <optional>
  4466. <attribute name="table:language">
  4467. <ref name="languageCode"/>
  4468. </attribute>
  4469. </optional>
  4470. <optional>
  4471. <attribute name="table:country">
  4472. <ref name="countryCode"/>
  4473. </attribute>
  4474. </optional>
  4475. <optional>
  4476. <attribute name="table:script">
  4477. <ref name="scriptCode"/>
  4478. </attribute>
  4479. </optional>
  4480. <optional>
  4481. <attribute name="table:rfc-language-tag">
  4482. <ref name="language"/>
  4483. </attribute>
  4484. </optional>
  4485. <optional>
  4486. <attribute name="table:algorithm">
  4487. <ref name="string"/>
  4488. </attribute>
  4489. </optional>
  4490. <optional>
  4491. <attribute name="table:embedded-number-behavior">
  4492. <choice>
  4493. <value>alpha-numeric</value>
  4494. <value>integer</value>
  4495. <value>double</value>
  4496. </choice>
  4497. </attribute>
  4498. </optional>
  4499. </interleave>
  4500. </define>
  4501. <define name="table-sort-by">
  4502. <element name="table:sort-by">
  4503. <ref name="table-sort-by-attlist"/>
  4504. <empty/>
  4505. </element>
  4506. </define>
  4507. <define name="table-sort-by-attlist">
  4508. <interleave>
  4509. <attribute name="table:field-number">
  4510. <ref name="nonNegativeInteger"/>
  4511. </attribute>
  4512. <optional>
  4513. <attribute name="table:data-type">
  4514. <choice>
  4515. <value>text</value>
  4516. <value>number</value>
  4517. <value>automatic</value>
  4518. <ref name="string"/>
  4519. </choice>
  4520. </attribute>
  4521. </optional>
  4522. <optional>
  4523. <attribute name="table:order">
  4524. <choice>
  4525. <value>ascending</value>
  4526. <value>descending</value>
  4527. </choice>
  4528. </attribute>
  4529. </optional>
  4530. </interleave>
  4531. </define>
  4532. <define name="table-subtotal-rules">
  4533. <element name="table:subtotal-rules">
  4534. <ref name="table-subtotal-rules-attlist"/>
  4535. <optional>
  4536. <ref name="table-sort-groups"/>
  4537. </optional>
  4538. <zeroOrMore>
  4539. <ref name="table-subtotal-rule"/>
  4540. </zeroOrMore>
  4541. </element>
  4542. </define>
  4543. <define name="table-subtotal-rules-attlist">
  4544. <interleave>
  4545. <optional>
  4546. <attribute name="table:bind-styles-to-content">
  4547. <ref name="boolean"/>
  4548. </attribute>
  4549. </optional>
  4550. <optional>
  4551. <attribute name="table:case-sensitive">
  4552. <ref name="boolean"/>
  4553. </attribute>
  4554. </optional>
  4555. <optional>
  4556. <attribute name="table:page-breaks-on-group-change">
  4557. <ref name="boolean"/>
  4558. </attribute>
  4559. </optional>
  4560. </interleave>
  4561. </define>
  4562. <define name="table-sort-groups">
  4563. <element name="table:sort-groups">
  4564. <ref name="table-sort-groups-attlist"/>
  4565. <empty/>
  4566. </element>
  4567. </define>
  4568. <define name="table-sort-groups-attlist">
  4569. <interleave>
  4570. <optional>
  4571. <attribute name="table:data-type">
  4572. <choice>
  4573. <value>text</value>
  4574. <value>number</value>
  4575. <value>automatic</value>
  4576. <ref name="string"/>
  4577. </choice>
  4578. </attribute>
  4579. </optional>
  4580. <optional>
  4581. <attribute name="table:order">
  4582. <choice>
  4583. <value>ascending</value>
  4584. <value>descending</value>
  4585. </choice>
  4586. </attribute>
  4587. </optional>
  4588. </interleave>
  4589. </define>
  4590. <define name="table-subtotal-rule">
  4591. <element name="table:subtotal-rule">
  4592. <ref name="table-subtotal-rule-attlist"/>
  4593. <zeroOrMore>
  4594. <ref name="table-subtotal-field"/>
  4595. </zeroOrMore>
  4596. </element>
  4597. </define>
  4598. <define name="table-subtotal-rule-attlist">
  4599. <attribute name="table:group-by-field-number">
  4600. <ref name="nonNegativeInteger"/>
  4601. </attribute>
  4602. </define>
  4603. <define name="table-subtotal-field">
  4604. <element name="table:subtotal-field">
  4605. <ref name="table-subtotal-field-attlist"/>
  4606. <empty/>
  4607. </element>
  4608. </define>
  4609. <define name="table-subtotal-field-attlist">
  4610. <interleave>
  4611. <attribute name="table:field-number">
  4612. <ref name="nonNegativeInteger"/>
  4613. </attribute>
  4614. <attribute name="table:function">
  4615. <choice>
  4616. <value>average</value>
  4617. <value>count</value>
  4618. <value>countnums</value>
  4619. <value>max</value>
  4620. <value>min</value>
  4621. <value>product</value>
  4622. <value>stdev</value>
  4623. <value>stdevp</value>
  4624. <value>sum</value>
  4625. <value>var</value>
  4626. <value>varp</value>
  4627. <ref name="string"/>
  4628. </choice>
  4629. </attribute>
  4630. </interleave>
  4631. </define>
  4632. <define name="table-filter">
  4633. <element name="table:filter">
  4634. <ref name="table-filter-attlist"/>
  4635. <choice>
  4636. <ref name="table-filter-condition"/>
  4637. <ref name="table-filter-and"/>
  4638. <ref name="table-filter-or"/>
  4639. </choice>
  4640. </element>
  4641. </define>
  4642. <define name="table-filter-attlist">
  4643. <interleave>
  4644. <optional>
  4645. <attribute name="table:target-range-address">
  4646. <ref name="cellRangeAddress"/>
  4647. </attribute>
  4648. </optional>
  4649. <optional>
  4650. <attribute name="table:condition-source">
  4651. <choice>
  4652. <value>self</value>
  4653. <value>cell-range</value>
  4654. </choice>
  4655. </attribute>
  4656. </optional>
  4657. <optional>
  4658. <attribute name="table:condition-source-range-address">
  4659. <ref name="cellRangeAddress"/>
  4660. </attribute>
  4661. </optional>
  4662. <optional>
  4663. <attribute name="table:display-duplicates">
  4664. <ref name="boolean"/>
  4665. </attribute>
  4666. </optional>
  4667. </interleave>
  4668. </define>
  4669. <define name="table-filter-and">
  4670. <element name="table:filter-and">
  4671. <oneOrMore>
  4672. <choice>
  4673. <ref name="table-filter-or"/>
  4674. <ref name="table-filter-condition"/>
  4675. </choice>
  4676. </oneOrMore>
  4677. </element>
  4678. </define>
  4679. <define name="table-filter-or">
  4680. <element name="table:filter-or">
  4681. <oneOrMore>
  4682. <choice>
  4683. <ref name="table-filter-and"/>
  4684. <ref name="table-filter-condition"/>
  4685. </choice>
  4686. </oneOrMore>
  4687. </element>
  4688. </define>
  4689. <define name="table-filter-condition">
  4690. <element name="table:filter-condition">
  4691. <ref name="table-filter-condition-attlist"/>
  4692. <zeroOrMore>
  4693. <ref name="table-filter-set-item"/>
  4694. </zeroOrMore>
  4695. </element>
  4696. </define>
  4697. <define name="table-filter-condition-attlist">
  4698. <interleave>
  4699. <attribute name="table:field-number">
  4700. <ref name="nonNegativeInteger"/>
  4701. </attribute>
  4702. <attribute name="table:value">
  4703. <choice>
  4704. <ref name="string"/>
  4705. <ref name="double"/>
  4706. </choice>
  4707. </attribute>
  4708. <attribute name="table:operator">
  4709. <ref name="string"/>
  4710. </attribute>
  4711. <optional>
  4712. <attribute name="table:case-sensitive">
  4713. <ref name="string"/>
  4714. </attribute>
  4715. </optional>
  4716. <optional>
  4717. <attribute name="table:data-type">
  4718. <choice>
  4719. <value>text</value>
  4720. <value>number</value>
  4721. </choice>
  4722. </attribute>
  4723. </optional>
  4724. </interleave>
  4725. </define>
  4726. <define name="table-filter-set-item">
  4727. <element name="table:filter-set-item">
  4728. <attribute name="table:value">
  4729. <ref name="string"/>
  4730. </attribute>
  4731. <empty/>
  4732. </element>
  4733. </define>
  4734. <define name="table-data-pilot-tables">
  4735. <element name="table:data-pilot-tables">
  4736. <zeroOrMore>
  4737. <ref name="table-data-pilot-table"/>
  4738. </zeroOrMore>
  4739. </element>
  4740. </define>
  4741. <define name="table-data-pilot-table">
  4742. <element name="table:data-pilot-table">
  4743. <ref name="table-data-pilot-table-attlist"/>
  4744. <optional>
  4745. <choice>
  4746. <ref name="table-database-source-sql"/>
  4747. <ref name="table-database-source-table"/>
  4748. <ref name="table-database-source-query"/>
  4749. <ref name="table-source-service"/>
  4750. <ref name="table-source-cell-range"/>
  4751. </choice>
  4752. </optional>
  4753. <oneOrMore>
  4754. <ref name="table-data-pilot-field"/>
  4755. </oneOrMore>
  4756. </element>
  4757. </define>
  4758. <define name="table-data-pilot-table-attlist">
  4759. <interleave>
  4760. <attribute name="table:name">
  4761. <ref name="string"/>
  4762. </attribute>
  4763. <optional>
  4764. <attribute name="table:application-data">
  4765. <ref name="string"/>
  4766. </attribute>
  4767. </optional>
  4768. <optional>
  4769. <attribute name="table:grand-total">
  4770. <choice>
  4771. <value>none</value>
  4772. <value>row</value>
  4773. <value>column</value>
  4774. <value>both</value>
  4775. </choice>
  4776. </attribute>
  4777. </optional>
  4778. <optional>
  4779. <attribute name="table:ignore-empty-rows">
  4780. <ref name="boolean"/>
  4781. </attribute>
  4782. </optional>
  4783. <optional>
  4784. <attribute name="table:identify-categories">
  4785. <ref name="boolean"/>
  4786. </attribute>
  4787. </optional>
  4788. <attribute name="table:target-range-address">
  4789. <ref name="cellRangeAddress"/>
  4790. </attribute>
  4791. <optional>
  4792. <attribute name="table:buttons">
  4793. <ref name="cellRangeAddressList"/>
  4794. </attribute>
  4795. </optional>
  4796. <optional>
  4797. <attribute name="table:show-filter-button">
  4798. <ref name="boolean"/>
  4799. </attribute>
  4800. </optional>
  4801. <optional>
  4802. <attribute name="table:drill-down-on-double-click">
  4803. <ref name="boolean"/>
  4804. </attribute>
  4805. </optional>
  4806. </interleave>
  4807. </define>
  4808. <define name="table-source-cell-range">
  4809. <element name="table:source-cell-range">
  4810. <ref name="table-source-cell-range-attlist"/>
  4811. <optional>
  4812. <ref name="table-filter"/>
  4813. </optional>
  4814. </element>
  4815. </define>
  4816. <define name="table-source-cell-range-attlist">
  4817. <attribute name="table:cell-range-address">
  4818. <ref name="cellRangeAddress"/>
  4819. </attribute>
  4820. </define>
  4821. <define name="table-source-service">
  4822. <element name="table:source-service">
  4823. <ref name="table-source-service-attlist"/>
  4824. <empty/>
  4825. </element>
  4826. </define>
  4827. <define name="table-source-service-attlist">
  4828. <interleave>
  4829. <attribute name="table:name">
  4830. <ref name="string"/>
  4831. </attribute>
  4832. <attribute name="table:source-name">
  4833. <ref name="string"/>
  4834. </attribute>
  4835. <attribute name="table:object-name">
  4836. <ref name="string"/>
  4837. </attribute>
  4838. <optional>
  4839. <attribute name="table:user-name">
  4840. <ref name="string"/>
  4841. </attribute>
  4842. </optional>
  4843. <optional>
  4844. <attribute name="table:password">
  4845. <ref name="string"/>
  4846. </attribute>
  4847. </optional>
  4848. </interleave>
  4849. </define>
  4850. <define name="table-data-pilot-field">
  4851. <element name="table:data-pilot-field">
  4852. <ref name="table-data-pilot-field-attlist"/>
  4853. <optional>
  4854. <ref name="table-data-pilot-level"/>
  4855. </optional>
  4856. <optional>
  4857. <ref name="table-data-pilot-field-reference"/>
  4858. </optional>
  4859. <optional>
  4860. <ref name="table-data-pilot-groups"/>
  4861. </optional>
  4862. </element>
  4863. </define>
  4864. <define name="table-data-pilot-field-attlist">
  4865. <interleave>
  4866. <attribute name="table:source-field-name">
  4867. <ref name="string"/>
  4868. </attribute>
  4869. <choice>
  4870. <attribute name="table:orientation">
  4871. <choice>
  4872. <value>row</value>
  4873. <value>column</value>
  4874. <value>data</value>
  4875. <value>hidden</value>
  4876. </choice>
  4877. </attribute>
  4878. <group>
  4879. <attribute name="table:orientation">
  4880. <value>page</value>
  4881. </attribute>
  4882. <attribute name="table:selected-page">
  4883. <ref name="string"/>
  4884. </attribute>
  4885. </group>
  4886. </choice>
  4887. <optional>
  4888. <attribute name="table:is-data-layout-field">
  4889. <ref name="string"/>
  4890. </attribute>
  4891. </optional>
  4892. <optional>
  4893. <attribute name="table:function">
  4894. <choice>
  4895. <value>auto</value>
  4896. <value>average</value>
  4897. <value>count</value>
  4898. <value>countnums</value>
  4899. <value>max</value>
  4900. <value>min</value>
  4901. <value>product</value>
  4902. <value>stdev</value>
  4903. <value>stdevp</value>
  4904. <value>sum</value>
  4905. <value>var</value>
  4906. <value>varp</value>
  4907. <ref name="string"/>
  4908. </choice>
  4909. </attribute>
  4910. </optional>
  4911. <optional>
  4912. <attribute name="table:used-hierarchy">
  4913. <ref name="integer"/>
  4914. </attribute>
  4915. </optional>
  4916. </interleave>
  4917. </define>
  4918. <define name="table-data-pilot-level">
  4919. <element name="table:data-pilot-level">
  4920. <ref name="table-data-pilot-level-attlist"/>
  4921. <optional>
  4922. <ref name="table-data-pilot-subtotals"/>
  4923. </optional>
  4924. <optional>
  4925. <ref name="table-data-pilot-members"/>
  4926. </optional>
  4927. <optional>
  4928. <ref name="table-data-pilot-display-info"/>
  4929. </optional>
  4930. <optional>
  4931. <ref name="table-data-pilot-sort-info"/>
  4932. </optional>
  4933. <optional>
  4934. <ref name="table-data-pilot-layout-info"/>
  4935. </optional>
  4936. </element>
  4937. </define>
  4938. <define name="table-data-pilot-level-attlist">
  4939. <optional>
  4940. <attribute name="table:show-empty">
  4941. <ref name="boolean"/>
  4942. </attribute>
  4943. </optional>
  4944. </define>
  4945. <define name="table-data-pilot-subtotals">
  4946. <element name="table:data-pilot-subtotals">
  4947. <zeroOrMore>
  4948. <ref name="table-data-pilot-subtotal"/>
  4949. </zeroOrMore>
  4950. </element>
  4951. </define>
  4952. <define name="table-data-pilot-subtotal">
  4953. <element name="table:data-pilot-subtotal">
  4954. <ref name="table-data-pilot-subtotal-attlist"/>
  4955. <empty/>
  4956. </element>
  4957. </define>
  4958. <define name="table-data-pilot-subtotal-attlist">
  4959. <attribute name="table:function">
  4960. <choice>
  4961. <value>auto</value>
  4962. <value>average</value>
  4963. <value>count</value>
  4964. <value>countnums</value>
  4965. <value>max</value>
  4966. <value>min</value>
  4967. <value>product</value>
  4968. <value>stdev</value>
  4969. <value>stdevp</value>
  4970. <value>sum</value>
  4971. <value>var</value>
  4972. <value>varp</value>
  4973. <ref name="string"/>
  4974. </choice>
  4975. </attribute>
  4976. </define>
  4977. <define name="table-data-pilot-members">
  4978. <element name="table:data-pilot-members">
  4979. <zeroOrMore>
  4980. <ref name="table-data-pilot-member"/>
  4981. </zeroOrMore>
  4982. </element>
  4983. </define>
  4984. <define name="table-data-pilot-member">
  4985. <element name="table:data-pilot-member">
  4986. <ref name="table-data-pilot-member-attlist"/>
  4987. <empty/>
  4988. </element>
  4989. </define>
  4990. <define name="table-data-pilot-member-attlist">
  4991. <interleave>
  4992. <attribute name="table:name">
  4993. <ref name="string"/>
  4994. </attribute>
  4995. <optional>
  4996. <attribute name="table:display">
  4997. <ref name="boolean"/>
  4998. </attribute>
  4999. </optional>
  5000. <optional>
  5001. <attribute name="table:show-details">
  5002. <ref name="boolean"/>
  5003. </attribute>
  5004. </optional>
  5005. </interleave>
  5006. </define>
  5007. <define name="table-data-pilot-display-info">
  5008. <element name="table:data-pilot-display-info">
  5009. <ref name="table-data-pilot-display-info-attlist"/>
  5010. <empty/>
  5011. </element>
  5012. </define>
  5013. <define name="table-data-pilot-display-info-attlist">
  5014. <interleave>
  5015. <attribute name="table:enabled">
  5016. <ref name="boolean"/>
  5017. </attribute>
  5018. <attribute name="table:data-field">
  5019. <ref name="string"/>
  5020. </attribute>
  5021. <attribute name="table:member-count">
  5022. <ref name="nonNegativeInteger"/>
  5023. </attribute>
  5024. <attribute name="table:display-member-mode">
  5025. <choice>
  5026. <value>from-top</value>
  5027. <value>from-bottom</value>
  5028. </choice>
  5029. </attribute>
  5030. </interleave>
  5031. </define>
  5032. <define name="table-data-pilot-sort-info">
  5033. <element name="table:data-pilot-sort-info">
  5034. <ref name="table-data-pilot-sort-info-attlist"/>
  5035. <empty/>
  5036. </element>
  5037. </define>
  5038. <define name="table-data-pilot-sort-info-attlist">
  5039. <interleave>
  5040. <choice>
  5041. <group>
  5042. <attribute name="table:sort-mode">
  5043. <value>data</value>
  5044. </attribute>
  5045. <attribute name="table:data-field">
  5046. <ref name="string"/>
  5047. </attribute>
  5048. </group>
  5049. <attribute name="table:sort-mode">
  5050. <choice>
  5051. <value>none</value>
  5052. <value>manual</value>
  5053. <value>name</value>
  5054. </choice>
  5055. </attribute>
  5056. </choice>
  5057. <attribute name="table:order">
  5058. <choice>
  5059. <value>ascending</value>
  5060. <value>descending</value>
  5061. </choice>
  5062. </attribute>
  5063. </interleave>
  5064. </define>
  5065. <define name="table-data-pilot-layout-info">
  5066. <element name="table:data-pilot-layout-info">
  5067. <ref name="table-data-pilot-layout-info-attlist"/>
  5068. <empty/>
  5069. </element>
  5070. </define>
  5071. <define name="table-data-pilot-layout-info-attlist">
  5072. <interleave>
  5073. <attribute name="table:layout-mode">
  5074. <choice>
  5075. <value>tabular-layout</value>
  5076. <value>outline-subtotals-top</value>
  5077. <value>outline-subtotals-bottom</value>
  5078. </choice>
  5079. </attribute>
  5080. <attribute name="table:add-empty-lines">
  5081. <ref name="boolean"/>
  5082. </attribute>
  5083. </interleave>
  5084. </define>
  5085. <define name="table-data-pilot-field-reference">
  5086. <element name="table:data-pilot-field-reference">
  5087. <ref name="table-data-pilot-field-reference-attlist"/>
  5088. </element>
  5089. </define>
  5090. <define name="table-data-pilot-field-reference-attlist">
  5091. <interleave>
  5092. <attribute name="table:field-name">
  5093. <ref name="string"/>
  5094. </attribute>
  5095. <choice>
  5096. <group>
  5097. <attribute name="table:member-type">
  5098. <value>named</value>
  5099. </attribute>
  5100. <attribute name="table:member-name">
  5101. <ref name="string"/>
  5102. </attribute>
  5103. </group>
  5104. <attribute name="table:member-type">
  5105. <choice>
  5106. <value>previous</value>
  5107. <value>next</value>
  5108. </choice>
  5109. </attribute>
  5110. </choice>
  5111. <attribute name="table:type">
  5112. <choice>
  5113. <value>none</value>
  5114. <value>member-difference</value>
  5115. <value>member-percentage</value>
  5116. <value>member-percentage-difference</value>
  5117. <value>running-total</value>
  5118. <value>row-percentage</value>
  5119. <value>column-percentage</value>
  5120. <value>total-percentage</value>
  5121. <value>index</value>
  5122. </choice>
  5123. </attribute>
  5124. </interleave>
  5125. </define>
  5126. <define name="table-data-pilot-groups">
  5127. <element name="table:data-pilot-groups">
  5128. <ref name="table-data-pilot-groups-attlist"/>
  5129. <oneOrMore>
  5130. <ref name="table-data-pilot-group"/>
  5131. </oneOrMore>
  5132. </element>
  5133. </define>
  5134. <define name="table-data-pilot-groups-attlist">
  5135. <interleave>
  5136. <attribute name="table:source-field-name">
  5137. <ref name="string"/>
  5138. </attribute>
  5139. <choice>
  5140. <attribute name="table:date-start">
  5141. <choice>
  5142. <ref name="dateOrDateTime"/>
  5143. <value>auto</value>
  5144. </choice>
  5145. </attribute>
  5146. <attribute name="table:start">
  5147. <choice>
  5148. <ref name="double"/>
  5149. <value>auto</value>
  5150. </choice>
  5151. </attribute>
  5152. </choice>
  5153. <choice>
  5154. <attribute name="table:date-end">
  5155. <choice>
  5156. <ref name="dateOrDateTime"/>
  5157. <value>auto</value>
  5158. </choice>
  5159. </attribute>
  5160. <attribute name="table:end">
  5161. <choice>
  5162. <ref name="double"/>
  5163. <value>auto</value>
  5164. </choice>
  5165. </attribute>
  5166. </choice>
  5167. <attribute name="table:step">
  5168. <ref name="double"/>
  5169. </attribute>
  5170. <attribute name="table:grouped-by">
  5171. <choice>
  5172. <value>seconds</value>
  5173. <value>minutes</value>
  5174. <value>hours</value>
  5175. <value>days</value>
  5176. <value>months</value>
  5177. <value>quarters</value>
  5178. <value>years</value>
  5179. </choice>
  5180. </attribute>
  5181. </interleave>
  5182. </define>
  5183. <define name="table-data-pilot-group">
  5184. <element name="table:data-pilot-group">
  5185. <ref name="table-data-pilot-group-attlist"/>
  5186. <oneOrMore>
  5187. <ref name="table-data-pilot-group-member"/>
  5188. </oneOrMore>
  5189. </element>
  5190. </define>
  5191. <define name="table-data-pilot-group-attlist">
  5192. <attribute name="table:name">
  5193. <ref name="string"/>
  5194. </attribute>
  5195. </define>
  5196. <define name="table-data-pilot-group-member">
  5197. <element name="table:data-pilot-group-member">
  5198. <ref name="table-data-pilot-group-member-attlist"/>
  5199. </element>
  5200. </define>
  5201. <define name="table-data-pilot-group-member-attlist">
  5202. <attribute name="table:name">
  5203. <ref name="string"/>
  5204. </attribute>
  5205. </define>
  5206. <define name="table-consolidation">
  5207. <element name="table:consolidation">
  5208. <ref name="table-consolidation-attlist"/>
  5209. <empty/>
  5210. </element>
  5211. </define>
  5212. <define name="table-consolidation-attlist">
  5213. <interleave>
  5214. <attribute name="table:function">
  5215. <choice>
  5216. <value>average</value>
  5217. <value>count</value>
  5218. <value>countnums</value>
  5219. <value>max</value>
  5220. <value>min</value>
  5221. <value>product</value>
  5222. <value>stdev</value>
  5223. <value>stdevp</value>
  5224. <value>sum</value>
  5225. <value>var</value>
  5226. <value>varp</value>
  5227. <ref name="string"/>
  5228. </choice>
  5229. </attribute>
  5230. <attribute name="table:source-cell-range-addresses">
  5231. <ref name="cellRangeAddressList"/>
  5232. </attribute>
  5233. <attribute name="table:target-cell-address">
  5234. <ref name="cellAddress"/>
  5235. </attribute>
  5236. <optional>
  5237. <attribute name="table:use-labels">
  5238. <choice>
  5239. <value>none</value>
  5240. <value>row</value>
  5241. <value>column</value>
  5242. <value>both</value>
  5243. </choice>
  5244. </attribute>
  5245. </optional>
  5246. <optional>
  5247. <attribute name="table:link-to-source-data">
  5248. <ref name="boolean"/>
  5249. </attribute>
  5250. </optional>
  5251. </interleave>
  5252. </define>
  5253. <define name="table-dde-links">
  5254. <element name="table:dde-links">
  5255. <oneOrMore>
  5256. <ref name="table-dde-link"/>
  5257. </oneOrMore>
  5258. </element>
  5259. </define>
  5260. <define name="table-tracked-changes">
  5261. <element name="table:tracked-changes">
  5262. <ref name="table-tracked-changes-attlist"/>
  5263. <zeroOrMore>
  5264. <choice>
  5265. <ref name="table-cell-content-change"/>
  5266. <ref name="table-insertion"/>
  5267. <ref name="table-deletion"/>
  5268. <ref name="table-movement"/>
  5269. </choice>
  5270. </zeroOrMore>
  5271. </element>
  5272. </define>
  5273. <define name="table-tracked-changes-attlist">
  5274. <optional>
  5275. <attribute name="table:track-changes">
  5276. <ref name="boolean"/>
  5277. </attribute>
  5278. </optional>
  5279. </define>
  5280. <define name="table-insertion">
  5281. <element name="table:insertion">
  5282. <ref name="table-insertion-attlist"/>
  5283. <ref name="common-table-change-attlist"/>
  5284. <ref name="office-change-info"/>
  5285. <optional>
  5286. <ref name="table-dependencies"/>
  5287. </optional>
  5288. <optional>
  5289. <ref name="table-deletions"/>
  5290. </optional>
  5291. </element>
  5292. </define>
  5293. <define name="table-insertion-attlist">
  5294. <interleave>
  5295. <attribute name="table:type">
  5296. <choice>
  5297. <value>row</value>
  5298. <value>column</value>
  5299. <value>table</value>
  5300. </choice>
  5301. </attribute>
  5302. <attribute name="table:position">
  5303. <ref name="integer"/>
  5304. </attribute>
  5305. <optional>
  5306. <attribute name="table:count">
  5307. <ref name="positiveInteger"/>
  5308. </attribute>
  5309. </optional>
  5310. <optional>
  5311. <attribute name="table:table">
  5312. <ref name="integer"/>
  5313. </attribute>
  5314. </optional>
  5315. </interleave>
  5316. </define>
  5317. <define name="table-dependencies">
  5318. <element name="table:dependencies">
  5319. <oneOrMore>
  5320. <ref name="table-dependency"/>
  5321. </oneOrMore>
  5322. </element>
  5323. </define>
  5324. <define name="table-dependency">
  5325. <element name="table:dependency">
  5326. <attribute name="table:id">
  5327. <ref name="string"/>
  5328. </attribute>
  5329. <empty/>
  5330. </element>
  5331. </define>
  5332. <define name="table-deletions">
  5333. <element name="table:deletions">
  5334. <oneOrMore>
  5335. <choice>
  5336. <ref name="table-cell-content-deletion"/>
  5337. <ref name="table-change-deletion"/>
  5338. </choice>
  5339. </oneOrMore>
  5340. </element>
  5341. </define>
  5342. <define name="table-cell-content-deletion">
  5343. <element name="table:cell-content-deletion">
  5344. <optional>
  5345. <attribute name="table:id">
  5346. <ref name="string"/>
  5347. </attribute>
  5348. </optional>
  5349. <optional>
  5350. <ref name="table-cell-address"/>
  5351. </optional>
  5352. <optional>
  5353. <ref name="table-change-track-table-cell"/>
  5354. </optional>
  5355. </element>
  5356. </define>
  5357. <define name="table-change-deletion">
  5358. <element name="table:change-deletion">
  5359. <optional>
  5360. <attribute name="table:id">
  5361. <ref name="string"/>
  5362. </attribute>
  5363. </optional>
  5364. <empty/>
  5365. </element>
  5366. </define>
  5367. <define name="table-deletion">
  5368. <element name="table:deletion">
  5369. <ref name="table-deletion-attlist"/>
  5370. <ref name="common-table-change-attlist"/>
  5371. <ref name="office-change-info"/>
  5372. <optional>
  5373. <ref name="table-dependencies"/>
  5374. </optional>
  5375. <optional>
  5376. <ref name="table-deletions"/>
  5377. </optional>
  5378. <optional>
  5379. <ref name="table-cut-offs"/>
  5380. </optional>
  5381. </element>
  5382. </define>
  5383. <define name="table-deletion-attlist">
  5384. <interleave>
  5385. <attribute name="table:type">
  5386. <choice>
  5387. <value>row</value>
  5388. <value>column</value>
  5389. <value>table</value>
  5390. </choice>
  5391. </attribute>
  5392. <attribute name="table:position">
  5393. <ref name="integer"/>
  5394. </attribute>
  5395. <optional>
  5396. <attribute name="table:table">
  5397. <ref name="integer"/>
  5398. </attribute>
  5399. </optional>
  5400. <optional>
  5401. <attribute name="table:multi-deletion-spanned">
  5402. <ref name="integer"/>
  5403. </attribute>
  5404. </optional>
  5405. </interleave>
  5406. </define>
  5407. <define name="table-cut-offs">
  5408. <element name="table:cut-offs">
  5409. <choice>
  5410. <oneOrMore>
  5411. <ref name="table-movement-cut-off"/>
  5412. </oneOrMore>
  5413. <group>
  5414. <ref name="table-insertion-cut-off"/>
  5415. <zeroOrMore>
  5416. <ref name="table-movement-cut-off"/>
  5417. </zeroOrMore>
  5418. </group>
  5419. </choice>
  5420. </element>
  5421. </define>
  5422. <define name="table-insertion-cut-off">
  5423. <element name="table:insertion-cut-off">
  5424. <ref name="table-insertion-cut-off-attlist"/>
  5425. <empty/>
  5426. </element>
  5427. </define>
  5428. <define name="table-insertion-cut-off-attlist">
  5429. <interleave>
  5430. <attribute name="table:id">
  5431. <ref name="string"/>
  5432. </attribute>
  5433. <attribute name="table:position">
  5434. <ref name="integer"/>
  5435. </attribute>
  5436. </interleave>
  5437. </define>
  5438. <define name="table-movement-cut-off">
  5439. <element name="table:movement-cut-off">
  5440. <ref name="table-movement-cut-off-attlist"/>
  5441. <empty/>
  5442. </element>
  5443. </define>
  5444. <define name="table-movement-cut-off-attlist">
  5445. <choice>
  5446. <attribute name="table:position">
  5447. <ref name="integer"/>
  5448. </attribute>
  5449. <group>
  5450. <attribute name="table:start-position">
  5451. <ref name="integer"/>
  5452. </attribute>
  5453. <attribute name="table:end-position">
  5454. <ref name="integer"/>
  5455. </attribute>
  5456. </group>
  5457. </choice>
  5458. </define>
  5459. <define name="table-movement">
  5460. <element name="table:movement">
  5461. <ref name="common-table-change-attlist"/>
  5462. <ref name="table-source-range-address"/>
  5463. <ref name="table-target-range-address"/>
  5464. <ref name="office-change-info"/>
  5465. <optional>
  5466. <ref name="table-dependencies"/>
  5467. </optional>
  5468. <optional>
  5469. <ref name="table-deletions"/>
  5470. </optional>
  5471. </element>
  5472. </define>
  5473. <define name="table-source-range-address">
  5474. <element name="table:source-range-address">
  5475. <ref name="common-table-range-attlist"/>
  5476. <empty/>
  5477. </element>
  5478. </define>
  5479. <define name="table-target-range-address">
  5480. <element name="table:target-range-address">
  5481. <ref name="common-table-range-attlist"/>
  5482. <empty/>
  5483. </element>
  5484. </define>
  5485. <define name="common-table-range-attlist">
  5486. <choice>
  5487. <group>
  5488. <ref name="common-table-cell-address-attlist"/>
  5489. </group>
  5490. <group>
  5491. <ref name="common-table-cell-range-address-attlist"/>
  5492. </group>
  5493. </choice>
  5494. </define>
  5495. <define name="common-table-cell-address-attlist">
  5496. <attribute name="table:column">
  5497. <ref name="integer"/>
  5498. </attribute>
  5499. <attribute name="table:row">
  5500. <ref name="integer"/>
  5501. </attribute>
  5502. <attribute name="table:table">
  5503. <ref name="integer"/>
  5504. </attribute>
  5505. </define>
  5506. <define name="common-table-cell-range-address-attlist">
  5507. <attribute name="table:start-column">
  5508. <ref name="integer"/>
  5509. </attribute>
  5510. <attribute name="table:start-row">
  5511. <ref name="integer"/>
  5512. </attribute>
  5513. <attribute name="table:start-table">
  5514. <ref name="integer"/>
  5515. </attribute>
  5516. <attribute name="table:end-column">
  5517. <ref name="integer"/>
  5518. </attribute>
  5519. <attribute name="table:end-row">
  5520. <ref name="integer"/>
  5521. </attribute>
  5522. <attribute name="table:end-table">
  5523. <ref name="integer"/>
  5524. </attribute>
  5525. </define>
  5526. <define name="table-change-track-table-cell">
  5527. <element name="table:change-track-table-cell">
  5528. <ref name="table-change-track-table-cell-attlist"/>
  5529. <zeroOrMore>
  5530. <ref name="text-p"/>
  5531. </zeroOrMore>
  5532. </element>
  5533. </define>
  5534. <define name="table-change-track-table-cell-attlist">
  5535. <interleave>
  5536. <optional>
  5537. <attribute name="table:cell-address">
  5538. <ref name="cellAddress"/>
  5539. </attribute>
  5540. </optional>
  5541. <optional>
  5542. <attribute name="table:matrix-covered">
  5543. <ref name="boolean"/>
  5544. </attribute>
  5545. </optional>
  5546. <optional>
  5547. <attribute name="table:formula">
  5548. <ref name="string"/>
  5549. </attribute>
  5550. </optional>
  5551. <optional>
  5552. <attribute name="table:number-matrix-columns-spanned">
  5553. <ref name="positiveInteger"/>
  5554. </attribute>
  5555. </optional>
  5556. <optional>
  5557. <attribute name="table:number-matrix-rows-spanned">
  5558. <ref name="positiveInteger"/>
  5559. </attribute>
  5560. </optional>
  5561. <optional>
  5562. <ref name="common-value-and-type-attlist"/>
  5563. </optional>
  5564. </interleave>
  5565. </define>
  5566. <define name="table-cell-content-change">
  5567. <element name="table:cell-content-change">
  5568. <ref name="common-table-change-attlist"/>
  5569. <ref name="table-cell-address"/>
  5570. <ref name="office-change-info"/>
  5571. <optional>
  5572. <ref name="table-dependencies"/>
  5573. </optional>
  5574. <optional>
  5575. <ref name="table-deletions"/>
  5576. </optional>
  5577. <ref name="table-previous"/>
  5578. </element>
  5579. </define>
  5580. <define name="table-cell-address">
  5581. <element name="table:cell-address">
  5582. <ref name="common-table-cell-address-attlist"/>
  5583. <empty/>
  5584. </element>
  5585. </define>
  5586. <define name="table-previous">
  5587. <element name="table:previous">
  5588. <optional>
  5589. <attribute name="table:id">
  5590. <ref name="string"/>
  5591. </attribute>
  5592. </optional>
  5593. <ref name="table-change-track-table-cell"/>
  5594. </element>
  5595. </define>
  5596. <define name="common-table-change-attlist">
  5597. <interleave>
  5598. <attribute name="table:id">
  5599. <ref name="string"/>
  5600. </attribute>
  5601. <optional>
  5602. <attribute name="table:acceptance-state">
  5603. <choice>
  5604. <value>accepted</value>
  5605. <value>rejected</value>
  5606. <value>pending</value>
  5607. </choice>
  5608. </attribute>
  5609. </optional>
  5610. <optional>
  5611. <attribute name="table:rejecting-change-id">
  5612. <ref name="string"/>
  5613. </attribute>
  5614. </optional>
  5615. </interleave>
  5616. </define>
  5617. <define name="style-handout-master">
  5618. <element name="style:handout-master">
  5619. <ref name="common-presentation-header-footer-attlist"/>
  5620. <ref name="style-handout-master-attlist"/>
  5621. <zeroOrMore>
  5622. <ref name="shape"/>
  5623. </zeroOrMore>
  5624. </element>
  5625. </define>
  5626. <define name="style-handout-master-attlist">
  5627. <interleave>
  5628. <optional>
  5629. <attribute name="presentation:presentation-page-layout-name">
  5630. <ref name="styleNameRef"/>
  5631. </attribute>
  5632. </optional>
  5633. <attribute name="style:page-layout-name">
  5634. <ref name="styleNameRef"/>
  5635. </attribute>
  5636. <optional>
  5637. <attribute name="draw:style-name">
  5638. <ref name="styleNameRef"/>
  5639. </attribute>
  5640. </optional>
  5641. </interleave>
  5642. </define>
  5643. <define name="draw-layer-set">
  5644. <element name="draw:layer-set">
  5645. <zeroOrMore>
  5646. <ref name="draw-layer"/>
  5647. </zeroOrMore>
  5648. </element>
  5649. </define>
  5650. <define name="draw-layer">
  5651. <element name="draw:layer">
  5652. <ref name="draw-layer-attlist"/>
  5653. <optional>
  5654. <ref name="svg-title"/>
  5655. </optional>
  5656. <optional>
  5657. <ref name="svg-desc"/>
  5658. </optional>
  5659. </element>
  5660. </define>
  5661. <define name="draw-layer-attlist">
  5662. <interleave>
  5663. <attribute name="draw:name">
  5664. <ref name="string"/>
  5665. </attribute>
  5666. <optional>
  5667. <attribute name="draw:protected">
  5668. <ref name="boolean"/>
  5669. </attribute>
  5670. </optional>
  5671. <optional>
  5672. <attribute name="draw:display">
  5673. <choice>
  5674. <value>always</value>
  5675. <value>screen</value>
  5676. <value>printer</value>
  5677. <value>none</value>
  5678. </choice>
  5679. </attribute>
  5680. </optional>
  5681. </interleave>
  5682. </define>
  5683. <define name="draw-page">
  5684. <element name="draw:page">
  5685. <ref name="common-presentation-header-footer-attlist"/>
  5686. <ref name="draw-page-attlist"/>
  5687. <optional>
  5688. <ref name="svg-title"/>
  5689. </optional>
  5690. <optional>
  5691. <ref name="svg-desc"/>
  5692. </optional>
  5693. <optional>
  5694. <ref name="draw-layer-set"/>
  5695. </optional>
  5696. <optional>
  5697. <ref name="office-forms"/>
  5698. </optional>
  5699. <zeroOrMore>
  5700. <ref name="shape"/>
  5701. </zeroOrMore>
  5702. <optional>
  5703. <choice>
  5704. <ref name="presentation-animations"/>
  5705. <ref name="animation-element"/>
  5706. </choice>
  5707. </optional>
  5708. <optional>
  5709. <ref name="presentation-notes"/>
  5710. </optional>
  5711. </element>
  5712. </define>
  5713. <define name="draw-page-attlist">
  5714. <interleave>
  5715. <optional>
  5716. <attribute name="draw:name">
  5717. <ref name="string"/>
  5718. </attribute>
  5719. </optional>
  5720. <optional>
  5721. <attribute name="draw:style-name">
  5722. <ref name="styleNameRef"/>
  5723. </attribute>
  5724. </optional>
  5725. <attribute name="draw:master-page-name">
  5726. <ref name="styleNameRef"/>
  5727. </attribute>
  5728. <optional>
  5729. <attribute name="presentation:presentation-page-layout-name">
  5730. <ref name="styleNameRef"/>
  5731. </attribute>
  5732. </optional>
  5733. <optional>
  5734. <group>
  5735. <ref name="xml-id"/>
  5736. <optional>
  5737. <attribute name="draw:id">
  5738. <ref name="NCName"/>
  5739. </attribute>
  5740. </optional>
  5741. </group>
  5742. </optional>
  5743. <optional>
  5744. <attribute name="draw:nav-order">
  5745. <ref name="IDREFS"/>
  5746. </attribute>
  5747. </optional>
  5748. </interleave>
  5749. </define>
  5750. <define name="common-presentation-header-footer-attlist">
  5751. <interleave>
  5752. <optional>
  5753. <attribute name="presentation:use-header-name">
  5754. <ref name="string"/>
  5755. </attribute>
  5756. </optional>
  5757. <optional>
  5758. <attribute name="presentation:use-footer-name">
  5759. <ref name="string"/>
  5760. </attribute>
  5761. </optional>
  5762. <optional>
  5763. <attribute name="presentation:use-date-time-name">
  5764. <ref name="string"/>
  5765. </attribute>
  5766. </optional>
  5767. </interleave>
  5768. </define>
  5769. <define name="shape">
  5770. <choice>
  5771. <ref name="shape-instance"/>
  5772. <ref name="draw-a"/>
  5773. </choice>
  5774. </define>
  5775. <define name="shape-instance">
  5776. <choice>
  5777. <ref name="draw-rect"/>
  5778. <ref name="draw-line"/>
  5779. <ref name="draw-polyline"/>
  5780. <ref name="draw-polygon"/>
  5781. <ref name="draw-regular-polygon"/>
  5782. <ref name="draw-path"/>
  5783. <ref name="draw-circle"/>
  5784. <ref name="draw-ellipse"/>
  5785. <ref name="draw-g"/>
  5786. <ref name="draw-page-thumbnail"/>
  5787. <ref name="draw-frame"/>
  5788. <ref name="draw-measure"/>
  5789. <ref name="draw-caption"/>
  5790. <ref name="draw-connector"/>
  5791. <ref name="draw-control"/>
  5792. <ref name="dr3d-scene"/>
  5793. <ref name="draw-custom-shape"/>
  5794. </choice>
  5795. </define>
  5796. <define name="draw-rect">
  5797. <element name="draw:rect">
  5798. <ref name="draw-rect-attlist"/>
  5799. <ref name="common-draw-position-attlist"/>
  5800. <ref name="common-draw-size-attlist"/>
  5801. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  5802. <ref name="common-draw-caption-id-attlist"/>
  5803. <optional>
  5804. <ref name="svg-title"/>
  5805. </optional>
  5806. <optional>
  5807. <ref name="svg-desc"/>
  5808. </optional>
  5809. <optional>
  5810. <ref name="office-event-listeners"/>
  5811. </optional>
  5812. <zeroOrMore>
  5813. <ref name="draw-glue-point"/>
  5814. </zeroOrMore>
  5815. <ref name="draw-text"/>
  5816. </element>
  5817. </define>
  5818. <define name="draw-rect-attlist">
  5819. <choice>
  5820. <optional>
  5821. <attribute name="draw:corner-radius">
  5822. <ref name="nonNegativeLength"/>
  5823. </attribute>
  5824. </optional>
  5825. <group>
  5826. <optional>
  5827. <attribute name="svg:rx">
  5828. <ref name="nonNegativeLength"/>
  5829. </attribute>
  5830. </optional>
  5831. <optional>
  5832. <attribute name="svg:ry">
  5833. <ref name="nonNegativeLength"/>
  5834. </attribute>
  5835. </optional>
  5836. </group>
  5837. </choice>
  5838. </define>
  5839. <define name="draw-line">
  5840. <element name="draw:line">
  5841. <ref name="draw-line-attlist"/>
  5842. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  5843. <ref name="common-draw-caption-id-attlist"/>
  5844. <optional>
  5845. <ref name="svg-title"/>
  5846. </optional>
  5847. <optional>
  5848. <ref name="svg-desc"/>
  5849. </optional>
  5850. <optional>
  5851. <ref name="office-event-listeners"/>
  5852. </optional>
  5853. <zeroOrMore>
  5854. <ref name="draw-glue-point"/>
  5855. </zeroOrMore>
  5856. <ref name="draw-text"/>
  5857. </element>
  5858. </define>
  5859. <define name="draw-line-attlist">
  5860. <interleave>
  5861. <attribute name="svg:x1">
  5862. <ref name="coordinate"/>
  5863. </attribute>
  5864. <attribute name="svg:y1">
  5865. <ref name="coordinate"/>
  5866. </attribute>
  5867. <attribute name="svg:x2">
  5868. <ref name="coordinate"/>
  5869. </attribute>
  5870. <attribute name="svg:y2">
  5871. <ref name="coordinate"/>
  5872. </attribute>
  5873. </interleave>
  5874. </define>
  5875. <define name="draw-polyline">
  5876. <element name="draw:polyline">
  5877. <ref name="common-draw-points-attlist"/>
  5878. <ref name="common-draw-position-attlist"/>
  5879. <ref name="common-draw-size-attlist"/>
  5880. <ref name="common-draw-viewbox-attlist"/>
  5881. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  5882. <ref name="common-draw-caption-id-attlist"/>
  5883. <optional>
  5884. <ref name="svg-title"/>
  5885. </optional>
  5886. <optional>
  5887. <ref name="svg-desc"/>
  5888. </optional>
  5889. <optional>
  5890. <ref name="office-event-listeners"/>
  5891. </optional>
  5892. <zeroOrMore>
  5893. <ref name="draw-glue-point"/>
  5894. </zeroOrMore>
  5895. <ref name="draw-text"/>
  5896. </element>
  5897. </define>
  5898. <define name="common-draw-points-attlist">
  5899. <attribute name="draw:points">
  5900. <ref name="points"/>
  5901. </attribute>
  5902. </define>
  5903. <define name="draw-polygon">
  5904. <element name="draw:polygon">
  5905. <ref name="common-draw-points-attlist"/>
  5906. <ref name="common-draw-position-attlist"/>
  5907. <ref name="common-draw-size-attlist"/>
  5908. <ref name="common-draw-viewbox-attlist"/>
  5909. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  5910. <ref name="common-draw-caption-id-attlist"/>
  5911. <optional>
  5912. <ref name="svg-title"/>
  5913. </optional>
  5914. <optional>
  5915. <ref name="svg-desc"/>
  5916. </optional>
  5917. <optional>
  5918. <ref name="office-event-listeners"/>
  5919. </optional>
  5920. <zeroOrMore>
  5921. <ref name="draw-glue-point"/>
  5922. </zeroOrMore>
  5923. <ref name="draw-text"/>
  5924. </element>
  5925. </define>
  5926. <define name="draw-regular-polygon">
  5927. <element name="draw:regular-polygon">
  5928. <ref name="draw-regular-polygon-attlist"/>
  5929. <ref name="common-draw-position-attlist"/>
  5930. <ref name="common-draw-size-attlist"/>
  5931. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  5932. <ref name="common-draw-caption-id-attlist"/>
  5933. <optional>
  5934. <ref name="svg-title"/>
  5935. </optional>
  5936. <optional>
  5937. <ref name="svg-desc"/>
  5938. </optional>
  5939. <optional>
  5940. <ref name="office-event-listeners"/>
  5941. </optional>
  5942. <zeroOrMore>
  5943. <ref name="draw-glue-point"/>
  5944. </zeroOrMore>
  5945. <ref name="draw-text"/>
  5946. </element>
  5947. </define>
  5948. <define name="draw-regular-polygon-attlist">
  5949. <interleave>
  5950. <choice>
  5951. <attribute name="draw:concave">
  5952. <value>false</value>
  5953. </attribute>
  5954. <group>
  5955. <attribute name="draw:concave">
  5956. <value>true</value>
  5957. </attribute>
  5958. <ref name="draw-regular-polygon-sharpness-attlist"/>
  5959. </group>
  5960. </choice>
  5961. <attribute name="draw:corners">
  5962. <ref name="positiveInteger"/>
  5963. </attribute>
  5964. </interleave>
  5965. </define>
  5966. <define name="draw-regular-polygon-sharpness-attlist">
  5967. <attribute name="draw:sharpness">
  5968. <ref name="percent"/>
  5969. </attribute>
  5970. </define>
  5971. <define name="draw-path">
  5972. <element name="draw:path">
  5973. <ref name="common-draw-path-data-attlist"/>
  5974. <ref name="common-draw-position-attlist"/>
  5975. <ref name="common-draw-size-attlist"/>
  5976. <ref name="common-draw-viewbox-attlist"/>
  5977. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  5978. <ref name="common-draw-caption-id-attlist"/>
  5979. <optional>
  5980. <ref name="svg-title"/>
  5981. </optional>
  5982. <optional>
  5983. <ref name="svg-desc"/>
  5984. </optional>
  5985. <optional>
  5986. <ref name="office-event-listeners"/>
  5987. </optional>
  5988. <zeroOrMore>
  5989. <ref name="draw-glue-point"/>
  5990. </zeroOrMore>
  5991. <ref name="draw-text"/>
  5992. </element>
  5993. </define>
  5994. <define name="common-draw-path-data-attlist">
  5995. <attribute name="svg:d">
  5996. <ref name="pathData"/>
  5997. </attribute>
  5998. </define>
  5999. <define name="draw-circle">
  6000. <element name="draw:circle">
  6001. <choice>
  6002. <group>
  6003. <ref name="draw-circle-attlist"/>
  6004. <ref name="common-draw-circle-ellipse-pos-attlist"/>
  6005. </group>
  6006. <group>
  6007. <ref name="common-draw-position-attlist"/>
  6008. <ref name="common-draw-size-attlist"/>
  6009. </group>
  6010. </choice>
  6011. <ref name="common-draw-circle-ellipse-attlist"/>
  6012. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6013. <ref name="common-draw-caption-id-attlist"/>
  6014. <optional>
  6015. <ref name="svg-title"/>
  6016. </optional>
  6017. <optional>
  6018. <ref name="svg-desc"/>
  6019. </optional>
  6020. <optional>
  6021. <ref name="office-event-listeners"/>
  6022. </optional>
  6023. <zeroOrMore>
  6024. <ref name="draw-glue-point"/>
  6025. </zeroOrMore>
  6026. <ref name="draw-text"/>
  6027. </element>
  6028. </define>
  6029. <define name="common-draw-circle-ellipse-pos-attlist">
  6030. <attribute name="svg:cx">
  6031. <ref name="coordinate"/>
  6032. </attribute>
  6033. <attribute name="svg:cy">
  6034. <ref name="coordinate"/>
  6035. </attribute>
  6036. </define>
  6037. <define name="draw-circle-attlist">
  6038. <attribute name="svg:r">
  6039. <ref name="length"/>
  6040. </attribute>
  6041. </define>
  6042. <define name="common-draw-circle-ellipse-attlist">
  6043. <interleave>
  6044. <optional>
  6045. <attribute name="draw:kind">
  6046. <choice>
  6047. <value>full</value>
  6048. <value>section</value>
  6049. <value>cut</value>
  6050. <value>arc</value>
  6051. </choice>
  6052. </attribute>
  6053. </optional>
  6054. <optional>
  6055. <attribute name="draw:start-angle">
  6056. <ref name="angle"/>
  6057. </attribute>
  6058. </optional>
  6059. <optional>
  6060. <attribute name="draw:end-angle">
  6061. <ref name="angle"/>
  6062. </attribute>
  6063. </optional>
  6064. </interleave>
  6065. </define>
  6066. <define name="draw-ellipse">
  6067. <element name="draw:ellipse">
  6068. <choice>
  6069. <group>
  6070. <ref name="draw-ellipse-attlist"/>
  6071. <ref name="common-draw-circle-ellipse-pos-attlist"/>
  6072. </group>
  6073. <group>
  6074. <ref name="common-draw-position-attlist"/>
  6075. <ref name="common-draw-size-attlist"/>
  6076. </group>
  6077. </choice>
  6078. <ref name="common-draw-circle-ellipse-attlist"/>
  6079. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6080. <ref name="common-draw-caption-id-attlist"/>
  6081. <optional>
  6082. <ref name="svg-title"/>
  6083. </optional>
  6084. <optional>
  6085. <ref name="svg-desc"/>
  6086. </optional>
  6087. <optional>
  6088. <ref name="office-event-listeners"/>
  6089. </optional>
  6090. <zeroOrMore>
  6091. <ref name="draw-glue-point"/>
  6092. </zeroOrMore>
  6093. <ref name="draw-text"/>
  6094. </element>
  6095. </define>
  6096. <define name="draw-ellipse-attlist">
  6097. <attribute name="svg:rx">
  6098. <ref name="length"/>
  6099. </attribute>
  6100. <attribute name="svg:ry">
  6101. <ref name="length"/>
  6102. </attribute>
  6103. </define>
  6104. <define name="draw-connector">
  6105. <element name="draw:connector">
  6106. <ref name="draw-connector-attlist"/>
  6107. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6108. <ref name="common-draw-caption-id-attlist"/>
  6109. <ref name="common-draw-viewbox-attlist"/>
  6110. <optional>
  6111. <ref name="svg-title"/>
  6112. </optional>
  6113. <optional>
  6114. <ref name="svg-desc"/>
  6115. </optional>
  6116. <optional>
  6117. <ref name="office-event-listeners"/>
  6118. </optional>
  6119. <zeroOrMore>
  6120. <ref name="draw-glue-point"/>
  6121. </zeroOrMore>
  6122. <ref name="draw-text"/>
  6123. </element>
  6124. </define>
  6125. <define name="draw-connector-attlist">
  6126. <interleave>
  6127. <optional>
  6128. <attribute name="draw:type">
  6129. <choice>
  6130. <value>standard</value>
  6131. <value>lines</value>
  6132. <value>line</value>
  6133. <value>curve</value>
  6134. </choice>
  6135. </attribute>
  6136. </optional>
  6137. <optional>
  6138. <attribute name="svg:x1">
  6139. <ref name="coordinate"/>
  6140. </attribute>
  6141. <attribute name="svg:y1">
  6142. <ref name="coordinate"/>
  6143. </attribute>
  6144. </optional>
  6145. <optional>
  6146. <attribute name="draw:start-shape">
  6147. <ref name="IDREF"/>
  6148. </attribute>
  6149. </optional>
  6150. <optional>
  6151. <attribute name="draw:start-glue-point">
  6152. <ref name="nonNegativeInteger"/>
  6153. </attribute>
  6154. </optional>
  6155. <optional>
  6156. <attribute name="svg:x2">
  6157. <ref name="coordinate"/>
  6158. </attribute>
  6159. <attribute name="svg:y2">
  6160. <ref name="coordinate"/>
  6161. </attribute>
  6162. </optional>
  6163. <optional>
  6164. <attribute name="draw:end-shape">
  6165. <ref name="IDREF"/>
  6166. </attribute>
  6167. </optional>
  6168. <optional>
  6169. <attribute name="draw:end-glue-point">
  6170. <ref name="nonNegativeInteger"/>
  6171. </attribute>
  6172. </optional>
  6173. <optional>
  6174. <attribute name="draw:line-skew">
  6175. <list>
  6176. <ref name="length"/>
  6177. <optional>
  6178. <ref name="length"/>
  6179. <optional>
  6180. <ref name="length"/>
  6181. </optional>
  6182. </optional>
  6183. </list>
  6184. </attribute>
  6185. </optional>
  6186. <optional>
  6187. <attribute name="svg:d">
  6188. <ref name="pathData"/>
  6189. </attribute>
  6190. </optional>
  6191. </interleave>
  6192. </define>
  6193. <define name="draw-caption">
  6194. <element name="draw:caption">
  6195. <ref name="draw-caption-attlist"/>
  6196. <ref name="common-draw-position-attlist"/>
  6197. <ref name="common-draw-size-attlist"/>
  6198. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6199. <ref name="common-draw-caption-id-attlist"/>
  6200. <optional>
  6201. <ref name="svg-title"/>
  6202. </optional>
  6203. <optional>
  6204. <ref name="svg-desc"/>
  6205. </optional>
  6206. <optional>
  6207. <ref name="office-event-listeners"/>
  6208. </optional>
  6209. <zeroOrMore>
  6210. <ref name="draw-glue-point"/>
  6211. </zeroOrMore>
  6212. <ref name="draw-text"/>
  6213. </element>
  6214. </define>
  6215. <define name="draw-caption-attlist">
  6216. <interleave>
  6217. <optional>
  6218. <attribute name="draw:caption-point-x">
  6219. <ref name="coordinate"/>
  6220. </attribute>
  6221. <attribute name="draw:caption-point-y">
  6222. <ref name="coordinate"/>
  6223. </attribute>
  6224. </optional>
  6225. <optional>
  6226. <attribute name="draw:corner-radius">
  6227. <ref name="nonNegativeLength"/>
  6228. </attribute>
  6229. </optional>
  6230. </interleave>
  6231. </define>
  6232. <define name="draw-measure">
  6233. <element name="draw:measure">
  6234. <ref name="draw-measure-attlist"/>
  6235. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6236. <ref name="common-draw-caption-id-attlist"/>
  6237. <optional>
  6238. <ref name="svg-title"/>
  6239. </optional>
  6240. <optional>
  6241. <ref name="svg-desc"/>
  6242. </optional>
  6243. <optional>
  6244. <ref name="office-event-listeners"/>
  6245. </optional>
  6246. <zeroOrMore>
  6247. <ref name="draw-glue-point"/>
  6248. </zeroOrMore>
  6249. <ref name="draw-text"/>
  6250. </element>
  6251. </define>
  6252. <define name="draw-measure-attlist">
  6253. <interleave>
  6254. <attribute name="svg:x1">
  6255. <ref name="coordinate"/>
  6256. </attribute>
  6257. <attribute name="svg:y1">
  6258. <ref name="coordinate"/>
  6259. </attribute>
  6260. <attribute name="svg:x2">
  6261. <ref name="coordinate"/>
  6262. </attribute>
  6263. <attribute name="svg:y2">
  6264. <ref name="coordinate"/>
  6265. </attribute>
  6266. </interleave>
  6267. </define>
  6268. <define name="draw-control">
  6269. <element name="draw:control">
  6270. <ref name="draw-control-attlist"/>
  6271. <ref name="common-draw-position-attlist"/>
  6272. <ref name="common-draw-size-attlist"/>
  6273. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6274. <ref name="common-draw-caption-id-attlist"/>
  6275. <optional>
  6276. <ref name="svg-title"/>
  6277. </optional>
  6278. <optional>
  6279. <ref name="svg-desc"/>
  6280. </optional>
  6281. <zeroOrMore>
  6282. <ref name="draw-glue-point"/>
  6283. </zeroOrMore>
  6284. </element>
  6285. </define>
  6286. <define name="draw-control-attlist">
  6287. <attribute name="draw:control">
  6288. <ref name="IDREF"/>
  6289. </attribute>
  6290. </define>
  6291. <define name="draw-page-thumbnail">
  6292. <element name="draw:page-thumbnail">
  6293. <ref name="draw-page-thumbnail-attlist"/>
  6294. <ref name="common-draw-position-attlist"/>
  6295. <ref name="common-draw-size-attlist"/>
  6296. <ref name="presentation-shape-attlist"/>
  6297. <ref name="common-draw-shape-with-styles-attlist"/>
  6298. <ref name="common-draw-caption-id-attlist"/>
  6299. <optional>
  6300. <ref name="svg-title"/>
  6301. </optional>
  6302. <optional>
  6303. <ref name="svg-desc"/>
  6304. </optional>
  6305. </element>
  6306. </define>
  6307. <define name="draw-page-thumbnail-attlist">
  6308. <optional>
  6309. <attribute name="draw:page-number">
  6310. <ref name="positiveInteger"/>
  6311. </attribute>
  6312. </optional>
  6313. </define>
  6314. <define name="draw-g">
  6315. <element name="draw:g">
  6316. <ref name="draw-g-attlist"/>
  6317. <ref name="common-draw-z-index-attlist"/>
  6318. <ref name="common-draw-name-attlist"/>
  6319. <ref name="common-draw-id-attlist"/>
  6320. <ref name="common-draw-style-name-attlist"/>
  6321. <ref name="common-text-spreadsheet-shape-attlist"/>
  6322. <ref name="common-draw-caption-id-attlist"/>
  6323. <optional>
  6324. <ref name="svg-title"/>
  6325. </optional>
  6326. <optional>
  6327. <ref name="svg-desc"/>
  6328. </optional>
  6329. <optional>
  6330. <ref name="office-event-listeners"/>
  6331. </optional>
  6332. <zeroOrMore>
  6333. <ref name="draw-glue-point"/>
  6334. </zeroOrMore>
  6335. <zeroOrMore>
  6336. <ref name="shape"/>
  6337. </zeroOrMore>
  6338. </element>
  6339. </define>
  6340. <define name="draw-g-attlist">
  6341. <optional>
  6342. <attribute name="svg:y">
  6343. <ref name="coordinate"/>
  6344. </attribute>
  6345. </optional>
  6346. </define>
  6347. <define name="common-draw-name-attlist">
  6348. <optional>
  6349. <attribute name="draw:name">
  6350. <ref name="string"/>
  6351. </attribute>
  6352. </optional>
  6353. </define>
  6354. <define name="common-draw-caption-id-attlist">
  6355. <optional>
  6356. <attribute name="draw:caption-id">
  6357. <ref name="IDREF"/>
  6358. </attribute>
  6359. </optional>
  6360. </define>
  6361. <define name="common-draw-position-attlist">
  6362. <optional>
  6363. <attribute name="svg:x">
  6364. <ref name="coordinate"/>
  6365. </attribute>
  6366. </optional>
  6367. <optional>
  6368. <attribute name="svg:y">
  6369. <ref name="coordinate"/>
  6370. </attribute>
  6371. </optional>
  6372. </define>
  6373. <define name="common-draw-size-attlist">
  6374. <optional>
  6375. <attribute name="svg:width">
  6376. <ref name="length"/>
  6377. </attribute>
  6378. </optional>
  6379. <optional>
  6380. <attribute name="svg:height">
  6381. <ref name="length"/>
  6382. </attribute>
  6383. </optional>
  6384. </define>
  6385. <define name="common-draw-transform-attlist">
  6386. <optional>
  6387. <attribute name="draw:transform">
  6388. <ref name="string"/>
  6389. </attribute>
  6390. </optional>
  6391. </define>
  6392. <define name="common-draw-viewbox-attlist">
  6393. <attribute name="svg:viewBox">
  6394. <list>
  6395. <ref name="integer"/>
  6396. <ref name="integer"/>
  6397. <ref name="integer"/>
  6398. <ref name="integer"/>
  6399. </list>
  6400. </attribute>
  6401. </define>
  6402. <define name="common-draw-style-name-attlist">
  6403. <choice>
  6404. <group>
  6405. <optional>
  6406. <attribute name="draw:style-name">
  6407. <ref name="styleNameRef"/>
  6408. </attribute>
  6409. </optional>
  6410. <optional>
  6411. <attribute name="draw:class-names">
  6412. <ref name="styleNameRefs"/>
  6413. </attribute>
  6414. </optional>
  6415. </group>
  6416. <group>
  6417. <optional>
  6418. <attribute name="presentation:style-name">
  6419. <ref name="styleNameRef"/>
  6420. </attribute>
  6421. </optional>
  6422. <optional>
  6423. <attribute name="presentation:class-names">
  6424. <ref name="styleNameRefs"/>
  6425. </attribute>
  6426. </optional>
  6427. </group>
  6428. </choice>
  6429. </define>
  6430. <define name="common-draw-text-style-name-attlist">
  6431. <optional>
  6432. <attribute name="draw:text-style-name">
  6433. <ref name="styleNameRef"/>
  6434. </attribute>
  6435. </optional>
  6436. </define>
  6437. <define name="common-draw-layer-name-attlist">
  6438. <optional>
  6439. <attribute name="draw:layer">
  6440. <ref name="string"/>
  6441. </attribute>
  6442. </optional>
  6443. </define>
  6444. <define name="common-draw-id-attlist">
  6445. <optional>
  6446. <group>
  6447. <ref name="xml-id"/>
  6448. <optional>
  6449. <attribute name="draw:id">
  6450. <ref name="NCName"/>
  6451. </attribute>
  6452. </optional>
  6453. </group>
  6454. </optional>
  6455. </define>
  6456. <define name="common-draw-z-index-attlist">
  6457. <optional>
  6458. <attribute name="draw:z-index">
  6459. <ref name="nonNegativeInteger"/>
  6460. </attribute>
  6461. </optional>
  6462. </define>
  6463. <define name="common-text-spreadsheet-shape-attlist">
  6464. <interleave>
  6465. <optional>
  6466. <attribute name="table:end-cell-address">
  6467. <ref name="cellAddress"/>
  6468. </attribute>
  6469. </optional>
  6470. <optional>
  6471. <attribute name="table:end-x">
  6472. <ref name="coordinate"/>
  6473. </attribute>
  6474. </optional>
  6475. <optional>
  6476. <attribute name="table:end-y">
  6477. <ref name="coordinate"/>
  6478. </attribute>
  6479. </optional>
  6480. <optional>
  6481. <attribute name="table:table-background">
  6482. <ref name="boolean"/>
  6483. </attribute>
  6484. </optional>
  6485. <ref name="common-text-anchor-attlist"/>
  6486. </interleave>
  6487. </define>
  6488. <define name="common-text-anchor-attlist">
  6489. <interleave>
  6490. <optional>
  6491. <attribute name="text:anchor-type">
  6492. <choice>
  6493. <value>page</value>
  6494. <value>frame</value>
  6495. <value>paragraph</value>
  6496. <value>char</value>
  6497. <value>as-char</value>
  6498. </choice>
  6499. </attribute>
  6500. </optional>
  6501. <optional>
  6502. <attribute name="text:anchor-page-number">
  6503. <ref name="positiveInteger"/>
  6504. </attribute>
  6505. </optional>
  6506. </interleave>
  6507. </define>
  6508. <define name="draw-text">
  6509. <zeroOrMore>
  6510. <choice>
  6511. <ref name="text-p"/>
  6512. <ref name="text-list"/>
  6513. </choice>
  6514. </zeroOrMore>
  6515. </define>
  6516. <define name="common-draw-shape-with-styles-attlist">
  6517. <ref name="common-draw-z-index-attlist"/>
  6518. <ref name="common-draw-id-attlist"/>
  6519. <ref name="common-draw-layer-name-attlist"/>
  6520. <ref name="common-draw-style-name-attlist"/>
  6521. <ref name="common-draw-transform-attlist"/>
  6522. <ref name="common-draw-name-attlist"/>
  6523. <ref name="common-text-spreadsheet-shape-attlist"/>
  6524. </define>
  6525. <define name="common-draw-shape-with-text-and-styles-attlist">
  6526. <ref name="common-draw-shape-with-styles-attlist"/>
  6527. <ref name="common-draw-text-style-name-attlist"/>
  6528. </define>
  6529. <define name="draw-glue-point">
  6530. <element name="draw:glue-point">
  6531. <ref name="draw-glue-point-attlist"/>
  6532. <empty/>
  6533. </element>
  6534. </define>
  6535. <define name="draw-glue-point-attlist">
  6536. <interleave>
  6537. <attribute name="draw:id">
  6538. <ref name="nonNegativeInteger"/>
  6539. </attribute>
  6540. <attribute name="svg:x">
  6541. <choice>
  6542. <ref name="distance"/>
  6543. <ref name="percent"/>
  6544. </choice>
  6545. </attribute>
  6546. <attribute name="svg:y">
  6547. <choice>
  6548. <ref name="distance"/>
  6549. <ref name="percent"/>
  6550. </choice>
  6551. </attribute>
  6552. <optional>
  6553. <attribute name="draw:align">
  6554. <choice>
  6555. <value>top-left</value>
  6556. <value>top</value>
  6557. <value>top-right</value>
  6558. <value>left</value>
  6559. <value>center</value>
  6560. <value>right</value>
  6561. <value>bottom-left</value>
  6562. <value>bottom-right</value>
  6563. </choice>
  6564. </attribute>
  6565. </optional>
  6566. <attribute name="draw:escape-direction">
  6567. <choice>
  6568. <value>auto</value>
  6569. <value>left</value>
  6570. <value>right</value>
  6571. <value>up</value>
  6572. <value>down</value>
  6573. <value>horizontal</value>
  6574. <value>vertical</value>
  6575. </choice>
  6576. </attribute>
  6577. </interleave>
  6578. </define>
  6579. <define name="svg-title">
  6580. <element name="svg:title">
  6581. <text/>
  6582. </element>
  6583. </define>
  6584. <define name="svg-desc">
  6585. <element name="svg:desc">
  6586. <text/>
  6587. </element>
  6588. </define>
  6589. <define name="draw-frame">
  6590. <element name="draw:frame">
  6591. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  6592. <ref name="common-draw-position-attlist"/>
  6593. <ref name="common-draw-rel-size-attlist"/>
  6594. <ref name="common-draw-caption-id-attlist"/>
  6595. <ref name="presentation-shape-attlist"/>
  6596. <ref name="draw-frame-attlist"/>
  6597. <zeroOrMore>
  6598. <choice>
  6599. <ref name="draw-text-box"/>
  6600. <ref name="draw-image"/>
  6601. <ref name="draw-object"/>
  6602. <ref name="draw-object-ole"/>
  6603. <ref name="draw-applet"/>
  6604. <ref name="draw-floating-frame"/>
  6605. <ref name="draw-plugin"/>
  6606. <ref name="table-table"/>
  6607. </choice>
  6608. </zeroOrMore>
  6609. <optional>
  6610. <ref name="office-event-listeners"/>
  6611. </optional>
  6612. <zeroOrMore>
  6613. <ref name="draw-glue-point"/>
  6614. </zeroOrMore>
  6615. <optional>
  6616. <ref name="draw-image-map"/>
  6617. </optional>
  6618. <optional>
  6619. <ref name="svg-title"/>
  6620. </optional>
  6621. <optional>
  6622. <ref name="svg-desc"/>
  6623. </optional>
  6624. <optional>
  6625. <choice>
  6626. <ref name="draw-contour-polygon"/>
  6627. <ref name="draw-contour-path"/>
  6628. </choice>
  6629. </optional>
  6630. </element>
  6631. </define>
  6632. <define name="common-draw-rel-size-attlist">
  6633. <ref name="common-draw-size-attlist"/>
  6634. <optional>
  6635. <attribute name="style:rel-width">
  6636. <choice>
  6637. <ref name="percent"/>
  6638. <value>scale</value>
  6639. <value>scale-min</value>
  6640. </choice>
  6641. </attribute>
  6642. </optional>
  6643. <optional>
  6644. <attribute name="style:rel-height">
  6645. <choice>
  6646. <ref name="percent"/>
  6647. <value>scale</value>
  6648. <value>scale-min</value>
  6649. </choice>
  6650. </attribute>
  6651. </optional>
  6652. </define>
  6653. <define name="draw-frame-attlist">
  6654. <optional>
  6655. <attribute name="draw:copy-of">
  6656. <ref name="string"/>
  6657. </attribute>
  6658. </optional>
  6659. </define>
  6660. <define name="draw-text-box">
  6661. <element name="draw:text-box">
  6662. <ref name="draw-text-box-attlist"/>
  6663. <zeroOrMore>
  6664. <ref name="text-content"/>
  6665. </zeroOrMore>
  6666. </element>
  6667. </define>
  6668. <define name="draw-text-box-attlist">
  6669. <interleave>
  6670. <optional>
  6671. <attribute name="draw:chain-next-name">
  6672. <ref name="string"/>
  6673. </attribute>
  6674. </optional>
  6675. <optional>
  6676. <attribute name="draw:corner-radius">
  6677. <ref name="nonNegativeLength"/>
  6678. </attribute>
  6679. </optional>
  6680. <optional>
  6681. <attribute name="fo:min-height">
  6682. <choice>
  6683. <ref name="length"/>
  6684. <ref name="percent"/>
  6685. </choice>
  6686. </attribute>
  6687. </optional>
  6688. <optional>
  6689. <attribute name="fo:min-width">
  6690. <choice>
  6691. <ref name="length"/>
  6692. <ref name="percent"/>
  6693. </choice>
  6694. </attribute>
  6695. </optional>
  6696. <optional>
  6697. <attribute name="fo:max-height">
  6698. <choice>
  6699. <ref name="length"/>
  6700. <ref name="percent"/>
  6701. </choice>
  6702. </attribute>
  6703. </optional>
  6704. <optional>
  6705. <attribute name="fo:max-width">
  6706. <choice>
  6707. <ref name="length"/>
  6708. <ref name="percent"/>
  6709. </choice>
  6710. </attribute>
  6711. </optional>
  6712. <optional>
  6713. <group>
  6714. <ref name="xml-id"/>
  6715. <optional>
  6716. <attribute name="text:id">
  6717. <ref name="NCName"/>
  6718. </attribute>
  6719. </optional>
  6720. </group>
  6721. </optional>
  6722. </interleave>
  6723. </define>
  6724. <define name="draw-image">
  6725. <element name="draw:image">
  6726. <ref name="draw-image-attlist"/>
  6727. <choice>
  6728. <ref name="common-draw-data-attlist"/>
  6729. <ref name="office-binary-data"/>
  6730. </choice>
  6731. <ref name="draw-text"/>
  6732. </element>
  6733. </define>
  6734. <define name="common-draw-data-attlist">
  6735. <group>
  6736. <attribute name="xlink:type">
  6737. <value>simple</value>
  6738. </attribute>
  6739. <attribute name="xlink:href">
  6740. <ref name="anyIRI"/>
  6741. </attribute>
  6742. <optional>
  6743. <attribute name="xlink:show">
  6744. <value>embed</value>
  6745. </attribute>
  6746. </optional>
  6747. <optional>
  6748. <attribute name="xlink:actuate">
  6749. <value>onLoad</value>
  6750. </attribute>
  6751. </optional>
  6752. </group>
  6753. </define>
  6754. <define name="office-binary-data">
  6755. <element name="office:binary-data">
  6756. <ref name="base64Binary"/>
  6757. </element>
  6758. </define>
  6759. <define name="draw-image-attlist">
  6760. <interleave>
  6761. <optional>
  6762. <attribute name="draw:filter-name">
  6763. <ref name="string"/>
  6764. </attribute>
  6765. </optional>
  6766. <optional>
  6767. <ref name="xml-id"/>
  6768. </optional>
  6769. </interleave>
  6770. </define>
  6771. <define name="draw-object">
  6772. <element name="draw:object">
  6773. <ref name="draw-object-attlist"/>
  6774. <choice>
  6775. <ref name="common-draw-data-attlist"/>
  6776. <ref name="office-document"/>
  6777. <ref name="math-math"/>
  6778. </choice>
  6779. </element>
  6780. </define>
  6781. <define name="draw-object-ole">
  6782. <element name="draw:object-ole">
  6783. <ref name="draw-object-ole-attlist"/>
  6784. <choice>
  6785. <ref name="common-draw-data-attlist"/>
  6786. <ref name="office-binary-data"/>
  6787. </choice>
  6788. </element>
  6789. </define>
  6790. <define name="draw-object-attlist">
  6791. <interleave>
  6792. <optional>
  6793. <attribute name="draw:notify-on-update-of-ranges">
  6794. <choice>
  6795. <ref name="cellRangeAddressList"/>
  6796. <ref name="string"/>
  6797. </choice>
  6798. </attribute>
  6799. </optional>
  6800. <optional>
  6801. <ref name="xml-id"/>
  6802. </optional>
  6803. </interleave>
  6804. </define>
  6805. <define name="draw-object-ole-attlist">
  6806. <interleave>
  6807. <optional>
  6808. <attribute name="draw:class-id">
  6809. <ref name="string"/>
  6810. </attribute>
  6811. </optional>
  6812. <optional>
  6813. <ref name="xml-id"/>
  6814. </optional>
  6815. </interleave>
  6816. </define>
  6817. <define name="draw-applet">
  6818. <element name="draw:applet">
  6819. <ref name="draw-applet-attlist"/>
  6820. <optional>
  6821. <ref name="common-draw-data-attlist"/>
  6822. </optional>
  6823. <zeroOrMore>
  6824. <ref name="draw-param"/>
  6825. </zeroOrMore>
  6826. </element>
  6827. </define>
  6828. <define name="draw-applet-attlist">
  6829. <interleave>
  6830. <optional>
  6831. <attribute name="draw:code">
  6832. <ref name="string"/>
  6833. </attribute>
  6834. </optional>
  6835. <optional>
  6836. <attribute name="draw:object">
  6837. <ref name="string"/>
  6838. </attribute>
  6839. </optional>
  6840. <optional>
  6841. <attribute name="draw:archive">
  6842. <ref name="string"/>
  6843. </attribute>
  6844. </optional>
  6845. <optional>
  6846. <attribute name="draw:may-script">
  6847. <ref name="boolean"/>
  6848. </attribute>
  6849. </optional>
  6850. <optional>
  6851. <ref name="xml-id"/>
  6852. </optional>
  6853. </interleave>
  6854. </define>
  6855. <define name="draw-plugin">
  6856. <element name="draw:plugin">
  6857. <ref name="draw-plugin-attlist"/>
  6858. <ref name="common-draw-data-attlist"/>
  6859. <zeroOrMore>
  6860. <ref name="draw-param"/>
  6861. </zeroOrMore>
  6862. </element>
  6863. </define>
  6864. <define name="draw-plugin-attlist">
  6865. <interleave>
  6866. <optional>
  6867. <attribute name="draw:mime-type">
  6868. <ref name="string"/>
  6869. </attribute>
  6870. </optional>
  6871. <optional>
  6872. <ref name="xml-id"/>
  6873. </optional>
  6874. </interleave>
  6875. </define>
  6876. <define name="draw-param">
  6877. <element name="draw:param">
  6878. <ref name="draw-param-attlist"/>
  6879. <empty/>
  6880. </element>
  6881. </define>
  6882. <define name="draw-param-attlist">
  6883. <interleave>
  6884. <optional>
  6885. <attribute name="draw:name">
  6886. <ref name="string"/>
  6887. </attribute>
  6888. </optional>
  6889. <optional>
  6890. <attribute name="draw:value">
  6891. <ref name="string"/>
  6892. </attribute>
  6893. </optional>
  6894. </interleave>
  6895. </define>
  6896. <define name="draw-floating-frame">
  6897. <element name="draw:floating-frame">
  6898. <ref name="draw-floating-frame-attlist"/>
  6899. <ref name="common-draw-data-attlist"/>
  6900. </element>
  6901. </define>
  6902. <define name="draw-floating-frame-attlist">
  6903. <interleave>
  6904. <optional>
  6905. <attribute name="draw:frame-name">
  6906. <ref name="string"/>
  6907. </attribute>
  6908. </optional>
  6909. <optional>
  6910. <ref name="xml-id"/>
  6911. </optional>
  6912. </interleave>
  6913. </define>
  6914. <define name="draw-contour-polygon">
  6915. <element name="draw:contour-polygon">
  6916. <ref name="common-contour-attlist"/>
  6917. <ref name="common-draw-size-attlist"/>
  6918. <ref name="common-draw-viewbox-attlist"/>
  6919. <ref name="common-draw-points-attlist"/>
  6920. <empty/>
  6921. </element>
  6922. </define>
  6923. <define name="draw-contour-path">
  6924. <element name="draw:contour-path">
  6925. <ref name="common-contour-attlist"/>
  6926. <ref name="common-draw-size-attlist"/>
  6927. <ref name="common-draw-viewbox-attlist"/>
  6928. <ref name="common-draw-path-data-attlist"/>
  6929. <empty/>
  6930. </element>
  6931. </define>
  6932. <define name="common-contour-attlist">
  6933. <attribute name="draw:recreate-on-edit">
  6934. <ref name="boolean"/>
  6935. </attribute>
  6936. </define>
  6937. <define name="draw-a">
  6938. <element name="draw:a">
  6939. <ref name="draw-a-attlist"/>
  6940. <ref name="shape-instance"/>
  6941. </element>
  6942. </define>
  6943. <define name="draw-a-attlist">
  6944. <interleave>
  6945. <attribute name="xlink:type">
  6946. <value>simple</value>
  6947. </attribute>
  6948. <attribute name="xlink:href">
  6949. <ref name="anyIRI"/>
  6950. </attribute>
  6951. <optional>
  6952. <attribute name="xlink:actuate">
  6953. <value>onRequest</value>
  6954. </attribute>
  6955. </optional>
  6956. <optional>
  6957. <attribute name="office:target-frame-name">
  6958. <ref name="targetFrameName"/>
  6959. </attribute>
  6960. </optional>
  6961. <optional>
  6962. <attribute name="xlink:show">
  6963. <choice>
  6964. <value>new</value>
  6965. <value>replace</value>
  6966. </choice>
  6967. </attribute>
  6968. </optional>
  6969. <optional>
  6970. <attribute name="office:name">
  6971. <ref name="string"/>
  6972. </attribute>
  6973. </optional>
  6974. <optional>
  6975. <attribute name="office:title">
  6976. <ref name="string"/>
  6977. </attribute>
  6978. </optional>
  6979. <optional>
  6980. <attribute name="office:server-map">
  6981. <ref name="boolean"/>
  6982. </attribute>
  6983. </optional>
  6984. <optional>
  6985. <ref name="xml-id"/>
  6986. </optional>
  6987. </interleave>
  6988. </define>
  6989. <define name="draw-image-map">
  6990. <element name="draw:image-map">
  6991. <zeroOrMore>
  6992. <choice>
  6993. <ref name="draw-area-rectangle"/>
  6994. <ref name="draw-area-circle"/>
  6995. <ref name="draw-area-polygon"/>
  6996. </choice>
  6997. </zeroOrMore>
  6998. </element>
  6999. </define>
  7000. <define name="draw-area-rectangle">
  7001. <element name="draw:area-rectangle">
  7002. <ref name="common-draw-area-attlist"/>
  7003. <attribute name="svg:x">
  7004. <ref name="coordinate"/>
  7005. </attribute>
  7006. <attribute name="svg:y">
  7007. <ref name="coordinate"/>
  7008. </attribute>
  7009. <attribute name="svg:width">
  7010. <ref name="length"/>
  7011. </attribute>
  7012. <attribute name="svg:height">
  7013. <ref name="length"/>
  7014. </attribute>
  7015. <optional>
  7016. <ref name="svg-title"/>
  7017. </optional>
  7018. <optional>
  7019. <ref name="svg-desc"/>
  7020. </optional>
  7021. <optional>
  7022. <ref name="office-event-listeners"/>
  7023. </optional>
  7024. </element>
  7025. </define>
  7026. <define name="draw-area-circle">
  7027. <element name="draw:area-circle">
  7028. <ref name="common-draw-area-attlist"/>
  7029. <attribute name="svg:cx">
  7030. <ref name="coordinate"/>
  7031. </attribute>
  7032. <attribute name="svg:cy">
  7033. <ref name="coordinate"/>
  7034. </attribute>
  7035. <attribute name="svg:r">
  7036. <ref name="length"/>
  7037. </attribute>
  7038. <optional>
  7039. <ref name="svg-title"/>
  7040. </optional>
  7041. <optional>
  7042. <ref name="svg-desc"/>
  7043. </optional>
  7044. <optional>
  7045. <ref name="office-event-listeners"/>
  7046. </optional>
  7047. </element>
  7048. </define>
  7049. <define name="draw-area-polygon">
  7050. <element name="draw:area-polygon">
  7051. <ref name="common-draw-area-attlist"/>
  7052. <attribute name="svg:x">
  7053. <ref name="coordinate"/>
  7054. </attribute>
  7055. <attribute name="svg:y">
  7056. <ref name="coordinate"/>
  7057. </attribute>
  7058. <attribute name="svg:width">
  7059. <ref name="length"/>
  7060. </attribute>
  7061. <attribute name="svg:height">
  7062. <ref name="length"/>
  7063. </attribute>
  7064. <ref name="common-draw-viewbox-attlist"/>
  7065. <ref name="common-draw-points-attlist"/>
  7066. <optional>
  7067. <ref name="svg-title"/>
  7068. </optional>
  7069. <optional>
  7070. <ref name="svg-desc"/>
  7071. </optional>
  7072. <optional>
  7073. <ref name="office-event-listeners"/>
  7074. </optional>
  7075. </element>
  7076. </define>
  7077. <define name="common-draw-area-attlist">
  7078. <interleave>
  7079. <optional>
  7080. <attribute name="xlink:type">
  7081. <value>simple</value>
  7082. </attribute>
  7083. <attribute name="xlink:href">
  7084. <ref name="anyIRI"/>
  7085. </attribute>
  7086. <optional>
  7087. <attribute name="office:target-frame-name">
  7088. <ref name="targetFrameName"/>
  7089. </attribute>
  7090. </optional>
  7091. <optional>
  7092. <attribute name="xlink:show">
  7093. <choice>
  7094. <value>new</value>
  7095. <value>replace</value>
  7096. </choice>
  7097. </attribute>
  7098. </optional>
  7099. </optional>
  7100. <optional>
  7101. <attribute name="office:name">
  7102. <ref name="string"/>
  7103. </attribute>
  7104. </optional>
  7105. <optional>
  7106. <attribute name="draw:nohref">
  7107. <value>nohref</value>
  7108. </attribute>
  7109. </optional>
  7110. </interleave>
  7111. </define>
  7112. <define name="dr3d-scene">
  7113. <element name="dr3d:scene">
  7114. <ref name="dr3d-scene-attlist"/>
  7115. <ref name="common-draw-position-attlist"/>
  7116. <ref name="common-draw-size-attlist"/>
  7117. <ref name="common-draw-style-name-attlist"/>
  7118. <ref name="common-draw-z-index-attlist"/>
  7119. <ref name="common-draw-id-attlist"/>
  7120. <ref name="common-draw-layer-name-attlist"/>
  7121. <ref name="common-text-spreadsheet-shape-attlist"/>
  7122. <ref name="common-dr3d-transform-attlist"/>
  7123. <ref name="common-draw-caption-id-attlist"/>
  7124. <optional>
  7125. <ref name="svg-title"/>
  7126. </optional>
  7127. <optional>
  7128. <ref name="svg-desc"/>
  7129. </optional>
  7130. <zeroOrMore>
  7131. <ref name="dr3d-light"/>
  7132. </zeroOrMore>
  7133. <zeroOrMore>
  7134. <ref name="shapes3d"/>
  7135. </zeroOrMore>
  7136. <zeroOrMore>
  7137. <ref name="draw-glue-point"/>
  7138. </zeroOrMore>
  7139. </element>
  7140. </define>
  7141. <define name="shapes3d">
  7142. <choice>
  7143. <ref name="dr3d-scene"/>
  7144. <ref name="dr3d-extrude"/>
  7145. <ref name="dr3d-sphere"/>
  7146. <ref name="dr3d-rotate"/>
  7147. <ref name="dr3d-cube"/>
  7148. </choice>
  7149. </define>
  7150. <define name="dr3d-scene-attlist">
  7151. <interleave>
  7152. <optional>
  7153. <attribute name="dr3d:vrp">
  7154. <ref name="vector3D"/>
  7155. </attribute>
  7156. </optional>
  7157. <optional>
  7158. <attribute name="dr3d:vpn">
  7159. <ref name="vector3D"/>
  7160. </attribute>
  7161. </optional>
  7162. <optional>
  7163. <attribute name="dr3d:vup">
  7164. <ref name="vector3D"/>
  7165. </attribute>
  7166. </optional>
  7167. <optional>
  7168. <attribute name="dr3d:projection">
  7169. <choice>
  7170. <value>parallel</value>
  7171. <value>perspective</value>
  7172. </choice>
  7173. </attribute>
  7174. </optional>
  7175. <optional>
  7176. <attribute name="dr3d:distance">
  7177. <ref name="length"/>
  7178. </attribute>
  7179. </optional>
  7180. <optional>
  7181. <attribute name="dr3d:focal-length">
  7182. <ref name="length"/>
  7183. </attribute>
  7184. </optional>
  7185. <optional>
  7186. <attribute name="dr3d:shadow-slant">
  7187. <ref name="angle"/>
  7188. </attribute>
  7189. </optional>
  7190. <optional>
  7191. <attribute name="dr3d:shade-mode">
  7192. <choice>
  7193. <value>flat</value>
  7194. <value>phong</value>
  7195. <value>gouraud</value>
  7196. <value>draft</value>
  7197. </choice>
  7198. </attribute>
  7199. </optional>
  7200. <optional>
  7201. <attribute name="dr3d:ambient-color">
  7202. <ref name="color"/>
  7203. </attribute>
  7204. </optional>
  7205. <optional>
  7206. <attribute name="dr3d:lighting-mode">
  7207. <ref name="boolean"/>
  7208. </attribute>
  7209. </optional>
  7210. </interleave>
  7211. </define>
  7212. <define name="common-dr3d-transform-attlist">
  7213. <optional>
  7214. <attribute name="dr3d:transform">
  7215. <ref name="string"/>
  7216. </attribute>
  7217. </optional>
  7218. </define>
  7219. <define name="dr3d-light">
  7220. <element name="dr3d:light">
  7221. <ref name="dr3d-light-attlist"/>
  7222. <empty/>
  7223. </element>
  7224. </define>
  7225. <define name="dr3d-light-attlist">
  7226. <interleave>
  7227. <optional>
  7228. <attribute name="dr3d:diffuse-color">
  7229. <ref name="color"/>
  7230. </attribute>
  7231. </optional>
  7232. <attribute name="dr3d:direction">
  7233. <ref name="vector3D"/>
  7234. </attribute>
  7235. <optional>
  7236. <attribute name="dr3d:enabled">
  7237. <ref name="boolean"/>
  7238. </attribute>
  7239. </optional>
  7240. <optional>
  7241. <attribute name="dr3d:specular">
  7242. <ref name="boolean"/>
  7243. </attribute>
  7244. </optional>
  7245. </interleave>
  7246. </define>
  7247. <define name="dr3d-cube">
  7248. <element name="dr3d:cube">
  7249. <ref name="dr3d-cube-attlist"/>
  7250. <ref name="common-draw-z-index-attlist"/>
  7251. <ref name="common-draw-id-attlist"/>
  7252. <ref name="common-draw-layer-name-attlist"/>
  7253. <ref name="common-draw-style-name-attlist"/>
  7254. <ref name="common-dr3d-transform-attlist"/>
  7255. <empty/>
  7256. </element>
  7257. </define>
  7258. <define name="dr3d-cube-attlist">
  7259. <optional>
  7260. <attribute name="dr3d:min-edge">
  7261. <ref name="vector3D"/>
  7262. </attribute>
  7263. </optional>
  7264. <optional>
  7265. <attribute name="dr3d:max-edge">
  7266. <ref name="vector3D"/>
  7267. </attribute>
  7268. </optional>
  7269. </define>
  7270. <define name="dr3d-sphere">
  7271. <element name="dr3d:sphere">
  7272. <ref name="dr3d-sphere-attlist"/>
  7273. <ref name="common-draw-z-index-attlist"/>
  7274. <ref name="common-draw-id-attlist"/>
  7275. <ref name="common-draw-layer-name-attlist"/>
  7276. <ref name="common-draw-style-name-attlist"/>
  7277. <ref name="common-dr3d-transform-attlist"/>
  7278. <empty/>
  7279. </element>
  7280. </define>
  7281. <define name="dr3d-sphere-attlist">
  7282. <interleave>
  7283. <optional>
  7284. <attribute name="dr3d:center">
  7285. <ref name="vector3D"/>
  7286. </attribute>
  7287. </optional>
  7288. <optional>
  7289. <attribute name="dr3d:size">
  7290. <ref name="vector3D"/>
  7291. </attribute>
  7292. </optional>
  7293. </interleave>
  7294. </define>
  7295. <define name="dr3d-extrude">
  7296. <element name="dr3d:extrude">
  7297. <ref name="common-draw-path-data-attlist"/>
  7298. <ref name="common-draw-viewbox-attlist"/>
  7299. <ref name="common-draw-id-attlist"/>
  7300. <ref name="common-draw-z-index-attlist"/>
  7301. <ref name="common-draw-layer-name-attlist"/>
  7302. <ref name="common-draw-style-name-attlist"/>
  7303. <ref name="common-dr3d-transform-attlist"/>
  7304. <empty/>
  7305. </element>
  7306. </define>
  7307. <define name="dr3d-rotate">
  7308. <element name="dr3d:rotate">
  7309. <ref name="common-draw-viewbox-attlist"/>
  7310. <ref name="common-draw-path-data-attlist"/>
  7311. <ref name="common-draw-z-index-attlist"/>
  7312. <ref name="common-draw-id-attlist"/>
  7313. <ref name="common-draw-layer-name-attlist"/>
  7314. <ref name="common-draw-style-name-attlist"/>
  7315. <ref name="common-dr3d-transform-attlist"/>
  7316. <empty/>
  7317. </element>
  7318. </define>
  7319. <define name="draw-custom-shape">
  7320. <element name="draw:custom-shape">
  7321. <ref name="draw-custom-shape-attlist"/>
  7322. <ref name="common-draw-position-attlist"/>
  7323. <ref name="common-draw-size-attlist"/>
  7324. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  7325. <ref name="common-draw-caption-id-attlist"/>
  7326. <optional>
  7327. <ref name="svg-title"/>
  7328. </optional>
  7329. <optional>
  7330. <ref name="svg-desc"/>
  7331. </optional>
  7332. <optional>
  7333. <ref name="office-event-listeners"/>
  7334. </optional>
  7335. <zeroOrMore>
  7336. <ref name="draw-glue-point"/>
  7337. </zeroOrMore>
  7338. <ref name="draw-text"/>
  7339. <optional>
  7340. <ref name="draw-enhanced-geometry"/>
  7341. </optional>
  7342. </element>
  7343. </define>
  7344. <define name="draw-custom-shape-attlist">
  7345. <interleave>
  7346. <optional>
  7347. <attribute name="draw:engine">
  7348. <ref name="namespacedToken"/>
  7349. </attribute>
  7350. </optional>
  7351. <optional>
  7352. <attribute name="draw:data">
  7353. <ref name="string"/>
  7354. </attribute>
  7355. </optional>
  7356. </interleave>
  7357. </define>
  7358. <define name="draw-enhanced-geometry">
  7359. <element name="draw:enhanced-geometry">
  7360. <ref name="draw-enhanced-geometry-attlist"/>
  7361. <zeroOrMore>
  7362. <ref name="draw-equation"/>
  7363. </zeroOrMore>
  7364. <zeroOrMore>
  7365. <ref name="draw-handle"/>
  7366. </zeroOrMore>
  7367. </element>
  7368. </define>
  7369. <define name="draw-enhanced-geometry-attlist">
  7370. <interleave>
  7371. <optional>
  7372. <attribute name="draw:type">
  7373. <ref name="custom-shape-type"/>
  7374. </attribute>
  7375. </optional>
  7376. <optional>
  7377. <attribute name="svg:viewBox">
  7378. <list>
  7379. <ref name="integer"/>
  7380. <ref name="integer"/>
  7381. <ref name="integer"/>
  7382. <ref name="integer"/>
  7383. </list>
  7384. </attribute>
  7385. </optional>
  7386. <optional>
  7387. <attribute name="draw:mirror-vertical">
  7388. <ref name="boolean"/>
  7389. </attribute>
  7390. </optional>
  7391. <optional>
  7392. <attribute name="draw:mirror-horizontal">
  7393. <ref name="boolean"/>
  7394. </attribute>
  7395. </optional>
  7396. <optional>
  7397. <attribute name="draw:text-rotate-angle">
  7398. <ref name="angle"/>
  7399. </attribute>
  7400. </optional>
  7401. <optional>
  7402. <attribute name="draw:extrusion-allowed">
  7403. <ref name="boolean"/>
  7404. </attribute>
  7405. </optional>
  7406. <optional>
  7407. <attribute name="draw:text-path-allowed">
  7408. <ref name="boolean"/>
  7409. </attribute>
  7410. </optional>
  7411. <optional>
  7412. <attribute name="draw:concentric-gradient-fill-allowed">
  7413. <ref name="boolean"/>
  7414. </attribute>
  7415. </optional>
  7416. <optional>
  7417. <attribute name="draw:extrusion">
  7418. <ref name="boolean"/>
  7419. </attribute>
  7420. </optional>
  7421. <optional>
  7422. <attribute name="draw:extrusion-brightness">
  7423. <ref name="zeroToHundredPercent"/>
  7424. </attribute>
  7425. </optional>
  7426. <optional>
  7427. <attribute name="draw:extrusion-depth">
  7428. <list>
  7429. <ref name="length"/>
  7430. <ref name="double"/>
  7431. </list>
  7432. </attribute>
  7433. </optional>
  7434. <optional>
  7435. <attribute name="draw:extrusion-diffusion">
  7436. <ref name="percent"/>
  7437. </attribute>
  7438. </optional>
  7439. <optional>
  7440. <attribute name="draw:extrusion-number-of-line-segments">
  7441. <ref name="integer"/>
  7442. </attribute>
  7443. </optional>
  7444. <optional>
  7445. <attribute name="draw:extrusion-light-face">
  7446. <ref name="boolean"/>
  7447. </attribute>
  7448. </optional>
  7449. <optional>
  7450. <attribute name="draw:extrusion-first-light-harsh">
  7451. <ref name="boolean"/>
  7452. </attribute>
  7453. </optional>
  7454. <optional>
  7455. <attribute name="draw:extrusion-second-light-harsh">
  7456. <ref name="boolean"/>
  7457. </attribute>
  7458. </optional>
  7459. <optional>
  7460. <attribute name="draw:extrusion-first-light-level">
  7461. <ref name="zeroToHundredPercent"/>
  7462. </attribute>
  7463. </optional>
  7464. <optional>
  7465. <attribute name="draw:extrusion-second-light-level">
  7466. <ref name="zeroToHundredPercent"/>
  7467. </attribute>
  7468. </optional>
  7469. <optional>
  7470. <attribute name="draw:extrusion-first-light-direction">
  7471. <ref name="vector3D"/>
  7472. </attribute>
  7473. </optional>
  7474. <optional>
  7475. <attribute name="draw:extrusion-second-light-direction">
  7476. <ref name="vector3D"/>
  7477. </attribute>
  7478. </optional>
  7479. <optional>
  7480. <attribute name="draw:extrusion-metal">
  7481. <ref name="boolean"/>
  7482. </attribute>
  7483. </optional>
  7484. <optional>
  7485. <attribute name="dr3d:shade-mode">
  7486. <choice>
  7487. <value>flat</value>
  7488. <value>phong</value>
  7489. <value>gouraud</value>
  7490. <value>draft</value>
  7491. </choice>
  7492. </attribute>
  7493. </optional>
  7494. <optional>
  7495. <attribute name="draw:extrusion-rotation-angle">
  7496. <list>
  7497. <ref name="angle"/>
  7498. <ref name="angle"/>
  7499. </list>
  7500. </attribute>
  7501. </optional>
  7502. <optional>
  7503. <attribute name="draw:extrusion-rotation-center">
  7504. <ref name="vector3D"/>
  7505. </attribute>
  7506. </optional>
  7507. <optional>
  7508. <attribute name="draw:extrusion-shininess">
  7509. <ref name="zeroToHundredPercent"/>
  7510. </attribute>
  7511. </optional>
  7512. <optional>
  7513. <attribute name="draw:extrusion-skew">
  7514. <list>
  7515. <ref name="double"/>
  7516. <ref name="angle"/>
  7517. </list>
  7518. </attribute>
  7519. </optional>
  7520. <optional>
  7521. <attribute name="draw:extrusion-specularity">
  7522. <ref name="zeroToHundredPercent"/>
  7523. </attribute>
  7524. </optional>
  7525. <optional>
  7526. <attribute name="dr3d:projection">
  7527. <choice>
  7528. <value>parallel</value>
  7529. <value>perspective</value>
  7530. </choice>
  7531. </attribute>
  7532. </optional>
  7533. <optional>
  7534. <attribute name="draw:extrusion-viewpoint">
  7535. <ref name="point3D"/>
  7536. </attribute>
  7537. </optional>
  7538. <optional>
  7539. <attribute name="draw:extrusion-origin">
  7540. <list>
  7541. <ref name="extrusionOrigin"/>
  7542. <ref name="extrusionOrigin"/>
  7543. </list>
  7544. </attribute>
  7545. </optional>
  7546. <optional>
  7547. <attribute name="draw:extrusion-color">
  7548. <ref name="boolean"/>
  7549. </attribute>
  7550. </optional>
  7551. <optional>
  7552. <attribute name="draw:enhanced-path">
  7553. <ref name="string"/>
  7554. </attribute>
  7555. </optional>
  7556. <optional>
  7557. <attribute name="draw:path-stretchpoint-x">
  7558. <ref name="double"/>
  7559. </attribute>
  7560. </optional>
  7561. <optional>
  7562. <attribute name="draw:path-stretchpoint-y">
  7563. <ref name="double"/>
  7564. </attribute>
  7565. </optional>
  7566. <optional>
  7567. <attribute name="draw:text-areas">
  7568. <ref name="string"/>
  7569. </attribute>
  7570. </optional>
  7571. <optional>
  7572. <attribute name="draw:glue-points">
  7573. <ref name="string"/>
  7574. </attribute>
  7575. </optional>
  7576. <optional>
  7577. <attribute name="draw:glue-point-type">
  7578. <choice>
  7579. <value>none</value>
  7580. <value>segments</value>
  7581. <value>rectangle</value>
  7582. </choice>
  7583. </attribute>
  7584. </optional>
  7585. <optional>
  7586. <attribute name="draw:glue-point-leaving-directions">
  7587. <ref name="string"/>
  7588. </attribute>
  7589. </optional>
  7590. <optional>
  7591. <attribute name="draw:text-path">
  7592. <ref name="boolean"/>
  7593. </attribute>
  7594. </optional>
  7595. <optional>
  7596. <attribute name="draw:text-path-mode">
  7597. <choice>
  7598. <value>normal</value>
  7599. <value>path</value>
  7600. <value>shape</value>
  7601. </choice>
  7602. </attribute>
  7603. </optional>
  7604. <optional>
  7605. <attribute name="draw:text-path-scale">
  7606. <choice>
  7607. <value>path</value>
  7608. <value>shape</value>
  7609. </choice>
  7610. </attribute>
  7611. </optional>
  7612. <optional>
  7613. <attribute name="draw:text-path-same-letter-heights">
  7614. <ref name="boolean"/>
  7615. </attribute>
  7616. </optional>
  7617. <optional>
  7618. <attribute name="draw:modifiers">
  7619. <ref name="string"/>
  7620. </attribute>
  7621. </optional>
  7622. </interleave>
  7623. </define>
  7624. <define name="custom-shape-type">
  7625. <choice>
  7626. <value>non-primitive</value>
  7627. <ref name="string"/>
  7628. </choice>
  7629. </define>
  7630. <define name="point3D">
  7631. <data type="string">
  7632. <param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc))([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc))){2}[ ]*\)</param>
  7633. </data>
  7634. </define>
  7635. <define name="extrusionOrigin">
  7636. <data type="double">
  7637. <param name="minInclusive">-0.5</param>
  7638. <param name="maxInclusive">0.5</param>
  7639. </data>
  7640. </define>
  7641. <define name="draw-equation">
  7642. <element name="draw:equation">
  7643. <ref name="draw-equation-attlist"/>
  7644. <empty/>
  7645. </element>
  7646. </define>
  7647. <define name="draw-equation-attlist">
  7648. <interleave>
  7649. <optional>
  7650. <attribute name="draw:name">
  7651. <ref name="string"/>
  7652. </attribute>
  7653. </optional>
  7654. <optional>
  7655. <attribute name="draw:formula">
  7656. <ref name="string"/>
  7657. </attribute>
  7658. </optional>
  7659. </interleave>
  7660. </define>
  7661. <define name="draw-handle">
  7662. <element name="draw:handle">
  7663. <ref name="draw-handle-attlist"/>
  7664. <empty/>
  7665. </element>
  7666. </define>
  7667. <define name="draw-handle-attlist">
  7668. <interleave>
  7669. <optional>
  7670. <attribute name="draw:handle-mirror-vertical">
  7671. <ref name="boolean"/>
  7672. </attribute>
  7673. </optional>
  7674. <optional>
  7675. <attribute name="draw:handle-mirror-horizontal">
  7676. <ref name="boolean"/>
  7677. </attribute>
  7678. </optional>
  7679. <optional>
  7680. <attribute name="draw:handle-switched">
  7681. <ref name="boolean"/>
  7682. </attribute>
  7683. </optional>
  7684. <attribute name="draw:handle-position">
  7685. <ref name="string"/>
  7686. </attribute>
  7687. <optional>
  7688. <attribute name="draw:handle-range-x-minimum">
  7689. <ref name="string"/>
  7690. </attribute>
  7691. </optional>
  7692. <optional>
  7693. <attribute name="draw:handle-range-x-maximum">
  7694. <ref name="string"/>
  7695. </attribute>
  7696. </optional>
  7697. <optional>
  7698. <attribute name="draw:handle-range-y-minimum">
  7699. <ref name="string"/>
  7700. </attribute>
  7701. </optional>
  7702. <optional>
  7703. <attribute name="draw:handle-range-y-maximum">
  7704. <ref name="string"/>
  7705. </attribute>
  7706. </optional>
  7707. <optional>
  7708. <attribute name="draw:handle-polar">
  7709. <ref name="string"/>
  7710. </attribute>
  7711. </optional>
  7712. <optional>
  7713. <attribute name="draw:handle-radius-range-minimum">
  7714. <ref name="string"/>
  7715. </attribute>
  7716. </optional>
  7717. <optional>
  7718. <attribute name="draw:handle-radius-range-maximum">
  7719. <ref name="string"/>
  7720. </attribute>
  7721. </optional>
  7722. </interleave>
  7723. </define>
  7724. <define name="presentation-shape-attlist">
  7725. <interleave>
  7726. <optional>
  7727. <attribute name="presentation:class">
  7728. <ref name="presentation-classes"/>
  7729. </attribute>
  7730. </optional>
  7731. <optional>
  7732. <attribute name="presentation:placeholder">
  7733. <ref name="boolean"/>
  7734. </attribute>
  7735. </optional>
  7736. <optional>
  7737. <attribute name="presentation:user-transformed">
  7738. <ref name="boolean"/>
  7739. </attribute>
  7740. </optional>
  7741. </interleave>
  7742. </define>
  7743. <define name="presentation-classes">
  7744. <choice>
  7745. <value>title</value>
  7746. <value>outline</value>
  7747. <value>subtitle</value>
  7748. <value>text</value>
  7749. <value>graphic</value>
  7750. <value>object</value>
  7751. <value>chart</value>
  7752. <value>table</value>
  7753. <value>orgchart</value>
  7754. <value>page</value>
  7755. <value>notes</value>
  7756. <value>handout</value>
  7757. <value>header</value>
  7758. <value>footer</value>
  7759. <value>date-time</value>
  7760. <value>page-number</value>
  7761. </choice>
  7762. </define>
  7763. <define name="presentation-animations">
  7764. <element name="presentation:animations">
  7765. <zeroOrMore>
  7766. <choice>
  7767. <ref name="presentation-animation-elements"/>
  7768. <ref name="presentation-animation-group"/>
  7769. </choice>
  7770. </zeroOrMore>
  7771. </element>
  7772. </define>
  7773. <define name="presentation-animation-elements">
  7774. <choice>
  7775. <ref name="presentation-show-shape"/>
  7776. <ref name="presentation-show-text"/>
  7777. <ref name="presentation-hide-shape"/>
  7778. <ref name="presentation-hide-text"/>
  7779. <ref name="presentation-dim"/>
  7780. <ref name="presentation-play"/>
  7781. </choice>
  7782. </define>
  7783. <define name="presentation-sound">
  7784. <element name="presentation:sound">
  7785. <ref name="presentation-sound-attlist"/>
  7786. <attribute name="xlink:type">
  7787. <value>simple</value>
  7788. </attribute>
  7789. <attribute name="xlink:href">
  7790. <ref name="anyIRI"/>
  7791. </attribute>
  7792. <optional>
  7793. <attribute name="xlink:actuate">
  7794. <value>onRequest</value>
  7795. </attribute>
  7796. </optional>
  7797. <optional>
  7798. <attribute name="xlink:show">
  7799. <choice>
  7800. <value>new</value>
  7801. <value>replace</value>
  7802. </choice>
  7803. </attribute>
  7804. </optional>
  7805. <empty/>
  7806. </element>
  7807. </define>
  7808. <define name="presentation-sound-attlist">
  7809. <interleave>
  7810. <optional>
  7811. <attribute name="presentation:play-full">
  7812. <ref name="boolean"/>
  7813. </attribute>
  7814. </optional>
  7815. <optional>
  7816. <ref name="xml-id"/>
  7817. </optional>
  7818. </interleave>
  7819. </define>
  7820. <define name="presentation-show-shape">
  7821. <element name="presentation:show-shape">
  7822. <ref name="common-presentation-effect-attlist"/>
  7823. <optional>
  7824. <ref name="presentation-sound"/>
  7825. </optional>
  7826. </element>
  7827. </define>
  7828. <define name="common-presentation-effect-attlist">
  7829. <interleave>
  7830. <attribute name="draw:shape-id">
  7831. <ref name="IDREF"/>
  7832. </attribute>
  7833. <optional>
  7834. <attribute name="presentation:effect">
  7835. <ref name="presentationEffects"/>
  7836. </attribute>
  7837. </optional>
  7838. <optional>
  7839. <attribute name="presentation:direction">
  7840. <ref name="presentationEffectDirections"/>
  7841. </attribute>
  7842. </optional>
  7843. <optional>
  7844. <attribute name="presentation:speed">
  7845. <ref name="presentationSpeeds"/>
  7846. </attribute>
  7847. </optional>
  7848. <optional>
  7849. <attribute name="presentation:delay">
  7850. <ref name="duration"/>
  7851. </attribute>
  7852. </optional>
  7853. <optional>
  7854. <attribute name="presentation:start-scale">
  7855. <ref name="percent"/>
  7856. </attribute>
  7857. </optional>
  7858. <optional>
  7859. <attribute name="presentation:path-id">
  7860. <ref name="string"/>
  7861. </attribute>
  7862. </optional>
  7863. </interleave>
  7864. </define>
  7865. <define name="presentationEffects">
  7866. <choice>
  7867. <value>none</value>
  7868. <value>fade</value>
  7869. <value>move</value>
  7870. <value>stripes</value>
  7871. <value>open</value>
  7872. <value>close</value>
  7873. <value>dissolve</value>
  7874. <value>wavyline</value>
  7875. <value>random</value>
  7876. <value>lines</value>
  7877. <value>laser</value>
  7878. <value>appear</value>
  7879. <value>hide</value>
  7880. <value>move-short</value>
  7881. <value>checkerboard</value>
  7882. <value>rotate</value>
  7883. <value>stretch</value>
  7884. </choice>
  7885. </define>
  7886. <define name="presentationEffectDirections">
  7887. <choice>
  7888. <value>none</value>
  7889. <value>from-left</value>
  7890. <value>from-top</value>
  7891. <value>from-right</value>
  7892. <value>from-bottom</value>
  7893. <value>from-center</value>
  7894. <value>from-upper-left</value>
  7895. <value>from-upper-right</value>
  7896. <value>from-lower-left</value>
  7897. <value>from-lower-right</value>
  7898. <value>to-left</value>
  7899. <value>to-top</value>
  7900. <value>to-right</value>
  7901. <value>to-bottom</value>
  7902. <value>to-upper-left</value>
  7903. <value>to-upper-right</value>
  7904. <value>to-lower-right</value>
  7905. <value>to-lower-left</value>
  7906. <value>path</value>
  7907. <value>spiral-inward-left</value>
  7908. <value>spiral-inward-right</value>
  7909. <value>spiral-outward-left</value>
  7910. <value>spiral-outward-right</value>
  7911. <value>vertical</value>
  7912. <value>horizontal</value>
  7913. <value>to-center</value>
  7914. <value>clockwise</value>
  7915. <value>counter-clockwise</value>
  7916. </choice>
  7917. </define>
  7918. <define name="presentationSpeeds">
  7919. <choice>
  7920. <value>slow</value>
  7921. <value>medium</value>
  7922. <value>fast</value>
  7923. </choice>
  7924. </define>
  7925. <define name="presentation-show-text">
  7926. <element name="presentation:show-text">
  7927. <ref name="common-presentation-effect-attlist"/>
  7928. <optional>
  7929. <ref name="presentation-sound"/>
  7930. </optional>
  7931. </element>
  7932. </define>
  7933. <define name="presentation-hide-shape">
  7934. <element name="presentation:hide-shape">
  7935. <ref name="common-presentation-effect-attlist"/>
  7936. <optional>
  7937. <ref name="presentation-sound"/>
  7938. </optional>
  7939. </element>
  7940. </define>
  7941. <define name="presentation-hide-text">
  7942. <element name="presentation:hide-text">
  7943. <ref name="common-presentation-effect-attlist"/>
  7944. <optional>
  7945. <ref name="presentation-sound"/>
  7946. </optional>
  7947. </element>
  7948. </define>
  7949. <define name="presentation-dim">
  7950. <element name="presentation:dim">
  7951. <ref name="presentation-dim-attlist"/>
  7952. <optional>
  7953. <ref name="presentation-sound"/>
  7954. </optional>
  7955. </element>
  7956. </define>
  7957. <define name="presentation-dim-attlist">
  7958. <interleave>
  7959. <attribute name="draw:shape-id">
  7960. <ref name="IDREF"/>
  7961. </attribute>
  7962. <attribute name="draw:color">
  7963. <ref name="color"/>
  7964. </attribute>
  7965. </interleave>
  7966. </define>
  7967. <define name="presentation-play">
  7968. <element name="presentation:play">
  7969. <ref name="presentation-play-attlist"/>
  7970. <empty/>
  7971. </element>
  7972. </define>
  7973. <define name="presentation-play-attlist">
  7974. <attribute name="draw:shape-id">
  7975. <ref name="IDREF"/>
  7976. </attribute>
  7977. <optional>
  7978. <attribute name="presentation:speed">
  7979. <ref name="presentationSpeeds"/>
  7980. </attribute>
  7981. </optional>
  7982. </define>
  7983. <define name="presentation-animation-group">
  7984. <element name="presentation:animation-group">
  7985. <zeroOrMore>
  7986. <ref name="presentation-animation-elements"/>
  7987. </zeroOrMore>
  7988. </element>
  7989. </define>
  7990. <define name="common-anim-attlist">
  7991. <interleave>
  7992. <optional>
  7993. <attribute name="presentation:node-type">
  7994. <choice>
  7995. <value>default</value>
  7996. <value>on-click</value>
  7997. <value>with-previous</value>
  7998. <value>after-previous</value>
  7999. <value>timing-root</value>
  8000. <value>main-sequence</value>
  8001. <value>interactive-sequence</value>
  8002. </choice>
  8003. </attribute>
  8004. </optional>
  8005. <optional>
  8006. <attribute name="presentation:preset-id">
  8007. <ref name="string"/>
  8008. </attribute>
  8009. </optional>
  8010. <optional>
  8011. <attribute name="presentation:preset-sub-type">
  8012. <ref name="string"/>
  8013. </attribute>
  8014. </optional>
  8015. <optional>
  8016. <attribute name="presentation:preset-class">
  8017. <choice>
  8018. <value>custom</value>
  8019. <value>entrance</value>
  8020. <value>exit</value>
  8021. <value>emphasis</value>
  8022. <value>motion-path</value>
  8023. <value>ole-action</value>
  8024. <value>media-call</value>
  8025. </choice>
  8026. </attribute>
  8027. </optional>
  8028. <optional>
  8029. <attribute name="presentation:master-element">
  8030. <ref name="IDREF"/>
  8031. </attribute>
  8032. </optional>
  8033. <optional>
  8034. <attribute name="presentation:group-id">
  8035. <ref name="string"/>
  8036. </attribute>
  8037. </optional>
  8038. <optional>
  8039. <group>
  8040. <ref name="xml-id"/>
  8041. <optional>
  8042. <attribute name="anim:id">
  8043. <ref name="NCName"/>
  8044. </attribute>
  8045. </optional>
  8046. </group>
  8047. </optional>
  8048. </interleave>
  8049. </define>
  8050. <define name="presentation-event-listener">
  8051. <element name="presentation:event-listener">
  8052. <ref name="presentation-event-listener-attlist"/>
  8053. <optional>
  8054. <ref name="presentation-sound"/>
  8055. </optional>
  8056. </element>
  8057. </define>
  8058. <define name="presentation-event-listener-attlist">
  8059. <interleave>
  8060. <attribute name="script:event-name">
  8061. <ref name="string"/>
  8062. </attribute>
  8063. <attribute name="presentation:action">
  8064. <choice>
  8065. <value>none</value>
  8066. <value>previous-page</value>
  8067. <value>next-page</value>
  8068. <value>first-page</value>
  8069. <value>last-page</value>
  8070. <value>hide</value>
  8071. <value>stop</value>
  8072. <value>execute</value>
  8073. <value>show</value>
  8074. <value>verb</value>
  8075. <value>fade-out</value>
  8076. <value>sound</value>
  8077. <value>last-visited-page</value>
  8078. </choice>
  8079. </attribute>
  8080. <optional>
  8081. <attribute name="presentation:effect">
  8082. <ref name="presentationEffects"/>
  8083. </attribute>
  8084. </optional>
  8085. <optional>
  8086. <attribute name="presentation:direction">
  8087. <ref name="presentationEffectDirections"/>
  8088. </attribute>
  8089. </optional>
  8090. <optional>
  8091. <attribute name="presentation:speed">
  8092. <ref name="presentationSpeeds"/>
  8093. </attribute>
  8094. </optional>
  8095. <optional>
  8096. <attribute name="presentation:start-scale">
  8097. <ref name="percent"/>
  8098. </attribute>
  8099. </optional>
  8100. <optional>
  8101. <attribute name="xlink:type">
  8102. <value>simple</value>
  8103. </attribute>
  8104. <attribute name="xlink:href">
  8105. <ref name="anyIRI"/>
  8106. </attribute>
  8107. <optional>
  8108. <attribute name="xlink:show">
  8109. <value>embed</value>
  8110. </attribute>
  8111. </optional>
  8112. <optional>
  8113. <attribute name="xlink:actuate">
  8114. <value>onRequest</value>
  8115. </attribute>
  8116. </optional>
  8117. </optional>
  8118. <optional>
  8119. <attribute name="presentation:verb">
  8120. <ref name="nonNegativeInteger"/>
  8121. </attribute>
  8122. </optional>
  8123. </interleave>
  8124. </define>
  8125. <define name="presentation-decls">
  8126. <zeroOrMore>
  8127. <ref name="presentation-decl"/>
  8128. </zeroOrMore>
  8129. </define>
  8130. <define name="presentation-decl">
  8131. <choice>
  8132. <element name="presentation:header-decl">
  8133. <ref name="presentation-header-decl-attlist"/>
  8134. <text/>
  8135. </element>
  8136. <element name="presentation:footer-decl">
  8137. <ref name="presentation-footer-decl-attlist"/>
  8138. <text/>
  8139. </element>
  8140. <element name="presentation:date-time-decl">
  8141. <ref name="presentation-date-time-decl-attlist"/>
  8142. <text/>
  8143. </element>
  8144. </choice>
  8145. </define>
  8146. <define name="presentation-header-decl-attlist">
  8147. <attribute name="presentation:name">
  8148. <ref name="string"/>
  8149. </attribute>
  8150. </define>
  8151. <define name="presentation-footer-decl-attlist">
  8152. <attribute name="presentation:name">
  8153. <ref name="string"/>
  8154. </attribute>
  8155. </define>
  8156. <define name="presentation-date-time-decl-attlist">
  8157. <interleave>
  8158. <attribute name="presentation:name">
  8159. <ref name="string"/>
  8160. </attribute>
  8161. <attribute name="presentation:source">
  8162. <choice>
  8163. <value>fixed</value>
  8164. <value>current-date</value>
  8165. </choice>
  8166. </attribute>
  8167. <optional>
  8168. <attribute name="style:data-style-name">
  8169. <ref name="styleNameRef"/>
  8170. </attribute>
  8171. </optional>
  8172. </interleave>
  8173. </define>
  8174. <define name="presentation-settings">
  8175. <optional>
  8176. <element name="presentation:settings">
  8177. <ref name="presentation-settings-attlist"/>
  8178. <zeroOrMore>
  8179. <ref name="presentation-show"/>
  8180. </zeroOrMore>
  8181. </element>
  8182. </optional>
  8183. </define>
  8184. <define name="presentation-settings-attlist">
  8185. <interleave>
  8186. <optional>
  8187. <attribute name="presentation:start-page">
  8188. <ref name="string"/>
  8189. </attribute>
  8190. </optional>
  8191. <optional>
  8192. <attribute name="presentation:show">
  8193. <ref name="string"/>
  8194. </attribute>
  8195. </optional>
  8196. <optional>
  8197. <attribute name="presentation:full-screen">
  8198. <ref name="boolean"/>
  8199. </attribute>
  8200. </optional>
  8201. <optional>
  8202. <attribute name="presentation:endless">
  8203. <ref name="boolean"/>
  8204. </attribute>
  8205. </optional>
  8206. <optional>
  8207. <attribute name="presentation:pause">
  8208. <ref name="duration"/>
  8209. </attribute>
  8210. </optional>
  8211. <optional>
  8212. <attribute name="presentation:show-logo">
  8213. <ref name="boolean"/>
  8214. </attribute>
  8215. </optional>
  8216. <optional>
  8217. <attribute name="presentation:force-manual">
  8218. <ref name="boolean"/>
  8219. </attribute>
  8220. </optional>
  8221. <optional>
  8222. <attribute name="presentation:mouse-visible">
  8223. <ref name="boolean"/>
  8224. </attribute>
  8225. </optional>
  8226. <optional>
  8227. <attribute name="presentation:mouse-as-pen">
  8228. <ref name="boolean"/>
  8229. </attribute>
  8230. </optional>
  8231. <optional>
  8232. <attribute name="presentation:start-with-navigator">
  8233. <ref name="boolean"/>
  8234. </attribute>
  8235. </optional>
  8236. <optional>
  8237. <attribute name="presentation:animations">
  8238. <choice>
  8239. <value>enabled</value>
  8240. <value>disabled</value>
  8241. </choice>
  8242. </attribute>
  8243. </optional>
  8244. <optional>
  8245. <attribute name="presentation:transition-on-click">
  8246. <choice>
  8247. <value>enabled</value>
  8248. <value>disabled</value>
  8249. </choice>
  8250. </attribute>
  8251. </optional>
  8252. <optional>
  8253. <attribute name="presentation:stay-on-top">
  8254. <ref name="boolean"/>
  8255. </attribute>
  8256. </optional>
  8257. <optional>
  8258. <attribute name="presentation:show-end-of-presentation-slide">
  8259. <ref name="boolean"/>
  8260. </attribute>
  8261. </optional>
  8262. </interleave>
  8263. </define>
  8264. <define name="presentation-show">
  8265. <element name="presentation:show">
  8266. <ref name="presentation-show-attlist"/>
  8267. <empty/>
  8268. </element>
  8269. </define>
  8270. <define name="presentation-show-attlist">
  8271. <interleave>
  8272. <attribute name="presentation:name">
  8273. <ref name="string"/>
  8274. </attribute>
  8275. <attribute name="presentation:pages">
  8276. <ref name="string"/>
  8277. </attribute>
  8278. </interleave>
  8279. </define>
  8280. <define name="chart-chart">
  8281. <element name="chart:chart">
  8282. <ref name="chart-chart-attlist"/>
  8283. <optional>
  8284. <ref name="chart-title"/>
  8285. </optional>
  8286. <optional>
  8287. <ref name="chart-subtitle"/>
  8288. </optional>
  8289. <optional>
  8290. <ref name="chart-footer"/>
  8291. </optional>
  8292. <optional>
  8293. <ref name="chart-legend"/>
  8294. </optional>
  8295. <ref name="chart-plot-area"/>
  8296. <optional>
  8297. <ref name="table-table"/>
  8298. </optional>
  8299. </element>
  8300. </define>
  8301. <define name="chart-chart-attlist">
  8302. <interleave>
  8303. <attribute name="chart:class">
  8304. <ref name="namespacedToken"/>
  8305. </attribute>
  8306. <ref name="common-draw-size-attlist"/>
  8307. <optional>
  8308. <attribute name="chart:column-mapping">
  8309. <ref name="string"/>
  8310. </attribute>
  8311. </optional>
  8312. <optional>
  8313. <attribute name="chart:row-mapping">
  8314. <ref name="string"/>
  8315. </attribute>
  8316. </optional>
  8317. <optional>
  8318. <attribute name="chart:style-name">
  8319. <ref name="styleNameRef"/>
  8320. </attribute>
  8321. </optional>
  8322. <optional>
  8323. <group>
  8324. <attribute name="xlink:type">
  8325. <value>simple</value>
  8326. </attribute>
  8327. <attribute name="xlink:href">
  8328. <ref name="anyIRI"/>
  8329. </attribute>
  8330. </group>
  8331. </optional>
  8332. <optional>
  8333. <ref name="xml-id"/>
  8334. </optional>
  8335. </interleave>
  8336. </define>
  8337. <define name="chart-title">
  8338. <element name="chart:title">
  8339. <ref name="chart-title-attlist"/>
  8340. <optional>
  8341. <ref name="text-p"/>
  8342. </optional>
  8343. </element>
  8344. </define>
  8345. <define name="chart-title-attlist">
  8346. <interleave>
  8347. <optional>
  8348. <attribute name="table:cell-range">
  8349. <ref name="cellRangeAddressList"/>
  8350. </attribute>
  8351. </optional>
  8352. <ref name="common-draw-position-attlist"/>
  8353. <optional>
  8354. <attribute name="chart:style-name">
  8355. <ref name="styleNameRef"/>
  8356. </attribute>
  8357. </optional>
  8358. </interleave>
  8359. </define>
  8360. <define name="chart-subtitle">
  8361. <element name="chart:subtitle">
  8362. <ref name="chart-title-attlist"/>
  8363. <optional>
  8364. <ref name="text-p"/>
  8365. </optional>
  8366. </element>
  8367. </define>
  8368. <define name="chart-footer">
  8369. <element name="chart:footer">
  8370. <ref name="chart-title-attlist"/>
  8371. <optional>
  8372. <ref name="text-p"/>
  8373. </optional>
  8374. </element>
  8375. </define>
  8376. <define name="chart-legend">
  8377. <element name="chart:legend">
  8378. <ref name="chart-legend-attlist"/>
  8379. <optional>
  8380. <ref name="text-p"/>
  8381. </optional>
  8382. </element>
  8383. </define>
  8384. <define name="chart-legend-attlist">
  8385. <interleave>
  8386. <choice>
  8387. <group>
  8388. <attribute name="chart:legend-position">
  8389. <choice>
  8390. <value>start</value>
  8391. <value>end</value>
  8392. <value>top</value>
  8393. <value>bottom</value>
  8394. </choice>
  8395. </attribute>
  8396. <optional>
  8397. <attribute name="chart:legend-align">
  8398. <choice>
  8399. <value>start</value>
  8400. <value>center</value>
  8401. <value>end</value>
  8402. </choice>
  8403. </attribute>
  8404. </optional>
  8405. </group>
  8406. <attribute name="chart:legend-position">
  8407. <choice>
  8408. <value>top-start</value>
  8409. <value>bottom-start</value>
  8410. <value>top-end</value>
  8411. <value>bottom-end</value>
  8412. </choice>
  8413. </attribute>
  8414. <empty/>
  8415. </choice>
  8416. <ref name="common-draw-position-attlist"/>
  8417. <choice>
  8418. <attribute name="style:legend-expansion">
  8419. <choice>
  8420. <value>wide</value>
  8421. <value>high</value>
  8422. <value>balanced</value>
  8423. </choice>
  8424. </attribute>
  8425. <group>
  8426. <attribute name="style:legend-expansion">
  8427. <value>custom</value>
  8428. </attribute>
  8429. <attribute name="style:legend-expansion-aspect-ratio">
  8430. <ref name="double"/>
  8431. </attribute>
  8432. </group>
  8433. <empty/>
  8434. </choice>
  8435. <optional>
  8436. <attribute name="chart:style-name">
  8437. <ref name="styleNameRef"/>
  8438. </attribute>
  8439. </optional>
  8440. </interleave>
  8441. </define>
  8442. <define name="chart-plot-area">
  8443. <element name="chart:plot-area">
  8444. <ref name="chart-plot-area-attlist"/>
  8445. <zeroOrMore>
  8446. <ref name="dr3d-light"/>
  8447. </zeroOrMore>
  8448. <zeroOrMore>
  8449. <ref name="chart-axis"/>
  8450. </zeroOrMore>
  8451. <zeroOrMore>
  8452. <ref name="chart-series"/>
  8453. </zeroOrMore>
  8454. <optional>
  8455. <ref name="chart-stock-gain-marker"/>
  8456. </optional>
  8457. <optional>
  8458. <ref name="chart-stock-loss-marker"/>
  8459. </optional>
  8460. <optional>
  8461. <ref name="chart-stock-range-line"/>
  8462. </optional>
  8463. <optional>
  8464. <ref name="chart-wall"/>
  8465. </optional>
  8466. <optional>
  8467. <ref name="chart-floor"/>
  8468. </optional>
  8469. </element>
  8470. </define>
  8471. <define name="chart-plot-area-attlist">
  8472. <interleave>
  8473. <ref name="common-draw-position-attlist"/>
  8474. <ref name="common-draw-size-attlist"/>
  8475. <optional>
  8476. <attribute name="chart:style-name">
  8477. <ref name="styleNameRef"/>
  8478. </attribute>
  8479. </optional>
  8480. <optional>
  8481. <attribute name="table:cell-range-address">
  8482. <ref name="cellRangeAddressList"/>
  8483. </attribute>
  8484. </optional>
  8485. <optional>
  8486. <attribute name="chart:data-source-has-labels">
  8487. <choice>
  8488. <value>none</value>
  8489. <value>row</value>
  8490. <value>column</value>
  8491. <value>both</value>
  8492. </choice>
  8493. </attribute>
  8494. </optional>
  8495. <ref name="dr3d-scene-attlist"/>
  8496. <ref name="common-dr3d-transform-attlist"/>
  8497. <optional>
  8498. <ref name="xml-id"/>
  8499. </optional>
  8500. </interleave>
  8501. </define>
  8502. <define name="chart-wall">
  8503. <element name="chart:wall">
  8504. <ref name="chart-wall-attlist"/>
  8505. <empty/>
  8506. </element>
  8507. </define>
  8508. <define name="chart-wall-attlist">
  8509. <interleave>
  8510. <optional>
  8511. <attribute name="svg:width">
  8512. <ref name="length"/>
  8513. </attribute>
  8514. </optional>
  8515. <optional>
  8516. <attribute name="chart:style-name">
  8517. <ref name="styleNameRef"/>
  8518. </attribute>
  8519. </optional>
  8520. </interleave>
  8521. </define>
  8522. <define name="chart-floor">
  8523. <element name="chart:floor">
  8524. <ref name="chart-floor-attlist"/>
  8525. <empty/>
  8526. </element>
  8527. </define>
  8528. <define name="chart-floor-attlist">
  8529. <interleave>
  8530. <optional>
  8531. <attribute name="svg:width">
  8532. <ref name="length"/>
  8533. </attribute>
  8534. </optional>
  8535. <optional>
  8536. <attribute name="chart:style-name">
  8537. <ref name="styleNameRef"/>
  8538. </attribute>
  8539. </optional>
  8540. </interleave>
  8541. </define>
  8542. <define name="chart-axis">
  8543. <element name="chart:axis">
  8544. <ref name="chart-axis-attlist"/>
  8545. <optional>
  8546. <ref name="chart-title"/>
  8547. </optional>
  8548. <optional>
  8549. <ref name="chart-categories"/>
  8550. </optional>
  8551. <zeroOrMore>
  8552. <ref name="chart-grid"/>
  8553. </zeroOrMore>
  8554. </element>
  8555. </define>
  8556. <define name="chart-axis-attlist">
  8557. <interleave>
  8558. <attribute name="chart:dimension">
  8559. <ref name="chart-dimension"/>
  8560. </attribute>
  8561. <optional>
  8562. <attribute name="chart:name">
  8563. <ref name="string"/>
  8564. </attribute>
  8565. </optional>
  8566. <optional>
  8567. <attribute name="chart:style-name">
  8568. <ref name="styleNameRef"/>
  8569. </attribute>
  8570. </optional>
  8571. </interleave>
  8572. </define>
  8573. <define name="chart-dimension">
  8574. <choice>
  8575. <value>x</value>
  8576. <value>y</value>
  8577. <value>z</value>
  8578. </choice>
  8579. </define>
  8580. <define name="chart-categories">
  8581. <element name="chart:categories">
  8582. <optional>
  8583. <attribute name="table:cell-range-address">
  8584. <ref name="cellRangeAddressList"/>
  8585. </attribute>
  8586. </optional>
  8587. </element>
  8588. </define>
  8589. <define name="chart-grid">
  8590. <element name="chart:grid">
  8591. <ref name="chart-grid-attlist"/>
  8592. </element>
  8593. </define>
  8594. <define name="chart-grid-attlist">
  8595. <interleave>
  8596. <optional>
  8597. <attribute name="chart:class">
  8598. <choice>
  8599. <value>major</value>
  8600. <value>minor</value>
  8601. </choice>
  8602. </attribute>
  8603. </optional>
  8604. <optional>
  8605. <attribute name="chart:style-name">
  8606. <ref name="styleNameRef"/>
  8607. </attribute>
  8608. </optional>
  8609. </interleave>
  8610. </define>
  8611. <define name="chart-series">
  8612. <element name="chart:series">
  8613. <ref name="chart-series-attlist"/>
  8614. <zeroOrMore>
  8615. <ref name="chart-domain"/>
  8616. </zeroOrMore>
  8617. <optional>
  8618. <ref name="chart-mean-value"/>
  8619. </optional>
  8620. <zeroOrMore>
  8621. <ref name="chart-regression-curve"/>
  8622. </zeroOrMore>
  8623. <zeroOrMore>
  8624. <ref name="chart-error-indicator"/>
  8625. </zeroOrMore>
  8626. <zeroOrMore>
  8627. <ref name="chart-data-point"/>
  8628. </zeroOrMore>
  8629. <optional>
  8630. <ref name="chart-data-label"/>
  8631. </optional>
  8632. </element>
  8633. </define>
  8634. <define name="chart-series-attlist">
  8635. <interleave>
  8636. <optional>
  8637. <attribute name="chart:values-cell-range-address">
  8638. <ref name="cellRangeAddressList"/>
  8639. </attribute>
  8640. </optional>
  8641. <optional>
  8642. <attribute name="chart:label-cell-address">
  8643. <ref name="cellRangeAddressList"/>
  8644. </attribute>
  8645. </optional>
  8646. <optional>
  8647. <attribute name="chart:class">
  8648. <ref name="namespacedToken"/>
  8649. </attribute>
  8650. </optional>
  8651. <optional>
  8652. <attribute name="chart:attached-axis">
  8653. <ref name="string"/>
  8654. </attribute>
  8655. </optional>
  8656. <optional>
  8657. <attribute name="chart:style-name">
  8658. <ref name="styleNameRef"/>
  8659. </attribute>
  8660. </optional>
  8661. <optional>
  8662. <ref name="xml-id"/>
  8663. </optional>
  8664. </interleave>
  8665. </define>
  8666. <define name="chart-domain">
  8667. <element name="chart:domain">
  8668. <optional>
  8669. <attribute name="table:cell-range-address">
  8670. <ref name="cellRangeAddressList"/>
  8671. </attribute>
  8672. </optional>
  8673. </element>
  8674. </define>
  8675. <define name="chart-data-point">
  8676. <element name="chart:data-point">
  8677. <ref name="chart-data-point-attlist"/>
  8678. <optional>
  8679. <ref name="chart-data-label"/>
  8680. </optional>
  8681. </element>
  8682. </define>
  8683. <define name="chart-data-point-attlist">
  8684. <interleave>
  8685. <optional>
  8686. <attribute name="chart:repeated">
  8687. <ref name="positiveInteger"/>
  8688. </attribute>
  8689. </optional>
  8690. <optional>
  8691. <attribute name="chart:style-name">
  8692. <ref name="styleNameRef"/>
  8693. </attribute>
  8694. </optional>
  8695. <optional>
  8696. <ref name="xml-id"/>
  8697. </optional>
  8698. </interleave>
  8699. </define>
  8700. <define name="chart-data-label">
  8701. <element name="chart:data-label">
  8702. <ref name="chart-data-label-attlist"/>
  8703. <optional>
  8704. <ref name="text-p"/>
  8705. </optional>
  8706. </element>
  8707. </define>
  8708. <define name="chart-data-label-attlist">
  8709. <interleave>
  8710. <ref name="common-draw-position-attlist"/>
  8711. <optional>
  8712. <attribute name="chart:style-name">
  8713. <ref name="styleNameRef"/>
  8714. </attribute>
  8715. </optional>
  8716. </interleave>
  8717. </define>
  8718. <define name="chart-mean-value">
  8719. <element name="chart:mean-value">
  8720. <ref name="chart-mean-value-attlist"/>
  8721. <empty/>
  8722. </element>
  8723. </define>
  8724. <define name="chart-mean-value-attlist">
  8725. <optional>
  8726. <attribute name="chart:style-name">
  8727. <ref name="styleNameRef"/>
  8728. </attribute>
  8729. </optional>
  8730. </define>
  8731. <define name="chart-error-indicator">
  8732. <element name="chart:error-indicator">
  8733. <ref name="chart-error-indicator-attlist"/>
  8734. <empty/>
  8735. </element>
  8736. </define>
  8737. <define name="chart-error-indicator-attlist">
  8738. <interleave>
  8739. <optional>
  8740. <attribute name="chart:style-name">
  8741. <ref name="styleNameRef"/>
  8742. </attribute>
  8743. </optional>
  8744. <attribute name="chart:dimension">
  8745. <ref name="chart-dimension"/>
  8746. </attribute>
  8747. </interleave>
  8748. </define>
  8749. <define name="chart-regression-curve">
  8750. <element name="chart:regression-curve">
  8751. <ref name="chart-regression-curve-attlist"/>
  8752. <optional>
  8753. <ref name="chart-equation"/>
  8754. </optional>
  8755. </element>
  8756. </define>
  8757. <define name="chart-regression-curve-attlist">
  8758. <optional>
  8759. <attribute name="chart:style-name">
  8760. <ref name="styleNameRef"/>
  8761. </attribute>
  8762. </optional>
  8763. </define>
  8764. <define name="chart-equation">
  8765. <element name="chart:equation">
  8766. <ref name="chart-equation-attlist"/>
  8767. <optional>
  8768. <ref name="text-p"/>
  8769. </optional>
  8770. </element>
  8771. </define>
  8772. <define name="chart-equation-attlist">
  8773. <interleave>
  8774. <optional>
  8775. <attribute name="chart:automatic-content">
  8776. <ref name="boolean"/>
  8777. </attribute>
  8778. </optional>
  8779. <optional>
  8780. <attribute name="chart:display-r-square">
  8781. <ref name="boolean"/>
  8782. </attribute>
  8783. </optional>
  8784. <optional>
  8785. <attribute name="chart:display-equation">
  8786. <ref name="boolean"/>
  8787. </attribute>
  8788. </optional>
  8789. <ref name="common-draw-position-attlist"/>
  8790. <optional>
  8791. <attribute name="chart:style-name">
  8792. <ref name="styleNameRef"/>
  8793. </attribute>
  8794. </optional>
  8795. </interleave>
  8796. </define>
  8797. <define name="chart-stock-gain-marker">
  8798. <element name="chart:stock-gain-marker">
  8799. <ref name="common-stock-marker-attlist"/>
  8800. </element>
  8801. </define>
  8802. <define name="chart-stock-loss-marker">
  8803. <element name="chart:stock-loss-marker">
  8804. <ref name="common-stock-marker-attlist"/>
  8805. </element>
  8806. </define>
  8807. <define name="chart-stock-range-line">
  8808. <element name="chart:stock-range-line">
  8809. <ref name="common-stock-marker-attlist"/>
  8810. </element>
  8811. </define>
  8812. <define name="common-stock-marker-attlist">
  8813. <optional>
  8814. <attribute name="chart:style-name">
  8815. <ref name="styleNameRef"/>
  8816. </attribute>
  8817. </optional>
  8818. </define>
  8819. <define name="office-database">
  8820. <element name="office:database">
  8821. <ref name="db-data-source"/>
  8822. <optional>
  8823. <ref name="db-forms"/>
  8824. </optional>
  8825. <optional>
  8826. <ref name="db-reports"/>
  8827. </optional>
  8828. <optional>
  8829. <ref name="db-queries"/>
  8830. </optional>
  8831. <optional>
  8832. <ref name="db-table-presentations"/>
  8833. </optional>
  8834. <optional>
  8835. <ref name="db-schema-definition"/>
  8836. </optional>
  8837. </element>
  8838. </define>
  8839. <define name="db-data-source">
  8840. <element name="db:data-source">
  8841. <ref name="db-data-source-attlist"/>
  8842. <ref name="db-connection-data"/>
  8843. <optional>
  8844. <ref name="db-driver-settings"/>
  8845. </optional>
  8846. <optional>
  8847. <ref name="db-application-connection-settings"/>
  8848. </optional>
  8849. </element>
  8850. </define>
  8851. <define name="db-data-source-attlist">
  8852. <empty/>
  8853. </define>
  8854. <define name="db-connection-data">
  8855. <element name="db:connection-data">
  8856. <ref name="db-connection-data-attlist"/>
  8857. <choice>
  8858. <ref name="db-database-description"/>
  8859. <ref name="db-connection-resource"/>
  8860. </choice>
  8861. <optional>
  8862. <ref name="db-login"/>
  8863. </optional>
  8864. </element>
  8865. </define>
  8866. <define name="db-connection-data-attlist">
  8867. <empty/>
  8868. </define>
  8869. <define name="db-database-description">
  8870. <element name="db:database-description">
  8871. <ref name="db-database-description-attlist"/>
  8872. <choice>
  8873. <ref name="db-file-based-database"/>
  8874. <ref name="db-server-database"/>
  8875. </choice>
  8876. </element>
  8877. </define>
  8878. <define name="db-database-description-attlist">
  8879. <empty/>
  8880. </define>
  8881. <define name="db-file-based-database">
  8882. <element name="db:file-based-database">
  8883. <ref name="db-file-based-database-attlist"/>
  8884. </element>
  8885. </define>
  8886. <define name="db-file-based-database-attlist">
  8887. <interleave>
  8888. <attribute name="xlink:type">
  8889. <value>simple</value>
  8890. </attribute>
  8891. <attribute name="xlink:href">
  8892. <ref name="anyIRI"/>
  8893. </attribute>
  8894. <attribute name="db:media-type">
  8895. <ref name="string"/>
  8896. </attribute>
  8897. <optional>
  8898. <attribute name="db:extension">
  8899. <ref name="string"/>
  8900. </attribute>
  8901. </optional>
  8902. </interleave>
  8903. </define>
  8904. <define name="db-server-database">
  8905. <element name="db:server-database">
  8906. <ref name="db-server-database-attlist"/>
  8907. <empty/>
  8908. </element>
  8909. </define>
  8910. <define name="db-server-database-attlist">
  8911. <interleave>
  8912. <attribute name="db:type">
  8913. <ref name="namespacedToken"/>
  8914. </attribute>
  8915. <choice>
  8916. <ref name="db-host-and-port"/>
  8917. <ref name="db-local-socket-name"/>
  8918. </choice>
  8919. <optional>
  8920. <attribute name="db:database-name">
  8921. <ref name="string"/>
  8922. </attribute>
  8923. </optional>
  8924. </interleave>
  8925. </define>
  8926. <define name="db-host-and-port">
  8927. <attribute name="db:hostname">
  8928. <ref name="string"/>
  8929. </attribute>
  8930. <optional>
  8931. <attribute name="db:port">
  8932. <ref name="positiveInteger"/>
  8933. </attribute>
  8934. </optional>
  8935. </define>
  8936. <define name="db-local-socket-name">
  8937. <optional>
  8938. <attribute name="db:local-socket">
  8939. <ref name="string"/>
  8940. </attribute>
  8941. </optional>
  8942. </define>
  8943. <define name="db-connection-resource">
  8944. <element name="db:connection-resource">
  8945. <ref name="db-connection-resource-attlist"/>
  8946. <empty/>
  8947. </element>
  8948. </define>
  8949. <define name="db-connection-resource-attlist">
  8950. <attribute name="xlink:type">
  8951. <value>simple</value>
  8952. </attribute>
  8953. <attribute name="xlink:href">
  8954. <ref name="anyIRI"/>
  8955. </attribute>
  8956. <optional>
  8957. <attribute name="xlink:show">
  8958. <value>none</value>
  8959. </attribute>
  8960. </optional>
  8961. <optional>
  8962. <attribute name="xlink:actuate">
  8963. <value>onRequest</value>
  8964. </attribute>
  8965. </optional>
  8966. </define>
  8967. <define name="db-login">
  8968. <element name="db:login">
  8969. <ref name="db-login-attlist"/>
  8970. <empty/>
  8971. </element>
  8972. </define>
  8973. <define name="db-login-attlist">
  8974. <interleave>
  8975. <optional>
  8976. <choice>
  8977. <attribute name="db:user-name">
  8978. <ref name="string"/>
  8979. </attribute>
  8980. <attribute name="db:use-system-user">
  8981. <ref name="boolean"/>
  8982. </attribute>
  8983. </choice>
  8984. </optional>
  8985. <optional>
  8986. <attribute name="db:is-password-required">
  8987. <ref name="boolean"/>
  8988. </attribute>
  8989. </optional>
  8990. <optional>
  8991. <attribute name="db:login-timeout">
  8992. <ref name="positiveInteger"/>
  8993. </attribute>
  8994. </optional>
  8995. </interleave>
  8996. </define>
  8997. <define name="db-driver-settings">
  8998. <element name="db:driver-settings">
  8999. <ref name="db-driver-settings-attlist"/>
  9000. <optional>
  9001. <ref name="db-auto-increment"/>
  9002. </optional>
  9003. <optional>
  9004. <ref name="db-delimiter"/>
  9005. </optional>
  9006. <optional>
  9007. <ref name="db-character-set"/>
  9008. </optional>
  9009. <optional>
  9010. <ref name="db-table-settings"/>
  9011. </optional>
  9012. </element>
  9013. </define>
  9014. <define name="db-driver-settings-attlist">
  9015. <interleave>
  9016. <ref name="db-show-deleted"/>
  9017. <optional>
  9018. <attribute name="db:system-driver-settings">
  9019. <ref name="string"/>
  9020. </attribute>
  9021. </optional>
  9022. <optional>
  9023. <attribute name="db:base-dn">
  9024. <ref name="string"/>
  9025. </attribute>
  9026. </optional>
  9027. <ref name="db-is-first-row-header-line"/>
  9028. <optional>
  9029. <attribute name="db:parameter-name-substitution">
  9030. <ref name="boolean"/>
  9031. </attribute>
  9032. </optional>
  9033. </interleave>
  9034. </define>
  9035. <define name="db-show-deleted">
  9036. <optional>
  9037. <attribute name="db:show-deleted">
  9038. <ref name="boolean"/>
  9039. </attribute>
  9040. </optional>
  9041. </define>
  9042. <define name="db-is-first-row-header-line">
  9043. <optional>
  9044. <attribute name="db:is-first-row-header-line">
  9045. <ref name="boolean"/>
  9046. </attribute>
  9047. </optional>
  9048. </define>
  9049. <define name="db-auto-increment">
  9050. <element name="db:auto-increment">
  9051. <ref name="db-auto-increment-attlist"/>
  9052. <empty/>
  9053. </element>
  9054. </define>
  9055. <define name="db-auto-increment-attlist">
  9056. <interleave>
  9057. <optional>
  9058. <attribute name="db:additional-column-statement">
  9059. <ref name="string"/>
  9060. </attribute>
  9061. </optional>
  9062. <optional>
  9063. <attribute name="db:row-retrieving-statement">
  9064. <ref name="string"/>
  9065. </attribute>
  9066. </optional>
  9067. </interleave>
  9068. </define>
  9069. <define name="db-delimiter">
  9070. <element name="db:delimiter">
  9071. <ref name="db-delimiter-attlist"/>
  9072. <empty/>
  9073. </element>
  9074. </define>
  9075. <define name="db-delimiter-attlist">
  9076. <interleave>
  9077. <optional>
  9078. <attribute name="db:field">
  9079. <ref name="string"/>
  9080. </attribute>
  9081. </optional>
  9082. <optional>
  9083. <attribute name="db:string">
  9084. <ref name="string"/>
  9085. </attribute>
  9086. </optional>
  9087. <optional>
  9088. <attribute name="db:decimal">
  9089. <ref name="string"/>
  9090. </attribute>
  9091. </optional>
  9092. <optional>
  9093. <attribute name="db:thousand">
  9094. <ref name="string"/>
  9095. </attribute>
  9096. </optional>
  9097. </interleave>
  9098. </define>
  9099. <define name="db-character-set">
  9100. <element name="db:character-set">
  9101. <ref name="db-character-set-attlist"/>
  9102. <empty/>
  9103. </element>
  9104. </define>
  9105. <define name="db-character-set-attlist">
  9106. <optional>
  9107. <attribute name="db:encoding">
  9108. <ref name="textEncoding"/>
  9109. </attribute>
  9110. </optional>
  9111. </define>
  9112. <define name="db-table-settings">
  9113. <element name="db:table-settings">
  9114. <zeroOrMore>
  9115. <ref name="db-table-setting"/>
  9116. </zeroOrMore>
  9117. </element>
  9118. </define>
  9119. <define name="db-table-setting">
  9120. <element name="db:table-setting">
  9121. <ref name="db-table-setting-attlist"/>
  9122. <optional>
  9123. <ref name="db-delimiter"/>
  9124. </optional>
  9125. <optional>
  9126. <ref name="db-character-set"/>
  9127. </optional>
  9128. <empty/>
  9129. </element>
  9130. </define>
  9131. <define name="db-table-setting-attlist">
  9132. <ref name="db-is-first-row-header-line"/>
  9133. <ref name="db-show-deleted"/>
  9134. </define>
  9135. <define name="db-application-connection-settings">
  9136. <element name="db:application-connection-settings">
  9137. <ref name="db-application-connection-settings-attlist"/>
  9138. <optional>
  9139. <ref name="db-table-filter"/>
  9140. </optional>
  9141. <optional>
  9142. <ref name="db-table-type-filter"/>
  9143. </optional>
  9144. <optional>
  9145. <ref name="db-data-source-settings"/>
  9146. </optional>
  9147. </element>
  9148. </define>
  9149. <define name="db-application-connection-settings-attlist">
  9150. <interleave>
  9151. <optional>
  9152. <attribute name="db:is-table-name-length-limited">
  9153. <ref name="boolean"/>
  9154. </attribute>
  9155. </optional>
  9156. <optional>
  9157. <attribute name="db:enable-sql92-check">
  9158. <ref name="boolean"/>
  9159. </attribute>
  9160. </optional>
  9161. <optional>
  9162. <attribute name="db:append-table-alias-name">
  9163. <ref name="boolean"/>
  9164. </attribute>
  9165. </optional>
  9166. <optional>
  9167. <attribute name="db:ignore-driver-privileges">
  9168. <ref name="boolean"/>
  9169. </attribute>
  9170. </optional>
  9171. <optional>
  9172. <attribute name="db:boolean-comparison-mode">
  9173. <choice>
  9174. <value>equal-integer</value>
  9175. <value>is-boolean</value>
  9176. <value>equal-boolean</value>
  9177. <value>equal-use-only-zero</value>
  9178. </choice>
  9179. </attribute>
  9180. </optional>
  9181. <optional>
  9182. <attribute name="db:use-catalog">
  9183. <ref name="boolean"/>
  9184. </attribute>
  9185. </optional>
  9186. <optional>
  9187. <attribute name="db:max-row-count">
  9188. <ref name="integer"/>
  9189. </attribute>
  9190. </optional>
  9191. <optional>
  9192. <attribute name="db:suppress-version-columns">
  9193. <ref name="boolean"/>
  9194. </attribute>
  9195. </optional>
  9196. </interleave>
  9197. </define>
  9198. <define name="db-table-filter">
  9199. <element name="db:table-filter">
  9200. <ref name="db-table-filter-attlist"/>
  9201. <optional>
  9202. <ref name="db-table-include-filter"/>
  9203. </optional>
  9204. <optional>
  9205. <ref name="db-table-exclude-filter"/>
  9206. </optional>
  9207. </element>
  9208. </define>
  9209. <define name="db-table-filter-attlist">
  9210. <empty/>
  9211. </define>
  9212. <define name="db-table-include-filter">
  9213. <element name="db:table-include-filter">
  9214. <ref name="db-table-include-filter-attlist"/>
  9215. <oneOrMore>
  9216. <ref name="db-table-filter-pattern"/>
  9217. </oneOrMore>
  9218. </element>
  9219. </define>
  9220. <define name="db-table-include-filter-attlist">
  9221. <empty/>
  9222. </define>
  9223. <define name="db-table-exclude-filter">
  9224. <element name="db:table-exclude-filter">
  9225. <ref name="db-table-exclude-filter-attlist"/>
  9226. <oneOrMore>
  9227. <ref name="db-table-filter-pattern"/>
  9228. </oneOrMore>
  9229. </element>
  9230. </define>
  9231. <define name="db-table-exclude-filter-attlist">
  9232. <empty/>
  9233. </define>
  9234. <define name="db-table-filter-pattern">
  9235. <element name="db:table-filter-pattern">
  9236. <ref name="db-table-filter-pattern-attlist"/>
  9237. <ref name="string"/>
  9238. </element>
  9239. </define>
  9240. <define name="db-table-filter-pattern-attlist">
  9241. <empty/>
  9242. </define>
  9243. <define name="db-table-type-filter">
  9244. <element name="db:table-type-filter">
  9245. <ref name="db-table-type-filter-attlist"/>
  9246. <zeroOrMore>
  9247. <ref name="db-table-type"/>
  9248. </zeroOrMore>
  9249. </element>
  9250. </define>
  9251. <define name="db-table-type-filter-attlist">
  9252. <empty/>
  9253. </define>
  9254. <define name="db-table-type">
  9255. <element name="db:table-type">
  9256. <ref name="db-table-type-attlist"/>
  9257. <ref name="string"/>
  9258. </element>
  9259. </define>
  9260. <define name="db-table-type-attlist">
  9261. <empty/>
  9262. </define>
  9263. <define name="db-data-source-settings">
  9264. <element name="db:data-source-settings">
  9265. <ref name="db-data-source-settings-attlist"/>
  9266. <oneOrMore>
  9267. <ref name="db-data-source-setting"/>
  9268. </oneOrMore>
  9269. </element>
  9270. </define>
  9271. <define name="db-data-source-settings-attlist">
  9272. <empty/>
  9273. </define>
  9274. <define name="db-data-source-setting">
  9275. <element name="db:data-source-setting">
  9276. <ref name="db-data-source-setting-attlist"/>
  9277. <oneOrMore>
  9278. <ref name="db-data-source-setting-value"/>
  9279. </oneOrMore>
  9280. </element>
  9281. </define>
  9282. <define name="db-data-source-setting-attlist">
  9283. <interleave>
  9284. <optional>
  9285. <attribute name="db:data-source-setting-is-list">
  9286. <ref name="boolean"/>
  9287. </attribute>
  9288. </optional>
  9289. <attribute name="db:data-source-setting-name">
  9290. <ref name="string"/>
  9291. </attribute>
  9292. <attribute name="db:data-source-setting-type">
  9293. <ref name="db-data-source-setting-types"/>
  9294. </attribute>
  9295. </interleave>
  9296. </define>
  9297. <define name="db-data-source-setting-types">
  9298. <choice>
  9299. <value>boolean</value>
  9300. <value>short</value>
  9301. <value>int</value>
  9302. <value>long</value>
  9303. <value>double</value>
  9304. <value>string</value>
  9305. </choice>
  9306. </define>
  9307. <define name="db-data-source-setting-value">
  9308. <element name="db:data-source-setting-value">
  9309. <ref name="db-data-source-setting-value-attlist"/>
  9310. <ref name="string"/>
  9311. </element>
  9312. </define>
  9313. <define name="db-data-source-setting-value-attlist">
  9314. <empty/>
  9315. </define>
  9316. <define name="db-forms">
  9317. <element name="db:forms">
  9318. <ref name="db-forms-attlist"/>
  9319. <zeroOrMore>
  9320. <choice>
  9321. <ref name="db-component"/>
  9322. <ref name="db-component-collection"/>
  9323. </choice>
  9324. </zeroOrMore>
  9325. </element>
  9326. </define>
  9327. <define name="db-forms-attlist">
  9328. <empty/>
  9329. </define>
  9330. <define name="db-reports">
  9331. <element name="db:reports">
  9332. <ref name="db-reports-attlist"/>
  9333. <zeroOrMore>
  9334. <choice>
  9335. <ref name="db-component"/>
  9336. <ref name="db-component-collection"/>
  9337. </choice>
  9338. </zeroOrMore>
  9339. </element>
  9340. </define>
  9341. <define name="db-reports-attlist">
  9342. <empty/>
  9343. </define>
  9344. <define name="db-component-collection">
  9345. <element name="db:component-collection">
  9346. <ref name="db-component-collection-attlist"/>
  9347. <ref name="common-db-object-name"/>
  9348. <ref name="common-db-object-title"/>
  9349. <ref name="common-db-object-description"/>
  9350. <zeroOrMore>
  9351. <choice>
  9352. <ref name="db-component"/>
  9353. <ref name="db-component-collection"/>
  9354. </choice>
  9355. </zeroOrMore>
  9356. </element>
  9357. </define>
  9358. <define name="db-component-collection-attlist">
  9359. <empty/>
  9360. </define>
  9361. <define name="db-component">
  9362. <element name="db:component">
  9363. <ref name="db-component-attlist"/>
  9364. <ref name="common-db-object-name"/>
  9365. <ref name="common-db-object-title"/>
  9366. <ref name="common-db-object-description"/>
  9367. <optional>
  9368. <choice>
  9369. <ref name="office-document"/>
  9370. <ref name="math-math"/>
  9371. </choice>
  9372. </optional>
  9373. </element>
  9374. </define>
  9375. <define name="db-component-attlist">
  9376. <interleave>
  9377. <optional>
  9378. <attribute name="xlink:type">
  9379. <value>simple</value>
  9380. </attribute>
  9381. <attribute name="xlink:href">
  9382. <ref name="anyIRI"/>
  9383. </attribute>
  9384. <optional>
  9385. <attribute name="xlink:show">
  9386. <value>none</value>
  9387. </attribute>
  9388. </optional>
  9389. <optional>
  9390. <attribute name="xlink:actuate">
  9391. <value>onRequest</value>
  9392. </attribute>
  9393. </optional>
  9394. </optional>
  9395. <optional>
  9396. <attribute name="db:as-template">
  9397. <ref name="boolean"/>
  9398. </attribute>
  9399. </optional>
  9400. </interleave>
  9401. </define>
  9402. <define name="db-queries">
  9403. <element name="db:queries">
  9404. <ref name="db-queries-attlist"/>
  9405. <zeroOrMore>
  9406. <choice>
  9407. <ref name="db-query"/>
  9408. <ref name="db-query-collection"/>
  9409. </choice>
  9410. </zeroOrMore>
  9411. </element>
  9412. </define>
  9413. <define name="db-queries-attlist">
  9414. <empty/>
  9415. </define>
  9416. <define name="db-query-collection">
  9417. <element name="db:query-collection">
  9418. <ref name="db-query-collection-attlist"/>
  9419. <ref name="common-db-object-name"/>
  9420. <ref name="common-db-object-title"/>
  9421. <ref name="common-db-object-description"/>
  9422. <zeroOrMore>
  9423. <choice>
  9424. <ref name="db-query"/>
  9425. <ref name="db-query-collection"/>
  9426. </choice>
  9427. </zeroOrMore>
  9428. </element>
  9429. </define>
  9430. <define name="db-query-collection-attlist">
  9431. <empty/>
  9432. </define>
  9433. <define name="db-query">
  9434. <element name="db:query">
  9435. <ref name="db-query-attlist"/>
  9436. <ref name="common-db-object-name"/>
  9437. <ref name="common-db-object-title"/>
  9438. <ref name="common-db-object-description"/>
  9439. <ref name="common-db-table-style-name"/>
  9440. <optional>
  9441. <ref name="db-order-statement"/>
  9442. </optional>
  9443. <optional>
  9444. <ref name="db-filter-statement"/>
  9445. </optional>
  9446. <optional>
  9447. <ref name="db-columns"/>
  9448. </optional>
  9449. <optional>
  9450. <ref name="db-update-table"/>
  9451. </optional>
  9452. </element>
  9453. </define>
  9454. <define name="db-query-attlist">
  9455. <interleave>
  9456. <attribute name="db:command">
  9457. <ref name="string"/>
  9458. </attribute>
  9459. <optional>
  9460. <attribute name="db:escape-processing">
  9461. <ref name="boolean"/>
  9462. </attribute>
  9463. </optional>
  9464. </interleave>
  9465. </define>
  9466. <define name="db-order-statement">
  9467. <element name="db:order-statement">
  9468. <ref name="db-command"/>
  9469. <ref name="db-apply-command"/>
  9470. <empty/>
  9471. </element>
  9472. </define>
  9473. <define name="db-filter-statement">
  9474. <element name="db:filter-statement">
  9475. <ref name="db-command"/>
  9476. <ref name="db-apply-command"/>
  9477. <empty/>
  9478. </element>
  9479. </define>
  9480. <define name="db-update-table">
  9481. <element name="db:update-table">
  9482. <ref name="common-db-table-name-attlist"/>
  9483. </element>
  9484. </define>
  9485. <define name="db-table-presentations">
  9486. <element name="db:table-representations">
  9487. <ref name="db-table-presentations-attlist"/>
  9488. <zeroOrMore>
  9489. <ref name="db-table-presentation"/>
  9490. </zeroOrMore>
  9491. </element>
  9492. </define>
  9493. <define name="db-table-presentations-attlist">
  9494. <empty/>
  9495. </define>
  9496. <define name="db-table-presentation">
  9497. <element name="db:table-representation">
  9498. <ref name="db-table-presentation-attlist"/>
  9499. <ref name="common-db-table-name-attlist"/>
  9500. <ref name="common-db-object-title"/>
  9501. <ref name="common-db-object-description"/>
  9502. <ref name="common-db-table-style-name"/>
  9503. <optional>
  9504. <ref name="db-order-statement"/>
  9505. </optional>
  9506. <optional>
  9507. <ref name="db-filter-statement"/>
  9508. </optional>
  9509. <optional>
  9510. <ref name="db-columns"/>
  9511. </optional>
  9512. </element>
  9513. </define>
  9514. <define name="db-table-presentation-attlist">
  9515. <empty/>
  9516. </define>
  9517. <define name="db-columns">
  9518. <element name="db:columns">
  9519. <ref name="db-columns-attlist"/>
  9520. <oneOrMore>
  9521. <ref name="db-column"/>
  9522. </oneOrMore>
  9523. </element>
  9524. </define>
  9525. <define name="db-columns-attlist">
  9526. <empty/>
  9527. </define>
  9528. <define name="db-column">
  9529. <element name="db:column">
  9530. <ref name="db-column-attlist"/>
  9531. <ref name="common-db-object-name"/>
  9532. <ref name="common-db-object-title"/>
  9533. <ref name="common-db-object-description"/>
  9534. <ref name="common-db-default-value"/>
  9535. </element>
  9536. </define>
  9537. <define name="db-column-attlist">
  9538. <interleave>
  9539. <optional>
  9540. <attribute name="db:visible">
  9541. <ref name="boolean"/>
  9542. </attribute>
  9543. </optional>
  9544. <optional>
  9545. <attribute name="db:style-name">
  9546. <ref name="styleNameRef"/>
  9547. </attribute>
  9548. </optional>
  9549. <optional>
  9550. <attribute name="db:default-cell-style-name">
  9551. <ref name="styleNameRef"/>
  9552. </attribute>
  9553. </optional>
  9554. </interleave>
  9555. </define>
  9556. <define name="db-command">
  9557. <attribute name="db:command">
  9558. <ref name="string"/>
  9559. </attribute>
  9560. </define>
  9561. <define name="db-apply-command">
  9562. <optional>
  9563. <attribute name="db:apply-command">
  9564. <ref name="boolean"/>
  9565. </attribute>
  9566. </optional>
  9567. </define>
  9568. <define name="common-db-table-name-attlist">
  9569. <interleave>
  9570. <attribute name="db:name">
  9571. <ref name="string"/>
  9572. </attribute>
  9573. <optional>
  9574. <attribute name="db:catalog-name">
  9575. <ref name="string"/>
  9576. </attribute>
  9577. </optional>
  9578. <optional>
  9579. <attribute name="db:schema-name">
  9580. <ref name="string"/>
  9581. </attribute>
  9582. </optional>
  9583. </interleave>
  9584. </define>
  9585. <define name="common-db-object-name">
  9586. <attribute name="db:name">
  9587. <ref name="string"/>
  9588. </attribute>
  9589. </define>
  9590. <define name="common-db-object-title">
  9591. <optional>
  9592. <attribute name="db:title">
  9593. <ref name="string"/>
  9594. </attribute>
  9595. </optional>
  9596. </define>
  9597. <define name="common-db-object-description">
  9598. <optional>
  9599. <attribute name="db:description">
  9600. <ref name="string"/>
  9601. </attribute>
  9602. </optional>
  9603. </define>
  9604. <define name="common-db-table-style-name">
  9605. <interleave>
  9606. <optional>
  9607. <attribute name="db:style-name">
  9608. <ref name="styleNameRef"/>
  9609. </attribute>
  9610. </optional>
  9611. <optional>
  9612. <attribute name="db:default-row-style-name">
  9613. <ref name="styleNameRef"/>
  9614. </attribute>
  9615. </optional>
  9616. </interleave>
  9617. </define>
  9618. <define name="common-db-default-value">
  9619. <optional>
  9620. <ref name="common-value-and-type-attlist"/>
  9621. </optional>
  9622. </define>
  9623. <define name="db-schema-definition">
  9624. <element name="db:schema-definition">
  9625. <ref name="db-schema-definition-attlist"/>
  9626. <ref name="db-table-definitions"/>
  9627. </element>
  9628. </define>
  9629. <define name="db-schema-definition-attlist">
  9630. <empty/>
  9631. </define>
  9632. <define name="db-table-definitions">
  9633. <element name="db:table-definitions">
  9634. <ref name="db-table-definitions-attlist"/>
  9635. <zeroOrMore>
  9636. <ref name="db-table-definition"/>
  9637. </zeroOrMore>
  9638. </element>
  9639. </define>
  9640. <define name="db-table-definitions-attlist">
  9641. <empty/>
  9642. </define>
  9643. <define name="db-table-definition">
  9644. <element name="db:table-definition">
  9645. <ref name="common-db-table-name-attlist"/>
  9646. <ref name="db-table-definition-attlist"/>
  9647. <ref name="db-column-definitions"/>
  9648. <optional>
  9649. <ref name="db-keys"/>
  9650. </optional>
  9651. <optional>
  9652. <ref name="db-indices"/>
  9653. </optional>
  9654. </element>
  9655. </define>
  9656. <define name="db-table-definition-attlist">
  9657. <optional>
  9658. <attribute name="db:type">
  9659. <ref name="string"/>
  9660. </attribute>
  9661. </optional>
  9662. </define>
  9663. <define name="db-column-definitions">
  9664. <element name="db:column-definitions">
  9665. <ref name="db-column-definitions-attlist"/>
  9666. <oneOrMore>
  9667. <ref name="db-column-definition"/>
  9668. </oneOrMore>
  9669. </element>
  9670. </define>
  9671. <define name="db-column-definitions-attlist">
  9672. <empty/>
  9673. </define>
  9674. <define name="db-column-definition">
  9675. <element name="db:column-definition">
  9676. <ref name="db-column-definition-attlist"/>
  9677. <ref name="common-db-default-value"/>
  9678. </element>
  9679. </define>
  9680. <define name="db-column-definition-attlist">
  9681. <interleave>
  9682. <attribute name="db:name">
  9683. <ref name="string"/>
  9684. </attribute>
  9685. <optional>
  9686. <attribute name="db:data-type">
  9687. <ref name="db-data-types"/>
  9688. </attribute>
  9689. </optional>
  9690. <optional>
  9691. <attribute name="db:type-name">
  9692. <ref name="string"/>
  9693. </attribute>
  9694. </optional>
  9695. <optional>
  9696. <attribute name="db:precision">
  9697. <ref name="positiveInteger"/>
  9698. </attribute>
  9699. </optional>
  9700. <optional>
  9701. <attribute name="db:scale">
  9702. <ref name="positiveInteger"/>
  9703. </attribute>
  9704. </optional>
  9705. <optional>
  9706. <attribute name="db:is-nullable">
  9707. <choice>
  9708. <value>no-nulls</value>
  9709. <value>nullable</value>
  9710. </choice>
  9711. </attribute>
  9712. </optional>
  9713. <optional>
  9714. <attribute name="db:is-empty-allowed">
  9715. <ref name="boolean"/>
  9716. </attribute>
  9717. </optional>
  9718. <optional>
  9719. <attribute name="db:is-autoincrement">
  9720. <ref name="boolean"/>
  9721. </attribute>
  9722. </optional>
  9723. </interleave>
  9724. </define>
  9725. <define name="db-data-types">
  9726. <choice>
  9727. <value>bit</value>
  9728. <value>boolean</value>
  9729. <value>tinyint</value>
  9730. <value>smallint</value>
  9731. <value>integer</value>
  9732. <value>bigint</value>
  9733. <value>float</value>
  9734. <value>real</value>
  9735. <value>double</value>
  9736. <value>numeric</value>
  9737. <value>decimal</value>
  9738. <value>char</value>
  9739. <value>varchar</value>
  9740. <value>longvarchar</value>
  9741. <value>date</value>
  9742. <value>time</value>
  9743. <value>timestmp</value>
  9744. <value>binary</value>
  9745. <value>varbinary</value>
  9746. <value>longvarbinary</value>
  9747. <value>sqlnull</value>
  9748. <value>other</value>
  9749. <value>object</value>
  9750. <value>distinct</value>
  9751. <value>struct</value>
  9752. <value>array</value>
  9753. <value>blob</value>
  9754. <value>clob</value>
  9755. <value>ref</value>
  9756. </choice>
  9757. </define>
  9758. <define name="db-keys">
  9759. <element name="db:keys">
  9760. <ref name="db-keys-attlist"/>
  9761. <oneOrMore>
  9762. <ref name="db-key"/>
  9763. </oneOrMore>
  9764. </element>
  9765. </define>
  9766. <define name="db-keys-attlist">
  9767. <empty/>
  9768. </define>
  9769. <define name="db-key">
  9770. <element name="db:key">
  9771. <ref name="db-key-attlist"/>
  9772. <oneOrMore>
  9773. <ref name="db-key-columns"/>
  9774. </oneOrMore>
  9775. </element>
  9776. </define>
  9777. <define name="db-key-attlist">
  9778. <interleave>
  9779. <optional>
  9780. <attribute name="db:name">
  9781. <ref name="string"/>
  9782. </attribute>
  9783. </optional>
  9784. <attribute name="db:type">
  9785. <choice>
  9786. <value>primary</value>
  9787. <value>unique</value>
  9788. <value>foreign</value>
  9789. </choice>
  9790. </attribute>
  9791. <optional>
  9792. <attribute name="db:referenced-table-name">
  9793. <ref name="string"/>
  9794. </attribute>
  9795. </optional>
  9796. <optional>
  9797. <attribute name="db:update-rule">
  9798. <choice>
  9799. <value>cascade</value>
  9800. <value>restrict</value>
  9801. <value>set-null</value>
  9802. <value>no-action</value>
  9803. <value>set-default</value>
  9804. </choice>
  9805. </attribute>
  9806. </optional>
  9807. <optional>
  9808. <attribute name="db:delete-rule">
  9809. <choice>
  9810. <value>cascade</value>
  9811. <value>restrict</value>
  9812. <value>set-null</value>
  9813. <value>no-action</value>
  9814. <value>set-default</value>
  9815. </choice>
  9816. </attribute>
  9817. </optional>
  9818. </interleave>
  9819. </define>
  9820. <define name="db-key-columns">
  9821. <element name="db:key-columns">
  9822. <ref name="db-key-columns-attlist"/>
  9823. <oneOrMore>
  9824. <ref name="db-key-column"/>
  9825. </oneOrMore>
  9826. </element>
  9827. </define>
  9828. <define name="db-key-columns-attlist">
  9829. <empty/>
  9830. </define>
  9831. <define name="db-key-column">
  9832. <element name="db:key-column">
  9833. <ref name="db-key-column-attlist"/>
  9834. <empty/>
  9835. </element>
  9836. </define>
  9837. <define name="db-key-column-attlist">
  9838. <interleave>
  9839. <optional>
  9840. <attribute name="db:name">
  9841. <ref name="string"/>
  9842. </attribute>
  9843. </optional>
  9844. <optional>
  9845. <attribute name="db:related-column-name">
  9846. <ref name="string"/>
  9847. </attribute>
  9848. </optional>
  9849. </interleave>
  9850. </define>
  9851. <define name="db-indices">
  9852. <element name="db:indices">
  9853. <ref name="db-indices-attlist"/>
  9854. <oneOrMore>
  9855. <ref name="db-index"/>
  9856. </oneOrMore>
  9857. </element>
  9858. </define>
  9859. <define name="db-indices-attlist">
  9860. <empty/>
  9861. </define>
  9862. <define name="db-index">
  9863. <element name="db:index">
  9864. <ref name="db-index-attlist"/>
  9865. <oneOrMore>
  9866. <ref name="db-index-columns"/>
  9867. </oneOrMore>
  9868. </element>
  9869. </define>
  9870. <define name="db-index-attlist">
  9871. <interleave>
  9872. <attribute name="db:name">
  9873. <ref name="string"/>
  9874. </attribute>
  9875. <optional>
  9876. <attribute name="db:catalog-name">
  9877. <ref name="string"/>
  9878. </attribute>
  9879. </optional>
  9880. <optional>
  9881. <attribute name="db:is-unique">
  9882. <ref name="boolean"/>
  9883. </attribute>
  9884. </optional>
  9885. <optional>
  9886. <attribute name="db:is-clustered">
  9887. <ref name="boolean"/>
  9888. </attribute>
  9889. </optional>
  9890. </interleave>
  9891. </define>
  9892. <define name="db-index-columns">
  9893. <element name="db:index-columns">
  9894. <oneOrMore>
  9895. <ref name="db-index-column"/>
  9896. </oneOrMore>
  9897. </element>
  9898. </define>
  9899. <define name="db-index-column">
  9900. <element name="db:index-column">
  9901. <ref name="db-index-column-attlist"/>
  9902. <empty/>
  9903. </element>
  9904. </define>
  9905. <define name="db-index-column-attlist">
  9906. <interleave>
  9907. <attribute name="db:name">
  9908. <ref name="string"/>
  9909. </attribute>
  9910. <optional>
  9911. <attribute name="db:is-ascending">
  9912. <ref name="boolean"/>
  9913. </attribute>
  9914. </optional>
  9915. </interleave>
  9916. </define>
  9917. <define name="office-forms">
  9918. <optional>
  9919. <element name="office:forms">
  9920. <ref name="office-forms-attlist"/>
  9921. <zeroOrMore>
  9922. <choice>
  9923. <ref name="form-form"/>
  9924. <ref name="xforms-model"/>
  9925. </choice>
  9926. </zeroOrMore>
  9927. </element>
  9928. </optional>
  9929. </define>
  9930. <define name="office-forms-attlist">
  9931. <interleave>
  9932. <optional>
  9933. <attribute name="form:automatic-focus">
  9934. <ref name="boolean"/>
  9935. </attribute>
  9936. </optional>
  9937. <optional>
  9938. <attribute name="form:apply-design-mode">
  9939. <ref name="boolean"/>
  9940. </attribute>
  9941. </optional>
  9942. </interleave>
  9943. </define>
  9944. <define name="form-form">
  9945. <element name="form:form">
  9946. <ref name="common-form-control-attlist"/>
  9947. <ref name="form-form-attlist"/>
  9948. <optional>
  9949. <ref name="form-properties"/>
  9950. </optional>
  9951. <optional>
  9952. <ref name="office-event-listeners"/>
  9953. </optional>
  9954. <zeroOrMore>
  9955. <choice>
  9956. <ref name="controls"/>
  9957. <ref name="form-form"/>
  9958. </choice>
  9959. </zeroOrMore>
  9960. <optional>
  9961. <ref name="form-connection-resource"/>
  9962. </optional>
  9963. </element>
  9964. </define>
  9965. <define name="form-form-attlist">
  9966. <interleave>
  9967. <optional>
  9968. <attribute name="xlink:type">
  9969. <value>simple</value>
  9970. </attribute>
  9971. <attribute name="xlink:href">
  9972. <ref name="anyIRI"/>
  9973. </attribute>
  9974. <optional>
  9975. <attribute name="xlink:actuate">
  9976. <value>onRequest</value>
  9977. </attribute>
  9978. </optional>
  9979. </optional>
  9980. <optional>
  9981. <attribute name="office:target-frame">
  9982. <ref name="targetFrameName"/>
  9983. </attribute>
  9984. </optional>
  9985. <optional>
  9986. <attribute name="form:method">
  9987. <choice>
  9988. <value>get</value>
  9989. <value>post</value>
  9990. <ref name="string"/>
  9991. </choice>
  9992. </attribute>
  9993. </optional>
  9994. <optional>
  9995. <attribute name="form:enctype">
  9996. <ref name="string"/>
  9997. </attribute>
  9998. </optional>
  9999. <optional>
  10000. <attribute name="form:allow-deletes">
  10001. <ref name="boolean"/>
  10002. </attribute>
  10003. </optional>
  10004. <optional>
  10005. <attribute name="form:allow-inserts">
  10006. <ref name="boolean"/>
  10007. </attribute>
  10008. </optional>
  10009. <optional>
  10010. <attribute name="form:allow-updates">
  10011. <ref name="boolean"/>
  10012. </attribute>
  10013. </optional>
  10014. <optional>
  10015. <attribute name="form:apply-filter">
  10016. <ref name="boolean"/>
  10017. </attribute>
  10018. </optional>
  10019. <optional>
  10020. <attribute name="form:command-type">
  10021. <choice>
  10022. <value>table</value>
  10023. <value>query</value>
  10024. <value>command</value>
  10025. </choice>
  10026. </attribute>
  10027. </optional>
  10028. <optional>
  10029. <attribute name="form:command">
  10030. <ref name="string"/>
  10031. </attribute>
  10032. </optional>
  10033. <optional>
  10034. <attribute name="form:datasource">
  10035. <choice>
  10036. <ref name="anyIRI"/>
  10037. <ref name="string"/>
  10038. </choice>
  10039. </attribute>
  10040. </optional>
  10041. <optional>
  10042. <attribute name="form:master-fields">
  10043. <ref name="string"/>
  10044. </attribute>
  10045. </optional>
  10046. <optional>
  10047. <attribute name="form:detail-fields">
  10048. <ref name="string"/>
  10049. </attribute>
  10050. </optional>
  10051. <optional>
  10052. <attribute name="form:escape-processing">
  10053. <ref name="boolean"/>
  10054. </attribute>
  10055. </optional>
  10056. <optional>
  10057. <attribute name="form:filter">
  10058. <ref name="string"/>
  10059. </attribute>
  10060. </optional>
  10061. <optional>
  10062. <attribute name="form:ignore-result">
  10063. <ref name="boolean"/>
  10064. </attribute>
  10065. </optional>
  10066. <optional>
  10067. <attribute name="form:navigation-mode">
  10068. <ref name="navigation"/>
  10069. </attribute>
  10070. </optional>
  10071. <optional>
  10072. <attribute name="form:order">
  10073. <ref name="string"/>
  10074. </attribute>
  10075. </optional>
  10076. <optional>
  10077. <attribute name="form:tab-cycle">
  10078. <ref name="tab-cycles"/>
  10079. </attribute>
  10080. </optional>
  10081. </interleave>
  10082. </define>
  10083. <define name="navigation">
  10084. <choice>
  10085. <value>none</value>
  10086. <value>current</value>
  10087. <value>parent</value>
  10088. </choice>
  10089. </define>
  10090. <define name="tab-cycles">
  10091. <choice>
  10092. <value>records</value>
  10093. <value>current</value>
  10094. <value>page</value>
  10095. </choice>
  10096. </define>
  10097. <define name="form-connection-resource">
  10098. <element name="form:connection-resource">
  10099. <attribute name="xlink:href">
  10100. <ref name="anyIRI"/>
  10101. </attribute>
  10102. <empty/>
  10103. </element>
  10104. </define>
  10105. <define name="xforms-model">
  10106. <element name="xforms:model">
  10107. <ref name="anyAttListOrElements"/>
  10108. </element>
  10109. </define>
  10110. <define name="column-controls">
  10111. <choice>
  10112. <element name="form:text">
  10113. <ref name="form-text-attlist"/>
  10114. <ref name="common-form-control-content"/>
  10115. </element>
  10116. <element name="form:textarea">
  10117. <ref name="form-textarea-attlist"/>
  10118. <ref name="common-form-control-content"/>
  10119. <zeroOrMore>
  10120. <ref name="text-p"/>
  10121. </zeroOrMore>
  10122. </element>
  10123. <element name="form:formatted-text">
  10124. <ref name="form-formatted-text-attlist"/>
  10125. <ref name="common-form-control-content"/>
  10126. </element>
  10127. <element name="form:number">
  10128. <ref name="form-number-attlist"/>
  10129. <ref name="common-numeric-control-attlist"/>
  10130. <ref name="common-form-control-content"/>
  10131. <ref name="common-linked-cell"/>
  10132. <ref name="common-spin-button"/>
  10133. <ref name="common-repeat"/>
  10134. <ref name="common-delay-for-repeat"/>
  10135. </element>
  10136. <element name="form:date">
  10137. <ref name="form-date-attlist"/>
  10138. <ref name="common-numeric-control-attlist"/>
  10139. <ref name="common-form-control-content"/>
  10140. <ref name="common-linked-cell"/>
  10141. <ref name="common-spin-button"/>
  10142. <ref name="common-repeat"/>
  10143. <ref name="common-delay-for-repeat"/>
  10144. </element>
  10145. <element name="form:time">
  10146. <ref name="form-time-attlist"/>
  10147. <ref name="common-numeric-control-attlist"/>
  10148. <ref name="common-form-control-content"/>
  10149. <ref name="common-linked-cell"/>
  10150. <ref name="common-spin-button"/>
  10151. <ref name="common-repeat"/>
  10152. <ref name="common-delay-for-repeat"/>
  10153. </element>
  10154. <element name="form:combobox">
  10155. <ref name="form-combobox-attlist"/>
  10156. <ref name="common-form-control-content"/>
  10157. <zeroOrMore>
  10158. <ref name="form-item"/>
  10159. </zeroOrMore>
  10160. </element>
  10161. <element name="form:listbox">
  10162. <ref name="form-listbox-attlist"/>
  10163. <ref name="common-form-control-content"/>
  10164. <zeroOrMore>
  10165. <ref name="form-option"/>
  10166. </zeroOrMore>
  10167. </element>
  10168. <element name="form:checkbox">
  10169. <ref name="form-checkbox-attlist"/>
  10170. <ref name="common-form-control-content"/>
  10171. </element>
  10172. </choice>
  10173. </define>
  10174. <define name="controls">
  10175. <choice>
  10176. <ref name="column-controls"/>
  10177. <element name="form:password">
  10178. <ref name="form-password-attlist"/>
  10179. <ref name="common-form-control-content"/>
  10180. </element>
  10181. <element name="form:file">
  10182. <ref name="form-file-attlist"/>
  10183. <ref name="common-form-control-content"/>
  10184. </element>
  10185. <element name="form:fixed-text">
  10186. <ref name="form-fixed-text-attlist"/>
  10187. <ref name="common-form-control-content"/>
  10188. </element>
  10189. <element name="form:button">
  10190. <ref name="form-button-attlist"/>
  10191. <ref name="common-form-control-content"/>
  10192. </element>
  10193. <element name="form:image">
  10194. <ref name="form-image-attlist"/>
  10195. <ref name="common-form-control-content"/>
  10196. </element>
  10197. <element name="form:radio">
  10198. <ref name="form-radio-attlist"/>
  10199. <ref name="common-form-control-content"/>
  10200. </element>
  10201. <element name="form:frame">
  10202. <ref name="form-frame-attlist"/>
  10203. <ref name="common-form-control-content"/>
  10204. </element>
  10205. <element name="form:image-frame">
  10206. <ref name="form-image-frame-attlist"/>
  10207. <ref name="common-form-control-content"/>
  10208. </element>
  10209. <element name="form:hidden">
  10210. <ref name="form-hidden-attlist"/>
  10211. <ref name="common-form-control-content"/>
  10212. </element>
  10213. <element name="form:grid">
  10214. <ref name="form-grid-attlist"/>
  10215. <ref name="common-form-control-content"/>
  10216. <zeroOrMore>
  10217. <ref name="form-column"/>
  10218. </zeroOrMore>
  10219. </element>
  10220. <element name="form:value-range">
  10221. <ref name="form-value-range-attlist"/>
  10222. <ref name="common-form-control-content"/>
  10223. </element>
  10224. <element name="form:generic-control">
  10225. <ref name="form-generic-control-attlist"/>
  10226. <ref name="common-form-control-content"/>
  10227. </element>
  10228. </choice>
  10229. </define>
  10230. <define name="form-text-attlist">
  10231. <ref name="form-control-attlist"/>
  10232. <ref name="common-current-value-attlist"/>
  10233. <ref name="common-disabled-attlist"/>
  10234. <ref name="common-maxlength-attlist"/>
  10235. <ref name="common-printable-attlist"/>
  10236. <ref name="common-readonly-attlist"/>
  10237. <ref name="common-tab-attlist"/>
  10238. <ref name="common-title-attlist"/>
  10239. <ref name="common-value-attlist"/>
  10240. <ref name="common-convert-empty-attlist"/>
  10241. <ref name="common-data-field-attlist"/>
  10242. <ref name="common-linked-cell"/>
  10243. </define>
  10244. <define name="form-control-attlist">
  10245. <ref name="common-form-control-attlist"/>
  10246. <ref name="common-control-id-attlist"/>
  10247. <ref name="xforms-bind-attlist"/>
  10248. </define>
  10249. <define name="common-form-control-content">
  10250. <optional>
  10251. <ref name="form-properties"/>
  10252. </optional>
  10253. <optional>
  10254. <ref name="office-event-listeners"/>
  10255. </optional>
  10256. </define>
  10257. <define name="form-textarea-attlist">
  10258. <ref name="form-control-attlist"/>
  10259. <ref name="common-current-value-attlist"/>
  10260. <ref name="common-disabled-attlist"/>
  10261. <ref name="common-maxlength-attlist"/>
  10262. <ref name="common-printable-attlist"/>
  10263. <ref name="common-readonly-attlist"/>
  10264. <ref name="common-tab-attlist"/>
  10265. <ref name="common-title-attlist"/>
  10266. <ref name="common-value-attlist"/>
  10267. <ref name="common-convert-empty-attlist"/>
  10268. <ref name="common-data-field-attlist"/>
  10269. <ref name="common-linked-cell"/>
  10270. </define>
  10271. <define name="form-password-attlist">
  10272. <interleave>
  10273. <ref name="form-control-attlist"/>
  10274. <ref name="common-disabled-attlist"/>
  10275. <ref name="common-maxlength-attlist"/>
  10276. <ref name="common-printable-attlist"/>
  10277. <ref name="common-tab-attlist"/>
  10278. <ref name="common-title-attlist"/>
  10279. <ref name="common-value-attlist"/>
  10280. <ref name="common-convert-empty-attlist"/>
  10281. <ref name="common-linked-cell"/>
  10282. <optional>
  10283. <attribute name="form:echo-char">
  10284. <ref name="character"/>
  10285. </attribute>
  10286. </optional>
  10287. </interleave>
  10288. </define>
  10289. <define name="form-file-attlist">
  10290. <ref name="form-control-attlist"/>
  10291. <ref name="common-current-value-attlist"/>
  10292. <ref name="common-disabled-attlist"/>
  10293. <ref name="common-maxlength-attlist"/>
  10294. <ref name="common-printable-attlist"/>
  10295. <ref name="common-readonly-attlist"/>
  10296. <ref name="common-tab-attlist"/>
  10297. <ref name="common-title-attlist"/>
  10298. <ref name="common-value-attlist"/>
  10299. <ref name="common-linked-cell"/>
  10300. </define>
  10301. <define name="form-formatted-text-attlist">
  10302. <interleave>
  10303. <ref name="form-control-attlist"/>
  10304. <ref name="common-current-value-attlist"/>
  10305. <ref name="common-disabled-attlist"/>
  10306. <ref name="common-maxlength-attlist"/>
  10307. <ref name="common-printable-attlist"/>
  10308. <ref name="common-readonly-attlist"/>
  10309. <ref name="common-tab-attlist"/>
  10310. <ref name="common-title-attlist"/>
  10311. <ref name="common-value-attlist"/>
  10312. <ref name="common-convert-empty-attlist"/>
  10313. <ref name="common-data-field-attlist"/>
  10314. <ref name="common-linked-cell"/>
  10315. <ref name="common-spin-button"/>
  10316. <ref name="common-repeat"/>
  10317. <ref name="common-delay-for-repeat"/>
  10318. <optional>
  10319. <attribute name="form:max-value">
  10320. <ref name="string"/>
  10321. </attribute>
  10322. </optional>
  10323. <optional>
  10324. <attribute name="form:min-value">
  10325. <ref name="string"/>
  10326. </attribute>
  10327. </optional>
  10328. <optional>
  10329. <attribute name="form:validation">
  10330. <ref name="boolean"/>
  10331. </attribute>
  10332. </optional>
  10333. </interleave>
  10334. </define>
  10335. <define name="common-numeric-control-attlist">
  10336. <ref name="form-control-attlist"/>
  10337. <ref name="common-disabled-attlist"/>
  10338. <ref name="common-maxlength-attlist"/>
  10339. <ref name="common-printable-attlist"/>
  10340. <ref name="common-readonly-attlist"/>
  10341. <ref name="common-tab-attlist"/>
  10342. <ref name="common-title-attlist"/>
  10343. <ref name="common-convert-empty-attlist"/>
  10344. <ref name="common-data-field-attlist"/>
  10345. </define>
  10346. <define name="form-number-attlist">
  10347. <interleave>
  10348. <optional>
  10349. <attribute name="form:value">
  10350. <ref name="double"/>
  10351. </attribute>
  10352. </optional>
  10353. <optional>
  10354. <attribute name="form:current-value">
  10355. <ref name="double"/>
  10356. </attribute>
  10357. </optional>
  10358. <optional>
  10359. <attribute name="form:min-value">
  10360. <ref name="double"/>
  10361. </attribute>
  10362. </optional>
  10363. <optional>
  10364. <attribute name="form:max-value">
  10365. <ref name="double"/>
  10366. </attribute>
  10367. </optional>
  10368. </interleave>
  10369. </define>
  10370. <define name="form-date-attlist">
  10371. <interleave>
  10372. <optional>
  10373. <attribute name="form:value">
  10374. <ref name="date"/>
  10375. </attribute>
  10376. </optional>
  10377. <optional>
  10378. <attribute name="form:current-value">
  10379. <ref name="date"/>
  10380. </attribute>
  10381. </optional>
  10382. <optional>
  10383. <attribute name="form:min-value">
  10384. <ref name="date"/>
  10385. </attribute>
  10386. </optional>
  10387. <optional>
  10388. <attribute name="form:max-value">
  10389. <ref name="date"/>
  10390. </attribute>
  10391. </optional>
  10392. </interleave>
  10393. </define>
  10394. <define name="form-time-attlist">
  10395. <interleave>
  10396. <optional>
  10397. <attribute name="form:value">
  10398. <ref name="time"/>
  10399. </attribute>
  10400. </optional>
  10401. <optional>
  10402. <attribute name="form:current-value">
  10403. <ref name="time"/>
  10404. </attribute>
  10405. </optional>
  10406. <optional>
  10407. <attribute name="form:min-value">
  10408. <ref name="time"/>
  10409. </attribute>
  10410. </optional>
  10411. <optional>
  10412. <attribute name="form:max-value">
  10413. <ref name="time"/>
  10414. </attribute>
  10415. </optional>
  10416. </interleave>
  10417. </define>
  10418. <define name="form-fixed-text-attlist">
  10419. <interleave>
  10420. <ref name="form-control-attlist"/>
  10421. <ref name="for"/>
  10422. <ref name="common-disabled-attlist"/>
  10423. <ref name="label"/>
  10424. <ref name="common-printable-attlist"/>
  10425. <ref name="common-title-attlist"/>
  10426. <optional>
  10427. <attribute name="form:multi-line">
  10428. <ref name="boolean"/>
  10429. </attribute>
  10430. </optional>
  10431. </interleave>
  10432. </define>
  10433. <define name="form-combobox-attlist">
  10434. <interleave>
  10435. <ref name="form-control-attlist"/>
  10436. <ref name="common-current-value-attlist"/>
  10437. <ref name="common-disabled-attlist"/>
  10438. <ref name="dropdown"/>
  10439. <ref name="common-maxlength-attlist"/>
  10440. <ref name="common-printable-attlist"/>
  10441. <ref name="common-readonly-attlist"/>
  10442. <ref name="size"/>
  10443. <ref name="common-tab-attlist"/>
  10444. <ref name="common-title-attlist"/>
  10445. <ref name="common-value-attlist"/>
  10446. <ref name="common-convert-empty-attlist"/>
  10447. <ref name="common-data-field-attlist"/>
  10448. <ref name="list-source"/>
  10449. <ref name="list-source-type"/>
  10450. <ref name="common-linked-cell"/>
  10451. <ref name="common-source-cell-range"/>
  10452. <optional>
  10453. <attribute name="form:auto-complete">
  10454. <ref name="boolean"/>
  10455. </attribute>
  10456. </optional>
  10457. </interleave>
  10458. </define>
  10459. <define name="form-item">
  10460. <element name="form:item">
  10461. <ref name="form-item-attlist"/>
  10462. <text/>
  10463. </element>
  10464. </define>
  10465. <define name="form-item-attlist">
  10466. <ref name="label"/>
  10467. </define>
  10468. <define name="form-listbox-attlist">
  10469. <interleave>
  10470. <ref name="form-control-attlist"/>
  10471. <ref name="common-disabled-attlist"/>
  10472. <ref name="dropdown"/>
  10473. <ref name="common-printable-attlist"/>
  10474. <ref name="size"/>
  10475. <ref name="common-tab-attlist"/>
  10476. <ref name="common-title-attlist"/>
  10477. <ref name="bound-column"/>
  10478. <ref name="common-data-field-attlist"/>
  10479. <ref name="list-source"/>
  10480. <ref name="list-source-type"/>
  10481. <ref name="common-linked-cell"/>
  10482. <ref name="list-linkage-type"/>
  10483. <ref name="common-source-cell-range"/>
  10484. <optional>
  10485. <attribute name="form:multiple">
  10486. <ref name="boolean"/>
  10487. </attribute>
  10488. </optional>
  10489. <optional>
  10490. <attribute name="form:xforms-list-source">
  10491. <ref name="string"/>
  10492. </attribute>
  10493. </optional>
  10494. </interleave>
  10495. </define>
  10496. <define name="list-linkage-type">
  10497. <optional>
  10498. <attribute name="form:list-linkage-type">
  10499. <choice>
  10500. <value>selection</value>
  10501. <value>selection-indices</value>
  10502. </choice>
  10503. </attribute>
  10504. </optional>
  10505. </define>
  10506. <define name="form-option">
  10507. <element name="form:option">
  10508. <ref name="form-option-attlist"/>
  10509. <text/>
  10510. </element>
  10511. </define>
  10512. <define name="form-option-attlist">
  10513. <ref name="current-selected"/>
  10514. <ref name="selected"/>
  10515. <ref name="label"/>
  10516. <ref name="common-value-attlist"/>
  10517. </define>
  10518. <define name="form-button-attlist">
  10519. <interleave>
  10520. <ref name="form-control-attlist"/>
  10521. <ref name="button-type"/>
  10522. <ref name="common-disabled-attlist"/>
  10523. <ref name="label"/>
  10524. <ref name="image-data"/>
  10525. <ref name="common-printable-attlist"/>
  10526. <ref name="common-tab-attlist"/>
  10527. <ref name="target-frame"/>
  10528. <ref name="target-location"/>
  10529. <ref name="common-title-attlist"/>
  10530. <ref name="common-value-attlist"/>
  10531. <ref name="common-form-relative-image-position-attlist"/>
  10532. <ref name="common-repeat"/>
  10533. <ref name="common-delay-for-repeat"/>
  10534. <optional>
  10535. <attribute name="form:default-button">
  10536. <ref name="boolean"/>
  10537. </attribute>
  10538. </optional>
  10539. <optional>
  10540. <attribute name="form:toggle">
  10541. <ref name="boolean"/>
  10542. </attribute>
  10543. </optional>
  10544. <optional>
  10545. <attribute name="form:focus-on-click">
  10546. <ref name="boolean"/>
  10547. </attribute>
  10548. </optional>
  10549. <optional>
  10550. <attribute name="form:xforms-submission">
  10551. <ref name="string"/>
  10552. </attribute>
  10553. </optional>
  10554. </interleave>
  10555. </define>
  10556. <define name="form-image-attlist">
  10557. <ref name="form-control-attlist"/>
  10558. <ref name="button-type"/>
  10559. <ref name="common-disabled-attlist"/>
  10560. <ref name="image-data"/>
  10561. <ref name="common-printable-attlist"/>
  10562. <ref name="common-tab-attlist"/>
  10563. <ref name="target-frame"/>
  10564. <ref name="target-location"/>
  10565. <ref name="common-title-attlist"/>
  10566. <ref name="common-value-attlist"/>
  10567. </define>
  10568. <define name="form-checkbox-attlist">
  10569. <interleave>
  10570. <ref name="form-control-attlist"/>
  10571. <ref name="common-disabled-attlist"/>
  10572. <ref name="label"/>
  10573. <ref name="common-printable-attlist"/>
  10574. <ref name="common-tab-attlist"/>
  10575. <ref name="common-title-attlist"/>
  10576. <ref name="common-value-attlist"/>
  10577. <ref name="common-data-field-attlist"/>
  10578. <ref name="common-form-visual-effect-attlist"/>
  10579. <ref name="common-form-relative-image-position-attlist"/>
  10580. <ref name="common-linked-cell"/>
  10581. <optional>
  10582. <attribute name="form:current-state">
  10583. <ref name="states"/>
  10584. </attribute>
  10585. </optional>
  10586. <optional>
  10587. <attribute name="form:is-tristate">
  10588. <ref name="boolean"/>
  10589. </attribute>
  10590. </optional>
  10591. <optional>
  10592. <attribute name="form:state">
  10593. <ref name="states"/>
  10594. </attribute>
  10595. </optional>
  10596. </interleave>
  10597. </define>
  10598. <define name="states">
  10599. <choice>
  10600. <value>unchecked</value>
  10601. <value>checked</value>
  10602. <value>unknown</value>
  10603. </choice>
  10604. </define>
  10605. <define name="form-radio-attlist">
  10606. <ref name="form-control-attlist"/>
  10607. <ref name="current-selected"/>
  10608. <ref name="common-disabled-attlist"/>
  10609. <ref name="label"/>
  10610. <ref name="common-printable-attlist"/>
  10611. <ref name="selected"/>
  10612. <ref name="common-tab-attlist"/>
  10613. <ref name="common-title-attlist"/>
  10614. <ref name="common-value-attlist"/>
  10615. <ref name="common-data-field-attlist"/>
  10616. <ref name="common-form-visual-effect-attlist"/>
  10617. <ref name="common-form-relative-image-position-attlist"/>
  10618. <ref name="common-linked-cell"/>
  10619. </define>
  10620. <define name="form-frame-attlist">
  10621. <ref name="form-control-attlist"/>
  10622. <ref name="common-disabled-attlist"/>
  10623. <ref name="for"/>
  10624. <ref name="label"/>
  10625. <ref name="common-printable-attlist"/>
  10626. <ref name="common-title-attlist"/>
  10627. </define>
  10628. <define name="form-image-frame-attlist">
  10629. <ref name="form-control-attlist"/>
  10630. <ref name="common-disabled-attlist"/>
  10631. <ref name="image-data"/>
  10632. <ref name="common-printable-attlist"/>
  10633. <ref name="common-readonly-attlist"/>
  10634. <ref name="common-title-attlist"/>
  10635. <ref name="common-data-field-attlist"/>
  10636. </define>
  10637. <define name="form-hidden-attlist">
  10638. <ref name="form-control-attlist"/>
  10639. <ref name="common-value-attlist"/>
  10640. </define>
  10641. <define name="form-grid-attlist">
  10642. <ref name="form-control-attlist"/>
  10643. <ref name="common-disabled-attlist"/>
  10644. <ref name="common-printable-attlist"/>
  10645. <ref name="common-tab-attlist"/>
  10646. <ref name="common-title-attlist"/>
  10647. </define>
  10648. <define name="form-column">
  10649. <element name="form:column">
  10650. <ref name="form-column-attlist"/>
  10651. <oneOrMore>
  10652. <ref name="column-controls"/>
  10653. </oneOrMore>
  10654. </element>
  10655. </define>
  10656. <define name="form-column-attlist">
  10657. <ref name="common-form-control-attlist"/>
  10658. <ref name="label"/>
  10659. <ref name="text-style-name"/>
  10660. </define>
  10661. <define name="text-style-name">
  10662. <optional>
  10663. <attribute name="form:text-style-name">
  10664. <ref name="styleNameRef"/>
  10665. </attribute>
  10666. </optional>
  10667. </define>
  10668. <define name="form-value-range-attlist">
  10669. <interleave>
  10670. <ref name="form-control-attlist"/>
  10671. <ref name="common-disabled-attlist"/>
  10672. <ref name="common-printable-attlist"/>
  10673. <ref name="common-tab-attlist"/>
  10674. <ref name="common-title-attlist"/>
  10675. <ref name="common-value-attlist"/>
  10676. <ref name="common-linked-cell"/>
  10677. <ref name="common-repeat"/>
  10678. <ref name="common-delay-for-repeat"/>
  10679. <optional>
  10680. <attribute name="form:max-value">
  10681. <ref name="integer"/>
  10682. </attribute>
  10683. </optional>
  10684. <optional>
  10685. <attribute name="form:min-value">
  10686. <ref name="integer"/>
  10687. </attribute>
  10688. </optional>
  10689. <optional>
  10690. <attribute name="form:step-size">
  10691. <ref name="positiveInteger"/>
  10692. </attribute>
  10693. </optional>
  10694. <optional>
  10695. <attribute name="form:page-step-size">
  10696. <ref name="positiveInteger"/>
  10697. </attribute>
  10698. </optional>
  10699. <optional>
  10700. <attribute name="form:orientation">
  10701. <choice>
  10702. <value>horizontal</value>
  10703. <value>vertical</value>
  10704. </choice>
  10705. </attribute>
  10706. </optional>
  10707. </interleave>
  10708. </define>
  10709. <define name="form-generic-control-attlist">
  10710. <ref name="form-control-attlist"/>
  10711. </define>
  10712. <define name="common-form-control-attlist">
  10713. <interleave>
  10714. <optional>
  10715. <attribute name="form:name">
  10716. <ref name="string"/>
  10717. </attribute>
  10718. </optional>
  10719. <optional>
  10720. <attribute name="form:control-implementation">
  10721. <ref name="namespacedToken"/>
  10722. </attribute>
  10723. </optional>
  10724. </interleave>
  10725. </define>
  10726. <define name="xforms-bind-attlist">
  10727. <optional>
  10728. <attribute name="xforms:bind">
  10729. <ref name="string"/>
  10730. </attribute>
  10731. </optional>
  10732. </define>
  10733. <define name="types">
  10734. <choice>
  10735. <value>submit</value>
  10736. <value>reset</value>
  10737. <value>push</value>
  10738. <value>url</value>
  10739. </choice>
  10740. </define>
  10741. <define name="button-type">
  10742. <optional>
  10743. <attribute name="form:button-type">
  10744. <ref name="types"/>
  10745. </attribute>
  10746. </optional>
  10747. </define>
  10748. <define name="common-control-id-attlist">
  10749. <group>
  10750. <ref name="xml-id"/>
  10751. <optional>
  10752. <attribute name="form:id">
  10753. <ref name="NCName"/>
  10754. </attribute>
  10755. </optional>
  10756. </group>
  10757. </define>
  10758. <define name="current-selected">
  10759. <optional>
  10760. <attribute name="form:current-selected">
  10761. <ref name="boolean"/>
  10762. </attribute>
  10763. </optional>
  10764. </define>
  10765. <define name="common-value-attlist">
  10766. <optional>
  10767. <attribute name="form:value">
  10768. <ref name="string"/>
  10769. </attribute>
  10770. </optional>
  10771. </define>
  10772. <define name="common-current-value-attlist">
  10773. <optional>
  10774. <attribute name="form:current-value">
  10775. <ref name="string"/>
  10776. </attribute>
  10777. </optional>
  10778. </define>
  10779. <define name="common-disabled-attlist">
  10780. <optional>
  10781. <attribute name="form:disabled">
  10782. <ref name="boolean"/>
  10783. </attribute>
  10784. </optional>
  10785. </define>
  10786. <define name="dropdown">
  10787. <optional>
  10788. <attribute name="form:dropdown">
  10789. <ref name="boolean"/>
  10790. </attribute>
  10791. </optional>
  10792. </define>
  10793. <define name="for">
  10794. <optional>
  10795. <attribute name="form:for">
  10796. <ref name="string"/>
  10797. </attribute>
  10798. </optional>
  10799. </define>
  10800. <define name="image-data">
  10801. <optional>
  10802. <attribute name="form:image-data">
  10803. <ref name="anyIRI"/>
  10804. </attribute>
  10805. </optional>
  10806. </define>
  10807. <define name="label">
  10808. <optional>
  10809. <attribute name="form:label">
  10810. <ref name="string"/>
  10811. </attribute>
  10812. </optional>
  10813. </define>
  10814. <define name="common-maxlength-attlist">
  10815. <optional>
  10816. <attribute name="form:max-length">
  10817. <ref name="nonNegativeInteger"/>
  10818. </attribute>
  10819. </optional>
  10820. </define>
  10821. <define name="common-printable-attlist">
  10822. <optional>
  10823. <attribute name="form:printable">
  10824. <ref name="boolean"/>
  10825. </attribute>
  10826. </optional>
  10827. </define>
  10828. <define name="common-readonly-attlist">
  10829. <optional>
  10830. <attribute name="form:readonly">
  10831. <ref name="boolean"/>
  10832. </attribute>
  10833. </optional>
  10834. </define>
  10835. <define name="selected">
  10836. <optional>
  10837. <attribute name="form:selected">
  10838. <ref name="boolean"/>
  10839. </attribute>
  10840. </optional>
  10841. </define>
  10842. <define name="size">
  10843. <optional>
  10844. <attribute name="form:size">
  10845. <ref name="nonNegativeInteger"/>
  10846. </attribute>
  10847. </optional>
  10848. </define>
  10849. <define name="common-tab-attlist">
  10850. <interleave>
  10851. <optional>
  10852. <attribute name="form:tab-index">
  10853. <ref name="nonNegativeInteger"/>
  10854. </attribute>
  10855. </optional>
  10856. <optional>
  10857. <attribute name="form:tab-stop">
  10858. <ref name="boolean"/>
  10859. </attribute>
  10860. </optional>
  10861. </interleave>
  10862. </define>
  10863. <define name="target-frame">
  10864. <optional>
  10865. <attribute name="office:target-frame">
  10866. <ref name="targetFrameName"/>
  10867. </attribute>
  10868. </optional>
  10869. </define>
  10870. <define name="target-location">
  10871. <optional>
  10872. <attribute name="xlink:href">
  10873. <ref name="anyIRI"/>
  10874. </attribute>
  10875. </optional>
  10876. </define>
  10877. <define name="common-title-attlist">
  10878. <optional>
  10879. <attribute name="form:title">
  10880. <ref name="string"/>
  10881. </attribute>
  10882. </optional>
  10883. </define>
  10884. <define name="common-form-visual-effect-attlist">
  10885. <optional>
  10886. <attribute name="form:visual-effect">
  10887. <choice>
  10888. <value>flat</value>
  10889. <value>3d</value>
  10890. </choice>
  10891. </attribute>
  10892. </optional>
  10893. </define>
  10894. <define name="common-form-relative-image-position-attlist">
  10895. <choice>
  10896. <optional>
  10897. <attribute name="form:image-position">
  10898. <value>center</value>
  10899. </attribute>
  10900. </optional>
  10901. <group>
  10902. <attribute name="form:image-position">
  10903. <choice>
  10904. <value>start</value>
  10905. <value>end</value>
  10906. <value>top</value>
  10907. <value>bottom</value>
  10908. </choice>
  10909. </attribute>
  10910. <optional>
  10911. <attribute name="form:image-align">
  10912. <choice>
  10913. <value>start</value>
  10914. <value>center</value>
  10915. <value>end</value>
  10916. </choice>
  10917. </attribute>
  10918. </optional>
  10919. </group>
  10920. </choice>
  10921. </define>
  10922. <define name="bound-column">
  10923. <optional>
  10924. <attribute name="form:bound-column">
  10925. <ref name="string"/>
  10926. </attribute>
  10927. </optional>
  10928. </define>
  10929. <define name="common-convert-empty-attlist">
  10930. <optional>
  10931. <attribute name="form:convert-empty-to-null">
  10932. <ref name="boolean"/>
  10933. </attribute>
  10934. </optional>
  10935. </define>
  10936. <define name="common-data-field-attlist">
  10937. <optional>
  10938. <attribute name="form:data-field">
  10939. <ref name="string"/>
  10940. </attribute>
  10941. </optional>
  10942. </define>
  10943. <define name="list-source">
  10944. <optional>
  10945. <attribute name="form:list-source">
  10946. <ref name="string"/>
  10947. </attribute>
  10948. </optional>
  10949. </define>
  10950. <define name="list-source-type">
  10951. <optional>
  10952. <attribute name="form:list-source-type">
  10953. <choice>
  10954. <value>table</value>
  10955. <value>query</value>
  10956. <value>sql</value>
  10957. <value>sql-pass-through</value>
  10958. <value>value-list</value>
  10959. <value>table-fields</value>
  10960. </choice>
  10961. </attribute>
  10962. </optional>
  10963. </define>
  10964. <define name="common-linked-cell">
  10965. <optional>
  10966. <attribute name="form:linked-cell">
  10967. <choice>
  10968. <ref name="cellAddress"/>
  10969. <ref name="string"/>
  10970. </choice>
  10971. </attribute>
  10972. </optional>
  10973. </define>
  10974. <define name="common-source-cell-range">
  10975. <optional>
  10976. <attribute name="form:source-cell-range">
  10977. <choice>
  10978. <ref name="cellRangeAddress"/>
  10979. <ref name="string"/>
  10980. </choice>
  10981. </attribute>
  10982. </optional>
  10983. </define>
  10984. <define name="common-spin-button">
  10985. <optional>
  10986. <attribute name="form:spin-button">
  10987. <ref name="boolean"/>
  10988. </attribute>
  10989. </optional>
  10990. </define>
  10991. <define name="common-repeat">
  10992. <optional>
  10993. <attribute name="form:repeat">
  10994. <ref name="boolean"/>
  10995. </attribute>
  10996. </optional>
  10997. </define>
  10998. <define name="common-delay-for-repeat">
  10999. <optional>
  11000. <attribute name="form:delay-for-repeat">
  11001. <ref name="duration"/>
  11002. </attribute>
  11003. </optional>
  11004. </define>
  11005. <define name="form-properties">
  11006. <element name="form:properties">
  11007. <oneOrMore>
  11008. <ref name="form-property"/>
  11009. </oneOrMore>
  11010. </element>
  11011. </define>
  11012. <define name="form-property">
  11013. <choice>
  11014. <element name="form:property">
  11015. <ref name="form-property-name"/>
  11016. <ref name="form-property-value-and-type-attlist"/>
  11017. </element>
  11018. <element name="form:list-property">
  11019. <ref name="form-property-name"/>
  11020. <ref name="form-property-type-and-value-list"/>
  11021. </element>
  11022. </choice>
  11023. </define>
  11024. <define name="form-property-name">
  11025. <attribute name="form:property-name">
  11026. <ref name="string"/>
  11027. </attribute>
  11028. </define>
  11029. <define name="form-property-value-and-type-attlist">
  11030. <choice>
  11031. <ref name="common-value-and-type-attlist"/>
  11032. <attribute name="office:value-type">
  11033. <value>void</value>
  11034. </attribute>
  11035. </choice>
  11036. </define>
  11037. <define name="form-property-type-and-value-list">
  11038. <choice>
  11039. <group>
  11040. <attribute name="office:value-type">
  11041. <value>float</value>
  11042. </attribute>
  11043. <zeroOrMore>
  11044. <element name="form:list-value">
  11045. <attribute name="office:value">
  11046. <ref name="double"/>
  11047. </attribute>
  11048. </element>
  11049. </zeroOrMore>
  11050. </group>
  11051. <group>
  11052. <attribute name="office:value-type">
  11053. <value>percentage</value>
  11054. </attribute>
  11055. <zeroOrMore>
  11056. <element name="form:list-value">
  11057. <attribute name="office:value">
  11058. <ref name="double"/>
  11059. </attribute>
  11060. </element>
  11061. </zeroOrMore>
  11062. </group>
  11063. <group>
  11064. <attribute name="office:value-type">
  11065. <value>currency</value>
  11066. </attribute>
  11067. <zeroOrMore>
  11068. <element name="form:list-value">
  11069. <attribute name="office:value">
  11070. <ref name="double"/>
  11071. </attribute>
  11072. <optional>
  11073. <attribute name="office:currency">
  11074. <ref name="string"/>
  11075. </attribute>
  11076. </optional>
  11077. </element>
  11078. </zeroOrMore>
  11079. </group>
  11080. <group>
  11081. <attribute name="office:value-type">
  11082. <value>date</value>
  11083. </attribute>
  11084. <zeroOrMore>
  11085. <element name="form:list-value">
  11086. <attribute name="office:date-value">
  11087. <ref name="dateOrDateTime"/>
  11088. </attribute>
  11089. </element>
  11090. </zeroOrMore>
  11091. </group>
  11092. <group>
  11093. <attribute name="office:value-type">
  11094. <value>time</value>
  11095. </attribute>
  11096. <zeroOrMore>
  11097. <element name="form:list-value">
  11098. <attribute name="office:time-value">
  11099. <ref name="duration"/>
  11100. </attribute>
  11101. </element>
  11102. </zeroOrMore>
  11103. </group>
  11104. <group>
  11105. <attribute name="office:value-type">
  11106. <value>boolean</value>
  11107. </attribute>
  11108. <zeroOrMore>
  11109. <element name="form:list-value">
  11110. <attribute name="office:boolean-value">
  11111. <ref name="boolean"/>
  11112. </attribute>
  11113. </element>
  11114. </zeroOrMore>
  11115. </group>
  11116. <group>
  11117. <attribute name="office:value-type">
  11118. <value>string</value>
  11119. </attribute>
  11120. <zeroOrMore>
  11121. <element name="form:list-value">
  11122. <attribute name="office:string-value">
  11123. <ref name="string"/>
  11124. </attribute>
  11125. </element>
  11126. </zeroOrMore>
  11127. </group>
  11128. <attribute name="office:value-type">
  11129. <value>void</value>
  11130. </attribute>
  11131. </choice>
  11132. </define>
  11133. <define name="office-annotation">
  11134. <element name="office:annotation">
  11135. <ref name="office-annotation-attlist"/>
  11136. <ref name="draw-caption-attlist"/>
  11137. <ref name="common-draw-position-attlist"/>
  11138. <ref name="common-draw-size-attlist"/>
  11139. <ref name="common-draw-shape-with-text-and-styles-attlist"/>
  11140. <optional>
  11141. <ref name="dc-creator"/>
  11142. </optional>
  11143. <optional>
  11144. <ref name="dc-date"/>
  11145. </optional>
  11146. <optional>
  11147. <ref name="meta-date-string"/>
  11148. </optional>
  11149. <zeroOrMore>
  11150. <choice>
  11151. <ref name="text-p"/>
  11152. <ref name="text-list"/>
  11153. </choice>
  11154. </zeroOrMore>
  11155. </element>
  11156. </define>
  11157. <define name="office-annotation-end">
  11158. <element name="office:annotation-end">
  11159. <ref name="office-annotation-end-attlist"/>
  11160. </element>
  11161. </define>
  11162. <define name="office-annotation-attlist">
  11163. <interleave>
  11164. <optional>
  11165. <attribute name="office:display">
  11166. <ref name="boolean"/>
  11167. </attribute>
  11168. </optional>
  11169. <optional>
  11170. <ref name="common-office-annotation-name-attlist"/>
  11171. </optional>
  11172. </interleave>
  11173. </define>
  11174. <define name="office-annotation-end-attlist">
  11175. <ref name="common-office-annotation-name-attlist"/>
  11176. </define>
  11177. <define name="common-office-annotation-name-attlist">
  11178. <attribute name="office:name">
  11179. <ref name="string"/>
  11180. </attribute>
  11181. </define>
  11182. <define name="meta-date-string">
  11183. <element name="meta:date-string">
  11184. <ref name="string"/>
  11185. </element>
  11186. </define>
  11187. <define name="common-num-format-prefix-suffix-attlist">
  11188. <optional>
  11189. <attribute name="style:num-prefix">
  11190. <ref name="string"/>
  11191. </attribute>
  11192. </optional>
  11193. <optional>
  11194. <attribute name="style:num-suffix">
  11195. <ref name="string"/>
  11196. </attribute>
  11197. </optional>
  11198. </define>
  11199. <define name="common-num-format-attlist">
  11200. <choice>
  11201. <attribute name="style:num-format">
  11202. <choice>
  11203. <value>1</value>
  11204. <value>i</value>
  11205. <value>I</value>
  11206. <ref name="string"/>
  11207. <empty/>
  11208. </choice>
  11209. </attribute>
  11210. <group>
  11211. <attribute name="style:num-format">
  11212. <choice>
  11213. <value>a</value>
  11214. <value>A</value>
  11215. </choice>
  11216. </attribute>
  11217. <ref name="style-num-letter-sync-attlist"/>
  11218. </group>
  11219. <empty/>
  11220. </choice>
  11221. </define>
  11222. <define name="style-num-letter-sync-attlist">
  11223. <optional>
  11224. <attribute name="style:num-letter-sync">
  11225. <ref name="boolean"/>
  11226. </attribute>
  11227. </optional>
  11228. </define>
  11229. <define name="office-change-info">
  11230. <element name="office:change-info">
  11231. <ref name="dc-creator"/>
  11232. <ref name="dc-date"/>
  11233. <zeroOrMore>
  11234. <ref name="text-p"/>
  11235. </zeroOrMore>
  11236. </element>
  11237. </define>
  11238. <define name="office-event-listeners">
  11239. <element name="office:event-listeners">
  11240. <zeroOrMore>
  11241. <choice>
  11242. <ref name="script-event-listener"/>
  11243. <ref name="presentation-event-listener"/>
  11244. </choice>
  11245. </zeroOrMore>
  11246. </element>
  11247. </define>
  11248. <define name="script-event-listener">
  11249. <element name="script:event-listener">
  11250. <ref name="script-event-listener-attlist"/>
  11251. <empty/>
  11252. </element>
  11253. </define>
  11254. <define name="script-event-listener-attlist">
  11255. <interleave>
  11256. <attribute name="script:event-name">
  11257. <ref name="string"/>
  11258. </attribute>
  11259. <attribute name="script:language">
  11260. <ref name="string"/>
  11261. </attribute>
  11262. <choice>
  11263. <attribute name="script:macro-name">
  11264. <ref name="string"/>
  11265. </attribute>
  11266. <group>
  11267. <attribute name="xlink:type">
  11268. <value>simple</value>
  11269. </attribute>
  11270. <attribute name="xlink:href">
  11271. <ref name="anyIRI"/>
  11272. </attribute>
  11273. <optional>
  11274. <attribute name="xlink:actuate">
  11275. <value>onRequest</value>
  11276. </attribute>
  11277. </optional>
  11278. </group>
  11279. </choice>
  11280. </interleave>
  11281. </define>
  11282. <define name="math-math">
  11283. <element name="math:math">
  11284. <ref name="mathMarkup"/>
  11285. </element>
  11286. </define>
  11287. <define name="mathMarkup">
  11288. <dc:description>To avoid inclusion of the complete MathML schema, anything is allowed within a math:math top-level element</dc:description>
  11289. <zeroOrMore>
  11290. <choice>
  11291. <attribute>
  11292. <anyName/>
  11293. </attribute>
  11294. <text/>
  11295. <element>
  11296. <anyName/>
  11297. <ref name="mathMarkup"/>
  11298. </element>
  11299. </choice>
  11300. </zeroOrMore>
  11301. </define>
  11302. <define name="text-dde-connection-decl">
  11303. <element name="text:dde-connection-decl">
  11304. <ref name="text-dde-connection-decl-attlist"/>
  11305. <ref name="common-dde-connection-decl-attlist"/>
  11306. </element>
  11307. </define>
  11308. <define name="text-dde-connection-decl-attlist">
  11309. <attribute name="office:name">
  11310. <ref name="string"/>
  11311. </attribute>
  11312. </define>
  11313. <define name="common-dde-connection-decl-attlist">
  11314. <interleave>
  11315. <attribute name="office:dde-application">
  11316. <ref name="string"/>
  11317. </attribute>
  11318. <attribute name="office:dde-topic">
  11319. <ref name="string"/>
  11320. </attribute>
  11321. <attribute name="office:dde-item">
  11322. <ref name="string"/>
  11323. </attribute>
  11324. <optional>
  11325. <attribute name="office:automatic-update">
  11326. <ref name="boolean"/>
  11327. </attribute>
  11328. </optional>
  11329. </interleave>
  11330. </define>
  11331. <define name="table-dde-link">
  11332. <element name="table:dde-link">
  11333. <ref name="office-dde-source"/>
  11334. <ref name="table-table"/>
  11335. </element>
  11336. </define>
  11337. <define name="office-dde-source">
  11338. <element name="office:dde-source">
  11339. <ref name="office-dde-source-attlist"/>
  11340. <ref name="common-dde-connection-decl-attlist"/>
  11341. </element>
  11342. </define>
  11343. <define name="office-dde-source-attlist">
  11344. <interleave>
  11345. <optional>
  11346. <attribute name="office:name">
  11347. <ref name="string"/>
  11348. </attribute>
  11349. </optional>
  11350. <optional>
  11351. <attribute name="office:conversion-mode">
  11352. <choice>
  11353. <value>into-default-style-data-style</value>
  11354. <value>into-english-number</value>
  11355. <value>keep-text</value>
  11356. </choice>
  11357. </attribute>
  11358. </optional>
  11359. </interleave>
  11360. </define>
  11361. <define name="animation-element">
  11362. <choice>
  11363. <element name="anim:animate">
  11364. <ref name="common-anim-target-attlist"/>
  11365. <ref name="common-anim-named-target-attlist"/>
  11366. <ref name="common-anim-values-attlist"/>
  11367. <ref name="common-anim-spline-mode-attlist"/>
  11368. <ref name="common-spline-anim-value-attlist"/>
  11369. <ref name="common-timing-attlist"/>
  11370. <ref name="common-anim-add-accum-attlist"/>
  11371. </element>
  11372. <element name="anim:set">
  11373. <ref name="common-anim-target-attlist"/>
  11374. <ref name="common-anim-named-target-attlist"/>
  11375. <ref name="common-anim-set-values-attlist"/>
  11376. <ref name="common-timing-attlist"/>
  11377. <ref name="common-anim-add-accum-attlist"/>
  11378. </element>
  11379. <element name="anim:animateMotion">
  11380. <ref name="anim-animate-motion-attlist"/>
  11381. <ref name="common-anim-target-attlist"/>
  11382. <ref name="common-anim-named-target-attlist"/>
  11383. <ref name="common-anim-add-accum-attlist"/>
  11384. <ref name="common-anim-values-attlist"/>
  11385. <ref name="common-timing-attlist"/>
  11386. <ref name="common-spline-anim-value-attlist"/>
  11387. </element>
  11388. <element name="anim:animateColor">
  11389. <ref name="common-anim-target-attlist"/>
  11390. <ref name="common-anim-named-target-attlist"/>
  11391. <ref name="common-anim-add-accum-attlist"/>
  11392. <ref name="common-anim-values-attlist"/>
  11393. <ref name="common-anim-spline-mode-attlist"/>
  11394. <ref name="common-spline-anim-value-attlist"/>
  11395. <ref name="anim-animate-color-attlist"/>
  11396. <ref name="common-timing-attlist"/>
  11397. </element>
  11398. <element name="anim:animateTransform">
  11399. <ref name="common-anim-target-attlist"/>
  11400. <ref name="common-anim-named-target-attlist"/>
  11401. <ref name="common-anim-add-accum-attlist"/>
  11402. <ref name="common-anim-values-attlist"/>
  11403. <ref name="anim-animate-transform-attlist"/>
  11404. <ref name="common-timing-attlist"/>
  11405. </element>
  11406. <element name="anim:transitionFilter">
  11407. <ref name="common-anim-target-attlist"/>
  11408. <ref name="common-anim-add-accum-attlist"/>
  11409. <ref name="common-anim-values-attlist"/>
  11410. <ref name="common-anim-spline-mode-attlist"/>
  11411. <ref name="anim-transition-filter-attlist"/>
  11412. <ref name="common-timing-attlist"/>
  11413. </element>
  11414. <element name="anim:par">
  11415. <ref name="common-anim-attlist"/>
  11416. <ref name="common-timing-attlist"/>
  11417. <ref name="common-endsync-timing-attlist"/>
  11418. <zeroOrMore>
  11419. <ref name="animation-element"/>
  11420. </zeroOrMore>
  11421. </element>
  11422. <element name="anim:seq">
  11423. <ref name="common-anim-attlist"/>
  11424. <ref name="common-endsync-timing-attlist"/>
  11425. <ref name="common-timing-attlist"/>
  11426. <zeroOrMore>
  11427. <ref name="animation-element"/>
  11428. </zeroOrMore>
  11429. </element>
  11430. <element name="anim:iterate">
  11431. <ref name="common-anim-attlist"/>
  11432. <ref name="anim-iterate-attlist"/>
  11433. <ref name="common-timing-attlist"/>
  11434. <ref name="common-endsync-timing-attlist"/>
  11435. <zeroOrMore>
  11436. <ref name="animation-element"/>
  11437. </zeroOrMore>
  11438. </element>
  11439. <element name="anim:audio">
  11440. <ref name="common-anim-attlist"/>
  11441. <ref name="anim-audio-attlist"/>
  11442. <ref name="common-basic-timing-attlist"/>
  11443. </element>
  11444. <element name="anim:command">
  11445. <ref name="common-anim-attlist"/>
  11446. <ref name="anim-command-attlist"/>
  11447. <ref name="common-begin-end-timing-attlist"/>
  11448. <ref name="common-anim-target-attlist"/>
  11449. <zeroOrMore>
  11450. <element name="anim:param">
  11451. <attribute name="anim:name">
  11452. <ref name="string"/>
  11453. </attribute>
  11454. <attribute name="anim:value">
  11455. <ref name="string"/>
  11456. </attribute>
  11457. </element>
  11458. </zeroOrMore>
  11459. </element>
  11460. </choice>
  11461. </define>
  11462. <define name="anim-animate-motion-attlist">
  11463. <interleave>
  11464. <optional>
  11465. <attribute name="svg:path">
  11466. <ref name="pathData"/>
  11467. </attribute>
  11468. </optional>
  11469. <optional>
  11470. <attribute name="svg:origin">
  11471. <ref name="string"/>
  11472. </attribute>
  11473. </optional>
  11474. <optional>
  11475. <attribute name="smil:calcMode">
  11476. <choice>
  11477. <value>discrete</value>
  11478. <value>linear</value>
  11479. <value>paced</value>
  11480. <value>spline</value>
  11481. </choice>
  11482. </attribute>
  11483. </optional>
  11484. </interleave>
  11485. </define>
  11486. <define name="anim-animate-color-attlist">
  11487. <interleave>
  11488. <optional>
  11489. <attribute name="anim:color-interpolation">
  11490. <choice>
  11491. <value>rgb</value>
  11492. <value>hsl</value>
  11493. </choice>
  11494. </attribute>
  11495. </optional>
  11496. <optional>
  11497. <attribute name="anim:color-interpolation-direction">
  11498. <choice>
  11499. <value>clockwise</value>
  11500. <value>counter-clockwise</value>
  11501. </choice>
  11502. </attribute>
  11503. </optional>
  11504. </interleave>
  11505. </define>
  11506. <define name="anim-animate-transform-attlist">
  11507. <attribute name="svg:type">
  11508. <choice>
  11509. <value>translate</value>
  11510. <value>scale</value>
  11511. <value>rotate</value>
  11512. <value>skewX</value>
  11513. <value>skewY</value>
  11514. </choice>
  11515. </attribute>
  11516. </define>
  11517. <define name="anim-transition-filter-attlist">
  11518. <interleave>
  11519. <attribute name="smil:type">
  11520. <ref name="string"/>
  11521. </attribute>
  11522. <optional>
  11523. <attribute name="smil:subtype">
  11524. <ref name="string"/>
  11525. </attribute>
  11526. </optional>
  11527. <optional>
  11528. <attribute name="smil:direction">
  11529. <choice>
  11530. <value>forward</value>
  11531. <value>reverse</value>
  11532. </choice>
  11533. </attribute>
  11534. </optional>
  11535. <optional>
  11536. <attribute name="smil:fadeColor">
  11537. <ref name="color"/>
  11538. </attribute>
  11539. </optional>
  11540. <optional>
  11541. <attribute name="smil:mode">
  11542. <choice>
  11543. <value>in</value>
  11544. <value>out</value>
  11545. </choice>
  11546. </attribute>
  11547. </optional>
  11548. </interleave>
  11549. </define>
  11550. <define name="common-anim-target-attlist">
  11551. <interleave>
  11552. <optional>
  11553. <attribute name="smil:targetElement">
  11554. <ref name="IDREF"/>
  11555. </attribute>
  11556. </optional>
  11557. <optional>
  11558. <attribute name="anim:sub-item">
  11559. <ref name="string"/>
  11560. </attribute>
  11561. </optional>
  11562. </interleave>
  11563. </define>
  11564. <define name="common-anim-named-target-attlist">
  11565. <attribute name="smil:attributeName">
  11566. <ref name="string"/>
  11567. </attribute>
  11568. </define>
  11569. <define name="common-anim-values-attlist">
  11570. <interleave>
  11571. <optional>
  11572. <attribute name="smil:values">
  11573. <ref name="string"/>
  11574. </attribute>
  11575. </optional>
  11576. <optional>
  11577. <attribute name="anim:formula">
  11578. <ref name="string"/>
  11579. </attribute>
  11580. </optional>
  11581. <ref name="common-anim-set-values-attlist"/>
  11582. <optional>
  11583. <attribute name="smil:from">
  11584. <ref name="string"/>
  11585. </attribute>
  11586. </optional>
  11587. <optional>
  11588. <attribute name="smil:by">
  11589. <ref name="string"/>
  11590. </attribute>
  11591. </optional>
  11592. </interleave>
  11593. </define>
  11594. <define name="common-anim-spline-mode-attlist">
  11595. <optional>
  11596. <attribute name="smil:calcMode">
  11597. <choice>
  11598. <value>discrete</value>
  11599. <value>linear</value>
  11600. <value>paced</value>
  11601. <value>spline</value>
  11602. </choice>
  11603. </attribute>
  11604. </optional>
  11605. </define>
  11606. <define name="common-spline-anim-value-attlist">
  11607. <interleave>
  11608. <optional>
  11609. <attribute name="smil:keyTimes">
  11610. <ref name="string"/>
  11611. </attribute>
  11612. </optional>
  11613. <optional>
  11614. <attribute name="smil:keySplines">
  11615. <ref name="string"/>
  11616. </attribute>
  11617. </optional>
  11618. </interleave>
  11619. </define>
  11620. <define name="common-anim-add-accum-attlist">
  11621. <interleave>
  11622. <optional>
  11623. <attribute name="smil:accumulate">
  11624. <choice>
  11625. <value>none</value>
  11626. <value>sum</value>
  11627. </choice>
  11628. </attribute>
  11629. </optional>
  11630. <optional>
  11631. <attribute name="smil:additive">
  11632. <choice>
  11633. <value>replace</value>
  11634. <value>sum</value>
  11635. </choice>
  11636. </attribute>
  11637. </optional>
  11638. </interleave>
  11639. </define>
  11640. <define name="common-anim-set-values-attlist">
  11641. <optional>
  11642. <attribute name="smil:to">
  11643. <ref name="string"/>
  11644. </attribute>
  11645. </optional>
  11646. </define>
  11647. <define name="common-begin-end-timing-attlist">
  11648. <interleave>
  11649. <optional>
  11650. <attribute name="smil:begin">
  11651. <ref name="string"/>
  11652. </attribute>
  11653. </optional>
  11654. <optional>
  11655. <attribute name="smil:end">
  11656. <ref name="string"/>
  11657. </attribute>
  11658. </optional>
  11659. </interleave>
  11660. </define>
  11661. <define name="common-dur-timing-attlist">
  11662. <optional>
  11663. <attribute name="smil:dur">
  11664. <ref name="string"/>
  11665. </attribute>
  11666. </optional>
  11667. </define>
  11668. <define name="common-endsync-timing-attlist">
  11669. <optional>
  11670. <attribute name="smil:endsync">
  11671. <choice>
  11672. <value>first</value>
  11673. <value>last</value>
  11674. <value>all</value>
  11675. <value>media</value>
  11676. <ref name="IDREF"/>
  11677. </choice>
  11678. </attribute>
  11679. </optional>
  11680. </define>
  11681. <define name="common-repeat-timing-attlist">
  11682. <optional>
  11683. <attribute name="smil:repeatDur">
  11684. <ref name="string"/>
  11685. </attribute>
  11686. </optional>
  11687. <optional>
  11688. <attribute name="smil:repeatCount">
  11689. <choice>
  11690. <ref name="nonNegativeDecimal"/>
  11691. <value>indefinite</value>
  11692. </choice>
  11693. </attribute>
  11694. </optional>
  11695. </define>
  11696. <define name="nonNegativeDecimal">
  11697. <data type="decimal">
  11698. <param name="minInclusive">0.0</param>
  11699. </data>
  11700. </define>
  11701. <define name="common-fill-timing-attlist">
  11702. <optional>
  11703. <attribute name="smil:fill">
  11704. <choice>
  11705. <value>remove</value>
  11706. <value>freeze</value>
  11707. <value>hold</value>
  11708. <value>auto</value>
  11709. <value>default</value>
  11710. <value>transition</value>
  11711. </choice>
  11712. </attribute>
  11713. </optional>
  11714. </define>
  11715. <define name="common-fill-default-attlist">
  11716. <optional>
  11717. <attribute name="smil:fillDefault">
  11718. <choice>
  11719. <value>remove</value>
  11720. <value>freeze</value>
  11721. <value>hold</value>
  11722. <value>transition</value>
  11723. <value>auto</value>
  11724. <value>inherit</value>
  11725. </choice>
  11726. </attribute>
  11727. </optional>
  11728. </define>
  11729. <define name="common-restart-timing-attlist">
  11730. <optional>
  11731. <attribute name="smil:restart">
  11732. <choice>
  11733. <value>never</value>
  11734. <value>always</value>
  11735. <value>whenNotActive</value>
  11736. <value>default</value>
  11737. </choice>
  11738. </attribute>
  11739. </optional>
  11740. </define>
  11741. <define name="common-restart-default-attlist">
  11742. <optional>
  11743. <attribute name="smil:restartDefault">
  11744. <choice>
  11745. <value>never</value>
  11746. <value>always</value>
  11747. <value>whenNotActive</value>
  11748. <value>inherit</value>
  11749. </choice>
  11750. </attribute>
  11751. </optional>
  11752. </define>
  11753. <define name="common-time-manip-attlist">
  11754. <interleave>
  11755. <optional>
  11756. <attribute name="smil:accelerate">
  11757. <ref name="zeroToOneDecimal"/>
  11758. </attribute>
  11759. </optional>
  11760. <optional>
  11761. <attribute name="smil:decelerate">
  11762. <ref name="zeroToOneDecimal"/>
  11763. </attribute>
  11764. </optional>
  11765. <optional>
  11766. <attribute name="smil:autoReverse">
  11767. <ref name="boolean"/>
  11768. </attribute>
  11769. </optional>
  11770. </interleave>
  11771. </define>
  11772. <define name="zeroToOneDecimal">
  11773. <data type="decimal">
  11774. <param name="minInclusive">0</param>
  11775. <param name="maxInclusive">1</param>
  11776. </data>
  11777. </define>
  11778. <define name="common-basic-timing-attlist">
  11779. <ref name="common-begin-end-timing-attlist"/>
  11780. <ref name="common-dur-timing-attlist"/>
  11781. <ref name="common-repeat-timing-attlist"/>
  11782. <ref name="common-restart-timing-attlist"/>
  11783. <ref name="common-restart-default-attlist"/>
  11784. <ref name="common-fill-timing-attlist"/>
  11785. <ref name="common-fill-default-attlist"/>
  11786. </define>
  11787. <define name="common-timing-attlist">
  11788. <ref name="common-basic-timing-attlist"/>
  11789. <ref name="common-time-manip-attlist"/>
  11790. </define>
  11791. <define name="anim-iterate-attlist">
  11792. <interleave>
  11793. <ref name="common-anim-target-attlist"/>
  11794. <optional>
  11795. <attribute name="anim:iterate-type">
  11796. <ref name="string"/>
  11797. </attribute>
  11798. </optional>
  11799. <optional>
  11800. <attribute name="anim:iterate-interval">
  11801. <ref name="duration"/>
  11802. </attribute>
  11803. </optional>
  11804. </interleave>
  11805. </define>
  11806. <define name="anim-audio-attlist">
  11807. <interleave>
  11808. <optional>
  11809. <attribute name="xlink:href">
  11810. <ref name="anyIRI"/>
  11811. </attribute>
  11812. </optional>
  11813. <optional>
  11814. <attribute name="anim:audio-level">
  11815. <ref name="double"/>
  11816. </attribute>
  11817. </optional>
  11818. </interleave>
  11819. </define>
  11820. <define name="anim-command-attlist">
  11821. <attribute name="anim:command">
  11822. <ref name="string"/>
  11823. </attribute>
  11824. </define>
  11825. <define name="style-style">
  11826. <element name="style:style">
  11827. <ref name="style-style-attlist"/>
  11828. <ref name="style-style-content"/>
  11829. <zeroOrMore>
  11830. <ref name="style-map"/>
  11831. </zeroOrMore>
  11832. </element>
  11833. </define>
  11834. <define name="common-in-content-meta-attlist">
  11835. <attribute name="xhtml:about">
  11836. <ref name="URIorSafeCURIE"/>
  11837. </attribute>
  11838. <attribute name="xhtml:property">
  11839. <ref name="CURIEs"/>
  11840. </attribute>
  11841. <ref name="common-meta-literal-attlist"/>
  11842. </define>
  11843. <define name="common-meta-literal-attlist">
  11844. <optional>
  11845. <attribute name="xhtml:datatype">
  11846. <ref name="CURIE"/>
  11847. </attribute>
  11848. </optional>
  11849. <optional>
  11850. <attribute name="xhtml:content">
  11851. <ref name="string"/>
  11852. </attribute>
  11853. </optional>
  11854. </define>
  11855. <define name="xml-id">
  11856. <attribute name="xml:id">
  11857. <ref name="ID"/>
  11858. </attribute>
  11859. </define>
  11860. <define name="style-style-attlist">
  11861. <interleave>
  11862. <attribute name="style:name">
  11863. <ref name="styleName"/>
  11864. </attribute>
  11865. <optional>
  11866. <attribute name="style:display-name">
  11867. <ref name="string"/>
  11868. </attribute>
  11869. </optional>
  11870. <optional>
  11871. <attribute name="style:parent-style-name">
  11872. <ref name="styleNameRef"/>
  11873. </attribute>
  11874. </optional>
  11875. <optional>
  11876. <attribute name="style:next-style-name">
  11877. <ref name="styleNameRef"/>
  11878. </attribute>
  11879. </optional>
  11880. <optional>
  11881. <attribute name="style:list-level">
  11882. <choice>
  11883. <ref name="positiveInteger"/>
  11884. <empty/>
  11885. </choice>
  11886. </attribute>
  11887. </optional>
  11888. <optional>
  11889. <attribute name="style:list-style-name">
  11890. <choice>
  11891. <ref name="styleName"/>
  11892. <empty/>
  11893. </choice>
  11894. </attribute>
  11895. </optional>
  11896. <optional>
  11897. <attribute name="style:master-page-name">
  11898. <ref name="styleNameRef"/>
  11899. </attribute>
  11900. </optional>
  11901. <optional>
  11902. <attribute name="style:auto-update">
  11903. <ref name="boolean"/>
  11904. </attribute>
  11905. </optional>
  11906. <optional>
  11907. <attribute name="style:data-style-name">
  11908. <ref name="styleNameRef"/>
  11909. </attribute>
  11910. </optional>
  11911. <optional>
  11912. <attribute name="style:percentage-data-style-name">
  11913. <ref name="styleNameRef"/>
  11914. </attribute>
  11915. </optional>
  11916. <optional>
  11917. <attribute name="style:class">
  11918. <ref name="string"/>
  11919. </attribute>
  11920. </optional>
  11921. <optional>
  11922. <attribute name="style:default-outline-level">
  11923. <choice>
  11924. <ref name="positiveInteger"/>
  11925. <empty/>
  11926. </choice>
  11927. </attribute>
  11928. </optional>
  11929. </interleave>
  11930. </define>
  11931. <define name="style-map">
  11932. <element name="style:map">
  11933. <ref name="style-map-attlist"/>
  11934. <empty/>
  11935. </element>
  11936. </define>
  11937. <define name="style-map-attlist">
  11938. <interleave>
  11939. <attribute name="style:condition">
  11940. <ref name="string"/>
  11941. </attribute>
  11942. <attribute name="style:apply-style-name">
  11943. <ref name="styleNameRef"/>
  11944. </attribute>
  11945. <optional>
  11946. <attribute name="style:base-cell-address">
  11947. <ref name="cellAddress"/>
  11948. </attribute>
  11949. </optional>
  11950. </interleave>
  11951. </define>
  11952. <define name="style-default-style">
  11953. <element name="style:default-style">
  11954. <ref name="style-style-content"/>
  11955. </element>
  11956. </define>
  11957. <define name="style-page-layout">
  11958. <element name="style:page-layout">
  11959. <ref name="style-page-layout-attlist"/>
  11960. <ref name="style-page-layout-content"/>
  11961. </element>
  11962. </define>
  11963. <define name="style-page-layout-content">
  11964. <optional>
  11965. <ref name="style-page-layout-properties"/>
  11966. </optional>
  11967. <optional>
  11968. <ref name="style-header-style"/>
  11969. </optional>
  11970. <optional>
  11971. <ref name="style-footer-style"/>
  11972. </optional>
  11973. </define>
  11974. <define name="style-page-layout-attlist">
  11975. <interleave>
  11976. <attribute name="style:name">
  11977. <ref name="styleName"/>
  11978. </attribute>
  11979. <optional>
  11980. <attribute name="style:page-usage">
  11981. <choice>
  11982. <value>all</value>
  11983. <value>left</value>
  11984. <value>right</value>
  11985. <value>mirrored</value>
  11986. </choice>
  11987. </attribute>
  11988. </optional>
  11989. </interleave>
  11990. </define>
  11991. <define name="style-header-style">
  11992. <element name="style:header-style">
  11993. <optional>
  11994. <ref name="style-header-footer-properties"/>
  11995. </optional>
  11996. </element>
  11997. </define>
  11998. <define name="style-footer-style">
  11999. <element name="style:footer-style">
  12000. <optional>
  12001. <ref name="style-header-footer-properties"/>
  12002. </optional>
  12003. </element>
  12004. </define>
  12005. <define name="style-default-page-layout">
  12006. <element name="style:default-page-layout">
  12007. <ref name="style-page-layout-content"/>
  12008. </element>
  12009. </define>
  12010. <define name="style-master-page">
  12011. <element name="style:master-page">
  12012. <ref name="style-master-page-attlist"/>
  12013. <optional>
  12014. <ref name="style-header"/>
  12015. <optional>
  12016. <ref name="style-header-left"/>
  12017. </optional>
  12018. </optional>
  12019. <optional>
  12020. <ref name="style-footer"/>
  12021. <optional>
  12022. <ref name="style-footer-left"/>
  12023. </optional>
  12024. </optional>
  12025. <optional>
  12026. <ref name="draw-layer-set"/>
  12027. </optional>
  12028. <optional>
  12029. <ref name="office-forms"/>
  12030. </optional>
  12031. <zeroOrMore>
  12032. <ref name="shape"/>
  12033. </zeroOrMore>
  12034. <optional>
  12035. <ref name="animation-element"/>
  12036. </optional>
  12037. <optional>
  12038. <ref name="presentation-notes"/>
  12039. </optional>
  12040. </element>
  12041. </define>
  12042. <define name="style-master-page-attlist">
  12043. <interleave>
  12044. <attribute name="style:name">
  12045. <ref name="styleName"/>
  12046. </attribute>
  12047. <optional>
  12048. <attribute name="style:display-name">
  12049. <ref name="string"/>
  12050. </attribute>
  12051. </optional>
  12052. <attribute name="style:page-layout-name">
  12053. <ref name="styleNameRef"/>
  12054. </attribute>
  12055. <optional>
  12056. <attribute name="draw:style-name">
  12057. <ref name="styleNameRef"/>
  12058. </attribute>
  12059. </optional>
  12060. <optional>
  12061. <attribute name="style:next-style-name">
  12062. <ref name="styleNameRef"/>
  12063. </attribute>
  12064. </optional>
  12065. </interleave>
  12066. </define>
  12067. <define name="style-header">
  12068. <element name="style:header">
  12069. <ref name="common-style-header-footer-attlist"/>
  12070. <ref name="header-footer-content"/>
  12071. </element>
  12072. </define>
  12073. <define name="style-footer">
  12074. <element name="style:footer">
  12075. <ref name="common-style-header-footer-attlist"/>
  12076. <ref name="header-footer-content"/>
  12077. </element>
  12078. </define>
  12079. <define name="style-header-left">
  12080. <element name="style:header-left">
  12081. <ref name="common-style-header-footer-attlist"/>
  12082. <ref name="header-footer-content"/>
  12083. </element>
  12084. </define>
  12085. <define name="style-footer-left">
  12086. <element name="style:footer-left">
  12087. <ref name="common-style-header-footer-attlist"/>
  12088. <ref name="header-footer-content"/>
  12089. </element>
  12090. </define>
  12091. <define name="header-footer-content">
  12092. <choice>
  12093. <group>
  12094. <ref name="text-tracked-changes"/>
  12095. <ref name="text-decls"/>
  12096. <zeroOrMore>
  12097. <choice>
  12098. <ref name="text-h"/>
  12099. <ref name="text-p"/>
  12100. <ref name="text-list"/>
  12101. <ref name="table-table"/>
  12102. <ref name="text-section"/>
  12103. <ref name="text-table-of-content"/>
  12104. <ref name="text-illustration-index"/>
  12105. <ref name="text-table-index"/>
  12106. <ref name="text-object-index"/>
  12107. <ref name="text-user-index"/>
  12108. <ref name="text-alphabetical-index"/>
  12109. <ref name="text-bibliography"/>
  12110. <ref name="text-index-title"/>
  12111. <ref name="change-marks"/>
  12112. </choice>
  12113. </zeroOrMore>
  12114. </group>
  12115. <group>
  12116. <optional>
  12117. <ref name="style-region-left"/>
  12118. </optional>
  12119. <optional>
  12120. <ref name="style-region-center"/>
  12121. </optional>
  12122. <optional>
  12123. <ref name="style-region-right"/>
  12124. </optional>
  12125. </group>
  12126. </choice>
  12127. </define>
  12128. <define name="common-style-header-footer-attlist">
  12129. <optional>
  12130. <attribute name="style:display">
  12131. <ref name="boolean"/>
  12132. </attribute>
  12133. </optional>
  12134. </define>
  12135. <define name="style-region-left">
  12136. <element name="style:region-left">
  12137. <ref name="region-content"/>
  12138. </element>
  12139. </define>
  12140. <define name="style-region-center">
  12141. <element name="style:region-center">
  12142. <ref name="region-content"/>
  12143. </element>
  12144. </define>
  12145. <define name="style-region-right">
  12146. <element name="style:region-right">
  12147. <ref name="region-content"/>
  12148. </element>
  12149. </define>
  12150. <define name="region-content">
  12151. <zeroOrMore>
  12152. <ref name="text-p"/>
  12153. </zeroOrMore>
  12154. </define>
  12155. <define name="presentation-notes">
  12156. <element name="presentation:notes">
  12157. <ref name="common-presentation-header-footer-attlist"/>
  12158. <ref name="presentation-notes-attlist"/>
  12159. <ref name="office-forms"/>
  12160. <zeroOrMore>
  12161. <ref name="shape"/>
  12162. </zeroOrMore>
  12163. </element>
  12164. </define>
  12165. <define name="presentation-notes-attlist">
  12166. <interleave>
  12167. <optional>
  12168. <attribute name="style:page-layout-name">
  12169. <ref name="styleNameRef"/>
  12170. </attribute>
  12171. </optional>
  12172. <optional>
  12173. <attribute name="draw:style-name">
  12174. <ref name="styleNameRef"/>
  12175. </attribute>
  12176. </optional>
  12177. </interleave>
  12178. </define>
  12179. <define name="table-table-template">
  12180. <element name="table:table-template">
  12181. <ref name="table-table-template-attlist"/>
  12182. <optional>
  12183. <ref name="table-first-row"/>
  12184. </optional>
  12185. <optional>
  12186. <ref name="table-last-row"/>
  12187. </optional>
  12188. <optional>
  12189. <ref name="table-first-column"/>
  12190. </optional>
  12191. <optional>
  12192. <ref name="table-last-column"/>
  12193. </optional>
  12194. <ref name="table-body"/>
  12195. <optional>
  12196. <ref name="table-even-rows"/>
  12197. </optional>
  12198. <optional>
  12199. <ref name="table-odd-rows"/>
  12200. </optional>
  12201. <optional>
  12202. <ref name="table-even-columns"/>
  12203. </optional>
  12204. <optional>
  12205. <ref name="table-odd-columns"/>
  12206. </optional>
  12207. <optional>
  12208. <ref name="table-background"/>
  12209. </optional>
  12210. </element>
  12211. </define>
  12212. <define name="table-table-template-attlist">
  12213. <interleave>
  12214. <attribute name="table:name">
  12215. <ref name="string"/>
  12216. </attribute>
  12217. <attribute name="table:first-row-start-column">
  12218. <ref name="rowOrCol"/>
  12219. </attribute>
  12220. <attribute name="table:first-row-end-column">
  12221. <ref name="rowOrCol"/>
  12222. </attribute>
  12223. <attribute name="table:last-row-start-column">
  12224. <ref name="rowOrCol"/>
  12225. </attribute>
  12226. <attribute name="table:last-row-end-column">
  12227. <ref name="rowOrCol"/>
  12228. </attribute>
  12229. </interleave>
  12230. </define>
  12231. <define name="rowOrCol">
  12232. <choice>
  12233. <value>row</value>
  12234. <value>column</value>
  12235. </choice>
  12236. </define>
  12237. <define name="table-first-row">
  12238. <element name="table:first-row">
  12239. <ref name="common-table-template-attlist"/>
  12240. <empty/>
  12241. </element>
  12242. </define>
  12243. <define name="table-last-row">
  12244. <element name="table:last-row">
  12245. <ref name="common-table-template-attlist"/>
  12246. <empty/>
  12247. </element>
  12248. </define>
  12249. <define name="table-first-column">
  12250. <element name="table:first-column">
  12251. <ref name="common-table-template-attlist"/>
  12252. <empty/>
  12253. </element>
  12254. </define>
  12255. <define name="table-last-column">
  12256. <element name="table:last-column">
  12257. <ref name="common-table-template-attlist"/>
  12258. <empty/>
  12259. </element>
  12260. </define>
  12261. <define name="table-body">
  12262. <element name="table:body">
  12263. <ref name="common-table-template-attlist"/>
  12264. <empty/>
  12265. </element>
  12266. </define>
  12267. <define name="table-even-rows">
  12268. <element name="table:even-rows">
  12269. <ref name="common-table-template-attlist"/>
  12270. <empty/>
  12271. </element>
  12272. </define>
  12273. <define name="table-odd-rows">
  12274. <element name="table:odd-rows">
  12275. <ref name="common-table-template-attlist"/>
  12276. <empty/>
  12277. </element>
  12278. </define>
  12279. <define name="table-even-columns">
  12280. <element name="table:even-columns">
  12281. <ref name="common-table-template-attlist"/>
  12282. <empty/>
  12283. </element>
  12284. </define>
  12285. <define name="table-odd-columns">
  12286. <element name="table:odd-columns">
  12287. <ref name="common-table-template-attlist"/>
  12288. <empty/>
  12289. </element>
  12290. </define>
  12291. <define name="common-table-template-attlist">
  12292. <attribute name="table:style-name">
  12293. <ref name="styleNameRef"/>
  12294. </attribute>
  12295. <optional>
  12296. <attribute name="table:paragraph-style-name">
  12297. <ref name="styleNameRef"/>
  12298. </attribute>
  12299. </optional>
  12300. </define>
  12301. <define name="table-background">
  12302. <element name="table:background">
  12303. <ref name="table-background-attlist"/>
  12304. <empty/>
  12305. </element>
  12306. </define>
  12307. <define name="table-background-attlist">
  12308. <attribute name="table:style-name">
  12309. <ref name="styleNameRef"/>
  12310. </attribute>
  12311. </define>
  12312. <define name="style-font-face">
  12313. <element name="style:font-face">
  12314. <ref name="style-font-face-attlist"/>
  12315. <optional>
  12316. <ref name="svg-font-face-src"/>
  12317. </optional>
  12318. <optional>
  12319. <ref name="svg-definition-src"/>
  12320. </optional>
  12321. </element>
  12322. </define>
  12323. <define name="style-font-face-attlist">
  12324. <interleave>
  12325. <optional>
  12326. <attribute name="svg:font-family">
  12327. <ref name="string"/>
  12328. </attribute>
  12329. </optional>
  12330. <optional>
  12331. <attribute name="svg:font-style">
  12332. <ref name="fontStyle"/>
  12333. </attribute>
  12334. </optional>
  12335. <optional>
  12336. <attribute name="svg:font-variant">
  12337. <ref name="fontVariant"/>
  12338. </attribute>
  12339. </optional>
  12340. <optional>
  12341. <attribute name="svg:font-weight">
  12342. <ref name="fontWeight"/>
  12343. </attribute>
  12344. </optional>
  12345. <optional>
  12346. <attribute name="svg:font-stretch">
  12347. <choice>
  12348. <value>normal</value>
  12349. <value>ultra-condensed</value>
  12350. <value>extra-condensed</value>
  12351. <value>condensed</value>
  12352. <value>semi-condensed</value>
  12353. <value>semi-expanded</value>
  12354. <value>expanded</value>
  12355. <value>extra-expanded</value>
  12356. <value>ultra-expanded</value>
  12357. </choice>
  12358. </attribute>
  12359. </optional>
  12360. <optional>
  12361. <attribute name="svg:font-size">
  12362. <ref name="positiveLength"/>
  12363. </attribute>
  12364. </optional>
  12365. <optional>
  12366. <attribute name="svg:unicode-range">
  12367. <ref name="string"/>
  12368. </attribute>
  12369. </optional>
  12370. <optional>
  12371. <attribute name="svg:units-per-em">
  12372. <ref name="integer"/>
  12373. </attribute>
  12374. </optional>
  12375. <optional>
  12376. <attribute name="svg:panose-1">
  12377. <ref name="string"/>
  12378. </attribute>
  12379. </optional>
  12380. <optional>
  12381. <attribute name="svg:stemv">
  12382. <ref name="integer"/>
  12383. </attribute>
  12384. </optional>
  12385. <optional>
  12386. <attribute name="svg:stemh">
  12387. <ref name="integer"/>
  12388. </attribute>
  12389. </optional>
  12390. <optional>
  12391. <attribute name="svg:slope">
  12392. <ref name="integer"/>
  12393. </attribute>
  12394. </optional>
  12395. <optional>
  12396. <attribute name="svg:cap-height">
  12397. <ref name="integer"/>
  12398. </attribute>
  12399. </optional>
  12400. <optional>
  12401. <attribute name="svg:x-height">
  12402. <ref name="integer"/>
  12403. </attribute>
  12404. </optional>
  12405. <optional>
  12406. <attribute name="svg:accent-height">
  12407. <ref name="integer"/>
  12408. </attribute>
  12409. </optional>
  12410. <optional>
  12411. <attribute name="svg:ascent">
  12412. <ref name="integer"/>
  12413. </attribute>
  12414. </optional>
  12415. <optional>
  12416. <attribute name="svg:descent">
  12417. <ref name="integer"/>
  12418. </attribute>
  12419. </optional>
  12420. <optional>
  12421. <attribute name="svg:widths">
  12422. <ref name="string"/>
  12423. </attribute>
  12424. </optional>
  12425. <optional>
  12426. <attribute name="svg:bbox">
  12427. <ref name="string"/>
  12428. </attribute>
  12429. </optional>
  12430. <optional>
  12431. <attribute name="svg:ideographic">
  12432. <ref name="integer"/>
  12433. </attribute>
  12434. </optional>
  12435. <optional>
  12436. <attribute name="svg:alphabetic">
  12437. <ref name="integer"/>
  12438. </attribute>
  12439. </optional>
  12440. <optional>
  12441. <attribute name="svg:mathematical">
  12442. <ref name="integer"/>
  12443. </attribute>
  12444. </optional>
  12445. <optional>
  12446. <attribute name="svg:hanging">
  12447. <ref name="integer"/>
  12448. </attribute>
  12449. </optional>
  12450. <optional>
  12451. <attribute name="svg:v-ideographic">
  12452. <ref name="integer"/>
  12453. </attribute>
  12454. </optional>
  12455. <optional>
  12456. <attribute name="svg:v-alphabetic">
  12457. <ref name="integer"/>
  12458. </attribute>
  12459. </optional>
  12460. <optional>
  12461. <attribute name="svg:v-mathematical">
  12462. <ref name="integer"/>
  12463. </attribute>
  12464. </optional>
  12465. <optional>
  12466. <attribute name="svg:v-hanging">
  12467. <ref name="integer"/>
  12468. </attribute>
  12469. </optional>
  12470. <optional>
  12471. <attribute name="svg:underline-position">
  12472. <ref name="integer"/>
  12473. </attribute>
  12474. </optional>
  12475. <optional>
  12476. <attribute name="svg:underline-thickness">
  12477. <ref name="integer"/>
  12478. </attribute>
  12479. </optional>
  12480. <optional>
  12481. <attribute name="svg:strikethrough-position">
  12482. <ref name="integer"/>
  12483. </attribute>
  12484. </optional>
  12485. <optional>
  12486. <attribute name="svg:strikethrough-thickness">
  12487. <ref name="integer"/>
  12488. </attribute>
  12489. </optional>
  12490. <optional>
  12491. <attribute name="svg:overline-position">
  12492. <ref name="integer"/>
  12493. </attribute>
  12494. </optional>
  12495. <optional>
  12496. <attribute name="svg:overline-thickness">
  12497. <ref name="integer"/>
  12498. </attribute>
  12499. </optional>
  12500. <attribute name="style:name">
  12501. <ref name="string"/>
  12502. </attribute>
  12503. <optional>
  12504. <attribute name="style:font-adornments">
  12505. <ref name="string"/>
  12506. </attribute>
  12507. </optional>
  12508. <optional>
  12509. <attribute name="style:font-family-generic">
  12510. <ref name="fontFamilyGeneric"/>
  12511. </attribute>
  12512. </optional>
  12513. <optional>
  12514. <attribute name="style:font-pitch">
  12515. <ref name="fontPitch"/>
  12516. </attribute>
  12517. </optional>
  12518. <optional>
  12519. <attribute name="style:font-charset">
  12520. <ref name="textEncoding"/>
  12521. </attribute>
  12522. </optional>
  12523. </interleave>
  12524. </define>
  12525. <define name="svg-font-face-src">
  12526. <element name="svg:font-face-src">
  12527. <oneOrMore>
  12528. <choice>
  12529. <ref name="svg-font-face-uri"/>
  12530. <ref name="svg-font-face-name"/>
  12531. </choice>
  12532. </oneOrMore>
  12533. </element>
  12534. </define>
  12535. <define name="svg-font-face-uri">
  12536. <element name="svg:font-face-uri">
  12537. <ref name="common-svg-font-face-xlink-attlist"/>
  12538. <zeroOrMore>
  12539. <ref name="svg-font-face-format"/>
  12540. </zeroOrMore>
  12541. </element>
  12542. </define>
  12543. <define name="svg-font-face-format">
  12544. <element name="svg:font-face-format">
  12545. <optional>
  12546. <attribute name="svg:string">
  12547. <ref name="string"/>
  12548. </attribute>
  12549. </optional>
  12550. <empty/>
  12551. </element>
  12552. </define>
  12553. <define name="svg-font-face-name">
  12554. <element name="svg:font-face-name">
  12555. <optional>
  12556. <attribute name="svg:name">
  12557. <ref name="string"/>
  12558. </attribute>
  12559. </optional>
  12560. <empty/>
  12561. </element>
  12562. </define>
  12563. <define name="svg-definition-src">
  12564. <element name="svg:definition-src">
  12565. <ref name="common-svg-font-face-xlink-attlist"/>
  12566. <empty/>
  12567. </element>
  12568. </define>
  12569. <define name="common-svg-font-face-xlink-attlist">
  12570. <attribute name="xlink:type">
  12571. <value>simple</value>
  12572. </attribute>
  12573. <attribute name="xlink:href">
  12574. <ref name="anyIRI"/>
  12575. </attribute>
  12576. <optional>
  12577. <attribute name="xlink:actuate">
  12578. <value>onRequest</value>
  12579. </attribute>
  12580. </optional>
  12581. </define>
  12582. <define name="number-number-style">
  12583. <element name="number:number-style">
  12584. <ref name="common-data-style-attlist"/>
  12585. <optional>
  12586. <ref name="style-text-properties"/>
  12587. </optional>
  12588. <optional>
  12589. <ref name="number-text"/>
  12590. </optional>
  12591. <optional>
  12592. <ref name="any-number"/>
  12593. <optional>
  12594. <ref name="number-text"/>
  12595. </optional>
  12596. </optional>
  12597. <zeroOrMore>
  12598. <ref name="style-map"/>
  12599. </zeroOrMore>
  12600. </element>
  12601. </define>
  12602. <define name="any-number">
  12603. <choice>
  12604. <ref name="number-number"/>
  12605. <ref name="number-scientific-number"/>
  12606. <ref name="number-fraction"/>
  12607. </choice>
  12608. </define>
  12609. <define name="number-number">
  12610. <element name="number:number">
  12611. <ref name="number-number-attlist"/>
  12612. <ref name="common-decimal-places-attlist"/>
  12613. <ref name="common-number-attlist"/>
  12614. <zeroOrMore>
  12615. <ref name="number-embedded-text"/>
  12616. </zeroOrMore>
  12617. </element>
  12618. </define>
  12619. <define name="number-number-attlist">
  12620. <interleave>
  12621. <optional>
  12622. <attribute name="number:decimal-replacement">
  12623. <ref name="string"/>
  12624. </attribute>
  12625. </optional>
  12626. <optional>
  12627. <attribute name="number:display-factor">
  12628. <ref name="double"/>
  12629. </attribute>
  12630. </optional>
  12631. </interleave>
  12632. </define>
  12633. <define name="number-embedded-text">
  12634. <element name="number:embedded-text">
  12635. <ref name="number-embedded-text-attlist"/>
  12636. <text/>
  12637. </element>
  12638. </define>
  12639. <define name="number-embedded-text-attlist">
  12640. <attribute name="number:position">
  12641. <ref name="integer"/>
  12642. </attribute>
  12643. </define>
  12644. <define name="number-scientific-number">
  12645. <element name="number:scientific-number">
  12646. <ref name="number-scientific-number-attlist"/>
  12647. <ref name="common-decimal-places-attlist"/>
  12648. <ref name="common-number-attlist"/>
  12649. <empty/>
  12650. </element>
  12651. </define>
  12652. <define name="number-scientific-number-attlist">
  12653. <optional>
  12654. <attribute name="number:min-exponent-digits">
  12655. <ref name="integer"/>
  12656. </attribute>
  12657. </optional>
  12658. </define>
  12659. <define name="number-fraction">
  12660. <element name="number:fraction">
  12661. <ref name="number-fraction-attlist"/>
  12662. <ref name="common-number-attlist"/>
  12663. <empty/>
  12664. </element>
  12665. </define>
  12666. <define name="number-fraction-attlist">
  12667. <interleave>
  12668. <optional>
  12669. <attribute name="number:min-numerator-digits">
  12670. <ref name="integer"/>
  12671. </attribute>
  12672. </optional>
  12673. <optional>
  12674. <attribute name="number:min-denominator-digits">
  12675. <ref name="integer"/>
  12676. </attribute>
  12677. </optional>
  12678. <optional>
  12679. <attribute name="number:denominator-value">
  12680. <ref name="integer"/>
  12681. </attribute>
  12682. </optional>
  12683. </interleave>
  12684. </define>
  12685. <define name="number-currency-style">
  12686. <element name="number:currency-style">
  12687. <ref name="common-data-style-attlist"/>
  12688. <ref name="common-auto-reorder-attlist"/>
  12689. <optional>
  12690. <ref name="style-text-properties"/>
  12691. </optional>
  12692. <optional>
  12693. <ref name="number-text"/>
  12694. </optional>
  12695. <optional>
  12696. <choice>
  12697. <group>
  12698. <ref name="number-and-text"/>
  12699. <optional>
  12700. <ref name="currency-symbol-and-text"/>
  12701. </optional>
  12702. </group>
  12703. <group>
  12704. <ref name="currency-symbol-and-text"/>
  12705. <optional>
  12706. <ref name="number-and-text"/>
  12707. </optional>
  12708. </group>
  12709. </choice>
  12710. </optional>
  12711. <zeroOrMore>
  12712. <ref name="style-map"/>
  12713. </zeroOrMore>
  12714. </element>
  12715. </define>
  12716. <define name="currency-symbol-and-text">
  12717. <ref name="number-currency-symbol"/>
  12718. <optional>
  12719. <ref name="number-text"/>
  12720. </optional>
  12721. </define>
  12722. <define name="number-and-text">
  12723. <ref name="number-number"/>
  12724. <optional>
  12725. <ref name="number-text"/>
  12726. </optional>
  12727. </define>
  12728. <define name="number-currency-symbol">
  12729. <element name="number:currency-symbol">
  12730. <ref name="number-currency-symbol-attlist"/>
  12731. <text/>
  12732. </element>
  12733. </define>
  12734. <define name="number-currency-symbol-attlist">
  12735. <optional>
  12736. <attribute name="number:language">
  12737. <ref name="languageCode"/>
  12738. </attribute>
  12739. </optional>
  12740. <optional>
  12741. <attribute name="number:country">
  12742. <ref name="countryCode"/>
  12743. </attribute>
  12744. </optional>
  12745. <optional>
  12746. <attribute name="number:script">
  12747. <ref name="scriptCode"/>
  12748. </attribute>
  12749. </optional>
  12750. <optional>
  12751. <attribute name="number:rfc-language-tag">
  12752. <ref name="language"/>
  12753. </attribute>
  12754. </optional>
  12755. </define>
  12756. <define name="number-percentage-style">
  12757. <element name="number:percentage-style">
  12758. <ref name="common-data-style-attlist"/>
  12759. <optional>
  12760. <ref name="style-text-properties"/>
  12761. </optional>
  12762. <optional>
  12763. <ref name="number-text"/>
  12764. </optional>
  12765. <optional>
  12766. <ref name="number-and-text"/>
  12767. </optional>
  12768. <zeroOrMore>
  12769. <ref name="style-map"/>
  12770. </zeroOrMore>
  12771. </element>
  12772. </define>
  12773. <define name="number-date-style">
  12774. <element name="number:date-style">
  12775. <ref name="common-data-style-attlist"/>
  12776. <ref name="common-auto-reorder-attlist"/>
  12777. <ref name="common-format-source-attlist"/>
  12778. <optional>
  12779. <ref name="style-text-properties"/>
  12780. </optional>
  12781. <optional>
  12782. <ref name="number-text"/>
  12783. </optional>
  12784. <oneOrMore>
  12785. <ref name="any-date"/>
  12786. <optional>
  12787. <ref name="number-text"/>
  12788. </optional>
  12789. </oneOrMore>
  12790. <zeroOrMore>
  12791. <ref name="style-map"/>
  12792. </zeroOrMore>
  12793. </element>
  12794. </define>
  12795. <define name="any-date">
  12796. <choice>
  12797. <ref name="number-day"/>
  12798. <ref name="number-month"/>
  12799. <ref name="number-year"/>
  12800. <ref name="number-era"/>
  12801. <ref name="number-day-of-week"/>
  12802. <ref name="number-week-of-year"/>
  12803. <ref name="number-quarter"/>
  12804. <ref name="number-hours"/>
  12805. <ref name="number-am-pm"/>
  12806. <ref name="number-minutes"/>
  12807. <ref name="number-seconds"/>
  12808. </choice>
  12809. </define>
  12810. <define name="number-day">
  12811. <element name="number:day">
  12812. <ref name="number-day-attlist"/>
  12813. <ref name="common-calendar-attlist"/>
  12814. <empty/>
  12815. </element>
  12816. </define>
  12817. <define name="number-day-attlist">
  12818. <optional>
  12819. <attribute name="number:style">
  12820. <choice>
  12821. <value>short</value>
  12822. <value>long</value>
  12823. </choice>
  12824. </attribute>
  12825. </optional>
  12826. </define>
  12827. <define name="number-month">
  12828. <element name="number:month">
  12829. <ref name="number-month-attlist"/>
  12830. <ref name="common-calendar-attlist"/>
  12831. <empty/>
  12832. </element>
  12833. </define>
  12834. <define name="number-month-attlist">
  12835. <interleave>
  12836. <optional>
  12837. <attribute name="number:textual">
  12838. <ref name="boolean"/>
  12839. </attribute>
  12840. </optional>
  12841. <optional>
  12842. <attribute name="number:possessive-form">
  12843. <ref name="boolean"/>
  12844. </attribute>
  12845. </optional>
  12846. <optional>
  12847. <attribute name="number:style">
  12848. <choice>
  12849. <value>short</value>
  12850. <value>long</value>
  12851. </choice>
  12852. </attribute>
  12853. </optional>
  12854. </interleave>
  12855. </define>
  12856. <define name="number-year">
  12857. <element name="number:year">
  12858. <ref name="number-year-attlist"/>
  12859. <ref name="common-calendar-attlist"/>
  12860. <empty/>
  12861. </element>
  12862. </define>
  12863. <define name="number-year-attlist">
  12864. <optional>
  12865. <attribute name="number:style">
  12866. <choice>
  12867. <value>short</value>
  12868. <value>long</value>
  12869. </choice>
  12870. </attribute>
  12871. </optional>
  12872. </define>
  12873. <define name="number-era">
  12874. <element name="number:era">
  12875. <ref name="number-era-attlist"/>
  12876. <ref name="common-calendar-attlist"/>
  12877. <empty/>
  12878. </element>
  12879. </define>
  12880. <define name="number-era-attlist">
  12881. <optional>
  12882. <attribute name="number:style">
  12883. <choice>
  12884. <value>short</value>
  12885. <value>long</value>
  12886. </choice>
  12887. </attribute>
  12888. </optional>
  12889. </define>
  12890. <define name="number-day-of-week">
  12891. <element name="number:day-of-week">
  12892. <ref name="number-day-of-week-attlist"/>
  12893. <ref name="common-calendar-attlist"/>
  12894. <empty/>
  12895. </element>
  12896. </define>
  12897. <define name="number-day-of-week-attlist">
  12898. <optional>
  12899. <attribute name="number:style">
  12900. <choice>
  12901. <value>short</value>
  12902. <value>long</value>
  12903. </choice>
  12904. </attribute>
  12905. </optional>
  12906. </define>
  12907. <define name="number-week-of-year">
  12908. <element name="number:week-of-year">
  12909. <ref name="common-calendar-attlist"/>
  12910. <empty/>
  12911. </element>
  12912. </define>
  12913. <define name="number-quarter">
  12914. <element name="number:quarter">
  12915. <ref name="number-quarter-attlist"/>
  12916. <ref name="common-calendar-attlist"/>
  12917. <empty/>
  12918. </element>
  12919. </define>
  12920. <define name="number-quarter-attlist">
  12921. <optional>
  12922. <attribute name="number:style">
  12923. <choice>
  12924. <value>short</value>
  12925. <value>long</value>
  12926. </choice>
  12927. </attribute>
  12928. </optional>
  12929. </define>
  12930. <define name="number-time-style">
  12931. <element name="number:time-style">
  12932. <ref name="number-time-style-attlist"/>
  12933. <ref name="common-data-style-attlist"/>
  12934. <ref name="common-format-source-attlist"/>
  12935. <optional>
  12936. <ref name="style-text-properties"/>
  12937. </optional>
  12938. <optional>
  12939. <ref name="number-text"/>
  12940. </optional>
  12941. <oneOrMore>
  12942. <ref name="any-time"/>
  12943. <optional>
  12944. <ref name="number-text"/>
  12945. </optional>
  12946. </oneOrMore>
  12947. <zeroOrMore>
  12948. <ref name="style-map"/>
  12949. </zeroOrMore>
  12950. </element>
  12951. </define>
  12952. <define name="any-time">
  12953. <choice>
  12954. <ref name="number-hours"/>
  12955. <ref name="number-am-pm"/>
  12956. <ref name="number-minutes"/>
  12957. <ref name="number-seconds"/>
  12958. </choice>
  12959. </define>
  12960. <define name="number-time-style-attlist">
  12961. <optional>
  12962. <attribute name="number:truncate-on-overflow">
  12963. <ref name="boolean"/>
  12964. </attribute>
  12965. </optional>
  12966. </define>
  12967. <define name="number-hours">
  12968. <element name="number:hours">
  12969. <ref name="number-hours-attlist"/>
  12970. <empty/>
  12971. </element>
  12972. </define>
  12973. <define name="number-hours-attlist">
  12974. <optional>
  12975. <attribute name="number:style">
  12976. <choice>
  12977. <value>short</value>
  12978. <value>long</value>
  12979. </choice>
  12980. </attribute>
  12981. </optional>
  12982. </define>
  12983. <define name="number-minutes">
  12984. <element name="number:minutes">
  12985. <ref name="number-minutes-attlist"/>
  12986. <empty/>
  12987. </element>
  12988. </define>
  12989. <define name="number-minutes-attlist">
  12990. <optional>
  12991. <attribute name="number:style">
  12992. <choice>
  12993. <value>short</value>
  12994. <value>long</value>
  12995. </choice>
  12996. </attribute>
  12997. </optional>
  12998. </define>
  12999. <define name="number-seconds">
  13000. <element name="number:seconds">
  13001. <ref name="number-seconds-attlist"/>
  13002. <empty/>
  13003. </element>
  13004. </define>
  13005. <define name="number-seconds-attlist">
  13006. <interleave>
  13007. <optional>
  13008. <attribute name="number:style">
  13009. <choice>
  13010. <value>short</value>
  13011. <value>long</value>
  13012. </choice>
  13013. </attribute>
  13014. </optional>
  13015. <optional>
  13016. <attribute name="number:decimal-places">
  13017. <ref name="integer"/>
  13018. </attribute>
  13019. </optional>
  13020. </interleave>
  13021. </define>
  13022. <define name="number-am-pm">
  13023. <element name="number:am-pm">
  13024. <empty/>
  13025. </element>
  13026. </define>
  13027. <define name="number-boolean-style">
  13028. <element name="number:boolean-style">
  13029. <ref name="common-data-style-attlist"/>
  13030. <optional>
  13031. <ref name="style-text-properties"/>
  13032. </optional>
  13033. <optional>
  13034. <ref name="number-text"/>
  13035. </optional>
  13036. <optional>
  13037. <ref name="number-boolean"/>
  13038. <optional>
  13039. <ref name="number-text"/>
  13040. </optional>
  13041. </optional>
  13042. <zeroOrMore>
  13043. <ref name="style-map"/>
  13044. </zeroOrMore>
  13045. </element>
  13046. </define>
  13047. <define name="number-boolean">
  13048. <element name="number:boolean">
  13049. <empty/>
  13050. </element>
  13051. </define>
  13052. <define name="number-text-style">
  13053. <element name="number:text-style">
  13054. <ref name="common-data-style-attlist"/>
  13055. <optional>
  13056. <ref name="style-text-properties"/>
  13057. </optional>
  13058. <optional>
  13059. <ref name="number-text"/>
  13060. </optional>
  13061. <zeroOrMore>
  13062. <ref name="number-text-content"/>
  13063. <optional>
  13064. <ref name="number-text"/>
  13065. </optional>
  13066. </zeroOrMore>
  13067. <zeroOrMore>
  13068. <ref name="style-map"/>
  13069. </zeroOrMore>
  13070. </element>
  13071. </define>
  13072. <define name="number-text">
  13073. <element name="number:text">
  13074. <text/>
  13075. </element>
  13076. </define>
  13077. <define name="number-text-content">
  13078. <element name="number:text-content">
  13079. <empty/>
  13080. </element>
  13081. </define>
  13082. <define name="common-data-style-attlist">
  13083. <interleave>
  13084. <attribute name="style:name">
  13085. <ref name="styleName"/>
  13086. </attribute>
  13087. <optional>
  13088. <attribute name="style:display-name">
  13089. <ref name="string"/>
  13090. </attribute>
  13091. </optional>
  13092. <optional>
  13093. <attribute name="number:language">
  13094. <ref name="languageCode"/>
  13095. </attribute>
  13096. </optional>
  13097. <optional>
  13098. <attribute name="number:country">
  13099. <ref name="countryCode"/>
  13100. </attribute>
  13101. </optional>
  13102. <optional>
  13103. <attribute name="number:script">
  13104. <ref name="scriptCode"/>
  13105. </attribute>
  13106. </optional>
  13107. <optional>
  13108. <attribute name="number:rfc-language-tag">
  13109. <ref name="language"/>
  13110. </attribute>
  13111. </optional>
  13112. <optional>
  13113. <attribute name="number:title">
  13114. <ref name="string"/>
  13115. </attribute>
  13116. </optional>
  13117. <optional>
  13118. <attribute name="style:volatile">
  13119. <ref name="boolean"/>
  13120. </attribute>
  13121. </optional>
  13122. <optional>
  13123. <attribute name="number:transliteration-format">
  13124. <ref name="string"/>
  13125. </attribute>
  13126. </optional>
  13127. <optional>
  13128. <attribute name="number:transliteration-language">
  13129. <ref name="countryCode"/>
  13130. </attribute>
  13131. </optional>
  13132. <optional>
  13133. <attribute name="number:transliteration-country">
  13134. <ref name="countryCode"/>
  13135. </attribute>
  13136. </optional>
  13137. <optional>
  13138. <attribute name="number:transliteration-style">
  13139. <choice>
  13140. <value>short</value>
  13141. <value>medium</value>
  13142. <value>long</value>
  13143. </choice>
  13144. </attribute>
  13145. </optional>
  13146. </interleave>
  13147. </define>
  13148. <define name="common-auto-reorder-attlist">
  13149. <optional>
  13150. <attribute name="number:automatic-order">
  13151. <ref name="boolean"/>
  13152. </attribute>
  13153. </optional>
  13154. </define>
  13155. <define name="common-format-source-attlist">
  13156. <optional>
  13157. <attribute name="number:format-source">
  13158. <choice>
  13159. <value>fixed</value>
  13160. <value>language</value>
  13161. </choice>
  13162. </attribute>
  13163. </optional>
  13164. </define>
  13165. <define name="common-decimal-places-attlist">
  13166. <optional>
  13167. <attribute name="number:decimal-places">
  13168. <ref name="integer"/>
  13169. </attribute>
  13170. </optional>
  13171. </define>
  13172. <define name="common-number-attlist">
  13173. <interleave>
  13174. <optional>
  13175. <attribute name="number:min-integer-digits">
  13176. <ref name="integer"/>
  13177. </attribute>
  13178. </optional>
  13179. <optional>
  13180. <attribute name="number:grouping">
  13181. <ref name="boolean"/>
  13182. </attribute>
  13183. </optional>
  13184. </interleave>
  13185. </define>
  13186. <define name="common-calendar-attlist">
  13187. <optional>
  13188. <attribute name="number:calendar">
  13189. <choice>
  13190. <value>gregorian</value>
  13191. <value>gengou</value>
  13192. <value>ROC</value>
  13193. <value>hanja_yoil</value>
  13194. <value>hanja</value>
  13195. <value>hijri</value>
  13196. <value>jewish</value>
  13197. <value>buddhist</value>
  13198. <ref name="string"/>
  13199. </choice>
  13200. </attribute>
  13201. </optional>
  13202. </define>
  13203. <define name="style-style-content">
  13204. <choice>
  13205. <group>
  13206. <attribute name="style:family">
  13207. <value>text</value>
  13208. </attribute>
  13209. <optional>
  13210. <ref name="style-text-properties"/>
  13211. </optional>
  13212. </group>
  13213. <group>
  13214. <attribute name="style:family">
  13215. <value>paragraph</value>
  13216. </attribute>
  13217. <optional>
  13218. <ref name="style-paragraph-properties"/>
  13219. </optional>
  13220. <optional>
  13221. <ref name="style-text-properties"/>
  13222. </optional>
  13223. </group>
  13224. <group>
  13225. <attribute name="style:family">
  13226. <value>section</value>
  13227. </attribute>
  13228. <optional>
  13229. <ref name="style-section-properties"/>
  13230. </optional>
  13231. </group>
  13232. <group>
  13233. <attribute name="style:family">
  13234. <value>ruby</value>
  13235. </attribute>
  13236. <optional>
  13237. <ref name="style-ruby-properties"/>
  13238. </optional>
  13239. </group>
  13240. <group>
  13241. <attribute name="style:family">
  13242. <value>table</value>
  13243. </attribute>
  13244. <optional>
  13245. <ref name="style-table-properties"/>
  13246. </optional>
  13247. </group>
  13248. <group>
  13249. <attribute name="style:family">
  13250. <value>table-column</value>
  13251. </attribute>
  13252. <optional>
  13253. <ref name="style-table-column-properties"/>
  13254. </optional>
  13255. </group>
  13256. <group>
  13257. <attribute name="style:family">
  13258. <value>table-row</value>
  13259. </attribute>
  13260. <optional>
  13261. <ref name="style-table-row-properties"/>
  13262. </optional>
  13263. </group>
  13264. <group>
  13265. <attribute name="style:family">
  13266. <value>table-cell</value>
  13267. </attribute>
  13268. <optional>
  13269. <ref name="style-table-cell-properties"/>
  13270. </optional>
  13271. <optional>
  13272. <ref name="style-paragraph-properties"/>
  13273. </optional>
  13274. <optional>
  13275. <ref name="style-text-properties"/>
  13276. </optional>
  13277. </group>
  13278. <group>
  13279. <attribute name="style:family">
  13280. <choice>
  13281. <value>graphic</value>
  13282. <value>presentation</value>
  13283. </choice>
  13284. </attribute>
  13285. <optional>
  13286. <ref name="style-graphic-properties"/>
  13287. </optional>
  13288. <optional>
  13289. <ref name="style-paragraph-properties"/>
  13290. </optional>
  13291. <optional>
  13292. <ref name="style-text-properties"/>
  13293. </optional>
  13294. </group>
  13295. <group>
  13296. <attribute name="style:family">
  13297. <value>drawing-page</value>
  13298. </attribute>
  13299. <optional>
  13300. <ref name="style-drawing-page-properties"/>
  13301. </optional>
  13302. </group>
  13303. <group>
  13304. <attribute name="style:family">
  13305. <value>chart</value>
  13306. </attribute>
  13307. <optional>
  13308. <ref name="style-chart-properties"/>
  13309. </optional>
  13310. <optional>
  13311. <ref name="style-graphic-properties"/>
  13312. </optional>
  13313. <optional>
  13314. <ref name="style-paragraph-properties"/>
  13315. </optional>
  13316. <optional>
  13317. <ref name="style-text-properties"/>
  13318. </optional>
  13319. </group>
  13320. </choice>
  13321. </define>
  13322. <define name="text-linenumbering-configuration">
  13323. <element name="text:linenumbering-configuration">
  13324. <ref name="text-linenumbering-configuration-attlist"/>
  13325. <optional>
  13326. <ref name="text-linenumbering-separator"/>
  13327. </optional>
  13328. </element>
  13329. </define>
  13330. <define name="text-linenumbering-configuration-attlist">
  13331. <interleave>
  13332. <optional>
  13333. <attribute name="text:number-lines">
  13334. <ref name="boolean"/>
  13335. </attribute>
  13336. </optional>
  13337. <optional>
  13338. <ref name="common-num-format-attlist"/>
  13339. </optional>
  13340. <optional>
  13341. <attribute name="text:style-name">
  13342. <ref name="styleNameRef"/>
  13343. </attribute>
  13344. </optional>
  13345. <optional>
  13346. <attribute name="text:increment">
  13347. <ref name="nonNegativeInteger"/>
  13348. </attribute>
  13349. </optional>
  13350. <optional>
  13351. <attribute name="text:number-position">
  13352. <choice>
  13353. <value>left</value>
  13354. <value>right</value>
  13355. <value>inner</value>
  13356. <value>outer</value>
  13357. </choice>
  13358. </attribute>
  13359. </optional>
  13360. <optional>
  13361. <attribute name="text:offset">
  13362. <ref name="nonNegativeLength"/>
  13363. </attribute>
  13364. </optional>
  13365. <optional>
  13366. <attribute name="text:count-empty-lines">
  13367. <ref name="boolean"/>
  13368. </attribute>
  13369. </optional>
  13370. <optional>
  13371. <attribute name="text:count-in-text-boxes">
  13372. <ref name="boolean"/>
  13373. </attribute>
  13374. </optional>
  13375. <optional>
  13376. <attribute name="text:restart-on-page">
  13377. <ref name="boolean"/>
  13378. </attribute>
  13379. </optional>
  13380. </interleave>
  13381. </define>
  13382. <define name="text-linenumbering-separator">
  13383. <element name="text:linenumbering-separator">
  13384. <optional>
  13385. <attribute name="text:increment">
  13386. <ref name="nonNegativeInteger"/>
  13387. </attribute>
  13388. </optional>
  13389. <text/>
  13390. </element>
  13391. </define>
  13392. <define name="text-notes-configuration">
  13393. <element name="text:notes-configuration">
  13394. <ref name="text-notes-configuration-content"/>
  13395. </element>
  13396. </define>
  13397. <define name="text-notes-configuration-content">
  13398. <interleave>
  13399. <ref name="text-note-class"/>
  13400. <optional>
  13401. <attribute name="text:citation-style-name">
  13402. <ref name="styleNameRef"/>
  13403. </attribute>
  13404. </optional>
  13405. <optional>
  13406. <attribute name="text:citation-body-style-name">
  13407. <ref name="styleNameRef"/>
  13408. </attribute>
  13409. </optional>
  13410. <optional>
  13411. <attribute name="text:default-style-name">
  13412. <ref name="styleNameRef"/>
  13413. </attribute>
  13414. </optional>
  13415. <optional>
  13416. <attribute name="text:master-page-name">
  13417. <ref name="styleNameRef"/>
  13418. </attribute>
  13419. </optional>
  13420. <optional>
  13421. <attribute name="text:start-value">
  13422. <ref name="nonNegativeInteger"/>
  13423. </attribute>
  13424. </optional>
  13425. <ref name="common-num-format-prefix-suffix-attlist"/>
  13426. <optional>
  13427. <ref name="common-num-format-attlist"/>
  13428. </optional>
  13429. <optional>
  13430. <attribute name="text:start-numbering-at">
  13431. <choice>
  13432. <value>document</value>
  13433. <value>chapter</value>
  13434. <value>page</value>
  13435. </choice>
  13436. </attribute>
  13437. </optional>
  13438. <optional>
  13439. <attribute name="text:footnotes-position">
  13440. <choice>
  13441. <value>text</value>
  13442. <value>page</value>
  13443. <value>section</value>
  13444. <value>document</value>
  13445. </choice>
  13446. </attribute>
  13447. </optional>
  13448. <optional>
  13449. <element name="text:note-continuation-notice-forward">
  13450. <text/>
  13451. </element>
  13452. </optional>
  13453. <optional>
  13454. <element name="text:note-continuation-notice-backward">
  13455. <text/>
  13456. </element>
  13457. </optional>
  13458. </interleave>
  13459. </define>
  13460. <define name="text-bibliography-configuration">
  13461. <element name="text:bibliography-configuration">
  13462. <ref name="text-bibliography-configuration-attlist"/>
  13463. <zeroOrMore>
  13464. <ref name="text-sort-key"/>
  13465. </zeroOrMore>
  13466. </element>
  13467. </define>
  13468. <define name="text-bibliography-configuration-attlist">
  13469. <interleave>
  13470. <optional>
  13471. <attribute name="text:prefix">
  13472. <ref name="string"/>
  13473. </attribute>
  13474. </optional>
  13475. <optional>
  13476. <attribute name="text:suffix">
  13477. <ref name="string"/>
  13478. </attribute>
  13479. </optional>
  13480. <optional>
  13481. <attribute name="text:numbered-entries">
  13482. <ref name="boolean"/>
  13483. </attribute>
  13484. </optional>
  13485. <optional>
  13486. <attribute name="text:sort-by-position">
  13487. <ref name="boolean"/>
  13488. </attribute>
  13489. </optional>
  13490. <optional>
  13491. <attribute name="fo:language">
  13492. <ref name="languageCode"/>
  13493. </attribute>
  13494. </optional>
  13495. <optional>
  13496. <attribute name="fo:country">
  13497. <ref name="countryCode"/>
  13498. </attribute>
  13499. </optional>
  13500. <optional>
  13501. <attribute name="fo:script">
  13502. <ref name="scriptCode"/>
  13503. </attribute>
  13504. </optional>
  13505. <optional>
  13506. <attribute name="style:rfc-language-tag">
  13507. <ref name="language"/>
  13508. </attribute>
  13509. </optional>
  13510. <optional>
  13511. <attribute name="text:sort-algorithm">
  13512. <ref name="string"/>
  13513. </attribute>
  13514. </optional>
  13515. </interleave>
  13516. </define>
  13517. <define name="text-sort-key">
  13518. <element name="text:sort-key">
  13519. <ref name="text-sort-key-attlist"/>
  13520. <empty/>
  13521. </element>
  13522. </define>
  13523. <define name="text-sort-key-attlist">
  13524. <attribute name="text:key">
  13525. <choice>
  13526. <value>address</value>
  13527. <value>annote</value>
  13528. <value>author</value>
  13529. <value>bibliography-type</value>
  13530. <value>booktitle</value>
  13531. <value>chapter</value>
  13532. <value>custom1</value>
  13533. <value>custom2</value>
  13534. <value>custom3</value>
  13535. <value>custom4</value>
  13536. <value>custom5</value>
  13537. <value>edition</value>
  13538. <value>editor</value>
  13539. <value>howpublished</value>
  13540. <value>identifier</value>
  13541. <value>institution</value>
  13542. <value>isbn</value>
  13543. <value>issn</value>
  13544. <value>journal</value>
  13545. <value>month</value>
  13546. <value>note</value>
  13547. <value>number</value>
  13548. <value>organizations</value>
  13549. <value>pages</value>
  13550. <value>publisher</value>
  13551. <value>report-type</value>
  13552. <value>school</value>
  13553. <value>series</value>
  13554. <value>title</value>
  13555. <value>url</value>
  13556. <value>volume</value>
  13557. <value>year</value>
  13558. </choice>
  13559. </attribute>
  13560. <optional>
  13561. <attribute name="text:sort-ascending">
  13562. <ref name="boolean"/>
  13563. </attribute>
  13564. </optional>
  13565. </define>
  13566. <define name="text-list-style">
  13567. <element name="text:list-style">
  13568. <ref name="text-list-style-attr"/>
  13569. <zeroOrMore>
  13570. <ref name="text-list-style-content"/>
  13571. </zeroOrMore>
  13572. </element>
  13573. </define>
  13574. <define name="text-list-style-attr">
  13575. <interleave>
  13576. <attribute name="style:name">
  13577. <ref name="styleName"/>
  13578. </attribute>
  13579. <optional>
  13580. <attribute name="style:display-name">
  13581. <ref name="string"/>
  13582. </attribute>
  13583. </optional>
  13584. <optional>
  13585. <attribute name="text:consecutive-numbering">
  13586. <ref name="boolean"/>
  13587. </attribute>
  13588. </optional>
  13589. </interleave>
  13590. </define>
  13591. <define name="text-list-style-content">
  13592. <choice>
  13593. <element name="text:list-level-style-number">
  13594. <ref name="text-list-level-style-attr"/>
  13595. <ref name="text-list-level-style-number-attr"/>
  13596. <optional>
  13597. <ref name="style-list-level-properties"/>
  13598. </optional>
  13599. <optional>
  13600. <ref name="style-text-properties"/>
  13601. </optional>
  13602. </element>
  13603. <element name="text:list-level-style-bullet">
  13604. <ref name="text-list-level-style-attr"/>
  13605. <ref name="text-list-level-style-bullet-attr"/>
  13606. <optional>
  13607. <ref name="style-list-level-properties"/>
  13608. </optional>
  13609. <optional>
  13610. <ref name="style-text-properties"/>
  13611. </optional>
  13612. </element>
  13613. <element name="text:list-level-style-image">
  13614. <ref name="text-list-level-style-attr"/>
  13615. <ref name="text-list-level-style-image-attr"/>
  13616. <optional>
  13617. <ref name="style-list-level-properties"/>
  13618. </optional>
  13619. </element>
  13620. </choice>
  13621. </define>
  13622. <define name="text-list-level-style-number-attr">
  13623. <interleave>
  13624. <optional>
  13625. <attribute name="text:style-name">
  13626. <ref name="styleNameRef"/>
  13627. </attribute>
  13628. </optional>
  13629. <ref name="common-num-format-attlist"/>
  13630. <ref name="common-num-format-prefix-suffix-attlist"/>
  13631. <optional>
  13632. <attribute name="text:display-levels">
  13633. <ref name="positiveInteger"/>
  13634. </attribute>
  13635. </optional>
  13636. <optional>
  13637. <attribute name="text:start-value">
  13638. <ref name="positiveInteger"/>
  13639. </attribute>
  13640. </optional>
  13641. </interleave>
  13642. </define>
  13643. <define name="text-list-level-style-bullet-attr">
  13644. <interleave>
  13645. <optional>
  13646. <attribute name="text:style-name">
  13647. <ref name="styleNameRef"/>
  13648. </attribute>
  13649. </optional>
  13650. <attribute name="text:bullet-char">
  13651. <ref name="character"/>
  13652. </attribute>
  13653. <ref name="common-num-format-prefix-suffix-attlist"/>
  13654. <optional>
  13655. <attribute name="text:bullet-relative-size">
  13656. <ref name="percent"/>
  13657. </attribute>
  13658. </optional>
  13659. </interleave>
  13660. </define>
  13661. <define name="text-list-level-style-image-attr">
  13662. <choice>
  13663. <ref name="common-draw-data-attlist"/>
  13664. <ref name="office-binary-data"/>
  13665. </choice>
  13666. </define>
  13667. <define name="text-list-level-style-attr">
  13668. <attribute name="text:level">
  13669. <ref name="positiveInteger"/>
  13670. </attribute>
  13671. </define>
  13672. <define name="text-outline-style">
  13673. <element name="text:outline-style">
  13674. <ref name="text-outline-style-attr"/>
  13675. <oneOrMore>
  13676. <ref name="text-outline-level-style"/>
  13677. </oneOrMore>
  13678. </element>
  13679. </define>
  13680. <define name="text-outline-style-attr">
  13681. <attribute name="style:name">
  13682. <ref name="styleName"/>
  13683. </attribute>
  13684. </define>
  13685. <define name="text-outline-level-style">
  13686. <element name="text:outline-level-style">
  13687. <ref name="text-outline-level-style-attlist"/>
  13688. <optional>
  13689. <ref name="style-list-level-properties"/>
  13690. </optional>
  13691. <optional>
  13692. <ref name="style-text-properties"/>
  13693. </optional>
  13694. </element>
  13695. </define>
  13696. <define name="text-outline-level-style-attlist">
  13697. <interleave>
  13698. <attribute name="text:level">
  13699. <ref name="positiveInteger"/>
  13700. </attribute>
  13701. <optional>
  13702. <attribute name="text:style-name">
  13703. <ref name="styleNameRef"/>
  13704. </attribute>
  13705. </optional>
  13706. <ref name="common-num-format-attlist"/>
  13707. <ref name="common-num-format-prefix-suffix-attlist"/>
  13708. <optional>
  13709. <attribute name="text:display-levels">
  13710. <ref name="positiveInteger"/>
  13711. </attribute>
  13712. </optional>
  13713. <optional>
  13714. <attribute name="text:start-value">
  13715. <ref name="positiveInteger"/>
  13716. </attribute>
  13717. </optional>
  13718. </interleave>
  13719. </define>
  13720. <define name="style-graphic-properties">
  13721. <element name="style:graphic-properties">
  13722. <ref name="style-graphic-properties-content-strict"/>
  13723. </element>
  13724. </define>
  13725. <define name="style-graphic-properties-content-strict">
  13726. <ref name="style-graphic-properties-attlist"/>
  13727. <ref name="style-graphic-fill-properties-attlist"/>
  13728. <ref name="style-graphic-properties-elements"/>
  13729. </define>
  13730. <define name="style-drawing-page-properties">
  13731. <element name="style:drawing-page-properties">
  13732. <ref name="style-drawing-page-properties-content-strict"/>
  13733. </element>
  13734. </define>
  13735. <define name="style-drawing-page-properties-content-strict">
  13736. <ref name="style-graphic-fill-properties-attlist"/>
  13737. <ref name="style-drawing-page-properties-attlist"/>
  13738. <ref name="style-drawing-page-properties-elements"/>
  13739. </define>
  13740. <define name="draw-gradient">
  13741. <element name="draw:gradient">
  13742. <ref name="common-draw-gradient-attlist"/>
  13743. <ref name="draw-gradient-attlist"/>
  13744. <empty/>
  13745. </element>
  13746. </define>
  13747. <define name="common-draw-gradient-attlist">
  13748. <interleave>
  13749. <optional>
  13750. <attribute name="draw:name">
  13751. <ref name="styleName"/>
  13752. </attribute>
  13753. </optional>
  13754. <optional>
  13755. <attribute name="draw:display-name">
  13756. <ref name="string"/>
  13757. </attribute>
  13758. </optional>
  13759. <attribute name="draw:style">
  13760. <ref name="gradient-style"/>
  13761. </attribute>
  13762. <optional>
  13763. <attribute name="draw:cx">
  13764. <ref name="percent"/>
  13765. </attribute>
  13766. </optional>
  13767. <optional>
  13768. <attribute name="draw:cy">
  13769. <ref name="percent"/>
  13770. </attribute>
  13771. </optional>
  13772. <optional>
  13773. <attribute name="draw:angle">
  13774. <ref name="angle"/>
  13775. </attribute>
  13776. </optional>
  13777. <optional>
  13778. <attribute name="draw:border">
  13779. <ref name="percent"/>
  13780. </attribute>
  13781. </optional>
  13782. </interleave>
  13783. </define>
  13784. <define name="gradient-style">
  13785. <choice>
  13786. <value>linear</value>
  13787. <value>axial</value>
  13788. <value>radial</value>
  13789. <value>ellipsoid</value>
  13790. <value>square</value>
  13791. <value>rectangular</value>
  13792. </choice>
  13793. </define>
  13794. <define name="draw-gradient-attlist">
  13795. <interleave>
  13796. <optional>
  13797. <attribute name="draw:start-color">
  13798. <ref name="color"/>
  13799. </attribute>
  13800. </optional>
  13801. <optional>
  13802. <attribute name="draw:end-color">
  13803. <ref name="color"/>
  13804. </attribute>
  13805. </optional>
  13806. <optional>
  13807. <attribute name="draw:start-intensity">
  13808. <ref name="zeroToHundredPercent"/>
  13809. </attribute>
  13810. </optional>
  13811. <optional>
  13812. <attribute name="draw:end-intensity">
  13813. <ref name="zeroToHundredPercent"/>
  13814. </attribute>
  13815. </optional>
  13816. </interleave>
  13817. </define>
  13818. <define name="svg-linearGradient">
  13819. <element name="svg:linearGradient">
  13820. <ref name="common-svg-gradient-attlist"/>
  13821. <optional>
  13822. <attribute name="svg:x1">
  13823. <choice>
  13824. <ref name="coordinate"/>
  13825. <ref name="percent"/>
  13826. </choice>
  13827. </attribute>
  13828. </optional>
  13829. <optional>
  13830. <attribute name="svg:y1">
  13831. <choice>
  13832. <ref name="coordinate"/>
  13833. <ref name="percent"/>
  13834. </choice>
  13835. </attribute>
  13836. </optional>
  13837. <optional>
  13838. <attribute name="svg:x2">
  13839. <choice>
  13840. <ref name="coordinate"/>
  13841. <ref name="percent"/>
  13842. </choice>
  13843. </attribute>
  13844. </optional>
  13845. <optional>
  13846. <attribute name="svg:y2">
  13847. <choice>
  13848. <ref name="coordinate"/>
  13849. <ref name="percent"/>
  13850. </choice>
  13851. </attribute>
  13852. </optional>
  13853. <zeroOrMore>
  13854. <ref name="svg-stop"/>
  13855. </zeroOrMore>
  13856. </element>
  13857. </define>
  13858. <define name="svg-radialGradient">
  13859. <element name="svg:radialGradient">
  13860. <ref name="common-svg-gradient-attlist"/>
  13861. <optional>
  13862. <attribute name="svg:cx">
  13863. <choice>
  13864. <ref name="coordinate"/>
  13865. <ref name="percent"/>
  13866. </choice>
  13867. </attribute>
  13868. </optional>
  13869. <optional>
  13870. <attribute name="svg:cy">
  13871. <choice>
  13872. <ref name="coordinate"/>
  13873. <ref name="percent"/>
  13874. </choice>
  13875. </attribute>
  13876. </optional>
  13877. <optional>
  13878. <attribute name="svg:r">
  13879. <choice>
  13880. <ref name="coordinate"/>
  13881. <ref name="percent"/>
  13882. </choice>
  13883. </attribute>
  13884. </optional>
  13885. <optional>
  13886. <attribute name="svg:fx">
  13887. <choice>
  13888. <ref name="coordinate"/>
  13889. <ref name="percent"/>
  13890. </choice>
  13891. </attribute>
  13892. </optional>
  13893. <optional>
  13894. <attribute name="svg:fy">
  13895. <choice>
  13896. <ref name="coordinate"/>
  13897. <ref name="percent"/>
  13898. </choice>
  13899. </attribute>
  13900. </optional>
  13901. <zeroOrMore>
  13902. <ref name="svg-stop"/>
  13903. </zeroOrMore>
  13904. </element>
  13905. </define>
  13906. <define name="svg-stop">
  13907. <element name="svg:stop">
  13908. <attribute name="svg:offset">
  13909. <choice>
  13910. <ref name="double"/>
  13911. <ref name="percent"/>
  13912. </choice>
  13913. </attribute>
  13914. <optional>
  13915. <attribute name="svg:stop-color">
  13916. <ref name="color"/>
  13917. </attribute>
  13918. </optional>
  13919. <optional>
  13920. <attribute name="svg:stop-opacity">
  13921. <ref name="double"/>
  13922. </attribute>
  13923. </optional>
  13924. </element>
  13925. </define>
  13926. <define name="common-svg-gradient-attlist">
  13927. <interleave>
  13928. <optional>
  13929. <attribute name="svg:gradientUnits">
  13930. <value>objectBoundingBox</value>
  13931. </attribute>
  13932. </optional>
  13933. <optional>
  13934. <attribute name="svg:gradientTransform">
  13935. <ref name="string"/>
  13936. </attribute>
  13937. </optional>
  13938. <optional>
  13939. <attribute name="svg:spreadMethod">
  13940. <choice>
  13941. <value>pad</value>
  13942. <value>reflect</value>
  13943. <value>repeat</value>
  13944. </choice>
  13945. </attribute>
  13946. </optional>
  13947. <attribute name="draw:name">
  13948. <ref name="styleName"/>
  13949. </attribute>
  13950. <optional>
  13951. <attribute name="draw:display-name">
  13952. <ref name="string"/>
  13953. </attribute>
  13954. </optional>
  13955. </interleave>
  13956. </define>
  13957. <define name="draw-hatch">
  13958. <element name="draw:hatch">
  13959. <ref name="draw-hatch-attlist"/>
  13960. <empty/>
  13961. </element>
  13962. </define>
  13963. <define name="draw-hatch-attlist">
  13964. <interleave>
  13965. <attribute name="draw:name">
  13966. <ref name="styleName"/>
  13967. </attribute>
  13968. <optional>
  13969. <attribute name="draw:display-name">
  13970. <ref name="string"/>
  13971. </attribute>
  13972. </optional>
  13973. <attribute name="draw:style">
  13974. <choice>
  13975. <value>single</value>
  13976. <value>double</value>
  13977. <value>triple</value>
  13978. </choice>
  13979. </attribute>
  13980. <optional>
  13981. <attribute name="draw:color">
  13982. <ref name="color"/>
  13983. </attribute>
  13984. </optional>
  13985. <optional>
  13986. <attribute name="draw:distance">
  13987. <ref name="length"/>
  13988. </attribute>
  13989. </optional>
  13990. <optional>
  13991. <attribute name="draw:rotation">
  13992. <ref name="angle"/>
  13993. </attribute>
  13994. </optional>
  13995. </interleave>
  13996. </define>
  13997. <define name="draw-fill-image">
  13998. <element name="draw:fill-image">
  13999. <ref name="draw-fill-image-attlist"/>
  14000. <attribute name="xlink:type">
  14001. <value>simple</value>
  14002. </attribute>
  14003. <attribute name="xlink:href">
  14004. <ref name="anyIRI"/>
  14005. </attribute>
  14006. <optional>
  14007. <attribute name="xlink:show">
  14008. <value>embed</value>
  14009. </attribute>
  14010. </optional>
  14011. <optional>
  14012. <attribute name="xlink:actuate">
  14013. <value>onLoad</value>
  14014. </attribute>
  14015. </optional>
  14016. <empty/>
  14017. </element>
  14018. </define>
  14019. <define name="draw-fill-image-attlist">
  14020. <interleave>
  14021. <attribute name="draw:name">
  14022. <ref name="styleName"/>
  14023. </attribute>
  14024. <optional>
  14025. <attribute name="draw:display-name">
  14026. <ref name="string"/>
  14027. </attribute>
  14028. </optional>
  14029. <optional>
  14030. <attribute name="svg:width">
  14031. <ref name="length"/>
  14032. </attribute>
  14033. </optional>
  14034. <optional>
  14035. <attribute name="svg:height">
  14036. <ref name="length"/>
  14037. </attribute>
  14038. </optional>
  14039. </interleave>
  14040. </define>
  14041. <define name="draw-opacity">
  14042. <element name="draw:opacity">
  14043. <ref name="common-draw-gradient-attlist"/>
  14044. <ref name="draw-opacity-attlist"/>
  14045. <empty/>
  14046. </element>
  14047. </define>
  14048. <define name="draw-opacity-attlist">
  14049. <optional>
  14050. <attribute name="draw:start">
  14051. <ref name="zeroToHundredPercent"/>
  14052. </attribute>
  14053. </optional>
  14054. <optional>
  14055. <attribute name="draw:end">
  14056. <ref name="zeroToHundredPercent"/>
  14057. </attribute>
  14058. </optional>
  14059. </define>
  14060. <define name="draw-marker">
  14061. <element name="draw:marker">
  14062. <ref name="draw-marker-attlist"/>
  14063. <ref name="common-draw-viewbox-attlist"/>
  14064. <ref name="common-draw-path-data-attlist"/>
  14065. <empty/>
  14066. </element>
  14067. </define>
  14068. <define name="draw-marker-attlist">
  14069. <interleave>
  14070. <attribute name="draw:name">
  14071. <ref name="styleName"/>
  14072. </attribute>
  14073. <optional>
  14074. <attribute name="draw:display-name">
  14075. <ref name="string"/>
  14076. </attribute>
  14077. </optional>
  14078. </interleave>
  14079. </define>
  14080. <define name="draw-stroke-dash">
  14081. <element name="draw:stroke-dash">
  14082. <ref name="draw-stroke-dash-attlist"/>
  14083. <empty/>
  14084. </element>
  14085. </define>
  14086. <define name="draw-stroke-dash-attlist">
  14087. <interleave>
  14088. <attribute name="draw:name">
  14089. <ref name="styleName"/>
  14090. </attribute>
  14091. <optional>
  14092. <attribute name="draw:display-name">
  14093. <ref name="string"/>
  14094. </attribute>
  14095. </optional>
  14096. <optional>
  14097. <attribute name="draw:style">
  14098. <choice>
  14099. <value>rect</value>
  14100. <value>round</value>
  14101. </choice>
  14102. </attribute>
  14103. </optional>
  14104. <optional>
  14105. <attribute name="draw:dots1">
  14106. <ref name="integer"/>
  14107. </attribute>
  14108. </optional>
  14109. <optional>
  14110. <attribute name="draw:dots1-length">
  14111. <choice>
  14112. <ref name="length"/>
  14113. <ref name="percent"/>
  14114. </choice>
  14115. </attribute>
  14116. </optional>
  14117. <optional>
  14118. <attribute name="draw:dots2">
  14119. <ref name="integer"/>
  14120. </attribute>
  14121. </optional>
  14122. <optional>
  14123. <attribute name="draw:dots2-length">
  14124. <choice>
  14125. <ref name="length"/>
  14126. <ref name="percent"/>
  14127. </choice>
  14128. </attribute>
  14129. </optional>
  14130. <optional>
  14131. <attribute name="draw:distance">
  14132. <choice>
  14133. <ref name="length"/>
  14134. <ref name="percent"/>
  14135. </choice>
  14136. </attribute>
  14137. </optional>
  14138. </interleave>
  14139. </define>
  14140. <define name="style-presentation-page-layout">
  14141. <element name="style:presentation-page-layout">
  14142. <attribute name="style:name">
  14143. <ref name="styleName"/>
  14144. </attribute>
  14145. <optional>
  14146. <attribute name="style:display-name">
  14147. <ref name="string"/>
  14148. </attribute>
  14149. </optional>
  14150. <zeroOrMore>
  14151. <ref name="presentation-placeholder"/>
  14152. </zeroOrMore>
  14153. </element>
  14154. </define>
  14155. <define name="presentation-placeholder">
  14156. <element name="presentation:placeholder">
  14157. <attribute name="presentation:object">
  14158. <ref name="presentation-classes"/>
  14159. </attribute>
  14160. <attribute name="svg:x">
  14161. <choice>
  14162. <ref name="coordinate"/>
  14163. <ref name="percent"/>
  14164. </choice>
  14165. </attribute>
  14166. <attribute name="svg:y">
  14167. <choice>
  14168. <ref name="coordinate"/>
  14169. <ref name="percent"/>
  14170. </choice>
  14171. </attribute>
  14172. <attribute name="svg:width">
  14173. <choice>
  14174. <ref name="length"/>
  14175. <ref name="percent"/>
  14176. </choice>
  14177. </attribute>
  14178. <attribute name="svg:height">
  14179. <choice>
  14180. <ref name="length"/>
  14181. <ref name="percent"/>
  14182. </choice>
  14183. </attribute>
  14184. <empty/>
  14185. </element>
  14186. </define>
  14187. <define name="style-page-layout-properties">
  14188. <element name="style:page-layout-properties">
  14189. <ref name="style-page-layout-properties-content-strict"/>
  14190. </element>
  14191. </define>
  14192. <define name="style-page-layout-properties-content-strict">
  14193. <ref name="style-page-layout-properties-attlist"/>
  14194. <ref name="style-page-layout-properties-elements"/>
  14195. </define>
  14196. <define name="style-page-layout-properties-attlist">
  14197. <interleave>
  14198. <optional>
  14199. <attribute name="fo:page-width">
  14200. <ref name="length"/>
  14201. </attribute>
  14202. </optional>
  14203. <optional>
  14204. <attribute name="fo:page-height">
  14205. <ref name="length"/>
  14206. </attribute>
  14207. </optional>
  14208. <optional>
  14209. <ref name="common-num-format-attlist"/>
  14210. </optional>
  14211. <ref name="common-num-format-prefix-suffix-attlist"/>
  14212. <optional>
  14213. <attribute name="style:paper-tray-name">
  14214. <choice>
  14215. <value>default</value>
  14216. <ref name="string"/>
  14217. </choice>
  14218. </attribute>
  14219. </optional>
  14220. <optional>
  14221. <attribute name="style:print-orientation">
  14222. <choice>
  14223. <value>portrait</value>
  14224. <value>landscape</value>
  14225. </choice>
  14226. </attribute>
  14227. </optional>
  14228. <ref name="common-horizontal-margin-attlist"/>
  14229. <ref name="common-vertical-margin-attlist"/>
  14230. <ref name="common-margin-attlist"/>
  14231. <ref name="common-border-attlist"/>
  14232. <ref name="common-border-line-width-attlist"/>
  14233. <ref name="common-padding-attlist"/>
  14234. <ref name="common-shadow-attlist"/>
  14235. <ref name="common-background-color-attlist"/>
  14236. <optional>
  14237. <attribute name="style:register-truth-ref-style-name">
  14238. <ref name="styleNameRef"/>
  14239. </attribute>
  14240. </optional>
  14241. <optional>
  14242. <attribute name="style:print">
  14243. <list>
  14244. <zeroOrMore>
  14245. <choice>
  14246. <value>headers</value>
  14247. <value>grid</value>
  14248. <value>annotations</value>
  14249. <value>objects</value>
  14250. <value>charts</value>
  14251. <value>drawings</value>
  14252. <value>formulas</value>
  14253. <value>zero-values</value>
  14254. </choice>
  14255. </zeroOrMore>
  14256. </list>
  14257. </attribute>
  14258. </optional>
  14259. <optional>
  14260. <attribute name="style:print-page-order">
  14261. <choice>
  14262. <value>ttb</value>
  14263. <value>ltr</value>
  14264. </choice>
  14265. </attribute>
  14266. </optional>
  14267. <optional>
  14268. <attribute name="style:first-page-number">
  14269. <choice>
  14270. <ref name="positiveInteger"/>
  14271. <value>continue</value>
  14272. </choice>
  14273. </attribute>
  14274. </optional>
  14275. <optional>
  14276. <attribute name="style:scale-to">
  14277. <ref name="percent"/>
  14278. </attribute>
  14279. </optional>
  14280. <optional>
  14281. <attribute name="style:scale-to-pages">
  14282. <ref name="positiveInteger"/>
  14283. </attribute>
  14284. </optional>
  14285. <optional>
  14286. <attribute name="style:table-centering">
  14287. <choice>
  14288. <value>horizontal</value>
  14289. <value>vertical</value>
  14290. <value>both</value>
  14291. <value>none</value>
  14292. </choice>
  14293. </attribute>
  14294. </optional>
  14295. <optional>
  14296. <attribute name="style:footnote-max-height">
  14297. <ref name="length"/>
  14298. </attribute>
  14299. </optional>
  14300. <ref name="common-writing-mode-attlist"/>
  14301. <optional>
  14302. <attribute name="style:layout-grid-mode">
  14303. <choice>
  14304. <value>none</value>
  14305. <value>line</value>
  14306. <value>both</value>
  14307. </choice>
  14308. </attribute>
  14309. </optional>
  14310. <optional>
  14311. <attribute name="style:layout-grid-standard-mode">
  14312. <ref name="boolean"/>
  14313. </attribute>
  14314. </optional>
  14315. <optional>
  14316. <attribute name="style:layout-grid-base-height">
  14317. <ref name="length"/>
  14318. </attribute>
  14319. </optional>
  14320. <optional>
  14321. <attribute name="style:layout-grid-ruby-height">
  14322. <ref name="length"/>
  14323. </attribute>
  14324. </optional>
  14325. <optional>
  14326. <attribute name="style:layout-grid-lines">
  14327. <ref name="positiveInteger"/>
  14328. </attribute>
  14329. </optional>
  14330. <optional>
  14331. <attribute name="style:layout-grid-base-width">
  14332. <ref name="length"/>
  14333. </attribute>
  14334. </optional>
  14335. <optional>
  14336. <attribute name="style:layout-grid-color">
  14337. <ref name="color"/>
  14338. </attribute>
  14339. </optional>
  14340. <optional>
  14341. <attribute name="style:layout-grid-ruby-below">
  14342. <ref name="boolean"/>
  14343. </attribute>
  14344. </optional>
  14345. <optional>
  14346. <attribute name="style:layout-grid-print">
  14347. <ref name="boolean"/>
  14348. </attribute>
  14349. </optional>
  14350. <optional>
  14351. <attribute name="style:layout-grid-display">
  14352. <ref name="boolean"/>
  14353. </attribute>
  14354. </optional>
  14355. <optional>
  14356. <attribute name="style:layout-grid-snap-to">
  14357. <ref name="boolean"/>
  14358. </attribute>
  14359. </optional>
  14360. </interleave>
  14361. </define>
  14362. <define name="style-page-layout-properties-elements">
  14363. <interleave>
  14364. <ref name="style-background-image"/>
  14365. <ref name="style-columns"/>
  14366. <ref name="style-footnote-sep"/>
  14367. </interleave>
  14368. </define>
  14369. <define name="style-footnote-sep">
  14370. <optional>
  14371. <element name="style:footnote-sep">
  14372. <ref name="style-footnote-sep-attlist"/>
  14373. <empty/>
  14374. </element>
  14375. </optional>
  14376. </define>
  14377. <define name="style-footnote-sep-attlist">
  14378. <optional>
  14379. <attribute name="style:width">
  14380. <ref name="length"/>
  14381. </attribute>
  14382. </optional>
  14383. <optional>
  14384. <attribute name="style:rel-width">
  14385. <ref name="percent"/>
  14386. </attribute>
  14387. </optional>
  14388. <optional>
  14389. <attribute name="style:color">
  14390. <ref name="color"/>
  14391. </attribute>
  14392. </optional>
  14393. <optional>
  14394. <attribute name="style:line-style">
  14395. <ref name="lineStyle"/>
  14396. </attribute>
  14397. </optional>
  14398. <optional>
  14399. <attribute name="style:adjustment">
  14400. <choice>
  14401. <value>left</value>
  14402. <value>center</value>
  14403. <value>right</value>
  14404. </choice>
  14405. </attribute>
  14406. </optional>
  14407. <optional>
  14408. <attribute name="style:distance-before-sep">
  14409. <ref name="length"/>
  14410. </attribute>
  14411. </optional>
  14412. <optional>
  14413. <attribute name="style:distance-after-sep">
  14414. <ref name="length"/>
  14415. </attribute>
  14416. </optional>
  14417. </define>
  14418. <define name="style-header-footer-properties">
  14419. <element name="style:header-footer-properties">
  14420. <ref name="style-header-footer-properties-content-strict"/>
  14421. </element>
  14422. </define>
  14423. <define name="style-header-footer-properties-content-strict">
  14424. <ref name="style-header-footer-properties-attlist"/>
  14425. <ref name="style-header-footer-properties-elements"/>
  14426. </define>
  14427. <define name="style-header-footer-properties-attlist">
  14428. <interleave>
  14429. <optional>
  14430. <attribute name="svg:height">
  14431. <ref name="length"/>
  14432. </attribute>
  14433. </optional>
  14434. <optional>
  14435. <attribute name="fo:min-height">
  14436. <ref name="length"/>
  14437. </attribute>
  14438. </optional>
  14439. <ref name="common-horizontal-margin-attlist"/>
  14440. <ref name="common-vertical-margin-attlist"/>
  14441. <ref name="common-margin-attlist"/>
  14442. <ref name="common-border-attlist"/>
  14443. <ref name="common-border-line-width-attlist"/>
  14444. <ref name="common-padding-attlist"/>
  14445. <ref name="common-background-color-attlist"/>
  14446. <ref name="common-shadow-attlist"/>
  14447. <optional>
  14448. <attribute name="style:dynamic-spacing">
  14449. <ref name="boolean"/>
  14450. </attribute>
  14451. </optional>
  14452. </interleave>
  14453. </define>
  14454. <define name="style-header-footer-properties-elements">
  14455. <ref name="style-background-image"/>
  14456. </define>
  14457. <define name="style-text-properties">
  14458. <element name="style:text-properties">
  14459. <ref name="style-text-properties-content-strict"/>
  14460. </element>
  14461. </define>
  14462. <define name="style-text-properties-content-strict">
  14463. <ref name="style-text-properties-attlist"/>
  14464. <ref name="style-text-properties-elements"/>
  14465. </define>
  14466. <define name="style-text-properties-elements">
  14467. <empty/>
  14468. </define>
  14469. <define name="style-text-properties-attlist">
  14470. <interleave>
  14471. <optional>
  14472. <attribute name="fo:font-variant">
  14473. <ref name="fontVariant"/>
  14474. </attribute>
  14475. </optional>
  14476. <optional>
  14477. <attribute name="fo:text-transform">
  14478. <choice>
  14479. <value>none</value>
  14480. <value>lowercase</value>
  14481. <value>uppercase</value>
  14482. <value>capitalize</value>
  14483. </choice>
  14484. </attribute>
  14485. </optional>
  14486. <optional>
  14487. <attribute name="fo:color">
  14488. <ref name="color"/>
  14489. </attribute>
  14490. </optional>
  14491. <optional>
  14492. <attribute name="style:use-window-font-color">
  14493. <ref name="boolean"/>
  14494. </attribute>
  14495. </optional>
  14496. <optional>
  14497. <attribute name="style:text-outline">
  14498. <ref name="boolean"/>
  14499. </attribute>
  14500. </optional>
  14501. <optional>
  14502. <attribute name="style:text-line-through-type">
  14503. <ref name="lineType"/>
  14504. </attribute>
  14505. </optional>
  14506. <optional>
  14507. <attribute name="style:text-line-through-style">
  14508. <ref name="lineStyle"/>
  14509. </attribute>
  14510. </optional>
  14511. <optional>
  14512. <attribute name="style:text-line-through-width">
  14513. <ref name="lineWidth"/>
  14514. </attribute>
  14515. </optional>
  14516. <optional>
  14517. <attribute name="style:text-line-through-color">
  14518. <choice>
  14519. <value>font-color</value>
  14520. <ref name="color"/>
  14521. </choice>
  14522. </attribute>
  14523. </optional>
  14524. <optional>
  14525. <attribute name="style:text-line-through-text">
  14526. <ref name="string"/>
  14527. </attribute>
  14528. </optional>
  14529. <optional>
  14530. <attribute name="style:text-line-through-text-style">
  14531. <ref name="styleNameRef"/>
  14532. </attribute>
  14533. </optional>
  14534. <optional>
  14535. <attribute name="style:text-position">
  14536. <list>
  14537. <choice>
  14538. <ref name="percent"/>
  14539. <value>super</value>
  14540. <value>sub</value>
  14541. </choice>
  14542. <optional>
  14543. <ref name="percent"/>
  14544. </optional>
  14545. </list>
  14546. </attribute>
  14547. </optional>
  14548. <optional>
  14549. <attribute name="style:font-name">
  14550. <ref name="string"/>
  14551. </attribute>
  14552. </optional>
  14553. <optional>
  14554. <attribute name="style:font-name-asian">
  14555. <ref name="string"/>
  14556. </attribute>
  14557. </optional>
  14558. <optional>
  14559. <attribute name="style:font-name-complex">
  14560. <ref name="string"/>
  14561. </attribute>
  14562. </optional>
  14563. <optional>
  14564. <attribute name="fo:font-family">
  14565. <ref name="string"/>
  14566. </attribute>
  14567. </optional>
  14568. <optional>
  14569. <attribute name="style:font-family-asian">
  14570. <ref name="string"/>
  14571. </attribute>
  14572. </optional>
  14573. <optional>
  14574. <attribute name="style:font-family-complex">
  14575. <ref name="string"/>
  14576. </attribute>
  14577. </optional>
  14578. <optional>
  14579. <attribute name="style:font-family-generic">
  14580. <ref name="fontFamilyGeneric"/>
  14581. </attribute>
  14582. </optional>
  14583. <optional>
  14584. <attribute name="style:font-family-generic-asian">
  14585. <ref name="fontFamilyGeneric"/>
  14586. </attribute>
  14587. </optional>
  14588. <optional>
  14589. <attribute name="style:font-family-generic-complex">
  14590. <ref name="fontFamilyGeneric"/>
  14591. </attribute>
  14592. </optional>
  14593. <optional>
  14594. <attribute name="style:font-style-name">
  14595. <ref name="string"/>
  14596. </attribute>
  14597. </optional>
  14598. <optional>
  14599. <attribute name="style:font-style-name-asian">
  14600. <ref name="string"/>
  14601. </attribute>
  14602. </optional>
  14603. <optional>
  14604. <attribute name="style:font-style-name-complex">
  14605. <ref name="string"/>
  14606. </attribute>
  14607. </optional>
  14608. <optional>
  14609. <attribute name="style:font-pitch">
  14610. <ref name="fontPitch"/>
  14611. </attribute>
  14612. </optional>
  14613. <optional>
  14614. <attribute name="style:font-pitch-asian">
  14615. <ref name="fontPitch"/>
  14616. </attribute>
  14617. </optional>
  14618. <optional>
  14619. <attribute name="style:font-pitch-complex">
  14620. <ref name="fontPitch"/>
  14621. </attribute>
  14622. </optional>
  14623. <optional>
  14624. <attribute name="style:font-charset">
  14625. <ref name="textEncoding"/>
  14626. </attribute>
  14627. </optional>
  14628. <optional>
  14629. <attribute name="style:font-charset-asian">
  14630. <ref name="textEncoding"/>
  14631. </attribute>
  14632. </optional>
  14633. <optional>
  14634. <attribute name="style:font-charset-complex">
  14635. <ref name="textEncoding"/>
  14636. </attribute>
  14637. </optional>
  14638. <optional>
  14639. <attribute name="fo:font-size">
  14640. <choice>
  14641. <ref name="positiveLength"/>
  14642. <ref name="percent"/>
  14643. </choice>
  14644. </attribute>
  14645. </optional>
  14646. <optional>
  14647. <attribute name="style:font-size-asian">
  14648. <choice>
  14649. <ref name="positiveLength"/>
  14650. <ref name="percent"/>
  14651. </choice>
  14652. </attribute>
  14653. </optional>
  14654. <optional>
  14655. <attribute name="style:font-size-complex">
  14656. <choice>
  14657. <ref name="positiveLength"/>
  14658. <ref name="percent"/>
  14659. </choice>
  14660. </attribute>
  14661. </optional>
  14662. <optional>
  14663. <attribute name="style:font-size-rel">
  14664. <ref name="length"/>
  14665. </attribute>
  14666. </optional>
  14667. <optional>
  14668. <attribute name="style:font-size-rel-asian">
  14669. <ref name="length"/>
  14670. </attribute>
  14671. </optional>
  14672. <optional>
  14673. <attribute name="style:font-size-rel-complex">
  14674. <ref name="length"/>
  14675. </attribute>
  14676. </optional>
  14677. <optional>
  14678. <attribute name="style:script-type">
  14679. <choice>
  14680. <value>latin</value>
  14681. <value>asian</value>
  14682. <value>complex</value>
  14683. <value>ignore</value>
  14684. </choice>
  14685. </attribute>
  14686. </optional>
  14687. <optional>
  14688. <attribute name="fo:letter-spacing">
  14689. <choice>
  14690. <ref name="length"/>
  14691. <value>normal</value>
  14692. </choice>
  14693. </attribute>
  14694. </optional>
  14695. <optional>
  14696. <attribute name="fo:language">
  14697. <ref name="languageCode"/>
  14698. </attribute>
  14699. </optional>
  14700. <optional>
  14701. <attribute name="style:language-asian">
  14702. <ref name="languageCode"/>
  14703. </attribute>
  14704. </optional>
  14705. <optional>
  14706. <attribute name="style:language-complex">
  14707. <ref name="languageCode"/>
  14708. </attribute>
  14709. </optional>
  14710. <optional>
  14711. <attribute name="fo:country">
  14712. <ref name="countryCode"/>
  14713. </attribute>
  14714. </optional>
  14715. <optional>
  14716. <attribute name="style:country-asian">
  14717. <ref name="countryCode"/>
  14718. </attribute>
  14719. </optional>
  14720. <optional>
  14721. <attribute name="style:country-complex">
  14722. <ref name="countryCode"/>
  14723. </attribute>
  14724. </optional>
  14725. <optional>
  14726. <attribute name="fo:script">
  14727. <ref name="scriptCode"/>
  14728. </attribute>
  14729. </optional>
  14730. <optional>
  14731. <attribute name="style:script-asian">
  14732. <ref name="scriptCode"/>
  14733. </attribute>
  14734. </optional>
  14735. <optional>
  14736. <attribute name="style:script-complex">
  14737. <ref name="scriptCode"/>
  14738. </attribute>
  14739. </optional>
  14740. <optional>
  14741. <attribute name="style:rfc-language-tag">
  14742. <ref name="language"/>
  14743. </attribute>
  14744. </optional>
  14745. <optional>
  14746. <attribute name="style:rfc-language-tag-asian">
  14747. <ref name="language"/>
  14748. </attribute>
  14749. </optional>
  14750. <optional>
  14751. <attribute name="style:rfc-language-tag-complex">
  14752. <ref name="language"/>
  14753. </attribute>
  14754. </optional>
  14755. <optional>
  14756. <attribute name="fo:font-style">
  14757. <ref name="fontStyle"/>
  14758. </attribute>
  14759. </optional>
  14760. <optional>
  14761. <attribute name="style:font-style-asian">
  14762. <ref name="fontStyle"/>
  14763. </attribute>
  14764. </optional>
  14765. <optional>
  14766. <attribute name="style:font-style-complex">
  14767. <ref name="fontStyle"/>
  14768. </attribute>
  14769. </optional>
  14770. <optional>
  14771. <attribute name="style:font-relief">
  14772. <choice>
  14773. <value>none</value>
  14774. <value>embossed</value>
  14775. <value>engraved</value>
  14776. </choice>
  14777. </attribute>
  14778. </optional>
  14779. <optional>
  14780. <attribute name="fo:text-shadow">
  14781. <ref name="shadowType"/>
  14782. </attribute>
  14783. </optional>
  14784. <optional>
  14785. <attribute name="style:text-underline-type">
  14786. <ref name="lineType"/>
  14787. </attribute>
  14788. </optional>
  14789. <optional>
  14790. <attribute name="style:text-underline-style">
  14791. <ref name="lineStyle"/>
  14792. </attribute>
  14793. </optional>
  14794. <optional>
  14795. <attribute name="style:text-underline-width">
  14796. <ref name="lineWidth"/>
  14797. </attribute>
  14798. </optional>
  14799. <optional>
  14800. <attribute name="style:text-underline-color">
  14801. <choice>
  14802. <value>font-color</value>
  14803. <ref name="color"/>
  14804. </choice>
  14805. </attribute>
  14806. </optional>
  14807. <optional>
  14808. <attribute name="style:text-overline-type">
  14809. <ref name="lineType"/>
  14810. </attribute>
  14811. </optional>
  14812. <optional>
  14813. <attribute name="style:text-overline-style">
  14814. <ref name="lineStyle"/>
  14815. </attribute>
  14816. </optional>
  14817. <optional>
  14818. <attribute name="style:text-overline-width">
  14819. <ref name="lineWidth"/>
  14820. </attribute>
  14821. </optional>
  14822. <optional>
  14823. <attribute name="style:text-overline-color">
  14824. <choice>
  14825. <value>font-color</value>
  14826. <ref name="color"/>
  14827. </choice>
  14828. </attribute>
  14829. </optional>
  14830. <optional>
  14831. <attribute name="style:text-overline-mode">
  14832. <ref name="lineMode"/>
  14833. </attribute>
  14834. </optional>
  14835. <optional>
  14836. <attribute name="fo:font-weight">
  14837. <ref name="fontWeight"/>
  14838. </attribute>
  14839. </optional>
  14840. <optional>
  14841. <attribute name="style:font-weight-asian">
  14842. <ref name="fontWeight"/>
  14843. </attribute>
  14844. </optional>
  14845. <optional>
  14846. <attribute name="style:font-weight-complex">
  14847. <ref name="fontWeight"/>
  14848. </attribute>
  14849. </optional>
  14850. <optional>
  14851. <attribute name="style:text-underline-mode">
  14852. <ref name="lineMode"/>
  14853. </attribute>
  14854. </optional>
  14855. <optional>
  14856. <attribute name="style:text-line-through-mode">
  14857. <ref name="lineMode"/>
  14858. </attribute>
  14859. </optional>
  14860. <optional>
  14861. <attribute name="style:letter-kerning">
  14862. <ref name="boolean"/>
  14863. </attribute>
  14864. </optional>
  14865. <optional>
  14866. <attribute name="style:text-blinking">
  14867. <ref name="boolean"/>
  14868. </attribute>
  14869. </optional>
  14870. <ref name="common-background-color-attlist"/>
  14871. <optional>
  14872. <attribute name="style:text-combine">
  14873. <choice>
  14874. <value>none</value>
  14875. <value>letters</value>
  14876. <value>lines</value>
  14877. </choice>
  14878. </attribute>
  14879. </optional>
  14880. <optional>
  14881. <attribute name="style:text-combine-start-char">
  14882. <ref name="character"/>
  14883. </attribute>
  14884. </optional>
  14885. <optional>
  14886. <attribute name="style:text-combine-end-char">
  14887. <ref name="character"/>
  14888. </attribute>
  14889. </optional>
  14890. <optional>
  14891. <attribute name="style:text-emphasize">
  14892. <choice>
  14893. <value>none</value>
  14894. <list>
  14895. <choice>
  14896. <value>none</value>
  14897. <value>accent</value>
  14898. <value>dot</value>
  14899. <value>circle</value>
  14900. <value>disc</value>
  14901. </choice>
  14902. <choice>
  14903. <value>above</value>
  14904. <value>below</value>
  14905. </choice>
  14906. </list>
  14907. </choice>
  14908. </attribute>
  14909. </optional>
  14910. <optional>
  14911. <attribute name="style:text-scale">
  14912. <ref name="percent"/>
  14913. </attribute>
  14914. </optional>
  14915. <optional>
  14916. <attribute name="style:text-rotation-angle">
  14917. <ref name="angle"/>
  14918. </attribute>
  14919. </optional>
  14920. <optional>
  14921. <attribute name="style:text-rotation-scale">
  14922. <choice>
  14923. <value>fixed</value>
  14924. <value>line-height</value>
  14925. </choice>
  14926. </attribute>
  14927. </optional>
  14928. <optional>
  14929. <attribute name="fo:hyphenate">
  14930. <ref name="boolean"/>
  14931. </attribute>
  14932. </optional>
  14933. <optional>
  14934. <attribute name="fo:hyphenation-remain-char-count">
  14935. <ref name="positiveInteger"/>
  14936. </attribute>
  14937. </optional>
  14938. <optional>
  14939. <attribute name="fo:hyphenation-push-char-count">
  14940. <ref name="positiveInteger"/>
  14941. </attribute>
  14942. </optional>
  14943. <choice>
  14944. <attribute name="text:display">
  14945. <value>true</value>
  14946. </attribute>
  14947. <attribute name="text:display">
  14948. <value>none</value>
  14949. </attribute>
  14950. <group>
  14951. <attribute name="text:display">
  14952. <value>condition</value>
  14953. </attribute>
  14954. <attribute name="text:condition">
  14955. <value>none</value>
  14956. </attribute>
  14957. </group>
  14958. <empty/>
  14959. </choice>
  14960. </interleave>
  14961. </define>
  14962. <define name="fontVariant">
  14963. <choice>
  14964. <value>normal</value>
  14965. <value>small-caps</value>
  14966. </choice>
  14967. </define>
  14968. <define name="fontFamilyGeneric">
  14969. <choice>
  14970. <value>roman</value>
  14971. <value>swiss</value>
  14972. <value>modern</value>
  14973. <value>decorative</value>
  14974. <value>script</value>
  14975. <value>system</value>
  14976. </choice>
  14977. </define>
  14978. <define name="fontPitch">
  14979. <choice>
  14980. <value>fixed</value>
  14981. <value>variable</value>
  14982. </choice>
  14983. </define>
  14984. <define name="textEncoding">
  14985. <data type="string">
  14986. <param name="pattern">[A-Za-z][A-Za-z0-9._\-]*</param>
  14987. </data>
  14988. </define>
  14989. <define name="fontStyle">
  14990. <choice>
  14991. <value>normal</value>
  14992. <value>italic</value>
  14993. <value>oblique</value>
  14994. </choice>
  14995. </define>
  14996. <define name="shadowType">
  14997. <choice>
  14998. <value>none</value>
  14999. <ref name="string"/>
  15000. </choice>
  15001. </define>
  15002. <define name="lineType">
  15003. <choice>
  15004. <value>none</value>
  15005. <value>single</value>
  15006. <value>double</value>
  15007. </choice>
  15008. </define>
  15009. <define name="lineStyle">
  15010. <choice>
  15011. <value>none</value>
  15012. <value>solid</value>
  15013. <value>dotted</value>
  15014. <value>dash</value>
  15015. <value>long-dash</value>
  15016. <value>dot-dash</value>
  15017. <value>dot-dot-dash</value>
  15018. <value>wave</value>
  15019. </choice>
  15020. </define>
  15021. <define name="lineWidth">
  15022. <choice>
  15023. <value>auto</value>
  15024. <value>normal</value>
  15025. <value>bold</value>
  15026. <value>thin</value>
  15027. <value>medium</value>
  15028. <value>thick</value>
  15029. <ref name="positiveInteger"/>
  15030. <ref name="percent"/>
  15031. <ref name="positiveLength"/>
  15032. </choice>
  15033. </define>
  15034. <define name="fontWeight">
  15035. <choice>
  15036. <value>normal</value>
  15037. <value>bold</value>
  15038. <value>100</value>
  15039. <value>200</value>
  15040. <value>300</value>
  15041. <value>400</value>
  15042. <value>500</value>
  15043. <value>600</value>
  15044. <value>700</value>
  15045. <value>800</value>
  15046. <value>900</value>
  15047. </choice>
  15048. </define>
  15049. <define name="lineMode">
  15050. <choice>
  15051. <value>continuous</value>
  15052. <value>skip-white-space</value>
  15053. </choice>
  15054. </define>
  15055. <define name="style-paragraph-properties">
  15056. <element name="style:paragraph-properties">
  15057. <ref name="style-paragraph-properties-content-strict"/>
  15058. </element>
  15059. </define>
  15060. <define name="style-paragraph-properties-content-strict">
  15061. <ref name="style-paragraph-properties-attlist"/>
  15062. <ref name="style-paragraph-properties-elements"/>
  15063. </define>
  15064. <define name="style-paragraph-properties-attlist">
  15065. <interleave>
  15066. <optional>
  15067. <attribute name="fo:line-height">
  15068. <choice>
  15069. <value>normal</value>
  15070. <ref name="nonNegativeLength"/>
  15071. <ref name="percent"/>
  15072. </choice>
  15073. </attribute>
  15074. </optional>
  15075. <optional>
  15076. <attribute name="style:line-height-at-least">
  15077. <ref name="nonNegativeLength"/>
  15078. </attribute>
  15079. </optional>
  15080. <optional>
  15081. <attribute name="style:line-spacing">
  15082. <ref name="length"/>
  15083. </attribute>
  15084. </optional>
  15085. <optional>
  15086. <attribute name="style:font-independent-line-spacing">
  15087. <ref name="boolean"/>
  15088. </attribute>
  15089. </optional>
  15090. <ref name="common-text-align"/>
  15091. <optional>
  15092. <attribute name="fo:text-align-last">
  15093. <choice>
  15094. <value>start</value>
  15095. <value>center</value>
  15096. <value>justify</value>
  15097. </choice>
  15098. </attribute>
  15099. </optional>
  15100. <optional>
  15101. <attribute name="style:justify-single-word">
  15102. <ref name="boolean"/>
  15103. </attribute>
  15104. </optional>
  15105. <optional>
  15106. <attribute name="fo:keep-together">
  15107. <choice>
  15108. <value>auto</value>
  15109. <value>always</value>
  15110. </choice>
  15111. </attribute>
  15112. </optional>
  15113. <optional>
  15114. <attribute name="fo:widows">
  15115. <ref name="nonNegativeInteger"/>
  15116. </attribute>
  15117. </optional>
  15118. <optional>
  15119. <attribute name="fo:orphans">
  15120. <ref name="nonNegativeInteger"/>
  15121. </attribute>
  15122. </optional>
  15123. <optional>
  15124. <attribute name="style:tab-stop-distance">
  15125. <ref name="nonNegativeLength"/>
  15126. </attribute>
  15127. </optional>
  15128. <optional>
  15129. <attribute name="fo:hyphenation-keep">
  15130. <choice>
  15131. <value>auto</value>
  15132. <value>page</value>
  15133. </choice>
  15134. </attribute>
  15135. </optional>
  15136. <optional>
  15137. <attribute name="fo:hyphenation-ladder-count">
  15138. <choice>
  15139. <value>no-limit</value>
  15140. <ref name="positiveInteger"/>
  15141. </choice>
  15142. </attribute>
  15143. </optional>
  15144. <optional>
  15145. <attribute name="style:register-true">
  15146. <ref name="boolean"/>
  15147. </attribute>
  15148. </optional>
  15149. <ref name="common-horizontal-margin-attlist"/>
  15150. <optional>
  15151. <attribute name="fo:text-indent">
  15152. <choice>
  15153. <ref name="length"/>
  15154. <ref name="percent"/>
  15155. </choice>
  15156. </attribute>
  15157. </optional>
  15158. <optional>
  15159. <attribute name="style:auto-text-indent">
  15160. <ref name="boolean"/>
  15161. </attribute>
  15162. </optional>
  15163. <ref name="common-vertical-margin-attlist"/>
  15164. <ref name="common-margin-attlist"/>
  15165. <ref name="common-break-attlist"/>
  15166. <ref name="common-background-color-attlist"/>
  15167. <ref name="common-border-attlist"/>
  15168. <ref name="common-border-line-width-attlist"/>
  15169. <optional>
  15170. <attribute name="style:join-border">
  15171. <ref name="boolean"/>
  15172. </attribute>
  15173. </optional>
  15174. <ref name="common-padding-attlist"/>
  15175. <ref name="common-shadow-attlist"/>
  15176. <ref name="common-keep-with-next-attlist"/>
  15177. <optional>
  15178. <attribute name="text:number-lines">
  15179. <ref name="boolean"/>
  15180. </attribute>
  15181. </optional>
  15182. <optional>
  15183. <attribute name="text:line-number">
  15184. <ref name="nonNegativeInteger"/>
  15185. </attribute>
  15186. </optional>
  15187. <optional>
  15188. <attribute name="style:text-autospace">
  15189. <choice>
  15190. <value>none</value>
  15191. <value>ideograph-alpha</value>
  15192. </choice>
  15193. </attribute>
  15194. </optional>
  15195. <optional>
  15196. <attribute name="style:punctuation-wrap">
  15197. <choice>
  15198. <value>simple</value>
  15199. <value>hanging</value>
  15200. </choice>
  15201. </attribute>
  15202. </optional>
  15203. <optional>
  15204. <attribute name="style:line-break">
  15205. <choice>
  15206. <value>normal</value>
  15207. <value>strict</value>
  15208. </choice>
  15209. </attribute>
  15210. </optional>
  15211. <optional>
  15212. <attribute name="style:vertical-align">
  15213. <choice>
  15214. <value>top</value>
  15215. <value>middle</value>
  15216. <value>bottom</value>
  15217. <value>auto</value>
  15218. <value>baseline</value>
  15219. </choice>
  15220. </attribute>
  15221. </optional>
  15222. <ref name="common-writing-mode-attlist"/>
  15223. <optional>
  15224. <attribute name="style:writing-mode-automatic">
  15225. <ref name="boolean"/>
  15226. </attribute>
  15227. </optional>
  15228. <optional>
  15229. <attribute name="style:snap-to-layout-grid">
  15230. <ref name="boolean"/>
  15231. </attribute>
  15232. </optional>
  15233. <ref name="common-page-number-attlist"/>
  15234. <ref name="common-background-transparency-attlist"/>
  15235. </interleave>
  15236. </define>
  15237. <define name="common-text-align">
  15238. <optional>
  15239. <attribute name="fo:text-align">
  15240. <choice>
  15241. <value>start</value>
  15242. <value>end</value>
  15243. <value>left</value>
  15244. <value>right</value>
  15245. <value>center</value>
  15246. <value>justify</value>
  15247. </choice>
  15248. </attribute>
  15249. </optional>
  15250. </define>
  15251. <define name="style-paragraph-properties-elements">
  15252. <interleave>
  15253. <ref name="style-tab-stops"/>
  15254. <ref name="style-drop-cap"/>
  15255. <ref name="style-background-image"/>
  15256. </interleave>
  15257. </define>
  15258. <define name="style-tab-stops">
  15259. <optional>
  15260. <element name="style:tab-stops">
  15261. <zeroOrMore>
  15262. <ref name="style-tab-stop"/>
  15263. </zeroOrMore>
  15264. </element>
  15265. </optional>
  15266. </define>
  15267. <define name="style-tab-stop">
  15268. <element name="style:tab-stop">
  15269. <ref name="style-tab-stop-attlist"/>
  15270. <empty/>
  15271. </element>
  15272. </define>
  15273. <define name="style-tab-stop-attlist">
  15274. <interleave>
  15275. <attribute name="style:position">
  15276. <ref name="length"/>
  15277. </attribute>
  15278. <choice>
  15279. <optional>
  15280. <attribute name="style:type">
  15281. <choice>
  15282. <value>left</value>
  15283. <value>center</value>
  15284. <value>right</value>
  15285. </choice>
  15286. </attribute>
  15287. </optional>
  15288. <group>
  15289. <attribute name="style:type">
  15290. <value>char</value>
  15291. </attribute>
  15292. <ref name="style-tab-stop-char-attlist"/>
  15293. </group>
  15294. </choice>
  15295. <optional>
  15296. <attribute name="style:leader-type">
  15297. <ref name="lineType"/>
  15298. </attribute>
  15299. </optional>
  15300. <optional>
  15301. <attribute name="style:leader-style">
  15302. <ref name="lineStyle"/>
  15303. </attribute>
  15304. </optional>
  15305. <optional>
  15306. <attribute name="style:leader-width">
  15307. <ref name="lineWidth"/>
  15308. </attribute>
  15309. </optional>
  15310. <optional>
  15311. <attribute name="style:leader-color">
  15312. <choice>
  15313. <value>font-color</value>
  15314. <ref name="color"/>
  15315. </choice>
  15316. </attribute>
  15317. </optional>
  15318. <optional>
  15319. <attribute name="style:leader-text">
  15320. <ref name="character"/>
  15321. </attribute>
  15322. </optional>
  15323. <optional>
  15324. <attribute name="style:leader-text-style">
  15325. <ref name="styleNameRef"/>
  15326. </attribute>
  15327. </optional>
  15328. </interleave>
  15329. </define>
  15330. <define name="style-tab-stop-char-attlist">
  15331. <attribute name="style:char">
  15332. <ref name="character"/>
  15333. </attribute>
  15334. </define>
  15335. <define name="style-drop-cap">
  15336. <optional>
  15337. <element name="style:drop-cap">
  15338. <ref name="style-drop-cap-attlist"/>
  15339. <empty/>
  15340. </element>
  15341. </optional>
  15342. </define>
  15343. <define name="style-drop-cap-attlist">
  15344. <interleave>
  15345. <optional>
  15346. <attribute name="style:length">
  15347. <choice>
  15348. <value>word</value>
  15349. <ref name="positiveInteger"/>
  15350. </choice>
  15351. </attribute>
  15352. </optional>
  15353. <optional>
  15354. <attribute name="style:lines">
  15355. <ref name="positiveInteger"/>
  15356. </attribute>
  15357. </optional>
  15358. <optional>
  15359. <attribute name="style:distance">
  15360. <ref name="length"/>
  15361. </attribute>
  15362. </optional>
  15363. <optional>
  15364. <attribute name="style:style-name">
  15365. <ref name="styleNameRef"/>
  15366. </attribute>
  15367. </optional>
  15368. </interleave>
  15369. </define>
  15370. <define name="common-horizontal-margin-attlist">
  15371. <optional>
  15372. <attribute name="fo:margin-left">
  15373. <choice>
  15374. <ref name="length"/>
  15375. <ref name="percent"/>
  15376. </choice>
  15377. </attribute>
  15378. </optional>
  15379. <optional>
  15380. <attribute name="fo:margin-right">
  15381. <choice>
  15382. <ref name="length"/>
  15383. <ref name="percent"/>
  15384. </choice>
  15385. </attribute>
  15386. </optional>
  15387. </define>
  15388. <define name="common-vertical-margin-attlist">
  15389. <optional>
  15390. <attribute name="fo:margin-top">
  15391. <choice>
  15392. <ref name="nonNegativeLength"/>
  15393. <ref name="percent"/>
  15394. </choice>
  15395. </attribute>
  15396. </optional>
  15397. <optional>
  15398. <attribute name="fo:margin-bottom">
  15399. <choice>
  15400. <ref name="nonNegativeLength"/>
  15401. <ref name="percent"/>
  15402. </choice>
  15403. </attribute>
  15404. </optional>
  15405. </define>
  15406. <define name="common-margin-attlist">
  15407. <optional>
  15408. <attribute name="fo:margin">
  15409. <choice>
  15410. <ref name="nonNegativeLength"/>
  15411. <ref name="percent"/>
  15412. </choice>
  15413. </attribute>
  15414. </optional>
  15415. </define>
  15416. <define name="common-break-attlist">
  15417. <optional>
  15418. <attribute name="fo:break-before">
  15419. <choice>
  15420. <value>auto</value>
  15421. <value>column</value>
  15422. <value>page</value>
  15423. </choice>
  15424. </attribute>
  15425. </optional>
  15426. <optional>
  15427. <attribute name="fo:break-after">
  15428. <choice>
  15429. <value>auto</value>
  15430. <value>column</value>
  15431. <value>page</value>
  15432. </choice>
  15433. </attribute>
  15434. </optional>
  15435. </define>
  15436. <define name="common-background-color-attlist">
  15437. <optional>
  15438. <attribute name="fo:background-color">
  15439. <choice>
  15440. <value>transparent</value>
  15441. <ref name="color"/>
  15442. </choice>
  15443. </attribute>
  15444. </optional>
  15445. </define>
  15446. <define name="style-background-image">
  15447. <optional>
  15448. <element name="style:background-image">
  15449. <ref name="style-background-image-attlist"/>
  15450. <choice>
  15451. <ref name="common-draw-data-attlist"/>
  15452. <ref name="office-binary-data"/>
  15453. <empty/>
  15454. </choice>
  15455. </element>
  15456. </optional>
  15457. </define>
  15458. <define name="style-background-image-attlist">
  15459. <interleave>
  15460. <optional>
  15461. <attribute name="style:repeat">
  15462. <choice>
  15463. <value>no-repeat</value>
  15464. <value>repeat</value>
  15465. <value>stretch</value>
  15466. </choice>
  15467. </attribute>
  15468. </optional>
  15469. <optional>
  15470. <attribute name="style:position">
  15471. <choice>
  15472. <value>left</value>
  15473. <value>center</value>
  15474. <value>right</value>
  15475. <value>top</value>
  15476. <value>bottom</value>
  15477. <list>
  15478. <ref name="horiBackPos"/>
  15479. <ref name="vertBackPos"/>
  15480. </list>
  15481. <list>
  15482. <ref name="vertBackPos"/>
  15483. <ref name="horiBackPos"/>
  15484. </list>
  15485. </choice>
  15486. </attribute>
  15487. </optional>
  15488. <optional>
  15489. <attribute name="style:filter-name">
  15490. <ref name="string"/>
  15491. </attribute>
  15492. </optional>
  15493. <optional>
  15494. <attribute name="draw:opacity">
  15495. <ref name="zeroToHundredPercent"/>
  15496. </attribute>
  15497. </optional>
  15498. </interleave>
  15499. </define>
  15500. <define name="horiBackPos">
  15501. <choice>
  15502. <value>left</value>
  15503. <value>center</value>
  15504. <value>right</value>
  15505. </choice>
  15506. </define>
  15507. <define name="vertBackPos">
  15508. <choice>
  15509. <value>top</value>
  15510. <value>center</value>
  15511. <value>bottom</value>
  15512. </choice>
  15513. </define>
  15514. <define name="common-border-attlist">
  15515. <optional>
  15516. <attribute name="fo:border">
  15517. <ref name="string"/>
  15518. </attribute>
  15519. </optional>
  15520. <optional>
  15521. <attribute name="fo:border-top">
  15522. <ref name="string"/>
  15523. </attribute>
  15524. </optional>
  15525. <optional>
  15526. <attribute name="fo:border-bottom">
  15527. <ref name="string"/>
  15528. </attribute>
  15529. </optional>
  15530. <optional>
  15531. <attribute name="fo:border-left">
  15532. <ref name="string"/>
  15533. </attribute>
  15534. </optional>
  15535. <optional>
  15536. <attribute name="fo:border-right">
  15537. <ref name="string"/>
  15538. </attribute>
  15539. </optional>
  15540. </define>
  15541. <define name="common-border-line-width-attlist">
  15542. <optional>
  15543. <attribute name="style:border-line-width">
  15544. <ref name="borderWidths"/>
  15545. </attribute>
  15546. </optional>
  15547. <optional>
  15548. <attribute name="style:border-line-width-top">
  15549. <ref name="borderWidths"/>
  15550. </attribute>
  15551. </optional>
  15552. <optional>
  15553. <attribute name="style:border-line-width-bottom">
  15554. <ref name="borderWidths"/>
  15555. </attribute>
  15556. </optional>
  15557. <optional>
  15558. <attribute name="style:border-line-width-left">
  15559. <ref name="borderWidths"/>
  15560. </attribute>
  15561. </optional>
  15562. <optional>
  15563. <attribute name="style:border-line-width-right">
  15564. <ref name="borderWidths"/>
  15565. </attribute>
  15566. </optional>
  15567. </define>
  15568. <define name="borderWidths">
  15569. <list>
  15570. <ref name="positiveLength"/>
  15571. <ref name="positiveLength"/>
  15572. <ref name="positiveLength"/>
  15573. </list>
  15574. </define>
  15575. <define name="common-padding-attlist">
  15576. <optional>
  15577. <attribute name="fo:padding">
  15578. <ref name="nonNegativeLength"/>
  15579. </attribute>
  15580. </optional>
  15581. <optional>
  15582. <attribute name="fo:padding-top">
  15583. <ref name="nonNegativeLength"/>
  15584. </attribute>
  15585. </optional>
  15586. <optional>
  15587. <attribute name="fo:padding-bottom">
  15588. <ref name="nonNegativeLength"/>
  15589. </attribute>
  15590. </optional>
  15591. <optional>
  15592. <attribute name="fo:padding-left">
  15593. <ref name="nonNegativeLength"/>
  15594. </attribute>
  15595. </optional>
  15596. <optional>
  15597. <attribute name="fo:padding-right">
  15598. <ref name="nonNegativeLength"/>
  15599. </attribute>
  15600. </optional>
  15601. </define>
  15602. <define name="common-shadow-attlist">
  15603. <optional>
  15604. <attribute name="style:shadow">
  15605. <ref name="shadowType"/>
  15606. </attribute>
  15607. </optional>
  15608. </define>
  15609. <define name="common-keep-with-next-attlist">
  15610. <optional>
  15611. <attribute name="fo:keep-with-next">
  15612. <choice>
  15613. <value>auto</value>
  15614. <value>always</value>
  15615. </choice>
  15616. </attribute>
  15617. </optional>
  15618. </define>
  15619. <define name="common-writing-mode-attlist">
  15620. <optional>
  15621. <attribute name="style:writing-mode">
  15622. <choice>
  15623. <value>lr-tb</value>
  15624. <value>rl-tb</value>
  15625. <value>tb-rl</value>
  15626. <value>tb-lr</value>
  15627. <value>lr</value>
  15628. <value>rl</value>
  15629. <value>tb</value>
  15630. <value>page</value>
  15631. </choice>
  15632. </attribute>
  15633. </optional>
  15634. </define>
  15635. <define name="common-page-number-attlist">
  15636. <optional>
  15637. <attribute name="style:page-number">
  15638. <choice>
  15639. <ref name="positiveInteger"/>
  15640. <value>auto</value>
  15641. </choice>
  15642. </attribute>
  15643. </optional>
  15644. </define>
  15645. <define name="common-background-transparency-attlist">
  15646. <optional>
  15647. <attribute name="style:background-transparency">
  15648. <ref name="zeroToHundredPercent"/>
  15649. </attribute>
  15650. </optional>
  15651. </define>
  15652. <define name="style-ruby-properties">
  15653. <element name="style:ruby-properties">
  15654. <ref name="style-ruby-properties-content-strict"/>
  15655. </element>
  15656. </define>
  15657. <define name="style-ruby-properties-content-strict">
  15658. <ref name="style-ruby-properties-attlist"/>
  15659. <ref name="style-ruby-properties-elements"/>
  15660. </define>
  15661. <define name="style-ruby-properties-elements">
  15662. <empty/>
  15663. </define>
  15664. <define name="style-ruby-properties-attlist">
  15665. <interleave>
  15666. <optional>
  15667. <attribute name="style:ruby-position">
  15668. <choice>
  15669. <value>above</value>
  15670. <value>below</value>
  15671. </choice>
  15672. </attribute>
  15673. </optional>
  15674. <optional>
  15675. <attribute name="style:ruby-align">
  15676. <choice>
  15677. <value>left</value>
  15678. <value>center</value>
  15679. <value>right</value>
  15680. <value>distribute-letter</value>
  15681. <value>distribute-space</value>
  15682. </choice>
  15683. </attribute>
  15684. </optional>
  15685. </interleave>
  15686. </define>
  15687. <define name="style-section-properties">
  15688. <element name="style:section-properties">
  15689. <ref name="style-section-properties-content-strict"/>
  15690. </element>
  15691. </define>
  15692. <define name="style-section-properties-content-strict">
  15693. <ref name="style-section-properties-attlist"/>
  15694. <ref name="style-section-properties-elements"/>
  15695. </define>
  15696. <define name="style-section-properties-attlist">
  15697. <interleave>
  15698. <ref name="common-background-color-attlist"/>
  15699. <ref name="common-horizontal-margin-attlist"/>
  15700. <optional>
  15701. <attribute name="style:protect">
  15702. <ref name="boolean"/>
  15703. </attribute>
  15704. </optional>
  15705. <ref name="common-editable-attlist"/>
  15706. <optional>
  15707. <attribute name="text:dont-balance-text-columns">
  15708. <ref name="boolean"/>
  15709. </attribute>
  15710. </optional>
  15711. <ref name="common-writing-mode-attlist"/>
  15712. </interleave>
  15713. </define>
  15714. <define name="style-section-properties-elements">
  15715. <interleave>
  15716. <ref name="style-background-image"/>
  15717. <ref name="style-columns"/>
  15718. <zeroOrMore>
  15719. <ref name="text-notes-configuration"/>
  15720. </zeroOrMore>
  15721. </interleave>
  15722. </define>
  15723. <define name="style-columns">
  15724. <optional>
  15725. <element name="style:columns">
  15726. <ref name="style-columns-attlist"/>
  15727. <optional>
  15728. <ref name="style-column-sep"/>
  15729. </optional>
  15730. <zeroOrMore>
  15731. <ref name="style-column"/>
  15732. </zeroOrMore>
  15733. </element>
  15734. </optional>
  15735. </define>
  15736. <define name="style-columns-attlist">
  15737. <interleave>
  15738. <attribute name="fo:column-count">
  15739. <ref name="positiveInteger"/>
  15740. </attribute>
  15741. <optional>
  15742. <attribute name="fo:column-gap">
  15743. <ref name="length"/>
  15744. </attribute>
  15745. </optional>
  15746. </interleave>
  15747. </define>
  15748. <define name="style-column">
  15749. <element name="style:column">
  15750. <ref name="style-column-attlist"/>
  15751. </element>
  15752. </define>
  15753. <define name="style-column-attlist">
  15754. <interleave>
  15755. <attribute name="style:rel-width">
  15756. <ref name="relativeLength"/>
  15757. </attribute>
  15758. <optional>
  15759. <attribute name="fo:start-indent">
  15760. <ref name="length"/>
  15761. </attribute>
  15762. </optional>
  15763. <optional>
  15764. <attribute name="fo:end-indent">
  15765. <ref name="length"/>
  15766. </attribute>
  15767. </optional>
  15768. <optional>
  15769. <attribute name="fo:space-before">
  15770. <ref name="length"/>
  15771. </attribute>
  15772. </optional>
  15773. <optional>
  15774. <attribute name="fo:space-after">
  15775. <ref name="length"/>
  15776. </attribute>
  15777. </optional>
  15778. </interleave>
  15779. </define>
  15780. <define name="style-column-sep">
  15781. <element name="style:column-sep">
  15782. <ref name="style-column-sep-attlist"/>
  15783. </element>
  15784. </define>
  15785. <define name="style-column-sep-attlist">
  15786. <interleave>
  15787. <optional>
  15788. <attribute name="style:style">
  15789. <choice>
  15790. <value>none</value>
  15791. <value>solid</value>
  15792. <value>dotted</value>
  15793. <value>dashed</value>
  15794. <value>dot-dashed</value>
  15795. </choice>
  15796. </attribute>
  15797. </optional>
  15798. <attribute name="style:width">
  15799. <ref name="length"/>
  15800. </attribute>
  15801. <optional>
  15802. <attribute name="style:height">
  15803. <ref name="zeroToHundredPercent"/>
  15804. </attribute>
  15805. </optional>
  15806. <optional>
  15807. <attribute name="style:vertical-align">
  15808. <choice>
  15809. <value>top</value>
  15810. <value>middle</value>
  15811. <value>bottom</value>
  15812. </choice>
  15813. </attribute>
  15814. </optional>
  15815. <optional>
  15816. <attribute name="style:color">
  15817. <ref name="color"/>
  15818. </attribute>
  15819. </optional>
  15820. </interleave>
  15821. </define>
  15822. <define name="style-table-properties">
  15823. <element name="style:table-properties">
  15824. <ref name="style-table-properties-content-strict"/>
  15825. </element>
  15826. </define>
  15827. <define name="style-table-properties-content-strict">
  15828. <ref name="style-table-properties-attlist"/>
  15829. <ref name="style-table-properties-elements"/>
  15830. </define>
  15831. <define name="style-table-properties-attlist">
  15832. <interleave>
  15833. <optional>
  15834. <attribute name="style:width">
  15835. <ref name="positiveLength"/>
  15836. </attribute>
  15837. </optional>
  15838. <optional>
  15839. <attribute name="style:rel-width">
  15840. <ref name="percent"/>
  15841. </attribute>
  15842. </optional>
  15843. <optional>
  15844. <attribute name="table:align">
  15845. <choice>
  15846. <value>left</value>
  15847. <value>center</value>
  15848. <value>right</value>
  15849. <value>margins</value>
  15850. </choice>
  15851. </attribute>
  15852. </optional>
  15853. <ref name="common-horizontal-margin-attlist"/>
  15854. <ref name="common-vertical-margin-attlist"/>
  15855. <ref name="common-margin-attlist"/>
  15856. <ref name="common-page-number-attlist"/>
  15857. <ref name="common-break-attlist"/>
  15858. <ref name="common-background-color-attlist"/>
  15859. <ref name="common-shadow-attlist"/>
  15860. <ref name="common-keep-with-next-attlist"/>
  15861. <optional>
  15862. <attribute name="style:may-break-between-rows">
  15863. <ref name="boolean"/>
  15864. </attribute>
  15865. </optional>
  15866. <optional>
  15867. <attribute name="table:border-model">
  15868. <choice>
  15869. <value>collapsing</value>
  15870. <value>separating</value>
  15871. </choice>
  15872. </attribute>
  15873. </optional>
  15874. <ref name="common-writing-mode-attlist"/>
  15875. <optional>
  15876. <attribute name="table:display">
  15877. <ref name="boolean"/>
  15878. </attribute>
  15879. </optional>
  15880. </interleave>
  15881. </define>
  15882. <define name="style-table-properties-elements">
  15883. <ref name="style-background-image"/>
  15884. </define>
  15885. <define name="style-table-column-properties">
  15886. <element name="style:table-column-properties">
  15887. <ref name="style-table-column-properties-content-strict"/>
  15888. </element>
  15889. </define>
  15890. <define name="style-table-column-properties-content-strict">
  15891. <ref name="style-table-column-properties-attlist"/>
  15892. <ref name="style-table-column-properties-elements"/>
  15893. </define>
  15894. <define name="style-table-column-properties-elements">
  15895. <empty/>
  15896. </define>
  15897. <define name="style-table-column-properties-attlist">
  15898. <interleave>
  15899. <optional>
  15900. <attribute name="style:column-width">
  15901. <ref name="positiveLength"/>
  15902. </attribute>
  15903. </optional>
  15904. <optional>
  15905. <attribute name="style:rel-column-width">
  15906. <ref name="relativeLength"/>
  15907. </attribute>
  15908. </optional>
  15909. <optional>
  15910. <attribute name="style:use-optimal-column-width">
  15911. <ref name="boolean"/>
  15912. </attribute>
  15913. </optional>
  15914. <ref name="common-break-attlist"/>
  15915. </interleave>
  15916. </define>
  15917. <define name="style-table-row-properties">
  15918. <element name="style:table-row-properties">
  15919. <ref name="style-table-row-properties-content-strict"/>
  15920. </element>
  15921. </define>
  15922. <define name="style-table-row-properties-content-strict">
  15923. <ref name="style-table-row-properties-attlist"/>
  15924. <ref name="style-table-row-properties-elements"/>
  15925. </define>
  15926. <define name="style-table-row-properties-attlist">
  15927. <interleave>
  15928. <optional>
  15929. <attribute name="style:row-height">
  15930. <ref name="positiveLength"/>
  15931. </attribute>
  15932. </optional>
  15933. <optional>
  15934. <attribute name="style:min-row-height">
  15935. <ref name="nonNegativeLength"/>
  15936. </attribute>
  15937. </optional>
  15938. <optional>
  15939. <attribute name="style:use-optimal-row-height">
  15940. <ref name="boolean"/>
  15941. </attribute>
  15942. </optional>
  15943. <ref name="common-background-color-attlist"/>
  15944. <ref name="common-break-attlist"/>
  15945. <optional>
  15946. <attribute name="fo:keep-together">
  15947. <choice>
  15948. <value>auto</value>
  15949. <value>always</value>
  15950. </choice>
  15951. </attribute>
  15952. </optional>
  15953. </interleave>
  15954. </define>
  15955. <define name="style-table-row-properties-elements">
  15956. <ref name="style-background-image"/>
  15957. </define>
  15958. <define name="style-table-cell-properties">
  15959. <element name="style:table-cell-properties">
  15960. <ref name="style-table-cell-properties-content-strict"/>
  15961. </element>
  15962. </define>
  15963. <define name="style-table-cell-properties-content-strict">
  15964. <ref name="style-table-cell-properties-attlist"/>
  15965. <ref name="style-table-cell-properties-elements"/>
  15966. </define>
  15967. <define name="style-table-cell-properties-attlist">
  15968. <interleave>
  15969. <optional>
  15970. <attribute name="style:vertical-align">
  15971. <choice>
  15972. <value>top</value>
  15973. <value>middle</value>
  15974. <value>bottom</value>
  15975. <value>automatic</value>
  15976. </choice>
  15977. </attribute>
  15978. </optional>
  15979. <optional>
  15980. <attribute name="style:text-align-source">
  15981. <choice>
  15982. <value>fix</value>
  15983. <value>value-type</value>
  15984. </choice>
  15985. </attribute>
  15986. </optional>
  15987. <ref name="common-style-direction-attlist"/>
  15988. <optional>
  15989. <attribute name="style:glyph-orientation-vertical">
  15990. <choice>
  15991. <value>auto</value>
  15992. <value>0</value>
  15993. <value>0deg</value>
  15994. <value>0rad</value>
  15995. <value>0grad</value>
  15996. </choice>
  15997. </attribute>
  15998. </optional>
  15999. <ref name="common-writing-mode-attlist"/>
  16000. <ref name="common-shadow-attlist"/>
  16001. <ref name="common-background-color-attlist"/>
  16002. <ref name="common-border-attlist"/>
  16003. <optional>
  16004. <attribute name="style:diagonal-tl-br">
  16005. <ref name="string"/>
  16006. </attribute>
  16007. </optional>
  16008. <optional>
  16009. <attribute name="style:diagonal-tl-br-widths">
  16010. <ref name="borderWidths"/>
  16011. </attribute>
  16012. </optional>
  16013. <optional>
  16014. <attribute name="style:diagonal-bl-tr">
  16015. <ref name="string"/>
  16016. </attribute>
  16017. </optional>
  16018. <optional>
  16019. <attribute name="style:diagonal-bl-tr-widths">
  16020. <ref name="borderWidths"/>
  16021. </attribute>
  16022. </optional>
  16023. <ref name="common-border-line-width-attlist"/>
  16024. <ref name="common-padding-attlist"/>
  16025. <optional>
  16026. <attribute name="fo:wrap-option">
  16027. <choice>
  16028. <value>no-wrap</value>
  16029. <value>wrap</value>
  16030. </choice>
  16031. </attribute>
  16032. </optional>
  16033. <ref name="common-rotation-angle-attlist"/>
  16034. <optional>
  16035. <attribute name="style:rotation-align">
  16036. <choice>
  16037. <value>none</value>
  16038. <value>bottom</value>
  16039. <value>top</value>
  16040. <value>center</value>
  16041. </choice>
  16042. </attribute>
  16043. </optional>
  16044. <optional>
  16045. <attribute name="style:cell-protect">
  16046. <choice>
  16047. <value>none</value>
  16048. <value>hidden-and-protected</value>
  16049. <list>
  16050. <oneOrMore>
  16051. <choice>
  16052. <value>protected</value>
  16053. <value>formula-hidden</value>
  16054. </choice>
  16055. </oneOrMore>
  16056. </list>
  16057. </choice>
  16058. </attribute>
  16059. </optional>
  16060. <optional>
  16061. <attribute name="style:print-content">
  16062. <ref name="boolean"/>
  16063. </attribute>
  16064. </optional>
  16065. <optional>
  16066. <attribute name="style:decimal-places">
  16067. <ref name="nonNegativeInteger"/>
  16068. </attribute>
  16069. </optional>
  16070. <optional>
  16071. <attribute name="style:repeat-content">
  16072. <ref name="boolean"/>
  16073. </attribute>
  16074. </optional>
  16075. <optional>
  16076. <attribute name="style:shrink-to-fit">
  16077. <ref name="boolean"/>
  16078. </attribute>
  16079. </optional>
  16080. </interleave>
  16081. </define>
  16082. <define name="common-style-direction-attlist">
  16083. <optional>
  16084. <attribute name="style:direction">
  16085. <choice>
  16086. <value>ltr</value>
  16087. <value>ttb</value>
  16088. </choice>
  16089. </attribute>
  16090. </optional>
  16091. </define>
  16092. <define name="style-table-cell-properties-elements">
  16093. <ref name="style-background-image"/>
  16094. </define>
  16095. <define name="common-rotation-angle-attlist">
  16096. <optional>
  16097. <attribute name="style:rotation-angle">
  16098. <ref name="angle"/>
  16099. </attribute>
  16100. </optional>
  16101. </define>
  16102. <define name="style-list-level-properties">
  16103. <element name="style:list-level-properties">
  16104. <ref name="style-list-level-properties-content-strict"/>
  16105. </element>
  16106. </define>
  16107. <define name="style-list-level-properties-content-strict">
  16108. <ref name="style-list-level-properties-attlist"/>
  16109. <ref name="style-list-level-properties-elements"/>
  16110. </define>
  16111. <define name="style-list-level-properties-attlist">
  16112. <interleave>
  16113. <ref name="common-text-align"/>
  16114. <optional>
  16115. <attribute name="text:space-before">
  16116. <ref name="length"/>
  16117. </attribute>
  16118. </optional>
  16119. <optional>
  16120. <attribute name="text:min-label-width">
  16121. <ref name="nonNegativeLength"/>
  16122. </attribute>
  16123. </optional>
  16124. <optional>
  16125. <attribute name="text:min-label-distance">
  16126. <ref name="nonNegativeLength"/>
  16127. </attribute>
  16128. </optional>
  16129. <optional>
  16130. <attribute name="style:font-name">
  16131. <ref name="string"/>
  16132. </attribute>
  16133. </optional>
  16134. <optional>
  16135. <attribute name="fo:width">
  16136. <ref name="positiveLength"/>
  16137. </attribute>
  16138. </optional>
  16139. <optional>
  16140. <attribute name="fo:height">
  16141. <ref name="positiveLength"/>
  16142. </attribute>
  16143. </optional>
  16144. <ref name="common-vertical-rel-attlist"/>
  16145. <ref name="common-vertical-pos-attlist"/>
  16146. <optional>
  16147. <attribute name="text:list-level-position-and-space-mode">
  16148. <choice>
  16149. <value>label-width-and-position</value>
  16150. <value>label-alignment</value>
  16151. </choice>
  16152. </attribute>
  16153. </optional>
  16154. </interleave>
  16155. </define>
  16156. <define name="style-list-level-properties-elements">
  16157. <ref name="style-list-level-label-alignment"/>
  16158. </define>
  16159. <define name="style-list-level-label-alignment">
  16160. <optional>
  16161. <element name="style:list-level-label-alignment">
  16162. <ref name="style-list-level-label-alignment-attlist"/>
  16163. <empty/>
  16164. </element>
  16165. </optional>
  16166. </define>
  16167. <define name="style-list-level-label-alignment-attlist">
  16168. <interleave>
  16169. <attribute name="text:label-followed-by">
  16170. <choice>
  16171. <value>listtab</value>
  16172. <value>space</value>
  16173. <value>nothing</value>
  16174. </choice>
  16175. </attribute>
  16176. <optional>
  16177. <attribute name="text:list-tab-stop-position">
  16178. <ref name="length"/>
  16179. </attribute>
  16180. </optional>
  16181. <optional>
  16182. <attribute name="fo:text-indent">
  16183. <ref name="length"/>
  16184. </attribute>
  16185. </optional>
  16186. <optional>
  16187. <attribute name="fo:margin-left">
  16188. <ref name="length"/>
  16189. </attribute>
  16190. </optional>
  16191. </interleave>
  16192. </define>
  16193. <define name="style-graphic-properties-attlist">
  16194. <interleave>
  16195. <optional>
  16196. <attribute name="draw:stroke">
  16197. <choice>
  16198. <value>none</value>
  16199. <value>dash</value>
  16200. <value>solid</value>
  16201. </choice>
  16202. </attribute>
  16203. </optional>
  16204. <optional>
  16205. <attribute name="draw:stroke-dash">
  16206. <ref name="styleNameRef"/>
  16207. </attribute>
  16208. </optional>
  16209. <optional>
  16210. <attribute name="draw:stroke-dash-names">
  16211. <ref name="styleNameRefs"/>
  16212. </attribute>
  16213. </optional>
  16214. <optional>
  16215. <attribute name="svg:stroke-width">
  16216. <ref name="length"/>
  16217. </attribute>
  16218. </optional>
  16219. <optional>
  16220. <attribute name="svg:stroke-color">
  16221. <ref name="color"/>
  16222. </attribute>
  16223. </optional>
  16224. <optional>
  16225. <attribute name="draw:marker-start">
  16226. <ref name="styleNameRef"/>
  16227. </attribute>
  16228. </optional>
  16229. <optional>
  16230. <attribute name="draw:marker-end">
  16231. <ref name="styleNameRef"/>
  16232. </attribute>
  16233. </optional>
  16234. <optional>
  16235. <attribute name="draw:marker-start-width">
  16236. <ref name="length"/>
  16237. </attribute>
  16238. </optional>
  16239. <optional>
  16240. <attribute name="draw:marker-end-width">
  16241. <ref name="length"/>
  16242. </attribute>
  16243. </optional>
  16244. <optional>
  16245. <attribute name="draw:marker-start-center">
  16246. <ref name="boolean"/>
  16247. </attribute>
  16248. </optional>
  16249. <optional>
  16250. <attribute name="draw:marker-end-center">
  16251. <ref name="boolean"/>
  16252. </attribute>
  16253. </optional>
  16254. <optional>
  16255. <attribute name="svg:stroke-opacity">
  16256. <choice>
  16257. <data type="double">
  16258. <param name="minInclusive">0</param>
  16259. <param name="maxInclusive">1</param>
  16260. </data>
  16261. <ref name="zeroToHundredPercent"/>
  16262. </choice>
  16263. </attribute>
  16264. </optional>
  16265. <optional>
  16266. <attribute name="draw:stroke-linejoin">
  16267. <choice>
  16268. <value>miter</value>
  16269. <value>round</value>
  16270. <value>bevel</value>
  16271. <value>middle</value>
  16272. <value>none</value>
  16273. </choice>
  16274. </attribute>
  16275. </optional>
  16276. <optional>
  16277. <attribute name="svg:stroke-linecap">
  16278. <choice>
  16279. <value>butt</value>
  16280. <value>square</value>
  16281. <value>round</value>
  16282. </choice>
  16283. </attribute>
  16284. </optional>
  16285. <optional>
  16286. <attribute name="draw:symbol-color">
  16287. <ref name="color"/>
  16288. </attribute>
  16289. </optional>
  16290. <optional>
  16291. <attribute name="text:animation">
  16292. <choice>
  16293. <value>none</value>
  16294. <value>scroll</value>
  16295. <value>alternate</value>
  16296. <value>slide</value>
  16297. </choice>
  16298. </attribute>
  16299. </optional>
  16300. <optional>
  16301. <attribute name="text:animation-direction">
  16302. <choice>
  16303. <value>left</value>
  16304. <value>right</value>
  16305. <value>up</value>
  16306. <value>down</value>
  16307. </choice>
  16308. </attribute>
  16309. </optional>
  16310. <optional>
  16311. <attribute name="text:animation-start-inside">
  16312. <ref name="boolean"/>
  16313. </attribute>
  16314. </optional>
  16315. <optional>
  16316. <attribute name="text:animation-stop-inside">
  16317. <ref name="boolean"/>
  16318. </attribute>
  16319. </optional>
  16320. <optional>
  16321. <attribute name="text:animation-repeat">
  16322. <ref name="nonNegativeInteger"/>
  16323. </attribute>
  16324. </optional>
  16325. <optional>
  16326. <attribute name="text:animation-delay">
  16327. <ref name="duration"/>
  16328. </attribute>
  16329. </optional>
  16330. <optional>
  16331. <attribute name="text:animation-steps">
  16332. <ref name="length"/>
  16333. </attribute>
  16334. </optional>
  16335. <optional>
  16336. <attribute name="draw:auto-grow-width">
  16337. <ref name="boolean"/>
  16338. </attribute>
  16339. </optional>
  16340. <optional>
  16341. <attribute name="draw:auto-grow-height">
  16342. <ref name="boolean"/>
  16343. </attribute>
  16344. </optional>
  16345. <optional>
  16346. <attribute name="draw:fit-to-size">
  16347. <ref name="boolean"/>
  16348. </attribute>
  16349. </optional>
  16350. <optional>
  16351. <attribute name="draw:fit-to-contour">
  16352. <ref name="boolean"/>
  16353. </attribute>
  16354. </optional>
  16355. <optional>
  16356. <attribute name="draw:textarea-vertical-align">
  16357. <choice>
  16358. <value>top</value>
  16359. <value>middle</value>
  16360. <value>bottom</value>
  16361. <value>justify</value>
  16362. </choice>
  16363. </attribute>
  16364. </optional>
  16365. <optional>
  16366. <attribute name="draw:textarea-horizontal-align">
  16367. <choice>
  16368. <value>left</value>
  16369. <value>center</value>
  16370. <value>right</value>
  16371. <value>justify</value>
  16372. </choice>
  16373. </attribute>
  16374. </optional>
  16375. <optional>
  16376. <attribute name="fo:wrap-option">
  16377. <choice>
  16378. <value>no-wrap</value>
  16379. <value>wrap</value>
  16380. </choice>
  16381. </attribute>
  16382. </optional>
  16383. <optional>
  16384. <attribute name="style:shrink-to-fit">
  16385. <ref name="boolean"/>
  16386. </attribute>
  16387. </optional>
  16388. <optional>
  16389. <attribute name="draw:color-mode">
  16390. <choice>
  16391. <value>greyscale</value>
  16392. <value>mono</value>
  16393. <value>watermark</value>
  16394. <value>standard</value>
  16395. </choice>
  16396. </attribute>
  16397. </optional>
  16398. <optional>
  16399. <attribute name="draw:color-inversion">
  16400. <ref name="boolean"/>
  16401. </attribute>
  16402. </optional>
  16403. <optional>
  16404. <attribute name="draw:luminance">
  16405. <ref name="zeroToHundredPercent"/>
  16406. </attribute>
  16407. </optional>
  16408. <optional>
  16409. <attribute name="draw:contrast">
  16410. <ref name="percent"/>
  16411. </attribute>
  16412. </optional>
  16413. <optional>
  16414. <attribute name="draw:gamma">
  16415. <ref name="percent"/>
  16416. </attribute>
  16417. </optional>
  16418. <optional>
  16419. <attribute name="draw:red">
  16420. <ref name="signedZeroToHundredPercent"/>
  16421. </attribute>
  16422. </optional>
  16423. <optional>
  16424. <attribute name="draw:green">
  16425. <ref name="signedZeroToHundredPercent"/>
  16426. </attribute>
  16427. </optional>
  16428. <optional>
  16429. <attribute name="draw:blue">
  16430. <ref name="signedZeroToHundredPercent"/>
  16431. </attribute>
  16432. </optional>
  16433. <optional>
  16434. <attribute name="draw:image-opacity">
  16435. <ref name="zeroToHundredPercent"/>
  16436. </attribute>
  16437. </optional>
  16438. <optional>
  16439. <attribute name="draw:shadow">
  16440. <choice>
  16441. <value>visible</value>
  16442. <value>hidden</value>
  16443. </choice>
  16444. </attribute>
  16445. </optional>
  16446. <optional>
  16447. <attribute name="draw:shadow-offset-x">
  16448. <ref name="length"/>
  16449. </attribute>
  16450. </optional>
  16451. <optional>
  16452. <attribute name="draw:shadow-offset-y">
  16453. <ref name="length"/>
  16454. </attribute>
  16455. </optional>
  16456. <optional>
  16457. <attribute name="draw:shadow-color">
  16458. <ref name="color"/>
  16459. </attribute>
  16460. </optional>
  16461. <optional>
  16462. <attribute name="draw:shadow-opacity">
  16463. <ref name="zeroToHundredPercent"/>
  16464. </attribute>
  16465. </optional>
  16466. <optional>
  16467. <attribute name="draw:start-line-spacing-horizontal">
  16468. <ref name="distance"/>
  16469. </attribute>
  16470. </optional>
  16471. <optional>
  16472. <attribute name="draw:start-line-spacing-vertical">
  16473. <ref name="distance"/>
  16474. </attribute>
  16475. </optional>
  16476. <optional>
  16477. <attribute name="draw:end-line-spacing-horizontal">
  16478. <ref name="distance"/>
  16479. </attribute>
  16480. </optional>
  16481. <optional>
  16482. <attribute name="draw:end-line-spacing-vertical">
  16483. <ref name="distance"/>
  16484. </attribute>
  16485. </optional>
  16486. <optional>
  16487. <attribute name="draw:line-distance">
  16488. <ref name="distance"/>
  16489. </attribute>
  16490. </optional>
  16491. <optional>
  16492. <attribute name="draw:guide-overhang">
  16493. <ref name="length"/>
  16494. </attribute>
  16495. </optional>
  16496. <optional>
  16497. <attribute name="draw:guide-distance">
  16498. <ref name="distance"/>
  16499. </attribute>
  16500. </optional>
  16501. <optional>
  16502. <attribute name="draw:start-guide">
  16503. <ref name="length"/>
  16504. </attribute>
  16505. </optional>
  16506. <optional>
  16507. <attribute name="draw:end-guide">
  16508. <ref name="length"/>
  16509. </attribute>
  16510. </optional>
  16511. <optional>
  16512. <attribute name="draw:placing">
  16513. <choice>
  16514. <value>below</value>
  16515. <value>above</value>
  16516. </choice>
  16517. </attribute>
  16518. </optional>
  16519. <optional>
  16520. <attribute name="draw:parallel">
  16521. <ref name="boolean"/>
  16522. </attribute>
  16523. </optional>
  16524. <optional>
  16525. <attribute name="draw:measure-align">
  16526. <choice>
  16527. <value>automatic</value>
  16528. <value>left-outside</value>
  16529. <value>inside</value>
  16530. <value>right-outside</value>
  16531. </choice>
  16532. </attribute>
  16533. </optional>
  16534. <optional>
  16535. <attribute name="draw:measure-vertical-align">
  16536. <choice>
  16537. <value>automatic</value>
  16538. <value>above</value>
  16539. <value>below</value>
  16540. <value>center</value>
  16541. </choice>
  16542. </attribute>
  16543. </optional>
  16544. <optional>
  16545. <attribute name="draw:unit">
  16546. <choice>
  16547. <value>automatic</value>
  16548. <value>mm</value>
  16549. <value>cm</value>
  16550. <value>m</value>
  16551. <value>km</value>
  16552. <value>pt</value>
  16553. <value>pc</value>
  16554. <value>inch</value>
  16555. <value>ft</value>
  16556. <value>mi</value>
  16557. </choice>
  16558. </attribute>
  16559. </optional>
  16560. <optional>
  16561. <attribute name="draw:show-unit">
  16562. <ref name="boolean"/>
  16563. </attribute>
  16564. </optional>
  16565. <optional>
  16566. <attribute name="draw:decimal-places">
  16567. <ref name="nonNegativeInteger"/>
  16568. </attribute>
  16569. </optional>
  16570. <optional>
  16571. <attribute name="draw:caption-type">
  16572. <choice>
  16573. <value>straight-line</value>
  16574. <value>angled-line</value>
  16575. <value>angled-connector-line</value>
  16576. </choice>
  16577. </attribute>
  16578. </optional>
  16579. <optional>
  16580. <attribute name="draw:caption-angle-type">
  16581. <choice>
  16582. <value>fixed</value>
  16583. <value>free</value>
  16584. </choice>
  16585. </attribute>
  16586. </optional>
  16587. <optional>
  16588. <attribute name="draw:caption-angle">
  16589. <ref name="angle"/>
  16590. </attribute>
  16591. </optional>
  16592. <optional>
  16593. <attribute name="draw:caption-gap">
  16594. <ref name="distance"/>
  16595. </attribute>
  16596. </optional>
  16597. <optional>
  16598. <attribute name="draw:caption-escape-direction">
  16599. <choice>
  16600. <value>horizontal</value>
  16601. <value>vertical</value>
  16602. <value>auto</value>
  16603. </choice>
  16604. </attribute>
  16605. </optional>
  16606. <optional>
  16607. <attribute name="draw:caption-escape">
  16608. <choice>
  16609. <ref name="length"/>
  16610. <ref name="percent"/>
  16611. </choice>
  16612. </attribute>
  16613. </optional>
  16614. <optional>
  16615. <attribute name="draw:caption-line-length">
  16616. <ref name="length"/>
  16617. </attribute>
  16618. </optional>
  16619. <optional>
  16620. <attribute name="draw:caption-fit-line-length">
  16621. <ref name="boolean"/>
  16622. </attribute>
  16623. </optional>
  16624. <optional>
  16625. <attribute name="dr3d:horizontal-segments">
  16626. <ref name="nonNegativeInteger"/>
  16627. </attribute>
  16628. </optional>
  16629. <optional>
  16630. <attribute name="dr3d:vertical-segments">
  16631. <ref name="nonNegativeInteger"/>
  16632. </attribute>
  16633. </optional>
  16634. <optional>
  16635. <attribute name="dr3d:edge-rounding">
  16636. <ref name="percent"/>
  16637. </attribute>
  16638. </optional>
  16639. <optional>
  16640. <attribute name="dr3d:edge-rounding-mode">
  16641. <choice>
  16642. <value>correct</value>
  16643. <value>attractive</value>
  16644. </choice>
  16645. </attribute>
  16646. </optional>
  16647. <optional>
  16648. <attribute name="dr3d:back-scale">
  16649. <ref name="percent"/>
  16650. </attribute>
  16651. </optional>
  16652. <optional>
  16653. <attribute name="dr3d:depth">
  16654. <ref name="length"/>
  16655. </attribute>
  16656. </optional>
  16657. <optional>
  16658. <attribute name="dr3d:backface-culling">
  16659. <choice>
  16660. <value>enabled</value>
  16661. <value>disabled</value>
  16662. </choice>
  16663. </attribute>
  16664. </optional>
  16665. <optional>
  16666. <attribute name="dr3d:end-angle">
  16667. <ref name="angle"/>
  16668. </attribute>
  16669. </optional>
  16670. <optional>
  16671. <attribute name="dr3d:close-front">
  16672. <ref name="boolean"/>
  16673. </attribute>
  16674. </optional>
  16675. <optional>
  16676. <attribute name="dr3d:close-back">
  16677. <ref name="boolean"/>
  16678. </attribute>
  16679. </optional>
  16680. <optional>
  16681. <attribute name="dr3d:lighting-mode">
  16682. <choice>
  16683. <value>standard</value>
  16684. <value>double-sided</value>
  16685. </choice>
  16686. </attribute>
  16687. </optional>
  16688. <optional>
  16689. <attribute name="dr3d:normals-kind">
  16690. <choice>
  16691. <value>object</value>
  16692. <value>flat</value>
  16693. <value>sphere</value>
  16694. </choice>
  16695. </attribute>
  16696. </optional>
  16697. <optional>
  16698. <attribute name="dr3d:normals-direction">
  16699. <choice>
  16700. <value>normal</value>
  16701. <value>inverse</value>
  16702. </choice>
  16703. </attribute>
  16704. </optional>
  16705. <optional>
  16706. <attribute name="dr3d:texture-generation-mode-x">
  16707. <choice>
  16708. <value>object</value>
  16709. <value>parallel</value>
  16710. <value>sphere</value>
  16711. </choice>
  16712. </attribute>
  16713. </optional>
  16714. <optional>
  16715. <attribute name="dr3d:texture-generation-mode-y">
  16716. <choice>
  16717. <value>object</value>
  16718. <value>parallel</value>
  16719. <value>sphere</value>
  16720. </choice>
  16721. </attribute>
  16722. </optional>
  16723. <optional>
  16724. <attribute name="dr3d:texture-kind">
  16725. <choice>
  16726. <value>luminance</value>
  16727. <value>intensity</value>
  16728. <value>color</value>
  16729. </choice>
  16730. </attribute>
  16731. </optional>
  16732. <optional>
  16733. <attribute name="dr3d:texture-filter">
  16734. <choice>
  16735. <value>enabled</value>
  16736. <value>disabled</value>
  16737. </choice>
  16738. </attribute>
  16739. </optional>
  16740. <optional>
  16741. <attribute name="dr3d:texture-mode">
  16742. <choice>
  16743. <value>replace</value>
  16744. <value>modulate</value>
  16745. <value>blend</value>
  16746. </choice>
  16747. </attribute>
  16748. </optional>
  16749. <optional>
  16750. <attribute name="dr3d:ambient-color">
  16751. <ref name="color"/>
  16752. </attribute>
  16753. </optional>
  16754. <optional>
  16755. <attribute name="dr3d:emissive-color">
  16756. <ref name="color"/>
  16757. </attribute>
  16758. </optional>
  16759. <optional>
  16760. <attribute name="dr3d:specular-color">
  16761. <ref name="color"/>
  16762. </attribute>
  16763. </optional>
  16764. <optional>
  16765. <attribute name="dr3d:diffuse-color">
  16766. <ref name="color"/>
  16767. </attribute>
  16768. </optional>
  16769. <optional>
  16770. <attribute name="dr3d:shininess">
  16771. <ref name="percent"/>
  16772. </attribute>
  16773. </optional>
  16774. <optional>
  16775. <attribute name="dr3d:shadow">
  16776. <choice>
  16777. <value>visible</value>
  16778. <value>hidden</value>
  16779. </choice>
  16780. </attribute>
  16781. </optional>
  16782. <ref name="common-draw-rel-size-attlist"/>
  16783. <optional>
  16784. <attribute name="fo:min-width">
  16785. <choice>
  16786. <ref name="length"/>
  16787. <ref name="percent"/>
  16788. </choice>
  16789. </attribute>
  16790. </optional>
  16791. <optional>
  16792. <attribute name="fo:min-height">
  16793. <choice>
  16794. <ref name="length"/>
  16795. <ref name="percent"/>
  16796. </choice>
  16797. </attribute>
  16798. </optional>
  16799. <optional>
  16800. <attribute name="fo:max-height">
  16801. <choice>
  16802. <ref name="length"/>
  16803. <ref name="percent"/>
  16804. </choice>
  16805. </attribute>
  16806. </optional>
  16807. <optional>
  16808. <attribute name="fo:max-width">
  16809. <choice>
  16810. <ref name="length"/>
  16811. <ref name="percent"/>
  16812. </choice>
  16813. </attribute>
  16814. </optional>
  16815. <ref name="common-horizontal-margin-attlist"/>
  16816. <ref name="common-vertical-margin-attlist"/>
  16817. <ref name="common-margin-attlist"/>
  16818. <optional>
  16819. <attribute name="style:print-content">
  16820. <ref name="boolean"/>
  16821. </attribute>
  16822. </optional>
  16823. <optional>
  16824. <attribute name="style:protect">
  16825. <choice>
  16826. <value>none</value>
  16827. <list>
  16828. <oneOrMore>
  16829. <choice>
  16830. <value>content</value>
  16831. <value>position</value>
  16832. <value>size</value>
  16833. </choice>
  16834. </oneOrMore>
  16835. </list>
  16836. </choice>
  16837. </attribute>
  16838. </optional>
  16839. <optional>
  16840. <attribute name="style:horizontal-pos">
  16841. <choice>
  16842. <value>left</value>
  16843. <value>center</value>
  16844. <value>right</value>
  16845. <value>from-left</value>
  16846. <value>inside</value>
  16847. <value>outside</value>
  16848. <value>from-inside</value>
  16849. </choice>
  16850. </attribute>
  16851. </optional>
  16852. <optional>
  16853. <attribute name="svg:x">
  16854. <ref name="coordinate"/>
  16855. </attribute>
  16856. </optional>
  16857. <optional>
  16858. <attribute name="style:horizontal-rel">
  16859. <choice>
  16860. <value>page</value>
  16861. <value>page-content</value>
  16862. <value>page-start-margin</value>
  16863. <value>page-end-margin</value>
  16864. <value>frame</value>
  16865. <value>frame-content</value>
  16866. <value>frame-start-margin</value>
  16867. <value>frame-end-margin</value>
  16868. <value>paragraph</value>
  16869. <value>paragraph-content</value>
  16870. <value>paragraph-start-margin</value>
  16871. <value>paragraph-end-margin</value>
  16872. <value>char</value>
  16873. </choice>
  16874. </attribute>
  16875. </optional>
  16876. <ref name="common-vertical-pos-attlist"/>
  16877. <ref name="common-vertical-rel-attlist"/>
  16878. <ref name="common-text-anchor-attlist"/>
  16879. <ref name="common-border-attlist"/>
  16880. <ref name="common-border-line-width-attlist"/>
  16881. <ref name="common-padding-attlist"/>
  16882. <ref name="common-shadow-attlist"/>
  16883. <ref name="common-background-color-attlist"/>
  16884. <ref name="common-background-transparency-attlist"/>
  16885. <ref name="common-editable-attlist"/>
  16886. <optional>
  16887. <attribute name="style:wrap">
  16888. <choice>
  16889. <value>none</value>
  16890. <value>left</value>
  16891. <value>right</value>
  16892. <value>parallel</value>
  16893. <value>dynamic</value>
  16894. <value>run-through</value>
  16895. <value>biggest</value>
  16896. </choice>
  16897. </attribute>
  16898. </optional>
  16899. <optional>
  16900. <attribute name="style:wrap-dynamic-threshold">
  16901. <ref name="nonNegativeLength"/>
  16902. </attribute>
  16903. </optional>
  16904. <optional>
  16905. <attribute name="style:number-wrapped-paragraphs">
  16906. <choice>
  16907. <value>no-limit</value>
  16908. <ref name="positiveInteger"/>
  16909. </choice>
  16910. </attribute>
  16911. </optional>
  16912. <optional>
  16913. <attribute name="style:wrap-contour">
  16914. <ref name="boolean"/>
  16915. </attribute>
  16916. </optional>
  16917. <optional>
  16918. <attribute name="style:wrap-contour-mode">
  16919. <choice>
  16920. <value>full</value>
  16921. <value>outside</value>
  16922. </choice>
  16923. </attribute>
  16924. </optional>
  16925. <optional>
  16926. <attribute name="style:run-through">
  16927. <choice>
  16928. <value>foreground</value>
  16929. <value>background</value>
  16930. </choice>
  16931. </attribute>
  16932. </optional>
  16933. <optional>
  16934. <attribute name="style:flow-with-text">
  16935. <ref name="boolean"/>
  16936. </attribute>
  16937. </optional>
  16938. <optional>
  16939. <attribute name="style:overflow-behavior">
  16940. <choice>
  16941. <value>clip</value>
  16942. <value>auto-create-new-frame</value>
  16943. </choice>
  16944. </attribute>
  16945. </optional>
  16946. <optional>
  16947. <attribute name="style:mirror">
  16948. <choice>
  16949. <value>none</value>
  16950. <value>vertical</value>
  16951. <ref name="horizontal-mirror"/>
  16952. <list>
  16953. <value>vertical</value>
  16954. <ref name="horizontal-mirror"/>
  16955. </list>
  16956. <list>
  16957. <ref name="horizontal-mirror"/>
  16958. <value>vertical</value>
  16959. </list>
  16960. </choice>
  16961. </attribute>
  16962. </optional>
  16963. <optional>
  16964. <attribute name="fo:clip">
  16965. <choice>
  16966. <value>auto</value>
  16967. <ref name="clipShape"/>
  16968. </choice>
  16969. </attribute>
  16970. </optional>
  16971. <optional>
  16972. <attribute name="draw:wrap-influence-on-position">
  16973. <choice>
  16974. <value>iterative</value>
  16975. <value>once-concurrent</value>
  16976. <value>once-successive</value>
  16977. </choice>
  16978. </attribute>
  16979. </optional>
  16980. <ref name="common-writing-mode-attlist"/>
  16981. <optional>
  16982. <attribute name="draw:frame-display-scrollbar">
  16983. <ref name="boolean"/>
  16984. </attribute>
  16985. </optional>
  16986. <optional>
  16987. <attribute name="draw:frame-display-border">
  16988. <ref name="boolean"/>
  16989. </attribute>
  16990. </optional>
  16991. <optional>
  16992. <attribute name="draw:frame-margin-horizontal">
  16993. <ref name="nonNegativePixelLength"/>
  16994. </attribute>
  16995. </optional>
  16996. <optional>
  16997. <attribute name="draw:frame-margin-vertical">
  16998. <ref name="nonNegativePixelLength"/>
  16999. </attribute>
  17000. </optional>
  17001. <optional>
  17002. <attribute name="draw:visible-area-left">
  17003. <ref name="nonNegativeLength"/>
  17004. </attribute>
  17005. </optional>
  17006. <optional>
  17007. <attribute name="draw:visible-area-top">
  17008. <ref name="nonNegativeLength"/>
  17009. </attribute>
  17010. </optional>
  17011. <optional>
  17012. <attribute name="draw:visible-area-width">
  17013. <ref name="positiveLength"/>
  17014. </attribute>
  17015. </optional>
  17016. <optional>
  17017. <attribute name="draw:visible-area-height">
  17018. <ref name="positiveLength"/>
  17019. </attribute>
  17020. </optional>
  17021. <optional>
  17022. <attribute name="draw:draw-aspect">
  17023. <choice>
  17024. <value>content</value>
  17025. <value>thumbnail</value>
  17026. <value>icon</value>
  17027. <value>print-view</value>
  17028. </choice>
  17029. </attribute>
  17030. </optional>
  17031. <optional>
  17032. <attribute name="draw:ole-draw-aspect">
  17033. <ref name="nonNegativeInteger"/>
  17034. </attribute>
  17035. </optional>
  17036. </interleave>
  17037. </define>
  17038. <define name="style-graphic-fill-properties-attlist">
  17039. <interleave>
  17040. <optional>
  17041. <attribute name="draw:fill">
  17042. <choice>
  17043. <value>none</value>
  17044. <value>solid</value>
  17045. <value>bitmap</value>
  17046. <value>gradient</value>
  17047. <value>hatch</value>
  17048. </choice>
  17049. </attribute>
  17050. </optional>
  17051. <optional>
  17052. <attribute name="draw:fill-color">
  17053. <ref name="color"/>
  17054. </attribute>
  17055. </optional>
  17056. <optional>
  17057. <attribute name="draw:secondary-fill-color">
  17058. <ref name="color"/>
  17059. </attribute>
  17060. </optional>
  17061. <optional>
  17062. <attribute name="draw:fill-gradient-name">
  17063. <ref name="styleNameRef"/>
  17064. </attribute>
  17065. </optional>
  17066. <optional>
  17067. <attribute name="draw:gradient-step-count">
  17068. <ref name="nonNegativeInteger"/>
  17069. </attribute>
  17070. </optional>
  17071. <optional>
  17072. <attribute name="draw:fill-hatch-name">
  17073. <ref name="styleNameRef"/>
  17074. </attribute>
  17075. </optional>
  17076. <optional>
  17077. <attribute name="draw:fill-hatch-solid">
  17078. <ref name="boolean"/>
  17079. </attribute>
  17080. </optional>
  17081. <optional>
  17082. <attribute name="draw:fill-image-name">
  17083. <ref name="styleNameRef"/>
  17084. </attribute>
  17085. </optional>
  17086. <optional>
  17087. <attribute name="style:repeat">
  17088. <choice>
  17089. <value>no-repeat</value>
  17090. <value>repeat</value>
  17091. <value>stretch</value>
  17092. </choice>
  17093. </attribute>
  17094. </optional>
  17095. <optional>
  17096. <attribute name="draw:fill-image-width">
  17097. <choice>
  17098. <ref name="length"/>
  17099. <ref name="percent"/>
  17100. </choice>
  17101. </attribute>
  17102. </optional>
  17103. <optional>
  17104. <attribute name="draw:fill-image-height">
  17105. <choice>
  17106. <ref name="length"/>
  17107. <ref name="percent"/>
  17108. </choice>
  17109. </attribute>
  17110. </optional>
  17111. <optional>
  17112. <attribute name="draw:fill-image-ref-point-x">
  17113. <ref name="percent"/>
  17114. </attribute>
  17115. </optional>
  17116. <optional>
  17117. <attribute name="draw:fill-image-ref-point-y">
  17118. <ref name="percent"/>
  17119. </attribute>
  17120. </optional>
  17121. <optional>
  17122. <attribute name="draw:fill-image-ref-point">
  17123. <choice>
  17124. <value>top-left</value>
  17125. <value>top</value>
  17126. <value>top-right</value>
  17127. <value>left</value>
  17128. <value>center</value>
  17129. <value>right</value>
  17130. <value>bottom-left</value>
  17131. <value>bottom</value>
  17132. <value>bottom-right</value>
  17133. </choice>
  17134. </attribute>
  17135. </optional>
  17136. <optional>
  17137. <attribute name="draw:tile-repeat-offset">
  17138. <list>
  17139. <ref name="zeroToHundredPercent"/>
  17140. <choice>
  17141. <value>horizontal</value>
  17142. <value>vertical</value>
  17143. </choice>
  17144. </list>
  17145. </attribute>
  17146. </optional>
  17147. <optional>
  17148. <attribute name="draw:opacity">
  17149. <ref name="zeroToHundredPercent"/>
  17150. </attribute>
  17151. </optional>
  17152. <optional>
  17153. <attribute name="draw:opacity-name">
  17154. <ref name="styleNameRef"/>
  17155. </attribute>
  17156. </optional>
  17157. <optional>
  17158. <attribute name="svg:fill-rule">
  17159. <choice>
  17160. <value>nonzero</value>
  17161. <value>evenodd</value>
  17162. </choice>
  17163. </attribute>
  17164. </optional>
  17165. </interleave>
  17166. </define>
  17167. <define name="style-graphic-properties-elements">
  17168. <interleave>
  17169. <optional>
  17170. <ref name="text-list-style"/>
  17171. </optional>
  17172. <ref name="style-background-image"/>
  17173. <ref name="style-columns"/>
  17174. </interleave>
  17175. </define>
  17176. <define name="common-vertical-pos-attlist">
  17177. <optional>
  17178. <attribute name="style:vertical-pos">
  17179. <choice>
  17180. <value>top</value>
  17181. <value>middle</value>
  17182. <value>bottom</value>
  17183. <value>from-top</value>
  17184. <value>below</value>
  17185. </choice>
  17186. </attribute>
  17187. </optional>
  17188. <optional>
  17189. <attribute name="svg:y">
  17190. <ref name="coordinate"/>
  17191. </attribute>
  17192. </optional>
  17193. </define>
  17194. <define name="common-vertical-rel-attlist">
  17195. <optional>
  17196. <attribute name="style:vertical-rel">
  17197. <choice>
  17198. <value>page</value>
  17199. <value>page-content</value>
  17200. <value>frame</value>
  17201. <value>frame-content</value>
  17202. <value>paragraph</value>
  17203. <value>paragraph-content</value>
  17204. <value>char</value>
  17205. <value>line</value>
  17206. <value>baseline</value>
  17207. <value>text</value>
  17208. </choice>
  17209. </attribute>
  17210. </optional>
  17211. </define>
  17212. <define name="common-editable-attlist">
  17213. <optional>
  17214. <attribute name="style:editable">
  17215. <ref name="boolean"/>
  17216. </attribute>
  17217. </optional>
  17218. </define>
  17219. <define name="horizontal-mirror">
  17220. <choice>
  17221. <value>horizontal</value>
  17222. <value>horizontal-on-odd</value>
  17223. <value>horizontal-on-even</value>
  17224. </choice>
  17225. </define>
  17226. <define name="clipShape">
  17227. <data type="string">
  17228. <param name="pattern">rect\([ ]*((-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)))|(auto))([ ]*,[ ]*((-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc))))|(auto)){3}[ ]*\)</param>
  17229. </data>
  17230. </define>
  17231. <define name="nonNegativePixelLength">
  17232. <data type="string">
  17233. <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)(px)</param>
  17234. </data>
  17235. </define>
  17236. <define name="style-chart-properties">
  17237. <element name="style:chart-properties">
  17238. <ref name="style-chart-properties-content-strict"/>
  17239. </element>
  17240. </define>
  17241. <define name="style-chart-properties-content-strict">
  17242. <ref name="style-chart-properties-attlist"/>
  17243. <ref name="style-chart-properties-elements"/>
  17244. </define>
  17245. <define name="style-chart-properties-elements">
  17246. <empty/>
  17247. </define>
  17248. <define name="style-chart-properties-attlist">
  17249. <interleave>
  17250. <optional>
  17251. <attribute name="chart:scale-text">
  17252. <ref name="boolean"/>
  17253. </attribute>
  17254. </optional>
  17255. <optional>
  17256. <attribute name="chart:three-dimensional">
  17257. <ref name="boolean"/>
  17258. </attribute>
  17259. </optional>
  17260. <optional>
  17261. <attribute name="chart:deep">
  17262. <ref name="boolean"/>
  17263. </attribute>
  17264. </optional>
  17265. <optional>
  17266. <attribute name="chart:right-angled-axes">
  17267. <ref name="boolean"/>
  17268. </attribute>
  17269. </optional>
  17270. <choice>
  17271. <attribute name="chart:symbol-type">
  17272. <value>none</value>
  17273. </attribute>
  17274. <attribute name="chart:symbol-type">
  17275. <value>automatic</value>
  17276. </attribute>
  17277. <group>
  17278. <attribute name="chart:symbol-type">
  17279. <value>named-symbol</value>
  17280. </attribute>
  17281. <attribute name="chart:symbol-name">
  17282. <choice>
  17283. <value>square</value>
  17284. <value>diamond</value>
  17285. <value>arrow-down</value>
  17286. <value>arrow-up</value>
  17287. <value>arrow-right</value>
  17288. <value>arrow-left</value>
  17289. <value>bow-tie</value>
  17290. <value>hourglass</value>
  17291. <value>circle</value>
  17292. <value>star</value>
  17293. <value>x</value>
  17294. <value>plus</value>
  17295. <value>asterisk</value>
  17296. <value>horizontal-bar</value>
  17297. <value>vertical-bar</value>
  17298. </choice>
  17299. </attribute>
  17300. </group>
  17301. <group>
  17302. <attribute name="chart:symbol-type">
  17303. <value>image</value>
  17304. </attribute>
  17305. <element name="chart:symbol-image">
  17306. <attribute name="xlink:href">
  17307. <ref name="anyIRI"/>
  17308. </attribute>
  17309. </element>
  17310. </group>
  17311. <empty/>
  17312. </choice>
  17313. <optional>
  17314. <attribute name="chart:symbol-width">
  17315. <ref name="nonNegativeLength"/>
  17316. </attribute>
  17317. </optional>
  17318. <optional>
  17319. <attribute name="chart:symbol-height">
  17320. <ref name="nonNegativeLength"/>
  17321. </attribute>
  17322. </optional>
  17323. <optional>
  17324. <attribute name="chart:sort-by-x-values">
  17325. <ref name="boolean"/>
  17326. </attribute>
  17327. </optional>
  17328. <optional>
  17329. <attribute name="chart:vertical">
  17330. <ref name="boolean"/>
  17331. </attribute>
  17332. </optional>
  17333. <optional>
  17334. <attribute name="chart:connect-bars">
  17335. <ref name="boolean"/>
  17336. </attribute>
  17337. </optional>
  17338. <optional>
  17339. <attribute name="chart:gap-width">
  17340. <ref name="integer"/>
  17341. </attribute>
  17342. </optional>
  17343. <optional>
  17344. <attribute name="chart:overlap">
  17345. <ref name="integer"/>
  17346. </attribute>
  17347. </optional>
  17348. <optional>
  17349. <attribute name="chart:group-bars-per-axis">
  17350. <ref name="boolean"/>
  17351. </attribute>
  17352. </optional>
  17353. <optional>
  17354. <attribute name="chart:japanese-candle-stick">
  17355. <ref name="boolean"/>
  17356. </attribute>
  17357. </optional>
  17358. <optional>
  17359. <attribute name="chart:interpolation">
  17360. <choice>
  17361. <value>none</value>
  17362. <value>cubic-spline</value>
  17363. <value>b-spline</value>
  17364. </choice>
  17365. </attribute>
  17366. </optional>
  17367. <optional>
  17368. <attribute name="chart:spline-order">
  17369. <ref name="positiveInteger"/>
  17370. </attribute>
  17371. </optional>
  17372. <optional>
  17373. <attribute name="chart:spline-resolution">
  17374. <ref name="positiveInteger"/>
  17375. </attribute>
  17376. </optional>
  17377. <optional>
  17378. <attribute name="chart:pie-offset">
  17379. <ref name="nonNegativeInteger"/>
  17380. </attribute>
  17381. </optional>
  17382. <optional>
  17383. <attribute name="chart:angle-offset">
  17384. <ref name="angle"/>
  17385. </attribute>
  17386. </optional>
  17387. <optional>
  17388. <attribute name="chart:hole-size">
  17389. <ref name="percent"/>
  17390. </attribute>
  17391. </optional>
  17392. <optional>
  17393. <attribute name="chart:lines">
  17394. <ref name="boolean"/>
  17395. </attribute>
  17396. </optional>
  17397. <optional>
  17398. <attribute name="chart:solid-type">
  17399. <choice>
  17400. <value>cuboid</value>
  17401. <value>cylinder</value>
  17402. <value>cone</value>
  17403. <value>pyramid</value>
  17404. </choice>
  17405. </attribute>
  17406. </optional>
  17407. <optional>
  17408. <attribute name="chart:stacked">
  17409. <ref name="boolean"/>
  17410. </attribute>
  17411. </optional>
  17412. <optional>
  17413. <attribute name="chart:percentage">
  17414. <ref name="boolean"/>
  17415. </attribute>
  17416. </optional>
  17417. <optional>
  17418. <attribute name="chart:treat-empty-cells">
  17419. <choice>
  17420. <value>use-zero</value>
  17421. <value>leave-gap</value>
  17422. <value>ignore</value>
  17423. </choice>
  17424. </attribute>
  17425. </optional>
  17426. <optional>
  17427. <attribute name="chart:link-data-style-to-source">
  17428. <ref name="boolean"/>
  17429. </attribute>
  17430. </optional>
  17431. <optional>
  17432. <attribute name="chart:logarithmic">
  17433. <ref name="boolean"/>
  17434. </attribute>
  17435. </optional>
  17436. <optional>
  17437. <attribute name="chart:maximum">
  17438. <ref name="double"/>
  17439. </attribute>
  17440. </optional>
  17441. <optional>
  17442. <attribute name="chart:minimum">
  17443. <ref name="double"/>
  17444. </attribute>
  17445. </optional>
  17446. <optional>
  17447. <attribute name="chart:origin">
  17448. <ref name="double"/>
  17449. </attribute>
  17450. </optional>
  17451. <optional>
  17452. <attribute name="chart:interval-major">
  17453. <ref name="double"/>
  17454. </attribute>
  17455. </optional>
  17456. <optional>
  17457. <attribute name="chart:interval-minor-divisor">
  17458. <ref name="positiveInteger"/>
  17459. </attribute>
  17460. </optional>
  17461. <optional>
  17462. <attribute name="chart:tick-marks-major-inner">
  17463. <ref name="boolean"/>
  17464. </attribute>
  17465. </optional>
  17466. <optional>
  17467. <attribute name="chart:tick-marks-major-outer">
  17468. <ref name="boolean"/>
  17469. </attribute>
  17470. </optional>
  17471. <optional>
  17472. <attribute name="chart:tick-marks-minor-inner">
  17473. <ref name="boolean"/>
  17474. </attribute>
  17475. </optional>
  17476. <optional>
  17477. <attribute name="chart:tick-marks-minor-outer">
  17478. <ref name="boolean"/>
  17479. </attribute>
  17480. </optional>
  17481. <optional>
  17482. <attribute name="chart:reverse-direction">
  17483. <ref name="boolean"/>
  17484. </attribute>
  17485. </optional>
  17486. <optional>
  17487. <attribute name="chart:display-label">
  17488. <ref name="boolean"/>
  17489. </attribute>
  17490. </optional>
  17491. <optional>
  17492. <attribute name="chart:text-overlap">
  17493. <ref name="boolean"/>
  17494. </attribute>
  17495. </optional>
  17496. <optional>
  17497. <attribute name="text:line-break">
  17498. <ref name="boolean"/>
  17499. </attribute>
  17500. </optional>
  17501. <optional>
  17502. <attribute name="chart:label-arrangement">
  17503. <choice>
  17504. <value>side-by-side</value>
  17505. <value>stagger-even</value>
  17506. <value>stagger-odd</value>
  17507. </choice>
  17508. </attribute>
  17509. </optional>
  17510. <ref name="common-style-direction-attlist"/>
  17511. <ref name="common-rotation-angle-attlist"/>
  17512. <optional>
  17513. <attribute name="chart:data-label-number">
  17514. <choice>
  17515. <value>none</value>
  17516. <value>value</value>
  17517. <value>percentage</value>
  17518. <value>value-and-percentage</value>
  17519. </choice>
  17520. </attribute>
  17521. </optional>
  17522. <optional>
  17523. <attribute name="chart:data-label-text">
  17524. <ref name="boolean"/>
  17525. </attribute>
  17526. </optional>
  17527. <optional>
  17528. <attribute name="chart:data-label-symbol">
  17529. <ref name="boolean"/>
  17530. </attribute>
  17531. </optional>
  17532. <optional>
  17533. <element name="chart:label-separator">
  17534. <ref name="text-p"/>
  17535. </element>
  17536. </optional>
  17537. <optional>
  17538. <attribute name="chart:label-position">
  17539. <ref name="labelPositions"/>
  17540. </attribute>
  17541. </optional>
  17542. <optional>
  17543. <attribute name="chart:label-position-negative">
  17544. <ref name="labelPositions"/>
  17545. </attribute>
  17546. </optional>
  17547. <optional>
  17548. <attribute name="chart:visible">
  17549. <ref name="boolean"/>
  17550. </attribute>
  17551. </optional>
  17552. <optional>
  17553. <attribute name="chart:auto-position">
  17554. <ref name="boolean"/>
  17555. </attribute>
  17556. </optional>
  17557. <optional>
  17558. <attribute name="chart:auto-size">
  17559. <ref name="boolean"/>
  17560. </attribute>
  17561. </optional>
  17562. <optional>
  17563. <attribute name="chart:mean-value">
  17564. <ref name="boolean"/>
  17565. </attribute>
  17566. </optional>
  17567. <optional>
  17568. <attribute name="chart:error-category">
  17569. <choice>
  17570. <value>none</value>
  17571. <value>variance</value>
  17572. <value>standard-deviation</value>
  17573. <value>percentage</value>
  17574. <value>error-margin</value>
  17575. <value>constant</value>
  17576. <value>standard-error</value>
  17577. <value>cell-range</value>
  17578. </choice>
  17579. </attribute>
  17580. </optional>
  17581. <optional>
  17582. <attribute name="chart:error-percentage">
  17583. <ref name="double"/>
  17584. </attribute>
  17585. </optional>
  17586. <optional>
  17587. <attribute name="chart:error-margin">
  17588. <ref name="double"/>
  17589. </attribute>
  17590. </optional>
  17591. <optional>
  17592. <attribute name="chart:error-lower-limit">
  17593. <ref name="double"/>
  17594. </attribute>
  17595. </optional>
  17596. <optional>
  17597. <attribute name="chart:error-upper-limit">
  17598. <ref name="double"/>
  17599. </attribute>
  17600. </optional>
  17601. <optional>
  17602. <attribute name="chart:error-upper-indicator">
  17603. <ref name="boolean"/>
  17604. </attribute>
  17605. </optional>
  17606. <optional>
  17607. <attribute name="chart:error-lower-indicator">
  17608. <ref name="boolean"/>
  17609. </attribute>
  17610. </optional>
  17611. <optional>
  17612. <attribute name="chart:error-lower-range">
  17613. <ref name="cellRangeAddressList"/>
  17614. </attribute>
  17615. </optional>
  17616. <optional>
  17617. <attribute name="chart:error-upper-range">
  17618. <ref name="cellRangeAddressList"/>
  17619. </attribute>
  17620. </optional>
  17621. <optional>
  17622. <attribute name="chart:series-source">
  17623. <choice>
  17624. <value>columns</value>
  17625. <value>rows</value>
  17626. </choice>
  17627. </attribute>
  17628. </optional>
  17629. <optional>
  17630. <attribute name="chart:regression-type">
  17631. <choice>
  17632. <value>none</value>
  17633. <value>linear</value>
  17634. <value>logarithmic</value>
  17635. <value>exponential</value>
  17636. <value>power</value>
  17637. </choice>
  17638. </attribute>
  17639. </optional>
  17640. <optional>
  17641. <attribute name="chart:axis-position">
  17642. <choice>
  17643. <value>start</value>
  17644. <value>end</value>
  17645. <ref name="double"/>
  17646. </choice>
  17647. </attribute>
  17648. </optional>
  17649. <optional>
  17650. <attribute name="chart:axis-label-position">
  17651. <choice>
  17652. <value>near-axis</value>
  17653. <value>near-axis-other-side</value>
  17654. <value>outside-start</value>
  17655. <value>outside-end</value>
  17656. </choice>
  17657. </attribute>
  17658. </optional>
  17659. <optional>
  17660. <attribute name="chart:tick-mark-position">
  17661. <choice>
  17662. <value>at-labels</value>
  17663. <value>at-axis</value>
  17664. <value>at-labels-and-axis</value>
  17665. </choice>
  17666. </attribute>
  17667. </optional>
  17668. <optional>
  17669. <attribute name="chart:include-hidden-cells">
  17670. <ref name="boolean"/>
  17671. </attribute>
  17672. </optional>
  17673. </interleave>
  17674. </define>
  17675. <define name="labelPositions">
  17676. <choice>
  17677. <value>avoid-overlap</value>
  17678. <value>center</value>
  17679. <value>top</value>
  17680. <value>top-right</value>
  17681. <value>right</value>
  17682. <value>bottom-right</value>
  17683. <value>bottom</value>
  17684. <value>bottom-left</value>
  17685. <value>left</value>
  17686. <value>top-left</value>
  17687. <value>inside</value>
  17688. <value>outside</value>
  17689. <value>near-origin</value>
  17690. </choice>
  17691. </define>
  17692. <define name="style-drawing-page-properties-attlist">
  17693. <interleave>
  17694. <optional>
  17695. <attribute name="presentation:transition-type">
  17696. <choice>
  17697. <value>manual</value>
  17698. <value>automatic</value>
  17699. <value>semi-automatic</value>
  17700. </choice>
  17701. </attribute>
  17702. </optional>
  17703. <optional>
  17704. <attribute name="presentation:transition-style">
  17705. <choice>
  17706. <value>none</value>
  17707. <value>fade-from-left</value>
  17708. <value>fade-from-top</value>
  17709. <value>fade-from-right</value>
  17710. <value>fade-from-bottom</value>
  17711. <value>fade-from-upperleft</value>
  17712. <value>fade-from-upperright</value>
  17713. <value>fade-from-lowerleft</value>
  17714. <value>fade-from-lowerright</value>
  17715. <value>move-from-left</value>
  17716. <value>move-from-top</value>
  17717. <value>move-from-right</value>
  17718. <value>move-from-bottom</value>
  17719. <value>move-from-upperleft</value>
  17720. <value>move-from-upperright</value>
  17721. <value>move-from-lowerleft</value>
  17722. <value>move-from-lowerright</value>
  17723. <value>uncover-to-left</value>
  17724. <value>uncover-to-top</value>
  17725. <value>uncover-to-right</value>
  17726. <value>uncover-to-bottom</value>
  17727. <value>uncover-to-upperleft</value>
  17728. <value>uncover-to-upperright</value>
  17729. <value>uncover-to-lowerleft</value>
  17730. <value>uncover-to-lowerright</value>
  17731. <value>fade-to-center</value>
  17732. <value>fade-from-center</value>
  17733. <value>vertical-stripes</value>
  17734. <value>horizontal-stripes</value>
  17735. <value>clockwise</value>
  17736. <value>counterclockwise</value>
  17737. <value>open-vertical</value>
  17738. <value>open-horizontal</value>
  17739. <value>close-vertical</value>
  17740. <value>close-horizontal</value>
  17741. <value>wavyline-from-left</value>
  17742. <value>wavyline-from-top</value>
  17743. <value>wavyline-from-right</value>
  17744. <value>wavyline-from-bottom</value>
  17745. <value>spiralin-left</value>
  17746. <value>spiralin-right</value>
  17747. <value>spiralout-left</value>
  17748. <value>spiralout-right</value>
  17749. <value>roll-from-top</value>
  17750. <value>roll-from-left</value>
  17751. <value>roll-from-right</value>
  17752. <value>roll-from-bottom</value>
  17753. <value>stretch-from-left</value>
  17754. <value>stretch-from-top</value>
  17755. <value>stretch-from-right</value>
  17756. <value>stretch-from-bottom</value>
  17757. <value>vertical-lines</value>
  17758. <value>horizontal-lines</value>
  17759. <value>dissolve</value>
  17760. <value>random</value>
  17761. <value>vertical-checkerboard</value>
  17762. <value>horizontal-checkerboard</value>
  17763. <value>interlocking-horizontal-left</value>
  17764. <value>interlocking-horizontal-right</value>
  17765. <value>interlocking-vertical-top</value>
  17766. <value>interlocking-vertical-bottom</value>
  17767. <value>fly-away</value>
  17768. <value>open</value>
  17769. <value>close</value>
  17770. <value>melt</value>
  17771. </choice>
  17772. </attribute>
  17773. </optional>
  17774. <optional>
  17775. <attribute name="presentation:transition-speed">
  17776. <ref name="presentationSpeeds"/>
  17777. </attribute>
  17778. </optional>
  17779. <optional>
  17780. <attribute name="smil:type">
  17781. <ref name="string"/>
  17782. </attribute>
  17783. </optional>
  17784. <optional>
  17785. <attribute name="smil:subtype">
  17786. <ref name="string"/>
  17787. </attribute>
  17788. </optional>
  17789. <optional>
  17790. <attribute name="smil:direction">
  17791. <choice>
  17792. <value>forward</value>
  17793. <value>reverse</value>
  17794. </choice>
  17795. </attribute>
  17796. </optional>
  17797. <optional>
  17798. <attribute name="smil:fadeColor">
  17799. <ref name="color"/>
  17800. </attribute>
  17801. </optional>
  17802. <optional>
  17803. <attribute name="presentation:duration">
  17804. <ref name="duration"/>
  17805. </attribute>
  17806. </optional>
  17807. <optional>
  17808. <attribute name="presentation:visibility">
  17809. <choice>
  17810. <value>visible</value>
  17811. <value>hidden</value>
  17812. </choice>
  17813. </attribute>
  17814. </optional>
  17815. <optional>
  17816. <attribute name="draw:background-size">
  17817. <choice>
  17818. <value>full</value>
  17819. <value>border</value>
  17820. </choice>
  17821. </attribute>
  17822. </optional>
  17823. <optional>
  17824. <attribute name="presentation:background-objects-visible">
  17825. <ref name="boolean"/>
  17826. </attribute>
  17827. </optional>
  17828. <optional>
  17829. <attribute name="presentation:background-visible">
  17830. <ref name="boolean"/>
  17831. </attribute>
  17832. </optional>
  17833. <optional>
  17834. <attribute name="presentation:display-header">
  17835. <ref name="boolean"/>
  17836. </attribute>
  17837. </optional>
  17838. <optional>
  17839. <attribute name="presentation:display-footer">
  17840. <ref name="boolean"/>
  17841. </attribute>
  17842. </optional>
  17843. <optional>
  17844. <attribute name="presentation:display-page-number">
  17845. <ref name="boolean"/>
  17846. </attribute>
  17847. </optional>
  17848. <optional>
  17849. <attribute name="presentation:display-date-time">
  17850. <ref name="boolean"/>
  17851. </attribute>
  17852. </optional>
  17853. </interleave>
  17854. </define>
  17855. <define name="style-drawing-page-properties-elements">
  17856. <optional>
  17857. <ref name="presentation-sound"/>
  17858. </optional>
  17859. </define>
  17860. <define name="string">
  17861. <data type="string"/>
  17862. </define>
  17863. <define name="date">
  17864. <data type="date"/>
  17865. </define>
  17866. <define name="time">
  17867. <data type="time"/>
  17868. </define>
  17869. <define name="dateTime">
  17870. <data type="dateTime"/>
  17871. </define>
  17872. <define name="duration">
  17873. <data type="duration"/>
  17874. </define>
  17875. <define name="integer">
  17876. <data type="integer"/>
  17877. </define>
  17878. <define name="nonNegativeInteger">
  17879. <data type="nonNegativeInteger"/>
  17880. </define>
  17881. <define name="positiveInteger">
  17882. <data type="positiveInteger"/>
  17883. </define>
  17884. <define name="double">
  17885. <data type="double"/>
  17886. </define>
  17887. <define name="anyURI">
  17888. <data type="anyURI"/>
  17889. </define>
  17890. <define name="base64Binary">
  17891. <data type="base64Binary"/>
  17892. </define>
  17893. <define name="ID">
  17894. <data type="ID"/>
  17895. </define>
  17896. <define name="IDREF">
  17897. <data type="IDREF"/>
  17898. </define>
  17899. <define name="IDREFS">
  17900. <data type="IDREFS"/>
  17901. </define>
  17902. <define name="NCName">
  17903. <data type="NCName"/>
  17904. </define>
  17905. <define name="boolean">
  17906. <choice>
  17907. <value>true</value>
  17908. <value>false</value>
  17909. </choice>
  17910. </define>
  17911. <define name="dateOrDateTime">
  17912. <choice>
  17913. <data type="date"/>
  17914. <data type="dateTime"/>
  17915. </choice>
  17916. </define>
  17917. <define name="timeOrDateTime">
  17918. <choice>
  17919. <data type="time"/>
  17920. <data type="dateTime"/>
  17921. </choice>
  17922. </define>
  17923. <define name="language">
  17924. <data type="language"/>
  17925. </define>
  17926. <define name="countryCode">
  17927. <data type="token">
  17928. <param name="pattern">[A-Za-z0-9]{1,8}</param>
  17929. </data>
  17930. </define>
  17931. <define name="languageCode">
  17932. <data type="token">
  17933. <param name="pattern">[A-Za-z]{1,8}</param>
  17934. </data>
  17935. </define>
  17936. <define name="scriptCode">
  17937. <data type="token">
  17938. <param name="pattern">[A-Za-z0-9]{1,8}</param>
  17939. </data>
  17940. </define>
  17941. <define name="character">
  17942. <data type="string">
  17943. <param name="length">1</param>
  17944. </data>
  17945. </define>
  17946. <define name="length">
  17947. <data type="string">
  17948. <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
  17949. </data>
  17950. </define>
  17951. <define name="nonNegativeLength">
  17952. <data type="string">
  17953. <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
  17954. </data>
  17955. </define>
  17956. <define name="positiveLength">
  17957. <data type="string">
  17958. <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>
  17959. </data>
  17960. </define>
  17961. <define name="percent">
  17962. <data type="string">
  17963. <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)%</param>
  17964. </data>
  17965. </define>
  17966. <define name="zeroToHundredPercent">
  17967. <data type="string">
  17968. <param name="pattern">([0-9]?[0-9](\.[0-9]*)?|100(\.0*)?|\.[0-9]+)%</param>
  17969. </data>
  17970. </define>
  17971. <define name="signedZeroToHundredPercent">
  17972. <data type="string">
  17973. <param name="pattern">-?([0-9]?[0-9](\.[0-9]*)?|100(\.0*)?|\.[0-9]+)%</param>
  17974. </data>
  17975. </define>
  17976. <define name="relativeLength">
  17977. <data type="string">
  17978. <param name="pattern">[0-9]+\*</param>
  17979. </data>
  17980. </define>
  17981. <define name="coordinate">
  17982. <ref name="length"/>
  17983. </define>
  17984. <define name="distance">
  17985. <ref name="length"/>
  17986. </define>
  17987. <define name="color">
  17988. <data type="string">
  17989. <param name="pattern">#[0-9a-fA-F]{6}</param>
  17990. </data>
  17991. </define>
  17992. <define name="angle">
  17993. <data type="string"/>
  17994. </define>
  17995. <define name="CURIE">
  17996. <data type="string">
  17997. <param name="pattern">(([\i-[:]][\c-[:]]*)?:)?.+</param>
  17998. <param name="minLength">1</param>
  17999. </data>
  18000. </define>
  18001. <define name="CURIEs">
  18002. <list>
  18003. <oneOrMore>
  18004. <ref name="CURIE"/>
  18005. </oneOrMore>
  18006. </list>
  18007. </define>
  18008. <define name="SafeCURIE">
  18009. <data type="string">
  18010. <param name="pattern">\[(([\i-[:]][\c-[:]]*)?:)?.+\]</param>
  18011. <param name="minLength">3</param>
  18012. </data>
  18013. </define>
  18014. <define name="URIorSafeCURIE">
  18015. <choice>
  18016. <ref name="anyURI"/>
  18017. <ref name="SafeCURIE"/>
  18018. </choice>
  18019. </define>
  18020. <define name="styleName">
  18021. <data type="NCName"/>
  18022. </define>
  18023. <define name="styleNameRef">
  18024. <choice>
  18025. <data type="NCName"/>
  18026. <empty/>
  18027. </choice>
  18028. </define>
  18029. <define name="styleNameRefs">
  18030. <list>
  18031. <zeroOrMore>
  18032. <data type="NCName"/>
  18033. </zeroOrMore>
  18034. </list>
  18035. </define>
  18036. <define name="variableName">
  18037. <data type="string"/>
  18038. </define>
  18039. <define name="targetFrameName">
  18040. <choice>
  18041. <value>_self</value>
  18042. <value>_blank</value>
  18043. <value>_parent</value>
  18044. <value>_top</value>
  18045. <ref name="string"/>
  18046. </choice>
  18047. </define>
  18048. <define name="valueType">
  18049. <choice>
  18050. <value>float</value>
  18051. <value>time</value>
  18052. <value>date</value>
  18053. <value>percentage</value>
  18054. <value>currency</value>
  18055. <value>boolean</value>
  18056. <value>string</value>
  18057. </choice>
  18058. </define>
  18059. <define name="points">
  18060. <data type="string">
  18061. <param name="pattern">-?[0-9]+,-?[0-9]+([ ]+-?[0-9]+,-?[0-9]+)*</param>
  18062. </data>
  18063. </define>
  18064. <define name="pathData">
  18065. <data type="string"/>
  18066. </define>
  18067. <define name="vector3D">
  18068. <data type="string">
  18069. <param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)){2}[ ]*\)</param>
  18070. </data>
  18071. </define>
  18072. <define name="namespacedToken">
  18073. <data type="QName">
  18074. <param name="pattern">[^:]+:[^:]+</param>
  18075. </data>
  18076. </define>
  18077. <define name="anyIRI">
  18078. <data type="anyURI"/>
  18079. <dc:description>An IRI-reference as defined in [RFC3987]. See ODF 1.2 Part 1 section 18.3.</dc:description>
  18080. </define>
  18081. <define name="anyAttListOrElements">
  18082. <zeroOrMore>
  18083. <attribute>
  18084. <anyName/>
  18085. <text/>
  18086. </attribute>
  18087. </zeroOrMore>
  18088. <ref name="anyElements"/>
  18089. </define>
  18090. <define name="anyElements">
  18091. <zeroOrMore>
  18092. <element>
  18093. <anyName/>
  18094. <mixed>
  18095. <ref name="anyAttListOrElements"/>
  18096. </mixed>
  18097. </element>
  18098. </zeroOrMore>
  18099. </define>
  18100. </grammar>