"srinivasa rao gantenapalli" <[EMAIL PROTECTED]> wrote on 2007.03.21 17:30:30:
> Hi guys, > > I guess templates or a toolbar with standard formatting is a better > option instead of making it work in "interpretted mode". > > ---Srini > > > If you create a set of (paragraph) styles, and on the organiser tab, check on AutoUpdate on every paragraph style, and dock the "Styles and formatting" toolbar to the right side of OOo, then you almost get a similar functionality. Instead of to write <heading>xxxxx</heading>, you just write xxxxx and click to the "Heading" style. The only (big) problem is the user can change the style settings manually. It would be a good feature, if we could somehow protect the styles from the end-users. (Like the write protection feature of a section.) If styles are protected, then the user should not be able to modify formatting anything inside that paragraph style. Except for applying the predefined character and list styles. LML > > On 3/21/07, Rajveer Sangha <[EMAIL PROTECTED]> wrote: > > > > Dear Open Office, > > > > I am an amateur programmer, knowing primarily c++ and c. i want to develop > > a > > certain extension for open office which will enable a 'markup mode' or > > 'interpreted mode' in open office, for easier formatting, much like LATEX. > > Instead of writing the text and then applying various levels of formatting > > to it, for example: headlines, sub-headlines, body text etc., we can write > > our document like: > > <heading>this is heading</heading> > > <sub>this is sub heading</sub> > > <body>Text formatiing is so easier this way in a large document</body> > > User would be able to define thesemarkups, like <heading> means BookMan > > Old > > 20 pt Red Color etc. > > > > WYSWYG is OK for small documents but when they become more involved, keep > > a > > track of formatting gets tougher. > > > > TEX and LATEX provide exactly this functionality but they have a steep > > learning curve and are limited to mainly scientific community for largely > > Math Typesetting. > > > > Say I can make a toggle button for "Interpreter mode". Press the button > > and > > start writing your document in this markup fashion. Once you're done, > > toggle > > the button and the whole document is interpreted and displayed in > > formatted > > manner and you able to write in that WYSIWYG manner too, ie without > > interpreting. > > > > I tried studying your programming guide to begin, but it doesn't provide > > much insight into my problem. > >
