[brailleblaster] Re: Newdesign build broken...

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Wed, 2 Jan 2013 09:26:58 -0600

Hi Keith,

We will have to give some attention to communicating clearly. I've been 
surprised at how difficult that can be, but maybe it isn't surprising.

Everything needed for the Braille view is contained in the UTDML which 
is added to the document by liblouisutdml. Layout information is 
contained in the newpage and newline elements. The xy attribute of the 
latter gives the position of the line on the page and indentation. The 
UTDML part actually contains the rendering of the print document. It is 
handled by the UTD class in the wordprocessor. The only action required 
is the one for calling that class.

Could you expand on the mvc model as it applies to BrailleBlaster?

Thanks,
John

On Wed, Jan 02, 2013 at 03:04:22PM +0000, Keith Creasy wrote:
> OK John. I'll continue on the public list.
> 
> In my opinion this all needs to be done using an MVC architecture.
> 
> The document model is an XML DOM, plain and simple. You are invisioning that 
> it can be any vocabulary/document type. We are planning to use XOM as the 
> interface to the DOM.
> 
> The views are what we have planned on all along; braille, text(or print if 
> you prefer), and HTML. An XMLEditor using tree, attribute, text, and HTML 
> views on the same document.
> 
> The 'C' or "controller" part of this is critical because it is what ties the 
> XML DOM to the views via the semantic actions. 
> 
> Possibly the semantic actions need to be tied in with the braille view? They 
> are responsible for the styling of the content, right? I think you are trying 
> to tie the semantic actions with the actual document but I think it's more 
> part of the view. Explain if that's not right.
> 
> 
> 
> 
> Keith Creasy
> Software Developer
> American Printing House for the Blind
> KCreasy@xxxxxxx
> Phone: 502.895.2405
> Skype: keith537
> 
> 
> -----Original Message-----
> From: John J. Boyer [mailto:john.boyer@xxxxxxxxxxxxxxxxx] 
> Sent: Wednesday, January 02, 2013 9:40 AM
> To: Keith Creasy
> Cc: Chuck Myers; brandon.r.roller@xxxxxxxxx
> Subject: Re: Newdesign build broken...
> 
> Hi Keith,
> 
> This method was removed. It's been compiling for me. I wonder why. There must 
> be an old class around. In any case, this code is to be changed. 
> The DocumentManager class needs extensive rewriting.
> 
> Let's start putting our messages on the BrailleBlaster list instead of 
> writing to each other. That will stimulate interest in a wider commuunity and 
> may give rise to some new ideas.
> 
> Brandon, please subscribe to both the liblouisliblouisxml and brailleblaster 
> lists. Go to http://www.abilitiessoft.com . You will find links to sites 
> where you can subscribe.  Do you have the command for cloning the 
> brailleblaster.newdesign repository?
> 
> To all, I'm working on the documentmodel package. It's coming along rather 
> slowly, but I have confidence in it.
> 
> Thanks,
> John
> 
> On Wed, Jan 02, 2013 at 02:01:50PM +0000, Keith Creasy wrote:
> > John.
> > 
> > The newdesign does not compile. Here is the error. I can make it build by 
> > commenting out the offending code block...
> > 
> >     [javac] 
> > D:\workspace\brailleblaster\src\main\org\brailleblaster\wordprocessor\SaveOptionsDialog.java:55:
> >  error: cannot find symbol
> >     [javac]                              if (BBIni.useUtd()) {
> >     [javac]                                       ^
> >     [javac]   symbol:   method useUtd()
> >     [javac]   location: class BBIni
> >     [javac] 1 error
> >     [javac] 1 warning
> > 
> > 
> > I can probably fix it but need to be sure I understand what this is 
> > supposed to be doing.
> > 
> > Keith Creasy
> > Software Developer
> > American Printing House for the Blind
> > KCreasy@xxxxxxx
> > Phone: 502.895.2405
> > Skype: keith537
> > 
> 
> --
> 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


Other related posts: