Search found 119 matches

by martindholmes
Mon Dec 10, 2007 1:55 pm
Forum: Support
Topic: StyleLoadingMode in TRichViewXML
Replies: 1
Views: 8872

StyleLoadingMode in TRichViewXML

Hi there, I'm working with RVXML, and trying to figure out how to get this to happen: 1. Save styles in the XML (this works fine). 2. Reload styles from the XML in such a way that if they're standard styles, they DON'T overwrite the standard styles in the TRVStyle component, but when they're non-sta...
by martindholmes
Fri Nov 16, 2007 9:00 pm
Forum: Support
Topic: Text style conversion
Replies: 3
Views: 12895

That's true, but in my situation I'm not applying a single style to all the items: I'm creating new styles for each item based on their existing style, with some modifications. In other words, they don't all end up looking identical; they all end up changed, but different. I did figure out how to do...
by martindholmes
Fri Sep 21, 2007 12:38 pm
Forum: Support
Topic: Text style conversion
Replies: 3
Views: 12895

Text style conversion

I'm having trouble with something very simple, but I just can't figure out how to do it. I need to do a text style conversion over a range of text which may include several items, and may begin and end in the middle of items. So I need to: Split the first item where the selection starts, and create ...
by martindholmes
Fri Sep 14, 2007 10:48 pm
Forum: Support
Topic: Text style which does not define (e.g.) font size
Replies: 2
Views: 10003

Hi Sergey,

I take your point. I guess what I'm looking for is some kind of cascading styles system, but that's a bit ambitious!

I haven't heard of ModifiedProperties -- is there documentation anywhere for that?

Cheers,
Martin
by martindholmes
Fri Sep 14, 2007 12:46 pm
Forum: Support
Topic: Text style which does not define (e.g.) font size
Replies: 2
Views: 10003

Text style which does not define (e.g.) font size

Hi there, [I previously posted this in the private support forum by mistake; I intended it to be in the public forum.] I'd like to be able to define a TextStyle in the TRVStyle's list of Text Styles without specifying one or more of its properties (for instance, font size). The idea of this is that ...
by martindholmes
Thu Aug 09, 2007 12:29 pm
Forum: Support
Topic: Simplest way to clear text styles?
Replies: 1
Views: 8776

Simplest way to clear text styles?

Hi there,

I'd like to provide an action for users to clear existing text styles from selected text (i.e., set the style to plain text, not bold, not italic, not underlined, black text on white) WITHOUT changing the font name or size. Is there a simple way to do this?

All help appreciated,
Martin
by martindholmes
Tue Aug 07, 2007 11:54 am
Forum: Support
Topic: Why no spaces in tags?
Replies: 1
Views: 8053

Why no spaces in tags?

The Advanced Hypertext demo has this comment: { IMPORTANT: Do not use spaces in Tag strings (you can use them, but you } { will not be able to save such tags in RVF files) } Is this still the case? If so, what's the reason for it, and is there a workaround? I need to save several attributes in hyper...
by martindholmes
Tue Jul 03, 2007 5:30 pm
Forum: Support
Topic: Width of tables in RTF export
Replies: 2
Views: 10382

I seem to have solved the problem by explicitly setting the width of the offscreen TRichViewEdit to 600. It previously had no width setting at all; once I set it to 600, then the table does appear at 100% width in the document, which is fine.
by martindholmes
Tue Jul 03, 2007 12:25 pm
Forum: Support
Topic: Width of tables in RTF export
Replies: 2
Views: 10382

Width of tables in RTF export

Hi there, I'm creating a Rich View document offscreen, in a TRichViewEdit control which is never visible. When I save this document to RTF, tables in the document appear to be saved at a width of 1.99" (at least, that's how they appear in OpenOffice Writer). I have table.BestWidth set to -100 (...
by martindholmes
Mon Jun 25, 2007 12:25 pm
Forum: Support
Topic: Adding numbered comments from RVF
Replies: 2
Views: 10242

Thanks Sergey -- it was the FormatString that was the problem. I can't be sure that the first item in each comment won't be a table, so I have to stick with my less efficient version. The only problem that remains is the issue of embedded lists inside the comments. They're not indented enough, becau...
by martindholmes
Fri Jun 22, 2007 12:42 pm
Forum: Support
Topic: Adding numbered comments from RVF
Replies: 2
Views: 10242

Adding numbered comments from RVF

I'm doing an operation in which I'm adding a series of small TRichView documents, stored in RVF, to the end of an existing document. Each of these small documents is actually a comment, so I need to create a numbered list, adding a list marker before each comment. This seems to be half-working; all ...
by martindholmes
Fri Jun 22, 2007 11:46 am
Forum: Support
Topic: Errors when saving and loading RVF from stream
Replies: 5
Views: 17212

That did it!

I keep forgetting that format call. Doh!

Cheers,
Martin
by martindholmes
Thu Jun 21, 2007 11:48 am
Forum: Support
Topic: Errors when saving and loading RVF from stream
Replies: 5
Views: 17212

Gentle bump for this question...
by martindholmes
Wed Jun 20, 2007 6:50 pm
Forum: Support
Topic: Some aspects of text styles lost during transition to RVF
Replies: 8
Views: 22493

My mistake! I was looking at the RTF file in WordPad! It looks as though WordPad doesn't support background colours in RTF. When I look at the file in a word-processor, the background colours show up. Sorry about that -- I didn't think background colours were a particularly advanced feature! Cheers,...
by martindholmes
Wed Jun 20, 2007 12:45 pm
Forum: Support
Topic: Some aspects of text styles lost during transition to RVF
Replies: 8
Views: 22493

No, the RVF output looks fine. There seems to be a problem saving the background colour in text styles to RTF. This is not limited to my application, because when I open the RVF file in the Action Test Demo, then save it out as RTF, the background colours are missing. MyApp -> save to RTF: backgroun...