473,395 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Insert Section Break in RTF?

I realize this may not be the best place to post this, but I was at a loss
as to where to go, so...

I'm trying to merge two separate RTF files (created in Word) into one Word
document. I'd like to put a "next page" section break between each document
so that headers and footers can differ between sections. I've got the
documents merging, but I can't seem to figure out how to insert the section
break. Can anyone help?

Jul 19 '05 #1
5 7902
You might want to try a Word newsgroup. The key is that you need to figure
out the code for a section break, not the ASP code to insert it.

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Diane Yocom" <di****************@seattle.gov> wrote in message
news:#Y**************@TK2MSFTNGP10.phx.gbl...
I realize this may not be the best place to post this, but I was at a loss
as to where to go, so...

I'm trying to merge two separate RTF files (created in Word) into one Word
document. I'd like to put a "next page" section break between each document so that headers and footers can differ between sections. I've got the
documents merging, but I can't seem to figure out how to insert the section break. Can anyone help?

Jul 19 '05 #2
Diane Yocom wrote:
I realize this may not be the best place to post this, but I was at a
loss as to where to go, so...

I'm trying to merge two separate RTF files (created in Word) into one
Word document. I'd like to put a "next page" section break between
each document so that headers and footers can differ between
sections. I've got the documents merging, but I can't seem to figure
out how to insert the section break. Can anyone help?


http://search.cpan.org/dist/RTF-Writ...vel_Formatting

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 19 '05 #3
Thanks for the response.

I had actually found the following command: \sect\sectd\sbkpage to insert a
next page section, but when I insert it, it doesn't reset the header and
footer, so I was figuring I did something wrong. Does there need to be a
group delimiter around the section and the text in that section?

I.e., {\sect\sectd\sbkpage blah blah blah, here's my text}
"Dave Anderson" <GT**********@spammotel.com> wrote in message
news:eA**************@TK2MSFTNGP09.phx.gbl...
Diane Yocom wrote:
I realize this may not be the best place to post this, but I was at a
loss as to where to go, so...

I'm trying to merge two separate RTF files (created in Word) into one
Word document. I'd like to put a "next page" section break between
each document so that headers and footers can differ between
sections. I've got the documents merging, but I can't seem to figure
out how to insert the section break. Can anyone help?

http://search.cpan.org/dist/RTF-Writ...vel_Formatting
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use of this email address implies consent to these terms. Please do not contact me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.

Jul 19 '05 #4
I'll forward there too. Didn't figure a Word group was necessarily a sure
thing, since RTF isn't solely a Word standard.

Thanks,
Diane Y.

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:ue**************@TK2MSFTNGP12.phx.gbl...
You might want to try a Word newsgroup. The key is that you need to figure out the code for a section break, not the ASP code to insert it.

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Diane Yocom" <di****************@seattle.gov> wrote in message
news:#Y**************@TK2MSFTNGP10.phx.gbl...
I realize this may not be the best place to post this, but I was at a loss as to where to go, so...

I'm trying to merge two separate RTF files (created in Word) into one Word document. I'd like to put a "next page" section break between each

document
so that headers and footers can differ between sections. I've got the
documents merging, but I can't seem to figure out how to insert the

section
break. Can anyone help?


Jul 19 '05 #5
I downloaded the RTF spec from MS some time ago and quickly got tired of
trying to trying to understand it. It sounds gash - but the best approach
I've found is to generate and save one document, make the change you
require, save the new file, and then diff them (normally this is a manual
process) to spot the changes. Normally a certain amount of artistic license
(and trial and error) is required to interpret and clean up what you see.

Alan

"Diane Yocom" <di****************@seattle.gov> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I realize this may not be the best place to post this, but I was at a loss
as to where to go, so...

I'm trying to merge two separate RTF files (created in Word) into one Word
document. I'd like to put a "next page" section break between each document so that headers and footers can differ between sections. I've got the
documents merging, but I can't seem to figure out how to insert the section break. Can anyone help?

Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: jason | last post by:
How does one loop through the contents of a form complicated by dynamic construction of checkboxes which are assigned a 'model' and 'listingID' to the NAME field on the fly in this syntax:...
2
by: gmnospam | last post by:
How do insert a forced page break to control pagination when I print out the code? This would be someline that is not compiled, only used during code printout. Thanks, gm
0
by: Rudy Ko | last post by:
Hi, All: I'm populating database records into a panel controls and want to render that panel into a HtmlTextWriter which will creating a word document. Do you know how to insert a page break...
2
by: Mike Lerch | last post by:
I have data like this: Album Song Led Zeppelin I Good Times Bad Times Led Zeppelin I Babe I'm Gonna Leave You Led Zeppelin I You Shook Me Led Zeppelin I Dazed and Confused Led Zeppelin...
16
by: matt | last post by:
hello, ive been trying to figure something out, largely thru trial & error. thought perhaps someone else may have knowledge. i have an html table that consists of blocks of related data --...
1
by: nandan | last post by:
Hi, Iam using devexpress xtrareports with vb.net .I want to insert page break after writting some contents to the Detail area(band). can anybody help me?Thanks in advance Nandan I using the...
1
by: cheyennemtnman | last post by:
In MS Access how can I skip to the next page on section break if section can not be printed entirely on the preceding page. Say if I had 20 print lines on the page and I have section 1 with 4...
2
by: robin1983 | last post by:
Dear All, Firstly I would like thank all senior and junior who helping and sharing the knowledge to us. Actually, I have a small query. The problem is that I have a form which have only two...
0
by: kumardharanik | last post by:
Hi Friends, The below code is a sample code for insert, update and delete using datagrid but i need to convert the entire code for datagridview.. Plsss help me.. using System; using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.