That was the one I meant. I had assumed it would control the names given to new styles when they were created. That would be useful.
Cheers,
Martin
Search found 119 matches
- Sat Dec 20, 2008 5:18 pm
- Forum: Support
- Topic: DefStyleName not working?
- Replies: 3
- Views: 11242
- Fri Dec 19, 2008 12:58 pm
- Forum: Support
- Topic: DefStyleName not working?
- Replies: 3
- Views: 11242
DefStyleName not working?
Hi there,
I have the following defined in my TRVStyle:
DefStyleName: п»їп»їп»їStyle_%d
However, when I paste text in with a new style, the style name seems to be set to "Font Style". Has anyone else seen this?
Cheers,
Martin
I have the following defined in my TRVStyle:
DefStyleName: п»їп»їп»їStyle_%d
However, when I paste text in with a new style, the style name seems to be set to "Font Style". Has anyone else seen this?
Cheers,
Martin
- Fri Dec 12, 2008 12:33 pm
- Forum: Support
- Topic: RVFSaveToStream problem
- Replies: 3
- Views: 11202
- Thu Dec 11, 2008 1:18 pm
- Forum: Support
- Topic: RVFSaveToStream problem
- Replies: 3
- Views: 11202
RVFSaveToStream problem
Hi Sergey, I'm having a very strange problem with a TRichViewEdit control. I load small documents into it from streams, and save them out to streams. Here's the problem: I load one of these documents, with colours and formatting, and it loads fine. Then I make a text style change (say I add underlin...
- Wed Dec 10, 2008 1:20 pm
- Forum: Support
- Topic: Loading and saving background colours to stream in RVF
- Replies: 1
- Views: 8166
Loading and saving background colours to stream in RVF
In my app, I save small documents to RVF streams and reload them when required, and when text is highlighted with a background colour, the colour is lost when the document is reloaded. The Help file says: rvfoSaveBack: If set, background (color and image) is saved in RVF.This flag affects only savin...
- Wed Oct 01, 2008 12:31 pm
- Forum: Support
- Topic: ExtractMetafilesBitmaps turned on, but TMetafiles appear
- Replies: 1
- Views: 8238
ExtractMetafilesBitmaps turned on, but TMetafiles appear
Hi there, When I load RTF files into a TCustomRichViewEdit with ExtractMetafilesBitmaps set to True, I still find that graphics appear as TMetafile. Is this right? Is there an easy way to convert each TMetafile to a TJPEGImage? When I'm saving out into a custom format, I need to turn TMetafiles into...
- Thu Sep 25, 2008 5:13 pm
- Forum: Support
- Topic: Preventing image loading from HTML with TRVHTMLImporter
- Replies: 1
- Views: 8431
Preventing image loading from HTML with TRVHTMLImporter
Hi there, I'm still using TRVHTMLImporter rather than the new component, and I'd like to know how to prevent images from being loaded when loading a document. I've tried doing various things in OnImageRequired2, but nothing seems to work; images are still imported. TRichViewEdit has IgnorePictures i...
- Thu Sep 25, 2008 4:19 pm
- Forum: Examples, Demos
- Topic: [How to] How to use PNG and GIF images in TRichView
- Replies: 17
- Views: 188353
Typo in documentation
The TRichView Help file has this:
Unit RVMisc.
procedure RV_RegisterPngGraphic(ClassType: TGraphicClass);
whereas the correct unit is CRVData, as you mentioned above.
Cheers,
Martin
Unit RVMisc.
procedure RV_RegisterPngGraphic(ClassType: TGraphicClass);
whereas the correct unit is CRVData, as you mentioned above.
Cheers,
Martin
- Tue Aug 12, 2008 12:11 pm
- Forum: Support
- Topic: Small Help file error
- Replies: 1
- Views: 8208
Small Help file error
The Help file says that TRVOfficeConverter.Stream is a TMemoryStream, but according to RVOfficeCnv.pas, line 94, it's a TRVMemoryStream.
Cheers,
Martin
Cheers,
Martin
- Thu Aug 07, 2008 3:33 am
- Forum: Support
- Topic: XHTML and li/@value attribute
- Replies: 2
- Views: 10496
The vast majority of lists start from 1, so I don't think there's much to lose there. Also, I think anyone using XHTML 1.1 doesn't care about IE6 (we don't support it in any of our projects, and we haven't for a long time), so I think removing the attribute in XHTML is definitely the right decision....
- Wed Aug 06, 2008 2:00 pm
- Forum: Support
- Topic: XHTML and li/@value attribute
- Replies: 2
- Views: 10496
XHTML and li/@value attribute
In CRVData.pas, TCustomRVData.SaveHTMLToStreamEx, this appears at line 3136: if marker.GetLevelInfo(RVStyle).HasNumbering then RVWrite(Stream,Format('<li value=%s', [RV_HTMLGetIntAttrVal(marker.Counter, Options)])) However, the "value" attribute is not allowed in XHTML 1.0 Strict or 1.1. I...
- Wed Jul 16, 2008 3:48 pm
- Forum: Support
- Topic: AppendRVFFromStream showing errors
- Replies: 5
- Views: 15321
- Fri Jul 11, 2008 12:06 pm
- Forum: Support
- Topic: AppendRVFFromStream showing errors
- Replies: 5
- Views: 15321
- Sat Jun 21, 2008 9:48 pm
- Forum: Support
- Topic: AppendRVFFromStream showing errors
- Replies: 5
- Views: 15321
Thanks Sergey. I have to save with style names for another section of the application, where these mini-documents share two or three global styles, which must be changed centrally sometimes; so the streams I have are saved with stylenames. I don't need to use the style names when I append them all t...
- Fri Jun 20, 2008 12:36 pm
- Forum: Support
- Topic: AppendRVFFromStream showing errors
- Replies: 5
- Views: 15321
AppendRVFFromStream showing errors
I'm attempting to do this: I have a set of small RVF documents saved in TMemoryStreams. Each of these documents is complete, and works perfectly when I stream it into a TRichViewEdit. I need to combine these documents together in order to save them out as a single XHTML document. To do this, I'm cre...