Here is an example of an XML+UTDML. The original file before translation is extracted from an OpenOffice.org odt file. Hope this helps.
Yuemei On 1/3/2013 6:09 AM, Keith Creasy wrote:
John. Do you have an example of an XML+UTDML file created as you outline in the architecture? I think that might be very helpful. Keith Keith Creasy Software Developer American Printing House for the Blind KCreasy@xxxxxxx Phone: 502.895.2405 Skype: keith537 -----Original Message----- From: brailleblaster-bounce@xxxxxxxxxxxxx [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer Sent: Thursday, January 03, 2013 8:19 AM To: brailleblaster@xxxxxxxxxxxxx Subject: [brailleblaster] Re: Different Approaches to document processing. Hi Keith, My thought was that I would develop the documentmodel package. The wordprocesdsor could then use it by means of method calls. I don't want to take over the word processor as well, except for UTD.java, which handles UTDML. I agree that an xml editor doesn't need to be part of BrailleBlaster. It just seemed that it might be faster to get one going than the purely WYSISYG word processor, so an editor would be available sooner. The wordprocessor would be developed in parallel. Let's hear from others on the list. John On Thu, Jan 03, 2013 at 12:45:55PM +0000, Keith Creasy wrote:Yes, I've read the comments in the code and your architecture file. Very helpful. We need to work on the interface between the views and the document. That probably means defining a document interface and a view interface that is XML centric. John, I'm not sure what anyone else can contribute since you want control of the word processor and the document model. Until those are fleshed out there's not really much anyone else can do. At least, speaking for myself, I can't think of anything substantive I can contribute. I'm beginning to think that an XML editor really has no place here. Anyone can just use an external XML editor if they need to do that. Keith Creasy Software Developer American Printing House for the Blind KCreasy@xxxxxxx Phone: 502.895.2405 Skype: keith537 -----Original Message----- From: brailleblaster-bounce@xxxxxxxxxxxxx [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer Sent: Thursday, January 03, 2013 1:50 AM To: brailleblaster@xxxxxxxxxxxxx Subject: [brailleblaster] Different Approaches to document processing. Hi Keith, Yes. Please do outoline your approach. There may be some here who are not acvaquaintged with it. My approach is described in detail in the files in the documentation directory of the brailleblaster.newdesign repository. In addition, Semantics.java contains considerable documentation in the form of javadoc comments. Thanks, John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities-- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities
-- ________________________________________ Yuemei Sun | Software Engineer | 541.754.4002 ext. 229 | www.viewplus.com ________________________________________ PRIVILEGED AND CONFIDENTIAL: This message and any files transmitted with it may be proprietary and are intended solely for the use of the individual to whom they are addressed. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited; please notify the sender and delete the message. ViewPlus Technologies, Inc. accepts no liability for damage of any kind resulting from this email.
<?xml version="1.0" encoding="UTF-8"?> <office:document-content xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/"; xmlns:dom="http://www.w3.org/2001/xml-events"; xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:grddl="http://www.w3.org/2003/g/data-view#"; xmlns:math="http://www.w3.org/1998/Math/MathML"; xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:ooo="http://openoffice.org/2004/office"; xmlns:oooc="http://openoffice.org/2004/calc"; xmlns:ooow="http://openoffice.org/2004/writer"; xmlns:rpt="http://openoffice.org/2005/report"; xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:tableooo="http://openoffice.org/2009/table"; xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:xforms="http://www.w3.org/2002/xforms"; xmlns:xhtml="http://www.w3.org/1999/xhtml"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; grddl:transformation="http://docs.oasis-open.org/office/1.2/xslt/odf2rdf.xsl"; office:version="1.2"><office:scripts/><office:font-face-decls><style:font-face style:name="Mangal1" svg:font-family="Mangal"/><style:font-face style:font-family-generic="roman" style:font-pitch="variable" style:name="Times New Roman" svg:font-family="'Times New Roman'"/><style:font-face style:font-family-generic="swiss" style:font-pitch="variable" style:name="Arial" svg:font-family="Arial"/><style:font-face style:font-family-generic="swiss" style:font-pitch="variable" style:name="Calibri" svg:font-family="Calibri"/><style:font-face style:font-family-generic="system" style:font-pitch="variable" style:name="Mangal" svg:font-family="Mangal"/><style:font-face style:font-family-generic="system" style:font-pitch="variable" style:name="SimSun" svg:font-family="SimSun"/></office:font-face-decls><office:automatic-styles><style:style style:family="text" style:name="T1"><style:text-properties style:font-name="Arial"/></style:style><style:style style:family="text" style:name="T2"><style:text-properties style:font-name="Calibri"/></style:style></office:automatic-styles><office:body><office:text><text:sequence-decls><text:sequence-decl text:display-outline-level="0" text:name="Illustration"/><text:sequence-decl text:display-outline-level="0" text:name="Table"/><text:sequence-decl text:display-outline-level="0" text:name="Text"/><text:sequence-decl text:display-outline-level="0" text:name="Drawing"/></text:sequence-decls><text:p text:style-name="Standard">Congratulations on purchasing a ViewPlus® Emprint⢠haptic color printer Powered by Tiger®! Share documents with virtually anyone using color and tactile printouts. The ViewPlus Emprint⢠combines reliable Tiger® Technology with HP® quality color ink resolution.The ViewPlus® Emprint⢠Powered by Tiger® is the first full-color ink Braille and tactile graphics printer.<brl index="0 0 3 4 5 6 7 8 9 9 14 15 16 17 18 19 20 21 22 24 25 26 29 30 31 32 32 33 34 35 36 36 37 38 39 40 40 41 42 42 43 44 45 46 48 49 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 68 69 71 72 72 73 75 77 79 80 83 83 84 85 86 88 88 89 90 91 91 93 95 96 97 98 99 100 101 101 105 106 107 111 112 113 114 115 116 117 117 121 122 123 124 125 125 128 129 130 131 134 135 136 137 138 139 140 141 144 145 146 147 148 149 150 151 152 153 154 155 157 158 160 161 162 163 164 164 167 168 168 169 170 171 172 172 173 174 175 176 177 177 178 179 180 181 183 184 184 185 186 189 190 192 193 194 195 196 197 198 199 200 203 204 204 205 206 207 209 209 210 211 211 212 213 215 216 217 218 219 220 221 222 226 227 227 227 228 229 229 230 231 232 233 234 235 235 238 239 240 241 242 243 244 245 247 248 249 250 251 252 253 254 255 255 259 260 260 263 264 264 265 266 267 268 268 269 270 271 272 272 273 274 274 275 276 277 278 280 281 281 282 283 283 284 286 288 290 291 294 294 295 296 297 299 299 300 301 302 303 304 307 308 308 313 314 315 316 317 318 319 320 321 322 323 324 325 327 328 329 329 329 329 336 337 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 362 363 365"><newpage brlnumber="1"/><newline xy="10,0"/>,3gratul,ns on pur*as+ a<newline xy="0,8"/>,view,plus~r ,empr9t~t haptic<newline xy="0,16"/>color pr9t} ,p{}$ 0,tig}~r6<newline xy="0,24"/>,%>e docu;ts ) virtu,y any"o<newline xy="0,32"/>us+ color & tactile pr9t|ts4<newline xy="0,40"/>,! ,view,plus ,empr9t~t -b9es<newline xy="0,48"/>relia# ,tig}~r ,te*nology )<newline xy="0,56"/>,,hp~r qual;y color 9k<newline xy="0,64"/>resolu;n4,! ,view,plus~r<newline xy="0,72"/>,empr9t~t ,p{}$ 0,tig}~r is !<newline xy="0,80"/>f/ full-color 9k ,brl &<newline/>tactile graphics pr9t}4</brl><text:line-break/> <text:line-break/> <text:span text:style-name="T1">Le felicitamos por haber adquirido la impresora a color y con tecnologÃa del tacto Emprint⢠de ViewPlus® que funciona con Tiger®! Podrá compartir con todo el mundo trabajos de impresión a todo color y con relieve. La impresora Emprint⢠combina la tecnologÃa de Tiger® con la resolución de color de alta calidad de HP®. Emprint⢠es el primer dispositivo en imprimir documentos a todo color y gráficos en relieve.<brl changetable="No-No-g1.ctb" index="0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 48 49 50 51 52 53 54 55 56 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 83 84 85 86 87 88 89 90 90 90 90 90 90 90 90 91 92 94 95 95 96 97 98 99 99 100 101 102 103 103 103 103 103 103 103 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 122 123 124 125 127 127 127 127 127 127 127 127 128 129 130 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 175 176 177 178 179 180 181 182 183 184 185 186 186 187 188 189 190 191 192 193 194 195 196 197 198 199 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 214 215 216 217 218 219 220 221 222 223 224 225 226 227 227 228 229 230 231 232 233 234 234 234 234 234 234 234 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 260 261 261 262 263 264 266 266 266 266 266 266 266 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 288 289 290 291 292 293 294 295 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 313 314 314 314 315 316 316 316 316 316 316 316 316 317 318 319 319 320 321 322 323 324 325 326 326 326 326 326 326 326 326 327 328 329 330 331 332 333 334 335 336 337 338 340 341 342 343 344 345 346 347 348 349 350 351 352 353 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 376 377 378 379 380 381 382 383 384 385 386 387 388 389 389 390 391 392 393 394 395 396 397 398 399 400 402 403 404 405 406 407 408 409 410"><newline xy="0,88"/>´le felicitamos por habû<newline xy="0,96"/>adquirido la impresora |a<newline xy="0,104"/>color |y con tecnologÃa del<newline xy="0,112"/>tacto ´emprint',x2122' ô<newline xy="0,122"/>´view´plus',x00ae' que<newline xy="0,132"/>funciona con ´tigû',x00ae'!<newline xy="0,142"/>´podrá compartir con todo el<newline xy="0,150"/>mundo trabajos ô impresión |a<newline xy="0,158"/>todo color |y con relieve.<newline xy="0,166"/>´la impresora<newpage brlnumber="2"/><newline xy="0,0"/>´emprint',x2122' combina la<newline xy="0,10"/>tecnologÃa ô ´tigû',x00ae'<newline xy="0,20"/>con la resolución ô color ô<newline xy="0,28"/>alta calidad ô ´´hp',x00ae'.<newline xy="0,38"/>´emprint',x2122' es el primû<newline xy="0,48"/>dispositivo ê imprimir<newline xy="0,56"/>documentos |a todo color |y<newline/>gráficos ê relieve.</brl></text:span> <text:line-break/> <text:line-break/> <text:span text:style-name="T2">Herzlichen Glückwunsch zum Erwerb eines ViewPlus® Emprint⢠Farb-Prägedruckers Powered by Tiger®! Prägedrucke kombiniert mit Farbe machen es möglich Dokumente für eine Vielzahl von Anwendern mit unterschiedlichen Bedürfnissen zugänglich zu machen. Der ViewPlus® Emprint⢠vereint verlässliche Tiger® Technologie mit hochwertiger Farbauflösung von HP®. Der ViewPlus® Emprint⢠Powered by Tiger® ist der erste Drucker, der volle Farbauflösung mit Braille und taktilen Grafiken kombiniert. <brl changetable="Fr-Fr-g1.utb" index="0 0 1 2 3 4 5 6 7 8 9 10 11 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 27 28 29 30 31 32 33 34 35 36 37 38 39 40 40 41 42 43 44 44 45 46 47 48 48 48 48 48 48 48 48 49 50 50 51 52 53 54 55 56 57 57 57 57 57 57 57 57 58 59 59 60 61 62 63 64 64 65 66 66 66 66 66 66 66 66 67 68 69 70 71 72 73 74 75 76 77 78 78 79 80 81 82 83 84 85 86 87 88 89 89 90 91 92 93 94 94 94 94 94 94 94 94 95 96 97 97 98 99 99 99 99 99 99 99 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 141 141 141 141 141 141 141 142 143 144 145 146 147 148 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 167 168 169 170 171 172 173 174 175 176 177 178 179 180 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 228 228 228 228 228 228 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 247 248 249 250 251 251 252 253 254 255 255 256 257 258 259 259 259 259 259 259 259 259 260 261 261 262 263 264 265 266 267 268 268 268 268 268 268 268 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 282 282 282 282 282 282 282 283 284 285 286 287 288 289 290 291 291 292 293 294 295 296 296 296 296 296 296 296 296 297 298 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 327 328 329 330 331 332 333 334 335 335 335 335 335 335 335 335 336 337 338 339 340 341 342 343 344 345 345 345 346 347 347 347 347 347 347 347 347 348 349 350 350 351 352 353 354 354 355 356 357 358 358 359 360 361 362 362 362 362 362 362 362 362 363 364 364 365 366 367 368 369 370 371 371 371 371 371 371 371 371 372 373 373 374 375 376 377 378 379 380 381 382 383 384 384 385 386 387 388 389 389 389 389 389 389 389 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 424 425 426 427 428 429 430 431 432 432 432 432 432 432 432 432 433 434 435 436 437 438 439 440 441 442 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483"><newline xy="0,64"/>.herzlichen .gl|ckwunsch zum<newline xy="0,72"/>.erwerb eines<newline xy="0,80"/>.view.plus'\x00ae'<newline xy="0,90"/>.emprint'\x2122'<newline xy="0,100"/>.farb-.pr'\x00e4'gedruckers<newline xy="0,110"/>.powered by .tiger'\x00ae'6<newline xy="0,120"/>.pr'\x00e4'gedrucke<newline xy="0,130"/>kombiniert mit .farbe machen<newline xy="0,138"/>es m'\x00f6'glich .dokumente<newline xy="0,148"/>f|r eine .vielzahl von<newline xy="0,156"/>.anwendern mit<newline xy="0,164"/>unterschiedlichen<newline xy="0,172"/>.bed|rfnissen<span class="brlonly"> 2<brl> #b</brl></span><newpage brlnumber="3"/><newline xy="0,0"/>zug'\x00e4'nglich zu machen4<newline xy="0,10"/>.der .view.plus'\x00ae'<newline xy="0,20"/>.emprint'\x2122' vereint<newline xy="0,30"/>verl'\x00e4'ssliche<newline xy="0,40"/>.tiger'\x00ae' .technologie<newline xy="0,50"/>mit hochwertiger<newline xy="0,58"/>.farbaufl'\x00f6'sung von<newline xy="0,68"/>..hp'\x00ae'4 .der<newline xy="0,78"/>.view.plus'\x00ae'<newline xy="0,88"/>.emprint'\x2122' .powered by<newline xy="0,98"/>.tiger'\x00ae' ist der erste<newline xy="0,108"/>.drucker1 der volle<newline xy="0,116"/>.farbaufl'\x00f6'sung mit<newline xy="0,126"/>.braille und taktilen<newline/>.grafiken kombiniert4 </brl></text:span> <text:line-break/> <text:line-break/> <text:span text:style-name="T2">Les sections "Config" et "Fontlist" de "tiger3d.ini" n'existent pas! Papier sans marge selectionné! Vous ne pouvez que imprimer encre seule ou Braille seul. Veuillez selectionner le bon mode d'impression.<brl changetable="Fr-Fr-g1.utb" index="0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14 15 16 17 18 19 20 21 22 23 24 25 26 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203"><newline xy="0,134"/>.les sections 7.config7 et<newline xy="0,142"/>7.fontlist7 de 7tiger#%d4ini7<newline xy="0,150"/>n'existent pas6 .papier sans<newline xy="0,158"/>marge selectionn=6 .vous ne<newline xy="0,166"/>pouvez que imprimer encre<newpage brlnumber="4"/><newline xy="0,0"/>seule ou .braille seul4<newline xy="0,8"/>.veuillez selectionner le bon<newline/>mode d'impression4</brl></text:span> <text:line-break/> </text:p></office:text></office:body><brl><newline xy="125,172"/><span class="brlonly"> 4<brl> #d</brl></span><newpage brlnumber="5"/></brl></office:document-content>