Just for the record, the Hanya example I pointed to works on OpenOffice 4.5.0 of a few days ago - I have no reason to doubt it will work on most if not all versions of OpenOffice. If tags of form $(Environment_variable) such as $(LANG), $(USER), $(PAPERSIZE) [running on linux -not tested on Windows or Mac] into the sample file, these can be replaced by the appropriate value by the Smart tag mechanisms.
Rory On Wed, 15 Jun 2022 13:31:34 +0200 Czesław Wolański <czeslaw.wolan...@gmail.com> wrote: > Hi all, > > The extension site, two extensions employing Smart Tags: > > (1) "Simple calculator" > https://extensions.openoffice.org/en/project/simple-calculator > > (2) "Latitude and Longitude" > https://extensions.openoffice.org/en/project/latitude-and-longitude > > Both extensions work with version 3.4 > see / download the recording available at the following link: > https://drive.google.com/file/d/1Zn6UTTeM_9dJm-oNI3oESCxfUNI7Xh4s/view?usp=sharing > > > Best regards, > Czesław > > ср, 15 июн. 2022 г. в 10:23, Rory O'Farrell <ofarr...@iol.ie>: > > > On Tue, 17 May 2022 17:50:31 +0200 > > Matthias Seidel <matthias.sei...@hamburg.de> wrote: > > > > > Hi Dick, > > > > > > Am 17.05.22 um 17:21 schrieb Dick Groskamp: > > > > Mtthias, > > > > > > > > I've seen them in a very oooooold OOo. > > > > As far as I know it died quietly and has never been seen anymore. > > > > > > The code is still there... Maybe it could be useful again? > > > > > > But has it ever been published officially? > > > > > > > > > > > Maybe this can shed some light for you: > > > > https://wiki.openoffice.org/wiki/Writer/Smart_Tags > > > > > > Thanks for the link! > > > > > > I *thought* I did look for it on our Wiki but couldn't find something. > > ;-) > > > > > > Regards, > > > > > > Matthias > > > > Sorry for the delayed reply. In this posting on the en-Forum, Hanya gives > > a short example oxt file (written in python). > > > > https://forum.openoffice.org/en/forum/viewtopic.php?p=387917#p387917 > > > > I have looked at smart tags from time to time, but always been distracted > > by something else. My immediate thoughts are that (for me) they might be > > useful if general routines were written to permit certain words be > > recognised (as tags) and the action associated with them be the popping up > > of an associate database entry or reports. I'm thinking in terms of the > > background information concerned with writing a complex text, be it a > > fiction or a historical analysis. This is a different method of > > implementing what is often called a "Writer's Organiser". I remark that I > > find the default "smart tag" underlining is barely visible. > > > > Hanya's example requires one to enter a tag of form !(text_word) (no white > > space) and when it is ctrl clicked upon it will be replaced by an > > environmental variable. His Recogniser uses a python regular expression to > > identify the tags. > > > > Rory > > > > > > > > > > > > > > > On 2022/05/17 13:56:33 Matthias Seidel wrote: > > > >> Hi all, > > > >> > > > >> While browsing through the code, I found references to "smart tags": > > > >> > > > >> > > http://opengrok.openoffice.org/search?project=trunk&full=%22smart+tag%22&defs=&refs=&path=%2Fmain&hist=&type=plain&si=full > > > >> > > > >> I have never seen that in real life. Can anyone tell me, what a smart > > > >> tag is? > > > >> Are there any extensions using this? > > > >> > > > >> Regards, > > > >> > > > >> Matthias > > > >> > > > >> > > > >> > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > > > > For additional commands, e-mail: dev-h...@openoffice.apache.org > > > > > > > > > > > > > -- > > Rory O'Farrell <ofarr...@iol.ie> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > > For additional commands, e-mail: dev-h...@openoffice.apache.org > > > > -- Rory O'Farrell <ofarr...@iol.ie> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org