Search found 119 matches
- Thu Jun 12, 2008 12:20 pm
- Forum: Support
- Topic: Incorporating RVF into an XML file
- Replies: 1
- Views: 8715
Incorporating RVF into an XML file
I've found myself in a situation where I need to save RVF code (text, not binary) to an XML file which is encoded in UTF-8. I'm wondering what the nature of RVF code is. As a string, is it ASCII or ANSI? In other words, does it ever contain characters between 128 and 255? The TRichViewEdit which is ...
- Mon Jun 09, 2008 8:59 pm
- Forum: Support
- Topic: SaveHTMLEx and character encoding
- Replies: 3
- Views: 11457
I'm assuming, then, that there are three categories of text here: ASCII (0 - 127), same in ANSI and UTF-8 128 - 255 (ANSI, saved differently) 255 + (Unicode, saved as numeric escapes) Am I right? I've been a bit thrown in one of my projects by the fact that the TRVXML component seems to save accente...
- Mon Jun 09, 2008 12:31 pm
- Forum: Support
- Topic: SaveHTMLEx and character encoding
- Replies: 3
- Views: 11457
SaveHTMLEx and character encoding
Hi there,
If rvsoUTF8 is included in the save options for SaveHTMLEx, the result is saved as UTF-8. But if it's not included, what format is saved? Is it UTF-16, for Unicode documents, or something else?
Cheers,
Martin
If rvsoUTF8 is included in the save options for SaveHTMLEx, the result is saved as UTF-8. But if it's not included, what format is saved? Is it UTF-16, for Unicode documents, or something else?
Cheers,
Martin
- Wed Feb 13, 2008 1:46 pm
- Forum: Support
- Topic: Load RVF into table cells
- Replies: 3
- Views: 11600
I seem to have a working solution to this, explained here:
http://www.trichview.com/forums/viewtop ... =8874#8874
(Not a solution to the table cell problem; it's a solution to the issue I was trying to solve with tables, but which is better solved using paragraph formatting.)
http://www.trichview.com/forums/viewtop ... =8874#8874
(Not a solution to the table cell problem; it's a solution to the issue I was trying to solve with tables, but which is better solved using paragraph formatting.)
- Wed Feb 13, 2008 1:44 pm
- Forum: Support
- Topic: Adding additional formatting when inserting RVF from stream
- Replies: 3
- Views: 12303
I seem to have found a solution to this, so I'm posting it in case anyone else is facing a similar problem (trying to insert a sequence of smaller documents in the form of a numbered list). This is what I do: For each subdocument: Set the cursor to the end of the document Insert an appropriate numbe...
- Tue Feb 12, 2008 6:57 pm
- Forum: Support
- Topic: Load RVF into table cells
- Replies: 3
- Views: 11600
- Mon Feb 11, 2008 1:56 pm
- Forum: Support
- Topic: Load RVF into table cells
- Replies: 3
- Views: 11600
Load RVF into table cells
I'm trying to load RVF from a stream into table cells, but the method (LoadRVFFromStream) seems to have a lot of parameters which aren't documented in the help file, such as Color, Background and Layout. Could you explain what these are, or give an example of how to load RVF from a stream into an em...
- Thu Feb 07, 2008 1:27 pm
- Forum: Support
- Topic: Adding additional formatting when inserting RVF from stream
- Replies: 3
- Views: 12303
Adding additional formatting when inserting RVF from stream
Hi there, I'm struggling with a process whereby I insert a sequence of little documents into a main document. The small documents are stored as RVF. When I insert them into the main document, I need them to become list items. This is the process I'm using: Add a list marker. Add a space. Stream in t...
- Tue Jan 15, 2008 4:53 pm
- Forum: Support
- Topic: Selection bounds and Unicode text
- Replies: 3
- Views: 11629
- Tue Jan 15, 2008 1:45 pm
- Forum: Support
- Topic: Selection bounds and Unicode text
- Replies: 3
- Views: 11629
Selection bounds and Unicode text
Hi there, I'm trying to implement a "Find All" function which creates a list of all the hits from a particular search operation, using SearchTextW. I'm able to find each instance of the search text without problems, but I'm having trouble storing information about the hit (start location, ...
- Wed Dec 19, 2007 7:42 pm
- Forum: Support
- Topic: Search and replace that crosses item boundaries?
- Replies: 8
- Views: 23048
- Wed Dec 19, 2007 1:04 pm
- Forum: Support
- Topic: Search and replace that crosses item boundaries?
- Replies: 8
- Views: 23048
Search and replace that crosses item boundaries?
Hi there, Earlier this year, DavidRM and Michael Pro developed and bugfixed some code for effective search and replace which is more unicode-friendly than SearchText, and which can span item boundaries. This was the discussion where the code was posted and worked out: http://www.trichview.com/forums...
- Thu Dec 13, 2007 1:07 pm
- Forum: Support
- Topic: StyleLoadingMode in TRichViewXML
- Replies: 1
- Views: 8871
I've done some further investigation into this, and it looks as though some code may be missing from RVStyle.pas: When RVXML tries to merge styles using slmMerge, it calls RVStyle.TextStyles.MergeWith, passing rvs_merge_SmartMerge as the MergeMode. The comments at the head of RVStyle.TextStyles.Merg...
- Wed Dec 12, 2007 9:07 pm
- Forum: Support
- Topic: What kinds of process can be part of an undo group?
- Replies: 3
- Views: 11891
Unfortunately, this almost always involves adding new styles to the collection. Undo is such a messy business, eh? I guess I'll have to try and store enough information to re-create the previous state of the document, by taking actions instead of undoing them. If I intercept the Undo command when I ...
- Wed Dec 12, 2007 1:56 pm
- Forum: Support
- Topic: What kinds of process can be part of an undo group?
- Replies: 3
- Views: 11891
What kinds of process can be part of an undo group?
I noticed from this post: <http://www.trichview.com/forums/viewtopic.php?t=651&highlight=undo> that "direct assignment to StyleNo cannot be undone". I'm trying to create systems for undoing complex sequences of actions, so I'd like to know exactly what actions can be part of an UndoGro...