Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Edit rtf Author Information in Open Office?


CCDMan
05-22-2007, 09:33 PM
I just replaced my dead PC with a new Vista machine and decided to go with Open Office as Bill Gates has enough money of mine already.

I cannot figure out how to change the author, etc information, although I know how in MS word. This gets deleted when I re-save to change the default font size, etc.

Thanks!

NatCh
05-22-2007, 10:06 PM
I looked for that for a bit in OO myself, and didn't find it. You can add it in manually with NotePad if you like. The code is: "{\info{\title Book Title}{\author Author Name}}" and it goes on the line before the one that starts with the word "generator" (there's some bracket's & slashes too, but I always just looked for the word generator :shrug: ).

I haven't done this for a while, though, as I've switched to using BookDesigner to format my books, and I just store them zipped up in RTF form. :nice:

rlauzon
05-23-2007, 03:12 AM
I just replaced my dead PC with a new Vista machine and decided to go with Open Office as Bill Gates has enough money of mine already.

I cannot figure out how to change the author, etc information, although I know how in MS word. This gets deleted when I re-save to change the default font size, etc.

Thanks!


Same as Word. File|Properties.

CCDMan
05-26-2007, 09:26 AM
Same as Word. File|Properties.

That works for Title, but where do you edit author??

rlauzon
05-26-2007, 11:06 AM
That works for Title, but where do you edit author??

You don't.

When you install OpenOffice, it ask you for your information (you can change that in Options - under User Data) about yourself. When you edit the document, it will put that information in the document.

CCDMan
05-26-2007, 11:45 AM
When you edit the document, it will put that information in the document.

So basically it makes a stupid assumption. Well, what did I expect for free, anyway?! <g>

NatCh
05-26-2007, 03:03 PM
You can always stuff the info in, or edit it, I suppose is more the thing, with notepad. That may be less hassle than changing the official author in OO every time you do a book. :shrug:

pdarcy
05-26-2007, 10:14 PM
See open office forum post below

http://www.oooforum.org/forum/viewtopic.phtml?t=56107&highlight=document+properties+author

they provide this macro

Sub ChangeAuthor
Dim props,sAns
props = ThisComponent.getDocumentInfo
sAns = InputBox("Enter author name.","Change Author",)
If sAns = "" then End
props.Author = sAns
End Sub

it works in NeoOffice. It pops up a box for the author and just changes the current document not the user settings.

Paul

pdarcy
05-28-2007, 11:20 AM
From the Open Office forum

Sub ChangeAuthor
Dim props,sAns
props = ThisComponent.getDocumentInfo
sAns = InputBox("Enter author name.","Change Author",)
If sAns = "" then End
props.Author = sAns
End Sub

Works in Open Office on Windows and NeoOffice on a Mac. Changes only the current document not the User Settings.

Tom Swift
06-09-2007, 11:32 PM
Can I put the line " {\info{\title Book Title}{\author Author Name}} " anywhere? I opened an rtf file and looked for the "generator" line, but could not find it. How do I format an rtf file to show title and author?

Tom Swift
06-09-2007, 11:34 PM
Yes I can. I just put it in the second line and it worked. I really should try these things before asking questions.

NatCh
06-10-2007, 12:01 AM
I think there are places that you can put it that will hose the way the file opens, but if where you put it works, then rock on. :grin3:

kovidgoyal
06-10-2007, 12:48 AM
Install libprs500

rtf-meta -t "my title" -a "my author"