We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Move Thru Document Specified Number of Lines

Thread ID:





79074 Jan 20,2009 06:10 AM UTC Jan 22,2009 11:10 AM UTC WinForms 3
Tags: DocIO
Mark Boyce
Asked On January 20, 2009 06:10 AM UTC

Hi - Is it possible to move thru a document a specified number of lines and insert some text? We're trying to "mimic" header and footer placement so we can save the resulting document as html with proper page breaks and headers.
Please advise. Thanks!

Bhuvaneswari P [Syncfusion]
Replied On January 21, 2009 12:15 PM UTC

Hi Mark,

Thank you for your interest in Syncfusion products.

We don't have support for moving to the specified line number in the document, we can only move to the paragraph or section wise in the document.

Regarding document with header and footer into HTML document: I am afraid that I am unable to reproduce the issue. While converting doc to HTML it converts the header and footer and page breaks into the HTML document. Could you please provide your word document, current HTML output file and your expected output file? This would be helpful for us to investigate the issue further.

Best Regards,

Mark Boyce
Replied On January 21, 2009 09:03 PM UTC

Hi Bhuvana -
Thanks for your reply. I've attached the "test" document we were working with. It does put a "header" and "footer" on the html.

However, it ignores what would in word be numerous pages. Even if there are hard page breaks. We're looking for it to put those headers/footers in every so many lines so that when it prints it will look like a normal word document printout. That's why we were wondering about moving so many number of lines.

We currently do it that way using word application class, but it would be nice not to have to use word itself, that's why we're looking at your product.

Let me know.

Again, thanks very much for your help!

This is a test document_e71126ab.zip

Bhuvaneswari P [Syncfusion]
Replied On January 22, 2009 11:10 AM UTC

Hi Mark,

Thanks for the file.

After analysis the issue in file we found the below details.

1. It doesn't put header and footer on the HTML
Using DocIO only primary header is output at the beginning of a section and the footer also placed in the end of the HTML page. Since MS Word automatically inserts header/footer to each page (in object model we have only 1 header/footer for each section). So this is not issue, this is the behavior.

Break is not preserved in the HTML document
We are able to reproduce the issue. The issue reported by you is suspected to be a defect. We have forwarded this to our Development Team for further analysis. We will update you with our development Team’s response in two business days.

Thank you for your patience.

Please let me know if you have any other questions.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon