Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-16-2013, 09:04 PM
tmb99 tmb99 is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office 2007
Novice
Advanced header and footer questions
 
Join Date: Dec 2013
Posts: 6
tmb99 is on a distinguished road
Default Advanced header and footer questions

Hi all,

I have some large documents that are exported from pdf's (all total a few thousand pages) I've exported to .docx to work on. In this exporting there are a few problems with the headers and footers.

1. Lots of 'breaks', where header or footer is not linked to the previous.
2. The section names jump some large jumps, e.g. section 8 then next is section 14.


3. The headers and footers are all different "sizes" - the distance from the top or bottom is different.
4. When I've manually linked sections and then added new page numbers, there are some areas where the page numbering is set to start a certain value.

Is there a way to clear all that section/header and footer information and start fresh? I've tried copying all the text and pasting into a new document, however all header and footer info is copied.

Or a way to work on all the headers and footers at once?
Reply With Quote
  #2  
Old 12-16-2013, 09:49 PM
fumei fumei is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

1. no surprise there
2. this is not possible. Sections are numbered sequentially, there can be no gaps. There could be some Continuous sectionbreaks that may make it SEEM like there is a jump. But it is not possible. The Object Model does not permit it.
3. no surprise there either
4. not sure what you mean.

You could remove all section breaks, thus making one section for the whole document using Find & Replace.
Reply With Quote
  #3  
Old 12-16-2013, 10:17 PM
tmb99 tmb99 is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office 2007
Novice
Advanced header and footer questions
 
Join Date: Dec 2013
Posts: 6
tmb99 is on a distinguished road
Default

I've attached some pictures to show what I'm talking about;

2. You can see the header section naming


4. In areas the page number is not sequential. When I click format it is set to start at.
Reply With Quote
  #4  
Old 12-16-2013, 10:44 PM
tmb99 tmb99 is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office 2007
Novice
Advanced header and footer questions
 
Join Date: Dec 2013
Posts: 6
tmb99 is on a distinguished road
Default

using find and replace to get rid of all the section breaks seems to have worked a treat. Still need to look at some parts however that has sorted most of my issues - thanks a lot!
Reply With Quote
  #5  
Old 12-16-2013, 11:03 PM
fumei fumei is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

For my own interest, is it possible to attached a copy of the document with the "gaps" in sections? Removing any sensitive information. I have been doing this a long time and I really did not think this was possible. I want to see it for myself. I would very much like to confirm this. There must be continuous sections in there. If there are not and there really are gaps it will shake me up a lot.
Reply With Quote
  #6  
Old 12-17-2013, 06:45 AM
Charles Kenyon Charles Kenyon is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,459
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Just curious, what process did you use to "export" from pdf?

Converted documents are always painful to deal with, even ones that are converted from Word to another format and then back. They will generally have an incredible number of continuous section breaks, among other things. This is because most other programs use margin changes where Word would use indents. When they are converted to Word, they are converted with margin changes. These days, conversion software does a passable job of creating documents that look the same. The underlying structure, though, is often radically different.

I suspect in your document screen shot of Section 8 there is a margin change at each paragraph. Each margin change, in Word, requires a Section break (new section), usually continous. Each Section in Word will contain three headers and three footers (even if never used) and can contain pagination instructions. The header/footer shown would be from the first section on the page. I can reproduce the section numbering "jump" with continuous section breaks on a page.

Sections / Headers and Footers in Microsoft Word 2007-2013

Last edited by Charles Kenyon; 12-18-2013 at 08:29 PM.
Reply With Quote
  #7  
Old 12-17-2013, 04:43 PM
fumei fumei is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Like I stated, the object model does not permit non-sequential Section numbers. The number is a dynamic sequential count, not an assigned property. There has to be continuous sections. Charles I think you are right, if you count the indents from the top of the page at section 8, the top of the next page is "section 13". There are no "jumps", and no gaps.
Reply With Quote
  #8  
Old 12-17-2013, 06:18 PM
tmb99 tmb99 is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office 2007
Novice
Advanced header and footer questions
 
Join Date: Dec 2013
Posts: 6
tmb99 is on a distinguished road
Default

Sample attached.

Files were exported using acrobat x pro > save as > word document

It does a terrible job, however it is a lot better than old versions of acrobat pro. Tables, pictures and text don't quite get thrown all around the place as much as they used to!

