On 8/11/05, Robin Rowe <rower@movieeditor.com> wrote:
>
> I asked this on abiword-user. Maybe it's a developer question.
>
> Want to remove the many default styles that come with Abiword so I can
> create just a few styles that I actually use. The others get in my way on
> the pulldown menu, that is with {Block Text}, {Box List} and so forth.
> There's a {Delete} button in the styles dialog, but has no effect on
> built-in styles like {Block Text} -- not even a warning that I can't delete
> them. How do I rip them out?
A lot of the default styles are built into the source code.
Edit src/text/ptbl/xp/pt_PT_Styles.cpp to remove them, it's very easy.
In this development cycle I prototyped some simplifications, e.g. not
showing all available styles in the toolbar combo box. We didn't reach
consensus though, so the patch was reverted.
Somehow i like the idea of having no builtin styles (except "Normal").
It would add a lot of flexibility if all were loaded from Normal.awt.
Maybe you'd like to file a request in our bugtracker[1].
[1] http://bugzilla.abisource.com/
Best,
Rob
Received on Thu Aug 11 15:36:45 2005
This archive was generated by hypermail 2.1.8 : Thu Aug 11 2005 - 15:36:45 CEST