Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Master doc chapter headers don't work
Master doc chapter headers don't work
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
Anysia
Red Pill


Joined: Nov 17, 2007
Posts: 9

PostPosted: Sat Nov 17, 2007 11:09 am    Post subject: Master doc chapter headers don't work

Hi,

I'm hoping someone can enlighten me as to why the instructions for automatically creating unique chapter headers from the chapter title don't work in NeoOffice. The instructions for creating them in OpenOffice work perfectly fine on a PC running OpenOffice 2.3, but the exact same instructions don't work in NeoOffice 2.2.2. I spent a week trying to get this to work before I realized I was following the instructions correctly, they just don't work in NeoOffice.

Does NeoOffice not support the advanced master doc functions?

I was also wondering why, when I share files with someone using OpenOffice on the PC, the positioning (especially for draw objects, but also for spacing) goes all caca. I thought using the same file format/standard would prevent this.

Would using the OpenOffice X11 program solve these problems?

I like the program, I'm just finding it creates headaches when working on a project with someone else. Sad
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Nov 17, 2007 12:03 pm    Post subject: Re: Master doc chapter headers don't work

Anysia wrote:
'm hoping someone can enlighten me as to why the instructions for automatically creating unique chapter headers from the chapter title don't work in NeoOffice. The instructions for creating them in OpenOffice work perfectly fine on a PC running OpenOffice 2.3, but the exact same instructions don't work in NeoOffice 2.2.2. I spent a week trying to get this to work before I realized I was following the instructions correctly, they just don't work in NeoOffice.

Does NeoOffice not support the advanced master doc functions?

I was also wondering why, when I share files with someone using OpenOffice on the PC, the positioning (especially for draw objects, but also for spacing) goes all caca. I thought using the same file format/standard would prevent this.

Would using the OpenOffice X11 program solve these problems?

I like the program, I'm just finding it creates headaches when working on a project with someone else. Sad


NeoOffice supports whatever master document functionality OpenOffice.org 2.2.1 has. OpenOffice.org 2.3 has lots of changes from OpenOffice.org 2.2.1 so if you are looking for perfect compatibility with Windows users using OOo 2.3, you will likely need to do the following:

1. Use OpenOffice 2.3 X11 (note that it requires X11 to run and is only available in English)

2. If Windows users still have layout problems for documents created with OOo 2.3 X11 on your Mac, you likely have a cross-platform font issue. Although fonts may have the same name on Windows and Mac, they are sublety difference in size, kerning, etc. so you should expect that text layout will be slightly different on different platforms. Using an "open standard" file format has nothing to do with this issue.

Patrick
Back to top
Anysia
Red Pill


Joined: Nov 17, 2007
Posts: 9

PostPosted: Sat Nov 17, 2007 12:16 pm    Post subject:

Okay.

But the instructions in the NeoOffice manual for creating unique chapter headers in master docs are the same as the instructions in the OpenOffice manual (as far as I can tell). And yet they don't work (or I can't get them to work ... if they do work I'd love to figure out what I'm doing wrong).
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Nov 17, 2007 1:10 pm    Post subject:

Anysia wrote:
Okay.

But the instructions in the NeoOffice manual for creating unique chapter headers in master docs are the same as the instructions in the OpenOffice manual (as far as I can tell). And yet they don't work (or I can't get them to work ... if they do work I'd love to figure out what I'm doing wrong).


It is not unlikely that you encountered an OpenOffice.org 2.2.1 bug that got fixed in OOo 2.3. What I would recommend is that you first make sure that you have the latest NeoOffice 2.2.2 patch installed (Patch 2 is the current patch) and if it still doesn't work, create a new bug in Bugzilla, attach a sample document, and list the steps that you are using. We can then determine if it is a bug in NeoOffice (which we will then fix) or if it is an OOo 2.2.1 bug.

Patrick
Back to top
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Sat Nov 17, 2007 1:23 pm    Post subject:

You might also try looking at the Neowiki articles on Master Documents and see if the instructions are any different there. Note that there are two other articles on master documents in addition to the one I linked to. Links to them can be found at the bottom of the first article.

Lorinda
Back to top
Anysia
Red Pill


Joined: Nov 17, 2007
Posts: 9

PostPosted: Sat Nov 17, 2007 3:04 pm    Post subject:

Thanks Lorinda. I had already looked at the wiki articles before posting and couldn't find where they dealt with chapter headers in master documents.

