diff --git a/source/text/sbasic/shared/03/sf_document.xhp b/source/text/sbasic/shared/03/sf_document.xhp index dfa1bf873b..8b0257a4ae 100644 --- a/source/text/sbasic/shared/03/sf_document.xhp +++ b/source/text/sbasic/shared/03/sf_document.xhp @@ -89,9 +89,9 @@ doc = CreateScriptService("SFDocuments.Document", "Untitled 1") - def RunEvent(event) - doc = CreateScriptService("SFDocuments.DocumentEvent", Event) - # (...) + def RunEvent(event) + doc = CreateScriptService("SFDocuments.DocumentEvent", Event) + # (...) The use of the prefix "SFDocuments." while calling the service is optional. @@ -360,7 +360,7 @@ If oDoc.CloseDocument(True) Then ' ... - End If + End If @@ -401,13 +401,13 @@ In the following examples, the first line gets the names of all forms in the document and the second line retrieves the Form object of the form named "Form_A". - Set FormNames = oDoc.Forms() - Set FormA = oDoc.Forms("Form_A") + Set FormNames = oDoc.Forms() + Set FormA = oDoc.Forms("Form_A") - form_names = doc.Forms() - form_A = doc.Forms("Form_A") + form_names = doc.Forms() + form_A = doc.Forms("Form_A")