| Method |
Action |
Definition |
| PutFileFTP |
Sends a file to a FTP Server |
Function PutFileFTP(ByVal LocalFile As String, ByVal RemoteFile As String) As Boolean |
| GetFileFTP |
Retreives a file from a FTP Server |
Function GetFileFTP(ByVal LocalFile As String, ByVal RemoteFile As String) |
| DeleteFileFTP |
Deletes a file from a FTP Server |
Function GetFileFTP(ByVal RemoteFile As String,) |
| InsertAtCursor |
Inserts HTML code at the cursor/selection position |
InsertAtCursor (HTMLText as string, insertWhere as ed_InsertType) |
| Insert_Image |
Insert_Image (optional LocalFilename as string) |
Uploads and Inserts an image into the current document. The image is saved to the URL set by FTPSaveToURL postfixed by the name of the file. If LocalFilename is omitted then a standard windows open dialog prompts the user for the filename. |
| Insert_Image_NoFTP |
Insert_Image_NoFTP (optional LocalFilename as string) |
Inserts an image into the current document without uploading it. The image URL is set to file:///localPath. If LocalFilename is omitted then the standard windows open dialog prompts the user for the filename |
| insertImageFromURL |
Inserts an image into the current document without uploading it. The image URL is set to is fully qualified image URL or URL relative to the BaseURL property. If ImageURL is omitted then FTP library images form is opened |
insertImageFromURL (optional ImageURL as string) |
| RevertToOriginal |
Undoes all changes in the current document |
RevertToOriginal() |
| ListFilesFTP |
Returns an object of the type clsDirectoryList listing the files in the directory set by remoteDirectory. Filtering is applied using wildcards eg *.jpg will return a list of all the files with a .jpg extension |
ListFilesFTP (optional remoteDirectory as string, Filter as string) As clsDirectoryList |
| Open_document |
Opens a local HTML file |
Sub Open_document |
| Save_document |
Saves the current document to a local file |
Sub Save_document |
| Print_document |
Opens the print dialog for the current document |
Sub Print_document |
| cut_document |
Cuts the current selection to the clipboard |
Sub cut_document |
| copy_document |
Copies the current selection to the clipboard |
Sub copy_document |
| paste_document |
Pastes the current clipboard data to the document |
Sub paste_Document |
| Insert_Image |
Inserts an image to the current document via FTP. If localImagePath is omitted then the open dialog box is displayed |
Sub Insert_Image(Optional ByVal localImagePath As Variant) |
| show_Code |
Forces the editor to toggle between code and WYSIWYG views |
sub Show_Code |
| sendCR |
Sends a Carriage return to the editor ( now depreciated ). If bBR is true the a HTML BR is inserted else a paragraph tag is inserted |
Function sendCR(ByVal bBR As Boolean) As Variant |
| CheckSpelling |
Spell checks the selected text in the editor. If there is no text selection the entire document is spell checked |
Function CheckSpelling() |
| CountLocalImages |
Returns a long value indicating the number of images in a document that are referenced as local URLs |
CountLocalImages () as long |
| UploadAllImages |
Uploads all the locally referenced images (src=file:///…) in the document to a FTP server. The directory saved to is set by the SaveToURL property. The src attribute fpr each image is then updated to point to the remote URL. |
UploadAllImages () As Long |