Pluby, I'll assume it's either a bug in NeoOffice or a "feature" of 2.2.1 since I am running the latest, patched version of NeoOffice (2.2.2 patch 2). I'll have to create a new document to upload since the one I'm working has other people's work/information in it. In the meantime it's back to the PC (X11 installation gives such dire warnings that I've never risked installing it). Sad

Thanks.
Back to top
valterb
The Anomaly
(earlier version)


Joined: Sep 23, 2005
Posts: 463
Location: San Giuliano Terme, Pisa, Italy

PostPosted: Sat Nov 17, 2007 3:57 pm    Post subject:

Anysia, you cannot bring with you headers you create in documents that you are going to assempble in a master document. I hope my english is not so bad that you don't catch what I'm going to explain how to resolv this.

What you can do is to create different page styles for any chapter in master document; so you can create pagestylechap1, pagestylechap2, pagestylechap3,..., pagestylechapn. Once you have created these styles, from navigator window add text among two chapters. Put cursor on that text space and insert a manual page break using the style for your chapters.
Now go to activate each header and type the text you want there.

Valter
Back to top
Anysia
Red Pill


Joined: Nov 17, 2007
Posts: 9

PostPosted: Sat Nov 17, 2007 6:39 pm    Post subject:

Valterb, I know you can't bring the headers with you. But you can tell the headers to display a particular field like chapter name, as long as you tag the chapter title appropriately as heading 1 in each of your subdocuments.

This is in the documentation for master documents (for OpenOffice and NeoOffice) and is what I am trying to do. It works in OpenOffce and not in Neo and I was just trying to figure out why, but I suspect that pluby is right and there is a bug or issue with either Neo or the underlying OpenOffice version it is based on.

Your method probably works as a work around, but the other issue that I am having is that the master document does not remember any of the information in the headers, from one opening to the next, unless it is a field, for either text within the master document, or the subdocument. I understand why that would be for the subdocument, but not why nothing is remembered for headers in the text sections of the master document.

Edit: It remembers fields entered in headers in subdocuments, but not fields entered in headers in text chunks in the master document.[/i]
Back to top
valterb
The Anomaly
(earlier version)


Joined: Sep 23, 2005
Posts: 463
Location: San Giuliano Terme, Pisa, Italy

PostPosted: Sun Nov 18, 2007 2:32 am    Post subject:

OK, I see. Sorry I've misunderstood what you mean.

What you have to do is this.

Prepare your subdocument
  • open your subdocument
  • put your cursor at the beginning of the line where your chapter title is. So if your chaper title is Chapter number, put you cursor just at the left of letter C
  • If you haven't already done, format your title as Header1
  • go to Format -> Paragraph... -> Text Flow tab -> Breaks and check th Insert box, Type Page, and press OK


Master document
  • assemble your master document
  • Insert Header
  • put cursor in the header and go to Insert -> Fields -> Other; choose Document tab,
  • choose Type Chapter
  • choose Format Chapter name and press bottom Insert
  • probably you need to right-click in the navigator window and choose Update -> All


Links below are part of a little sample:
http://xoomer.alice.it/valterballantini/master1_2.odm
http://xoomer.alice.it/valterballantini/capitolo1.odt
http://xoomer.alice.it/valterballantini/capitolo2.odt

Valter
Back to top
Anysia
Red Pill


Joined: Nov 17, 2007
Posts: 9

PostPosted: Sun Nov 18, 2007 1:09 pm    Post subject:

That's the procedure that doesn't work for me (I tried it again, exactly as you have written just to be sure). And yet it works in OpenOffice.

What version of NeoOffice are you using?
Back to top
valterb
The Anomaly
(earlier version)


Joined: Sep 23, 2005
Posts: 463
Location: San Giuliano Terme, Pisa, Italy

PostPosted: Sun Nov 18, 2007 2:33 pm    Post subject:

I'm using NeoOffice 2.2.2 patch 2.

Did you download my 3 test file? What happen when you open my master1_2 document?
Back to top
Anysia
Red Pill


Joined: Nov 17, 2007
Posts: 9

PostPosted: Sun Nov 18, 2007 2:41 pm    Post subject:

Hmmm, same version as me.

I downloaded your file and it looks fine. I'm just going to throw out my master file and start over, again, and see if I can get things working.

Thanks for the help. Smile
Back to top
valterb
The Anomaly
(earlier version)


Joined: Sep 23, 2005
Posts: 463
Location: San Giuliano Terme, Pisa, Italy

PostPosted: Sun Nov 18, 2007 3:56 pm    Post subject:

It is also possible that you have corrupted preferences.
Please, have a look at this article in our wiki http://neowiki.neooffice.org/index.php/Salvaging_Settings_From_Corrupt_Preferences
Back to top
Anysia
Red Pill


Joined: Nov 17, 2007
Posts: 9

PostPosted: Sun Nov 18, 2007 4:32 pm    Post subject:

It's possible, but I can't afford to start messing with those files now (it is the end of the college term and I just have too many projects which are still working in NeoOffice to go poking around those files).

I might look there over Christmas. I've moved to the PC for the moment, but its no longer working there either so I'm about to give up on NeoOffice/OpenOffice altogether at this point.

Thanks for your help.
Back to top
Anysia
Red Pill


Joined: Nov 17, 2007
Posts: 9

PostPosted: Sun Nov 18, 2007 6:08 pm    Post subject:

I reinstalled NeoOffice and started a brand new file and it works. So there was either something wrong with the old installation or something wrong with my old file. Sad

Edit: Nope, still not working. It works until you try to have it automatically number the chapters. As soon as I do that, the headers no longer work. Even if I go back and undo the numbering (take it out of heading 1) I can no longer get the headers to work and have to start with a new file (this is likely what happened to my old file).

This is beyond frustrating because the instructions that I'm following for numbering the chapters are from the documentation.
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.