@@ -195,8 +195,8 @@ TActiveTextAttrNames = record
195
195
// / <summary>Checks if the active text object contains only plain text.
196
196
// / </summary>
197
197
// / <remarks>Plain text is considered to be active text with no action
198
- // / elements except for "para" . This can rendered in plain text with no
199
- // / loss of formatting.</remarks>
198
+ // / elements except for "document" or "block" . This can rendered in plain
199
+ // / text with no loss of formatting.</remarks>
200
200
function IsPlainText : Boolean;
201
201
// / <summary>Checks if the active text object is a valid active text
202
202
// / document.</summary>
@@ -513,8 +513,8 @@ TActiveText = class(TInterfacedObject,
513
513
// / </summary>
514
514
// / <remarks>
515
515
// / <para>Plain text is considered to be active text with no action
516
- // / elements except for "para" . This can rendered in plain text with no
517
- // / loss of formatting.</para>
516
+ // / elements except for "document" or "block" . This can rendered in plain
517
+ // / text with no loss of formatting.</para>
518
518
// / <para>Method of IActiveText.</para>
519
519
// / </remarks>
520
520
function IsPlainText : Boolean;
@@ -899,7 +899,7 @@ function TActiveText.IsPlainText: Boolean;
899
899
for Elem in fElems do
900
900
begin
901
901
if Supports(Elem, IActiveTextActionElem, ActionElem)
902
- and not (ActionElem.Kind in [ekPara , ekDocument]) then
902
+ and not (ActionElem.Kind in [ekBlock , ekDocument]) then
903
903
Exit(False);
904
904
end ;
905
905
Result := True;
0 commit comments