@@ -205,8 +205,8 @@ TActiveTextAttrNames = record
205
205
// / <summary>Checks if the active text object contains only plain text.
206
206
// / </summary>
207
207
// / <remarks>Plain text is considered to be active text with no action
208
- // / elements except for "para" . This can rendered in plain text with no
209
- // / loss of formatting.</remarks>
208
+ // / elements except for "document" or "block" . This can rendered in plain
209
+ // / text with no loss of formatting.</remarks>
210
210
function IsPlainText : Boolean;
211
211
// / <summary>Checks if the active text object is a valid active text
212
212
// / document.</summary>
@@ -523,8 +523,8 @@ TActiveText = class(TInterfacedObject,
523
523
// / </summary>
524
524
// / <remarks>
525
525
// / <para>Plain text is considered to be active text with no action
526
- // / elements except for "para" . This can rendered in plain text with no
527
- // / loss of formatting.</para>
526
+ // / elements except for "document" or "block" . This can rendered in plain
527
+ // / text with no loss of formatting.</para>
528
528
// / <para>Method of IActiveText.</para>
529
529
// / </remarks>
530
530
function IsPlainText : Boolean;
@@ -909,7 +909,7 @@ function TActiveText.IsPlainText: Boolean;
909
909
for Elem in fElems do
910
910
begin
911
911
if Supports(Elem, IActiveTextActionElem, ActionElem)
912
- and not (ActionElem.Kind in [ekPara , ekDocument]) then
912
+ and not (ActionElem.Kind in [ekBlock , ekDocument]) then
913
913
Exit(False);
914
914
end ;
915
915
Result := True;
0 commit comments