Join
Sign in
Search Options
Search Everything
Search Development Tools
Home
Blog
Resources
Forums
About Open XML
More ...
Home
»
Forums
»
Development Tools
»
.Net
»
ODD/EVEN Pages & Sections Handling with Open XML
Re: ODD/EVEN Pages & Sections Handling with Open XML
Development Tools
Discussions about working with Open XML using a wide range of development tools
Get this RSS feed
Details
1
Reply
1
Subscriber
Posted
over 2 years ago
Options
Subscribe via RSS
Share this
.Net
ODD/EVEN Pages & Sections Handling with Open XML
rated by 0 users
This post has
1 Reply |
1
Follower
freeetje
70
Posted by
freeetje
on
Tue, Jun 1 2010 3:39 AM
rated by 0 users
Post Points: 20
ODD/EVEN Pages & Sections Handling with Open XML
Hello,
I have several documents I have to combine to 1 "Document", but some of those documents have to start on "Even" pages and so I need to set some "Section Breaks".
What's the easy way to do a "Page-Count", so I'm sure that a part of document start on an "Even" Page?
Kind Regards,
Frederic
Intergen
2610
Posted by
Intergen
on
Tue, Jul 13 2010 9:37 PM
rated by 0 users
Post Points: 5
Re: ODD/EVEN Pages & Sections Handling with Open XML
Hi Frederic
You cannot use the OpenXML SDK to establish the Page Count because the document needs to be rendered to have any pagination.
A solution for your problem could be to use the Word Automation Services to convert the document to the XPS fixed format and then query this XML for the page count - for more information have a look at http://blogs.msdn.com/b/microsoft_office_word/archive/2009/10/26/introducing-word-automation-services.aspx
Page 1 of 1 (2 items)