Re: [libreoffice-users] Multiple templates based on one

2023-10-12 Thread John Kaufmann

On 2023-10-12 16:32, martin f krafft wrote:

Regarding the following, written by "lo.harald.ber...@t-online.de" on 
2023-10-12 at 19:11 Uhr +0200:

You can edit this document, usually "Untitled1", and save it again as a new 
document template.
See also: 
https://wiki.documentfoundation.org/Videos/Document_Templates_in_Writer


Yeah, I am aware of that. It's not what I am looking for.

I guess I am thinking more like HTML templating. For instance, let's say I have 
a base template, which defines a couple of fundamental paragraph styles, a 
first page, and a default page style, and appropriate headers and footers for 
each.

Now I want to create two new templates: invoices and letters. Both of those are 
not concerned with fundamental styles or headers and footers. They just fill 
the main page area differently.

Hence my thinking is that ideally, the Invoice template should inherit from the 
Basic template in such a way that if I make a change to the headers/footers in 
the basic template, the invoice template automatically updates itself.

… I don't think this is possible… yet? If so, then why stop there? Why are 
templates instantiated and then filled? Why not render a document in the 
context of a template, and only store in the document what is required to do 
so, rather than duplicate everything that's already in the template?


Documents and templates as cascading style sheets? Hmm...

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Multiple templates based on one

2023-10-12 Thread martin f krafft

Regarding the following, written by "lo.harald.ber...@t-online.de" on 
2023-10-12 at 19:11 Uhr +0200:
You can edit this document, usually "Untitled1", and save it again 
as a new document template.

See also: 
https://wiki.documentfoundation.org/Videos/Document_Templates_in_Writer


Yeah, I am aware of that. It's not what I am looking for.

I guess I am thinking more like HTML templating. For instance, let's 
say I have a base template, which defines a couple of fundamental 
paragraph styles, a first page, and a default page style, and 
appropriate headers and footers for each.


Now I want to create two new templates: invoices and letters. Both 
of those are not concerned with fundamental styles or headers and 
footers. They just fill the main page area differently.


Hence my thinking is that ideally, the Invoice template should 
inherit from the Basic template in such a way that if I make a 
change to the headers/footers in the basic template, the invoice 
template automatically updates itself.


… I don't think this is possible… yet? If so, then why stop there? 
Why are templates instantiated and then filled? Why not render a 
document in the context of a template, and only store in the 
document what is required to do so, rather than duplicate everything 
that's already in the template?


Best,

--
martin krafft | https://matrix.to/#/#madduck:madduck.net
 
the unix philosophy basically involves

giving you enough rope to hang yourself.
and then some more, just to be sure.
{: .blockquote }
 
spamtraps: madduck.bo...@madduck.net

{: .hidden }

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] Multiple templates based on one

2023-10-12 Thread LO . Harald . Berger

Hi,

When you open a document template in LibreOffice with File > New, it 
becomes a document in Writer.
You can edit this document, usually "Untitled1", and save it again as a 
new document template.
See also: 
https://wiki.documentfoundation.org/Videos/Document_Templates_in_Writer


Best Regards
Harald

Am 10.10.2023 um 17:27 schrieb martin f krafft:

I am designing a bunch of templates for a small business, e.g.

* blank template with just the logo
* invoice
* official letter
* meeting minutes

The last three are all just based off the first one, and it pains me 
to make a copy of the template. Is there a way to inherit from a 
master template?


Or maybe there is a smart way to have just one template for 
everything, and then easily choose from whatever content template is 
required in the current case? 



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


[libreoffice-users] Multiple templates based on one

2023-10-10 Thread martin f krafft

Hello,

I am designing a bunch of templates for a small business, e.g.

* blank template with just the logo
* invoice
* official letter
* meeting minutes

The last three are all just based off the first one, and it pains me 
to make a copy of the template. Is there a way to inherit from a 
master template?


Or maybe there is a smart way to have just one template for 
everything, and then easily choose from whatever content template is 
required in the current case?


Thanks for any input!

--
martin krafft | https://matrix.to/#/#madduck:madduck.net
 
no. no musicals. i loathe musicals. i never did have a plan for

doing one. my cousin made me sit through some fucking musical twice.
i just hate them. they bore me stiff. i think they’re just horrible.
even _hair_. and they're always lousy music.
   -— john lennon, _the lost interviews_ by ray connolly
{: .blockquote }
 
spamtraps: madduck.bo...@madduck.net

{: .hidden }

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy