OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Something to be included in this project??

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
Master
Guest





PostPosted: Wed Mar 31, 2004 6:35 am    Post subject: Something to be included in this project?? Reply with quote

Hello,

it is difficult for me to tell what I want in english so I write it in german, and hope somebody can understand it.

Also folgendes:
Wir setzen bei uns einen Formulardruckserver ein, den wollen wir abschaffen und jetzt ist die Frage ob man in einem Formular von OpenOffice eine Funktion einbauen könnte das wenn ein bestimmter Text in einer bestimmten Schriftart und Größe in diesem Formular zu finden ist das er mir dann einen Kopfbogen einfügt, den man vorher sozusagen als Anhang dem Formular hinzugefügt hat.

Es soll wie folgt funktionieren.

Ich gebe in meinem Formular den Text "hallo" ein. Wenn ich dann auf Drucken gehe dann soll er mir das Bild "hallo.jpg" an eine bestimmte Stelle setzen.

Ich hoffe es hat jemand verstanden.

I'm sorry that i can't explain this in english but my school english is not the best.

Greetings
Back to top
Master
Guest





PostPosted: Thu Apr 01, 2004 6:33 am    Post subject: Reply with quote

I translated the text above with a translation program. Now I hope somebody can understand it.

We use a form printing server, which we want to abolish. The question is: In one form of OpenOffice should be a function inserted which looks if a certain text in a certain character font and size is in it, if this is true then the function should add me a picture which i have linked with this certain text. The picture I want to be added by this function maybe is included into the form, when the form was built.

The function should do something like the following:
I enter the text "hello" in my form. If I then on press the print button the function should add the picture "hallo.jpg" to a certain place in the document.

Please don't laugh at my english Wink
Back to top
MasterTH
Newbie
Newbie


Joined: 31 Mar 2004
Posts: 3

PostPosted: Tue Apr 06, 2004 6:13 am    Post subject: Reply with quote

Did somebody understand my question??
Back to top
View user's profile Send private message
The Liquidator
Super User
Super User


Joined: 27 Feb 2003
Posts: 1368
Location: Manchester, UK

PostPosted: Tue Apr 06, 2004 7:28 am    Post subject: Reply with quote

Basically you are looking to automate the importation of files (eg graphics) into your documents?

I would not know personally how to accomplish this, but it sounds like something that would require a macro. No doubt someone will come along soon who will have an idea of how or if, it can be done.

Ian
Back to top
View user's profile Send private message
MasterTH
Newbie
Newbie


Joined: 31 Mar 2004
Posts: 3

PostPosted: Tue Apr 06, 2004 10:23 pm    Post subject: Reply with quote

if I realise this with a macro the problem would be that the Image i want to import have to be on the local machine. Maybe I understand something wrong, but is it possible to import the image from a place on our network??
Back to top
View user's profile Send private message
erikanderson3
OOo Advocate
OOo Advocate


Joined: 25 Feb 2004
Posts: 332
Location: San Francisco peninsula

PostPosted: Tue Apr 06, 2004 10:59 pm    Post subject: Reply with quote

I could be totally mistaken, but given that OOo uses URLs internally for file locations, I'd think it would be no real problem to use an image from anywhere on your network. Or does anyone else know otherwise?

Cheers,

Erik
Back to top
View user's profile Send private message
MasterTH
Newbie
Newbie


Joined: 31 Mar 2004
Posts: 3

PostPosted: Tue Apr 13, 2004 3:37 am    Post subject: Reply with quote

maybe somebody can tell me how the macro has to look like because i dont know a lot about coding a makro with oobasic
Back to top
View user's profile Send private message
erikanderson3
OOo Advocate
OOo Advocate


Joined: 25 Feb 2004
Posts: 332
Location: San Francisco peninsula

PostPosted: Tue Apr 13, 2004 6:35 am    Post subject: Reply with quote

Some good basic Smile introductions to Basic:
Actually, you might just want to browse around on http://development.openoffice.org/index.html, but the above are kind of the highlights for beginners to OOo Basic.

Cheers,

Erik
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group