Help with creating a template...unique feature

Using them, Making them , Finding them

Help with creating a template...unique feature

Postby michael4444 » Wed Nov 22, 2017 6:36 pm

This problem may not be possible with libre-office and my asking the question may only serve to illuminate my ignorance of libre-office. I have poured over the forums and wiki without finding what I am looking for.

I'm trying to make a template to use when a patient visits me. For example one of the template lines might be:

"Patient follows up for treatment of - depression anxiety ADHD."

When I open the template, I want to be able to click one or multiple choices (depression anxiety or ADHD) and have a final document with what I clicked.

If I click depression and ADHD, the output on final document should be:

Patient follows up for treatment of - depression ADHD.

I hope that makes sense.
OpenOffice 4.1.4 on Windows 10 64bit
michael4444
 
Posts: 7
Joined: Wed Nov 22, 2017 6:29 pm

Re: Help with creating a template...unique feature

Postby RoryOF » Wed Nov 22, 2017 7:23 pm

You could write an OO BASIC macro to offer you a dropdown selection of a number of options; once selected that could be pasted at the cursor location. It will take longer to write and debug this macro than to handtype the desired word, even on hundreds of letters.
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 26800
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Help with creating a template...unique feature

Postby michael4444 » Wed Nov 22, 2017 7:56 pm

I wish I could go back in time. I once worked in an outpatient office and the documentation was basically what I describe above. it was so fast and provided all I needed. It was faster than even drop down boxes because all I had to do was click through the whole template and then save.

Thank you for replying though. That's encouraging!
OpenOffice 4.1.4 on Windows 10 64bit
michael4444
 
Posts: 7
Joined: Wed Nov 22, 2017 6:29 pm

Re: Help with creating a template...unique feature

Postby Lupp » Wed Nov 22, 2017 8:59 pm

michael444 wrote:I wish I could go back in time. I once worked in an outpatient office and the documentation was basically what I describe above. it was so fast and provided all I needed. It was faster than even drop down boxes because all I had to do was click through the whole template and then save.

Do you think that was made using some general-purpose Office software. Which one? Done without user code?
On Windows 10: LibreOffice 6.1 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 1879
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Help with creating a template...unique feature

Postby michael4444 » Wed Nov 22, 2017 9:03 pm

Gee...I cant remember...too bad. It was openoffice is all I remember.
What is "user code"?
Any suggestions of software that might do this?
OpenOffice 4.1.4 on Windows 10 64bit
michael4444
 
Posts: 7
Joined: Wed Nov 22, 2017 6:29 pm

Re: Help with creating a template...unique feature

Postby Villeroy » Wed Nov 22, 2017 11:11 pm

Insert>Fields>Other...
Tab "Functions"
Type "Input list"
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 25467
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Help with creating a template...unique feature

Postby acknak » Thu Nov 23, 2017 3:30 am

Here's a sample OO Writer template with a couple of input fields, as Villeroy suggested.

When you open a template file (File > Open > ... will do), Writer will step through each field in the file and pop up a window where you can select from a list. You can always go back and click on the field to change it.
Attachments
input_list_sample.ott
(8.65 KiB) Downloaded 41 times
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Help with creating a template...unique feature

Postby Lupp » Thu Nov 23, 2017 10:42 am

@michael4444:
It isn't "illegal" to cross-post a question in two or even more places. It is, however, regarded "netiquette" to link-in the alternative postings. Otherwise contributors may miss informazion or waste their time on solved problems.
See https://ask.libreoffice.org/en/question ... plication/
In addition you should thoroughly choose your subject. In this case you used two very different wordings. Wouldn't have expected the same question under both of them.
On Windows 10: LibreOffice 6.1 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 1879
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Help with creating a template...unique feature

Postby RoryOF » Thu Nov 23, 2017 11:22 am

This article may be helpful, in particular the legal example file linked off it.
https://www.techrepublic.com/blog/linux-and-open-source/three-great-ways-to-use-variables-in-libreoffice-and-openoffice/
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 26800
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Help with creating a template...unique feature

Postby michael4444 » Thu Nov 23, 2017 3:42 pm

Lupp wrote:@michael4444:
It isn't "illegal" to cross-post a question in two or even more places. It is, however, regarded "netiquette" to link-in the alternative postings. Otherwise contributors may miss informazion or waste their time on solved problems.
See https://ask.libreoffice.org/en/question ... plication/
In addition you should thoroughly choose your subject. In this case you used two very different wordings. Wouldn't have expected the same question under both of them.


Lupp,
I appreciate this. I initially spent way too much time trying to figure it out on my own. Coming to some sense of my limitations, I decided to post to the community forums to see if someone could help. After posting I kept looking around on the internet and playing around with libre-office (which is what I have used for the past few years). This helped me formulate an improved question which would help me better describe what I am looking for. I also remembered that I had used openoffice for way longer than I had used libre-office, so I decided to download openoffice again and try...which lead me to this forum.

What your saying makes sense and I will keep it in mind.

*I edited the post over at libre-office to link my post over here. Thanks again.

Best,
mike
Last edited by michael4444 on Thu Nov 23, 2017 4:07 pm, edited 1 time in total.
OpenOffice 4.1.4 on Windows 10 64bit
michael4444
 
Posts: 7
Joined: Wed Nov 22, 2017 6:29 pm

Re: Help with creating a template...unique feature

Postby michael4444 » Thu Nov 23, 2017 3:45 pm

Villeroy wrote:Insert>Fields>Other...
Tab "Functions"
Type "Input list"



This feature seems really handy. Im really looking for a one click solution. Such as the document shows the input list without a box pop-up to choose the text. Thanks for pointing out though I think it will be handy in other parts of my template!
OpenOffice 4.1.4 on Windows 10 64bit
michael4444
 
Posts: 7
Joined: Wed Nov 22, 2017 6:29 pm

Re: Help with creating a template...unique feature

Postby michael4444 » Thu Nov 23, 2017 3:50 pm

acknak wrote:Here's a sample OO Writer template with a couple of input fields, as Villeroy suggested.

When you open a template file (File > Open > ... will do), Writer will step through each field in the file and pop up a window where you can select from a list. You can always go back and click on the field to change it.



Thanks, this is is really helpful and I will use it in another part of the template that I am building, but for this problem I am looking for the words to be next to each other on the template to choose from without a box popping up. I appreciate the reply with the sample.
OpenOffice 4.1.4 on Windows 10 64bit
michael4444
 
Posts: 7
Joined: Wed Nov 22, 2017 6:29 pm

Re: Help with creating a template...unique feature

Postby michael4444 » Thu Nov 23, 2017 4:06 pm

RoryOF wrote:This article may be helpful, in particular the legal example file linked off it.
https://www.techrepublic.com/blog/linux-and-open-source/three-great-ways-to-use-variables-in-libreoffice-and-openoffice/



Thank you very much. Lots to learn/review in this sample. I appreciate it.
OpenOffice 4.1.4 on Windows 10 64bit
michael4444
 
Posts: 7
Joined: Wed Nov 22, 2017 6:29 pm


Return to Templates

Who is online

Users browsing this forum: No registered users and 1 guest