GSoC Status - Week 7 (Customizable prints)

Dirk Hohndel dirk at hohndel.org
Tue Jul 21 06:15:30 PDT 2015


On Tue, Jul 21, 2015 at 11:24:19AM +0200, Gehad Elrobey wrote:
> On Mon, Jul 20, 2015 at 4:59 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
> > >>
> > >> I want to admit that I am not a clever color chooser, I will add another
> > >> color theme with shades of blue. Did you try the Template Edit dialog?
> > >
> > > Can you make that resizable? First thing I did when opening up the
> > > editor was to try to increase the size of the text area. And that
> > > remains the same even though the window size is increased.
> >
> > Funny, that was my first reaction as well.
> 
> Yes that is really missing, re-sizing the window is on my todo list.
> 
> > And no, I haven't spent enough time with it. And I think it is well known
> > that I am not great when it comes to colors and design and stuff...
> >
> > I'm sure we'll get some user contributed templates if we make it easy
> > enough to do so. Which reminds me. How would one export / import a template?
>
> My intention was to make the templates customizable with the Edit Template
> Dialog, While importing a template can take place by modifying the custom
> template code.

That doesn't reall answer my question.

User Joe is a genius with CSS and made a perfect template for US PADI
divers. User Hans is German and creates a template that follows official
REGULATION 14.5.34 from 1934 for the correct formatting of dive log
entries (please think this phrase with a heavy German accent and it will
be as funny as I want it to sound) and creates a German template that
prints nice A5 log entries. Etc. How can they share these templates with
others with the same needs?

What I'm looking for is a couple of buttons:

- export custom template (create file dialog and write it to a file)
- import custom template (again, file dialog) and then remember that
  template as one of the options people can pick; I guess you'd have to
  copy it to our data folder to make sure it stays around

Does that make more sense?

/D


More information about the subsurface mailing list