It's a problem we've had for nearly 10 years now, as an education provider every couple of years we have to update our course textbooks which are pdf's. In the past I just exported small parts and worked on them. This year I've resigned myself to the task of getting everything into a good word format and then pdf as needed for printing.
Attached Files
File Type: docx sample.docx (420.7 KB, 11 views)
Reply With Quote
  #9  
Old 12-18-2013, 01:03 AM
eNGiNe eNGiNe is offline Advanced header and footer questions Windows 7 32bit Advanced header and footer questions Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

As I've probably cited before, the adage is "being given a .pdf and having to produce a source file is like being given a bowl of chicken soup and being asked to produce the chicken".

If you're a provider with the right to edit the content of these .pdf documents, you ought to be able to request source files instead of having to make them yourself: much more efficient for you, and less worry (that things are being accidentally changed by a complicated conversion process) for the original author. This is how we prepare and deliver user manuals for our products, which vendors can then customise as required.
Reply With Quote
  #10  
Old 12-18-2013, 01:27 AM
tmb99 tmb99 is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office 2007
Novice
Advanced header and footer questions
 
Join Date: Dec 2013
Posts: 6
tmb99 is on a distinguished road
Default

The original release of certain parts were only passed on in .pdf by the authors. Then the accumulated total document has been maintained and added to ad hoc. So nothing except the .pdf is correct these days.

That's why I'm setting about glueing the chicken back together!
Reply With Quote
  #11  
Old 12-18-2013, 08:25 PM
Charles Kenyon Charles Kenyon is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,459
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by tmb99 View Post
The original release of certain parts were only passed on in .pdf by the authors. Then the accumulated total document has been maintained and added to ad hoc. So nothing except the .pdf is correct these days.

That's why I'm setting about glueing the chicken back together!
OK, if you are willing to bite the bullet on this, my recommendation would be to copy it all into Word as plain text. Use the pdfs as references on how you want it to look.

Keep in mind that the pdf text may be the result of an OCR process. If it is, there will be errors in the typing as well as the other problems that come from converted documents.

Start with a Word template with numbering based on Styles following the directions on Shauna Kelly's page: How to create numbered headings or outline numbering in Word 2007 and Word 2010. This may take some time to set up the first time but it will be time well spent.

Use Styles for all of your formatting. That way, when you want to change how [an indented quotation] looks, you can change the look in one place and have it apply to everything.

Read Tips for Understanding Styles in Word
How styles in Microsoft Word cascade
How to create a table of contents in Microsoft Word
Understanding Styles in Microsoft Word

Skimming these is OK, you want to be familiar with the ideas and concepts, though. A couple of hours skimming these up front may save you weeks of work later.
Reply With Quote
  #12  
Old 12-17-2013, 08:04 PM
macropod's Avatar
macropod macropod is offline Advanced header and footer questions Windows 7 32bit Advanced header and footer questions Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,345
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Re your attachment and:
Quote:
The section names jump some large jumps, e.g. section 8 then next is section 14.
there are no jumps. Rather, your attachment has 12 sections! There are 6 section breaks on page 2 alone. You can see these quite easily if you select the whole page then switch to Draft view with Word's formatting display toggled 'on'. Unless you delete the unwanted Section breaks or specifically configure each of these Section's headers & footers, you may not get the expected results.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #13  
Old 12-19-2013, 05:12 PM
fumei fumei is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Let's make it unanimous...start clean as plain-text. You may think it more front-end work (and it is), but long term it saves you a potential massive headache on the back end work flow. And for deity sake, use Styles!
Reply With Quote
  #14  
Old 12-20-2013, 12:36 AM
tmb99 tmb99 is offline Advanced header and footer questions Windows 7 64bit Advanced header and footer questions Office 2007
Novice
Advanced header and footer questions
 
Join Date: Dec 2013
Posts: 6
tmb99 is on a distinguished road
Default

Thanks a lot for the suggestions and links - sounds like some fun time over the holidays!

As I said it is something that has been a pain for a long time now and I've decided to bite the bullet. I use styles and headings for content a little already. I want to try to index everything - most likely easy, just never done it before.

I'll read across the links provided and no doubt have some questions along the way that the search function of this forum will answer!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced header and footer questions header footer Pierre-Hugues Word VBA 1 08-30-2013 06:06 AM
Advanced header and footer questions Header and Footer Questions Cmiller Word 5 08-20-2012 07:33 PM
Advanced header and footer questions header & footer avi_sai Word 1 12-03-2011 10:52 AM
Different Header but same Footer Karthick Word 1 11-12-2010 09:08 AM
Header and footer questions boutells Word 0 07-21-2009 01:57 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft