Article

From:
To:
Jack Stiles
Subject:
Re: Save/use page margins in RichEdit .rtf docs?
Newsgroup:
woll2woll.products.infopower

Re: Save/use page margins in RichEdit .rtf docs?

It seems to me, that all you need to do is to save the printmargins property
yourself to a corresponding file (ini file).  Then you can read in the last
saved margins and set the richedit's properties.   It would not seem
appropriate to me to have our control generate this ini file for you as it
assumes an implementation beyond the rtf file format.  If I am
misunderstanding your suggestion, please clarify.

Roy (Woll2Woll Software) Sales: In U.S. - 1-800-9652965,        Intl - 925-371-1663 Fax: 925-371-1664 Sales: ✉woll2woll.com Home Page: http://woll2woll.com
Jack Stiles <✉swifttechsoftware.com> wrote in message
news:8clhe4$bq30@Woll2WollWeb.Woll2WollWeb...
> Hi Paul,
>
> As I indicated in my posting, I'm aware of the "printmargins property that
> allows you to set the left, top, right, and bottom margins in inches." The
> problem is that a user may change the margins of an RTF document via File,
> Page Setup, for example, and save the document with different margins (and
> different pagination that results from the difference in margins). Later,
> when the user retrieves the document, unless the margin info is embedded and
> used when RichEdit displays the RTF document, the margins (and pagination)
> will revert to the RichEdit's printmargins property settings, which may not
> be what the user used when the document was saved! From the user's
> perspective, the document's margins and pagination will have been screwed
> up!
>
> <Soapbox>
> IMHO, automatically embedding and then retrieving and using a user's .RTF
> margin settings (or providing an easy way to do it programmatically at
> run-time) is such a fundamental requirement that a way to do it ought to be
> seriously considered as a future enhancement to InfoPower. In the meantime,
> the lack of this capability seriously diminishes TwwRichEdit's utility
> (unless I roll my own way of doing it programmatically).
>
> Here's another suggestion for a RichEdit enhancement: Provide a way to show
> the user where the page breaks are.
>
> Thanks for listening.
> </Soapbox>
>
> Jack Stiles
> SwiftTech Software
>
> Paul <✉woll2woll.com> wrote in message
> news:8clajp$bq25@Woll2WollWeb.Woll2WollWeb...
> > InfoPower 2000 supports most of the Richedit Version 2 implementation. I
> > don't believe the RichEdit Version 2 supports embedded margins as you
> > describe.
> >
> > However, the richedit control itself has a printmargins property that
> allows
> > you to set the left,top,right, and bottom margins in inches.
> >
> > -Paul
> >
> >
>
>
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Thu, 28 Mar 2024 10:35:58 UTC
Copyright © 2009-2024
HREF Tools Corp.