Hi, I need to know if there is a way to find out if a paragraph fits on a page, before actually inserting the paragraph. Something similar to fitsPage(Table).
Actually the problem we are facing is that even though the paragraph just fits the page, the startPage() event is getting called. Here we are changing the margins for the next page. So the next page margins are wrongly getting set to the current page margin (even though the current page text does not overflow). We need to set new margins for the next page, when the text does not overflow to the next page. Note: The Text is dynamically picked up from the database. So we cannot control that. I have been struggling with this for more than a week. Any help would be greatly appreciated. Thanks in advance, Sheldon ------------------------------------------------------------------------------------------------------------------------ Disclaimer: This e-mail message along with attachment, contain Patni GE Confidential, proprietary & legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify the sender and delete this mail. This email (in whole or in part) is not to be reproduced or furnished to third parties or made public without the prior express written permission of the sender. ------------------------------------------------------------------------------------------------------------------------
