ReadMe.txt
上传用户:daoqigc
上传日期:2021-04-20
资源大小:2795k
文件大小:10k
源码类别:

RichEdit

开发平台:

Delphi

  1. RichView 1.9.8
  2. =====================================================
  3. COMPATIBILITY ISSUES:
  4. - HTML tag names, color constants, CSS names are saved in lower case
  5. - SaveHTMLEx does not use the following attributes for cells and tables any more:
  6.   bordercolor, bordercolorlight, bordercolordark, background, bgcolor.
  7.   CSS style is used instead. These attributes are not standard.
  8. - table layout algorithm: when there is not enough space for columns having
  9.   widths specified in pixels, they are decreased proportionally
  10.   (previously, only rightmost columns were decreased)
  11. - table grid is not shown in readonly editors any more
  12. =====================================================
  13. 1.9.8
  14. impr: Ctrl+Up and Ctrl+Down scroll the document down/up instead of moving caret.
  15. impr: Ctrl+Left, Ctrl+Right, Ctrl+Delete take Delimiters into account.
  16. fix: in db components
  17. chg: rvoFastFormatting is included in Options by default (it affects existing projects
  18.   where TRichView has default value of Options)
  19. chg: support for C++Builder 1 and 3 is dropped (actually, it did not work since 1.9.3 or
  20.    even before)
  21. 1.9.7 BETA
  22. impr: much faster reformatting! (thanks to Rob Schoenaker)
  23.   It's faster by 50-100%.
  24.   If you include rvoFastFormatting in Options, it will be faster up to 400%!
  25.   (works only under WinNT/2k/XP; 
  26.    if this option is included, formatting procedure use a lot of system resources, 
  27.    but they are released immediately after finishing formatting). 
  28.    Highly recommended to try.
  29.    This option can also be applied to TRVPrint (RVPrint.rv.Options) and
  30.    TRVReportHelper (RVReportHelper.RichView.Options).
  31. new: new options for TRichView.BackgroundStyle: bsTopLeft, bsTopRight, bsBottomLeft,
  32.   bsBottomRight (define the position of background bitmap).
  33. new: TRichView.LoadFromStream - loads data from the Stream autodetecting its format
  34.   (RVF/RTF/text). The last parameter (IsTextUnicode) specifies is the text Unicode.
  35.   It can be one of:
  36.   rvynaNo - read text as ANSI
  37.   rvynaYes - read text as Unicode
  38.   rvynaAuto - autodetects ANSI/Unicode (false detection is very possible)
  39. impr: table.VisibleBorders is saved to HTML and RTF
  40. fixes
  41. 1.9.6 BETA
  42. new: TJvGIFImage (from Project JEDI's JVCL, http://jvcl.sourceforge.net) animation.
  43.   To enable it, include RVJvGifAnimate in your project. More info: see in v1.9.5
  44. impr: rvespAlt (see TRVExtraItemStrProperty type) property can be applied
  45.   to bullets and hotspots
  46. new: Hint: String property for table cells (unlike item hints, they cannot
  47.   be altered by OnItemHint event)
  48. impr: you can define which characters to show in ShowSpecialCharacters mode.
  49.   They are listed in RVVisibleSpecialCharacters (global variable in RVStyle.pas)
  50.   It's a set of (rvscSpace, rvscNBSP, rvscParagraph, rvscSoftHyphen).
  51.   By default, it lists all the options.
  52. impr: you can allow saving explicit page breaks in text files/streams.
  53.   Set the global variable RichViewSavePageBreaksInText (from CRVData.pas) to True.
  54. new: the following Windows messages are processed by TRichView: 
  55.   EM_GETSEL, EM_SETSEL, EM_GETTEXTRANGE, WM_GETTEXTLENGTH, WM_GETTEXT, WM_SETTEXT.
  56.   If you do not need these messages, you can define RVDONOTUSELINEARPOSITIONS in RV_Defs.inc.
  57.   It slightly reduces exe-file size.
  58. new: ability to delete unused styles even if they are used by several documents.
  59.   New methods: 
  60.   MarkStylesInUse(data) - marks all styles used in RichView.
  61.   DeleteMarkedStyles(data) - the first call deletes the marked styles from RVStyle.
  62.     All calls adjust references to styles in documents.
  63.   See Examples.txt.
  64. fix: in editing and RTF export
  65. 1.9.5 BETA
  66. new: ANIMATION: direct support for animated images.
  67.   New property: AnimationMode:
  68.   - rvaniDisabled: all animation is completely disabled.
  69.     If images are added/updated in this mode, they cannot be
  70.     animated (even if different mode is set later). 
  71.     This mode saves system resources.
  72.   - rvaniManualStart (default): animation starts when calling
  73.     StartAnimation and stops when calling StopAnimation.
  74.   - rvaniOnFormat: animation starts when calling Format and
  75.     stops when calling Clear. StartAnimation and StopAnimation
  76.     work as well.
  77.   rvaniManualStart is set by default because rvaniOnFormat
  78.   may cause problems in some existing applications.
  79.   Animation must be stopped when you call viewer-style
  80.   methods like DeleteItems. If you simply load and edit
  81.   documents, set this mode to rvaniOnFormat.
  82.   Supported animations:
  83.   1) TGifImage by Anders Melander.
  84.     http://www.torry.net/vcl/graphics/gif/gifimage.exe (original)
  85.     http://www.trichview.com/resources/thirdparty/gifimage.zip (update)
  86.     Include RVGifAnimate.pas in your project to enable this animation.
  87.   2)TBitmap. Bitmap is sliced into frames (rvepImageWidth x rvepImageHeight)
  88.   arranged in rows and columns. Animation is enabled if you set nonzero
  89.   rvepAnimationInterval in positive value (animation delay in 1/100 of second)
  90.   See the help file on TRVExtraItemProperty type about rvep*** values.
  91.   Known problems: such bitmaps are still printed and exported stretched
  92.   instead of exporting one frame.
  93.   Note: unlike drawing/saving/loading of images, there is no standard
  94.   graphic methods for animation. Because of this, a special
  95.   wrapping code is required for supporting each new animation type.
  96.   You can post your requiest for new animation types in newsgroups or
  97.   svt@trichview.com.
  98. fix: RTF export
  99. 1.9.3 BETA
  100. impr: support for the word joiner Unicode character (code $2060).
  101.   This character is invisible and it disallows line breaking
  102.   before and after it. A speciall support is required because
  103.   almost no font has a glyph for this character.
  104.   Note: it works propely only if inserted in the middle of a
  105.   text item.
  106. chg: if image was not returned in OnRVFPictureNeeded event, this event
  107.   is called second time with the value of rvespImageFileName property
  108.   in the Name parameter (if value of this property was stored for
  109.   this item).
  110. fix: keep-with-next option did not work for paragraphs before tables 
  111.   (if tables were printed on several pages)
  112. test: if you set RichViewShowGhostSpaces variable to True, spaces hidden between
  113.   lines will be shown in rvoShowSpecialCharacters is in TRichView.Options
  114. 1.9.2.1 BETA
  115. fix: in table.VisibleBorders implementation
  116. chg: table grid is not shown in readonly editors any more
  117.   More exactly, it is shown using global variable RichViewTableGridStyle2 (default value: psClear).
  118.   The same pen style is used for drawing table grid in viewer.
  119.   For editors, RichViewTableGridStyle variable is used (default value: psDot)
  120. 1.9.2 BETA
  121. new: packages for Delphi 2005 (Win32): RVPkgD9 and RVDBPkgD9.
  122. new: table.VisibleBorders property having the same meaning as cell.VisibleBorders.
  123.    Direct assignment to this property cannot be undone/redone, use table.SetTableVisibleBorders
  124.    for that
  125. new: TRichViewEdit events: OnOleDragEnter, OnOleDragOver, OnOleDragLeave, OnOleDrop.
  126.   These events are called when user drags and drops data in the given RichViewEdit.
  127.   These events are related to OLE d&d used by TRichView (VCL d&d events - OnDragOver,
  128.   OnDragDrop - are called when dragging Delphi component over TRichViewEdit. VCL d&d
  129.   is not processed by TRichViewEdit itself)
  130.   OnOleDragEnter - user drags the mouse into the editor. Indicates whether a drop 
  131.   can be accepted, and, if so, the effect of the drop.
  132.   OnOleDragOver - user moves the mouse over the editor. Called only if the dragging
  133.   was accepted in OnOleDragEnter.
  134.   OnOleDragLeave - user drags the cursor out of the editor or cancels the current d&d operation.
  135.   OnOleDrop - the user completes the d&d operation into the editor. Allows you to insert
  136.   data in your own format.
  137.   Parameters of these events:
  138.   DataObject: IDataObject - dragged data (IDataObject is declared in ActiveX unit);
  139.   Shift: TShiftState - keyboard state;
  140.   PossibleDropEffects: TRVOleDropEffects - a list of allowed operations, set of
  141.    rvdeCopy, rvdeMove, rvdeLink.
  142.   DropEffect - on input, a d&d operation which editor would choose by default.
  143.    On output: For OnOleDragEnter and OnOleDragOver, the operation that you want to
  144.      do with the dragged data (one of PossibleDropEffects, or rvdeNone if you
  145.      do not want to accept it).
  146.      For OnOleDrop, the operation that you have performed (one of PossibleDropEffects, 
  147.      or rvdeNone if you cancelled the insertion). If it is rvdeMove, it instructs
  148.      to delete the dragged object from its source location. This value is
  149.      used only if you set DoDefault=False, otherwise the editor does the default
  150.      processing. If you insert some data in RichViewEdit in this event, they are
  151.      automatically selected afterwards.
  152.   Limitation: when dragging from the same editor, it decides by itself
  153.     whether it should move or copy data, and it ignores DropEffect returned by OnOleDrop.
  154. new: rvtoNoCellSelect option for TRVTableItemInfo.Options.
  155.   If included, multicell selection by mouse is not allowed (remove also
  156.   rvtoRowSelect, rvtoColSelect to disallow making multicell selection completely).
  157. fix: fixes and tweaks in table layout algorithm.
  158. fix: sometimes a wrong code page was chosen for the conversion when applying
  159.   Unicode style to non-Unicode text.
  160. 1.9.1.8
  161. new: TRichView.RTFReadProperties.StoreImagesFileNames: Boolean (default False).
  162.   If you set it to True, filenames of external RTF images will be stored in
  163.   rvespImageFileName item property of read images, and you will be able to use
  164.   them when storing HTML.
  165. fixes
  166. 1.9.1.7
  167. new: loading and saving PNG images in RTF.
  168.   To enable this feature, call the procedure RV_RegisterPngGraphic
  169.   for the class representing PNG image. For example, if you use
  170.   PngObject (http://pngdelphi.sourceforge.net/), call
  171.   RV_RegisterPngGraphic(TPngObject);
  172. fixes
  173. 1.9.1
  174. new: rvsoXHTML option for SaveHTMLEx (ignored by SaveHTML).
  175.   If set, output is XHTML.
  176. new: rvsoUTF8 option for SaveHTML and SaveHTML.
  177.   If set, HTML/XHTML file has UTF-8 encoding
  178.   Pros and cons:
  179.   pro: if you use Unicode, this option generates much more compact files
  180.     (for non-Western languages)
  181.   pro: if you do not use Unicode but use text of different charsets, 
  182.     this option allows saving multilingual HTML (was not possible before)
  183.   con: if you do not use Unicode this option may generate files of larger
  184.     size (for non-Western languages). So the only case when it's not very good - 
  185.     if your document is not Unicode and all text is of the same charset.
  186.   con: RvHtmlImporter does not support UTF-8 yet
  187. fix: minor fixes