473,799 Members | 3,061 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to decide Page Break insertion criteria in RTF

I am trying to develope a small RTF writer to generate project report at
runtime, with a limited RTF writing capability. RTF by default is only one
page document, untill we intentionally put page breaks in it, on the other
hand Project report consists of number of pages.
Thus, what should the criteria to decide page break insertion? How to keep
track of page's empty area before inserting anything? Is there any way to
identify exactly how many characters I can print before I run out of room in
the current page.
RTF specification 1.6 to 1.8 doesn't give any example regarding this issue.
Please guide.
--
sachin
Nov 16 '05 #1
0 1367

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

Similar topics

3
6009
by: Raju V.K | last post by:
I am developing a PHP-mysql database. It is noted that when the browser window is refreshed the data is inserted again in the database. unfortunately there is no unique keys that I can use to verify the existance of the data, so as to prevent the multiple insertion. Is there any other way to prevent it otherthan introducing another field for this purpose and verifying its existance? Regards,
8
6604
by: Dan | last post by:
When a user clicks on a link in my menu, I want the background color of the link that comes up in the hover to remain on the destination page. My menu looks like this: <div id="adminmenu"> <a class="mainlink mainlink1" href="">Events</a><br> <a class="mainlink mainlink2" href="">Home Page Teaser</a><br> <a class="mainlink mainlink3" href="">Testimonials</a><br> <a class="mainlink mainlink4" href="">Repertoire</a><br>
2
4961
by: Kushal | last post by:
Hello, I am trying to build a dynamic set/list of data which should be sorted as each element is inserted. The main criteria in this list is the speed, the time it takes to insert a element, and the time it takes to retrive it. Therefore I was wondering between STL Vectors, Maps, and Set, what would be the most efficient way to do this, and how can it be done easily. Also, if I were to use STL Vectors, is there anyway that I can get...
20
3872
by: Patrick Guio | last post by:
Dear all, I have some problem with insertion operator together with namespace. I have a header file foo.h containing declaration of classes, typedefs and insertion operators for the typedefs in a named namespace namespace foo { class Foo
0
399
by: Sachin | last post by:
I am trying to develope a small RTF writer to generate project report at runtime, with a limited RTF writing capability. RTF by default is only one page document, untill we intentionally put page breaks in it, on the other hand Project report consists of number of pages. Thus, what should the criteria to decide page break insertion? How to keep track of page's empty area before inserting anything? Is there any way to identify exactly how...
16
8376
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 -- each block contains three rows. this table is destined for paper printing. i would like to tell the browser *not* to bust up my blocks. rather, i would like it to smartly insert a page break inbetween <tbody>s if the last one cannot be rendered...
7
2965
by: ckpoll2 | last post by:
Hello, I have a report that returns a varying number of dollar amounts, depending on the date criteria that is entered. What I need to do is force a page break after 32 records and sum those 32. The next page should have remaining records up to 32 and sum those seperately from records on page one. What I've tried doing is putting a text box with =sum() in the page footer, but that gives me an error. Is there any way that I can do this? ...
1
3110
by: Simon | last post by:
Dear reader, Is there some VBA code to place or remove a page break on the bottom of the report header section? In some cases only the header section of the report has to be printed in that situation no page break is required and in other cases I need a page break on the bottom of the report header section.
11
13011
by: gotonagle | last post by:
hi, can some help me in this regard i m entering some values in my databse from my asp page. for this i m using a submit button which submit the form to a new page that is 'insert.asp'. this page perform insertion and redirect it back to my previos page. can i not do this insertion on the same page? if i wirte insertin code on the same page it perform insertion for the page refresh also...thats why i m using another page(some people says...
0
9686
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9540
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10475
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10250
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10026
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.