]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/richtext/richtexthtml.h
document wxConvertFromIeeeExtended and wxConvertToIeeeExtended
[wxWidgets.git] / interface / wx / richtext / richtexthtml.h
index a4baf9d6d2e690931d6d4c414d1dc785d6ea879a..e697d851db5714b9b232669d32ce2d0bfcb78c44 100644 (file)
@@ -79,13 +79,8 @@ public:
         This is a static function that can be used to delete the saved locations
         from an earlier operation, for example after the user has viewed the HTML file.
     */
-    bool DeleteTemporaryImages(int flags,
-                               const wxArrayString& imageLocations);
-
-    /**
-        Saves the buffer content to the HTML stream.
-    */
-    virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
+    static bool DeleteTemporaryImages(int flags,
+                                      const wxArrayString& imageLocations);
 
     /**
         Returns the mapping for converting point sizes to HTML font sizes.
@@ -95,12 +90,12 @@ public:
     /**
         Returns the directory used to store temporary image files.
     */
-    const wxString GetTempDir() const;
+    const wxString& GetTempDir() const;
 
     /**
         Returns the image locations for the last operation.
     */
-    const wxArrayString GetTemporaryImageLocations() const;
+    const wxArrayString& GetTemporaryImageLocations() const;
 
     /**
         Reset the file counter, in case, for example, the same names are required each
@@ -139,5 +134,11 @@ public:
         Sets the list of image locations generated by the last operation.
     */
     void SetTemporaryImageLocations(const wxArrayString& locations);
+
+protected:
+    /**
+        Saves the buffer content to the HTML stream.
+    */
+    virtual bool DoSaveFile(wxRichTextBuffer* buffer, wxOutputStream& stream);
 };