|
|
f325b2 |
From 0942d9f6f6057e83fb542a008dfc80c6e1dcc98e Mon Sep 17 00:00:00 2001
|
|
|
f325b2 |
From: Pranav Kant <pranavk@gnome.org>
|
|
|
f325b2 |
Date: Thu, 24 Sep 2015 14:41:26 +0200
|
|
|
f325b2 |
Subject: [PATCH 161/398] Move all introspection comments to header file
|
|
|
f325b2 |
|
|
|
f325b2 |
... wherever possible. There are few things we can't move to
|
|
|
f325b2 |
header file, for example, the comments corresponding to GObject
|
|
|
f325b2 |
properties, and signals.
|
|
|
f325b2 |
|
|
|
f325b2 |
Change-Id: If74d61b17ccee11f8a056f3a93040d2cff2dd98d
|
|
|
f325b2 |
Reviewed-on: https://gerrit.libreoffice.org/18863
|
|
|
f325b2 |
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
|
f325b2 |
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
|
f325b2 |
(cherry picked from commit 392437393d97a157e8291d20f1d6b6ac357ff0db)
|
|
|
f325b2 |
---
|
|
|
f325b2 |
include/LibreOfficeKit/LibreOfficeKitGtk.h | 132 ++++++++++++++++++++++++++++-
|
|
|
f325b2 |
libreofficekit/source/gtk/lokdocview.cxx | 87 +------------------
|
|
|
f325b2 |
2 files changed, 129 insertions(+), 90 deletions(-)
|
|
|
f325b2 |
|
|
|
f325b2 |
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h
|
|
|
f325b2 |
index f17925b4c53a..81f42105d374 100644
|
|
|
f325b2 |
--- a/include/LibreOfficeKit/LibreOfficeKitGtk.h
|
|
|
f325b2 |
+++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h
|
|
|
f325b2 |
@@ -40,54 +40,178 @@ struct _LOKDocViewClass
|
|
|
f325b2 |
|
|
|
f325b2 |
GType lok_doc_view_get_type (void) G_GNUC_CONST;
|
|
|
f325b2 |
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_new:
|
|
|
f325b2 |
+ * @pPath: LibreOffice install path.
|
|
|
f325b2 |
+ * @cancellable: The cancellable object that you can use to cancel this
|
|
|
f325b2 |
+ * operation.
|
|
|
f325b2 |
+ * @error: The error that will be set if the object fails to initialize.
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Returns: (transfer none): The #LOKDocView widget instance.
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
GtkWidget* lok_doc_view_new (const gchar* pPath,
|
|
|
f325b2 |
GCancellable *cancellable,
|
|
|
f325b2 |
GError **error);
|
|
|
f325b2 |
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_new_from_widget:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Returns: (transfer none): The #LOKDocView widget instance.
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
GtkWidget* lok_doc_view_new_from_widget (LOKDocView* pDocView);
|
|
|
f325b2 |
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_open_document:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ * @pPath: (transfer full): The path of the document that #LOKDocView widget should try to open
|
|
|
f325b2 |
+ * @cancellable:
|
|
|
f325b2 |
+ * @callback:
|
|
|
f325b2 |
+ * @userdata:
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Returns: %TRUE if the document is loaded succesfully, %FALSE otherwise
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
void lok_doc_view_open_document (LOKDocView* pDocView,
|
|
|
f325b2 |
const gchar* pPath,
|
|
|
f325b2 |
GCancellable* cancellable,
|
|
|
f325b2 |
GAsyncReadyCallback callback,
|
|
|
f325b2 |
gpointer userdata);
|
|
|
f325b2 |
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_open_document_finish:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ * @res:
|
|
|
f325b2 |
+ * @error:
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Returns: %TRUE if the document is loaded succesfully, %FALSE otherwise
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
gboolean lok_doc_view_open_document_finish (LOKDocView* pDocView,
|
|
|
f325b2 |
GAsyncResult* res,
|
|
|
f325b2 |
GError** error);
|
|
|
f325b2 |
|
|
|
f325b2 |
-/// Gets the document the viewer displays.
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_get_document:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Gets the document the viewer displays.
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Returns: The #LibreOfficeKitDocument instance the widget is currently showing
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
LibreOfficeKitDocument* lok_doc_view_get_document (LOKDocView* pDocView);
|
|
|
f325b2 |
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_set_zoom:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ * @fZoom: The new zoom level that pDocView must set it into.
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Sets the new zoom level for the widget.
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
void lok_doc_view_set_zoom (LOKDocView* pDocView,
|
|
|
f325b2 |
float fZoom);
|
|
|
f325b2 |
+
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_get_zoom:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Returns: The current zoom factor value in float for pDocView
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
float lok_doc_view_get_zoom (LOKDocView* pDocView);
|
|
|
f325b2 |
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_get_parts:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
int lok_doc_view_get_parts (LOKDocView* pDocView);
|
|
|
f325b2 |
+
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_get_part:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
int lok_doc_view_get_part (LOKDocView* pDocView);
|
|
|
f325b2 |
+
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_set_part:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ * @nPart:
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
void lok_doc_view_set_part (LOKDocView* pDocView,
|
|
|
f325b2 |
int nPart);
|
|
|
f325b2 |
+
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_get_part_name:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ * @nPart:
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
char* lok_doc_view_get_part_name (LOKDocView* pDocView,
|
|
|
f325b2 |
int nPart);
|
|
|
f325b2 |
+
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_set_partmode:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ * @nPartMode:
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
void lok_doc_view_set_partmode (LOKDocView* pDocView,
|
|
|
f325b2 |
int nPartMode);
|
|
|
f325b2 |
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_reset_view:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
void lok_doc_view_reset_view (LOKDocView* pDocView);
|
|
|
f325b2 |
|
|
|
f325b2 |
-/// Sets if the viewer is actually an editor or not.
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_set_edit:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ * @bEdit: %TRUE if the pDocView should go in edit mode, %FALSE otherwise
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Sets if the viewer is actually an editor or not.
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
void lok_doc_view_set_edit (LOKDocView* pDocView,
|
|
|
f325b2 |
gboolean bEdit);
|
|
|
f325b2 |
-/// Gets if the viewer is actually an editor or not.
|
|
|
f325b2 |
+
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_get_edit:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Gets if the viewer is actually an editor or not.
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Returns: %TRUE if the given pDocView is in edit mode.
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
gboolean lok_doc_view_get_edit (LOKDocView* pDocView);
|
|
|
f325b2 |
|
|
|
f325b2 |
-/// Posts the .uno: command to the LibreOfficeKit.
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_post_command:
|
|
|
f325b2 |
+ * @pDocView: the #LOKDocView instance
|
|
|
f325b2 |
+ * @pCommand: the command to issue to LO core
|
|
|
f325b2 |
+ * @pArguments: the arguments to the given command
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Posts the .uno: command to the LibreOfficeKit.
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
void lok_doc_view_post_command (LOKDocView* pDocView,
|
|
|
f325b2 |
const gchar* pCommand,
|
|
|
f325b2 |
const gchar* pArguments);
|
|
|
f325b2 |
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_pixel_to_twip:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ * @fInput: The value in pixels to convert to twips
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Converts the value in pixels to twips according to zoom level.
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Returns: The corresponding value in twips
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
float lok_doc_view_pixel_to_twip (LOKDocView* pDocView,
|
|
|
f325b2 |
float fInput);
|
|
|
f325b2 |
|
|
|
f325b2 |
+/**
|
|
|
f325b2 |
+ * lok_doc_view_twip_to_pixel:
|
|
|
f325b2 |
+ * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
+ * @fInput: The value in twips to convert to pixels
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Converts the value in twips to pixels according to zoom level.
|
|
|
f325b2 |
+ *
|
|
|
f325b2 |
+ * Returns: The corresponding value in pixels
|
|
|
f325b2 |
+ */
|
|
|
f325b2 |
float lok_doc_view_twip_to_pixel (LOKDocView* pDocView,
|
|
|
f325b2 |
float fInput);
|
|
|
f325b2 |
|
|
|
f325b2 |
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
|
|
|
f325b2 |
index 60304b4ff59c..7c52ce2e2efb 100644
|
|
|
f325b2 |
--- a/libreofficekit/source/gtk/lokdocview.cxx
|
|
|
f325b2 |
+++ b/libreofficekit/source/gtk/lokdocview.cxx
|
|
|
f325b2 |
@@ -1843,15 +1843,6 @@ static void lok_doc_view_class_init (LOKDocViewClass* pClass)
|
|
|
f325b2 |
G_TYPE_INT, G_TYPE_INT);
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_new:
|
|
|
f325b2 |
- * @pPath: LibreOffice install path.
|
|
|
f325b2 |
- * @cancellable: The cancellable object that you can use to cancel this
|
|
|
f325b2 |
- * operation.
|
|
|
f325b2 |
- * @error: The error that will be set if the object fails to initialize.
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Returns: (transfer none): The #LOKDocView widget instance.
|
|
|
f325b2 |
- */
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT GtkWidget*
|
|
|
f325b2 |
lok_doc_view_new (const gchar* pPath, GCancellable *cancellable, GError **error)
|
|
|
f325b2 |
{
|
|
|
f325b2 |
@@ -1873,14 +1864,6 @@ SAL_DLLPUBLIC_EXPORT GtkWidget* lok_doc_view_new_from_widget(LOKDocView* pOldLOK
|
|
|
f325b2 |
return pNewDocView;
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_open_document_finish:
|
|
|
f325b2 |
- * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
- * @res:
|
|
|
f325b2 |
- * @error:
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Returns: %TRUE if the document is loaded succesfully, %FALSE otherwise
|
|
|
f325b2 |
- */
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT gboolean
|
|
|
f325b2 |
lok_doc_view_open_document_finish (LOKDocView* pDocView, GAsyncResult* res, GError** error)
|
|
|
f325b2 |
{
|
|
|
f325b2 |
@@ -1894,17 +1877,6 @@ lok_doc_view_open_document_finish (LOKDocView* pDocView, GAsyncResult* res, GErr
|
|
|
f325b2 |
return g_task_propagate_boolean(task, error);
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_open_document:
|
|
|
f325b2 |
- * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
- * @pPath: (transfer full): The path of the document that #LOKDocView widget should try to open
|
|
|
f325b2 |
- * @cancellable:
|
|
|
f325b2 |
- * @callback:
|
|
|
f325b2 |
- * @userdata:
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Returns: %TRUE if the document is loaded succesfully, %FALSE otherwise
|
|
|
f325b2 |
- */
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT void
|
|
|
f325b2 |
lok_doc_view_open_document (LOKDocView* pDocView,
|
|
|
f325b2 |
const gchar* pPath,
|
|
|
f325b2 |
@@ -1925,12 +1897,6 @@ lok_doc_view_open_document (LOKDocView* pDocView,
|
|
|
f325b2 |
g_object_unref(task);
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_get_document:
|
|
|
f325b2 |
- * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Returns: The #LibreOfficeKitDocument instance the widget is currently showing
|
|
|
f325b2 |
- */
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT LibreOfficeKitDocument*
|
|
|
f325b2 |
lok_doc_view_get_document (LOKDocView* pDocView)
|
|
|
f325b2 |
{
|
|
|
f325b2 |
@@ -1938,13 +1904,6 @@ lok_doc_view_get_document (LOKDocView* pDocView)
|
|
|
f325b2 |
return priv->m_pDocument;
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_set_zoom:
|
|
|
f325b2 |
- * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
- * @fZoom: The new zoom level that pDocView must set it into.
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Sets the new zoom level for the widget.
|
|
|
f325b2 |
- */
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT void
|
|
|
f325b2 |
lok_doc_view_set_zoom (LOKDocView* pDocView, float fZoom)
|
|
|
f325b2 |
{
|
|
|
f325b2 |
@@ -1963,12 +1922,6 @@ lok_doc_view_set_zoom (LOKDocView* pDocView, float fZoom)
|
|
|
f325b2 |
nDocumentHeightPixels);
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_get_zoom:
|
|
|
f325b2 |
- * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Returns: The current zoom factor value in float for pDocView
|
|
|
f325b2 |
- */
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT float
|
|
|
f325b2 |
lok_doc_view_get_zoom (LOKDocView* pDocView)
|
|
|
f325b2 |
{
|
|
|
f325b2 |
@@ -2036,13 +1989,6 @@ lok_doc_view_reset_view(LOKDocView* pDocView)
|
|
|
f325b2 |
gtk_widget_queue_draw(GTK_WIDGET(pDocView));
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_set_edit:
|
|
|
f325b2 |
- * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
- * @bEdit: %TRUE if the pDocView should go in edit mode, %FALSE otherwise
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Sets the edit-mode for pDocView
|
|
|
f325b2 |
- */
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT void
|
|
|
f325b2 |
lok_doc_view_set_edit(LOKDocView* pDocView,
|
|
|
f325b2 |
gboolean bEdit)
|
|
|
f325b2 |
@@ -2057,12 +2003,6 @@ lok_doc_view_set_edit(LOKDocView* pDocView,
|
|
|
f325b2 |
g_object_unref(task);
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_get_edit:
|
|
|
f325b2 |
- * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Returns: %TRUE if the given pDocView is in edit mode.
|
|
|
f325b2 |
- */
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT gboolean
|
|
|
f325b2 |
lok_doc_view_get_edit (LOKDocView* pDocView)
|
|
|
f325b2 |
{
|
|
|
f325b2 |
@@ -2070,14 +2010,7 @@ lok_doc_view_get_edit (LOKDocView* pDocView)
|
|
|
f325b2 |
return priv->m_bEdit;
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_post_command:
|
|
|
f325b2 |
- * @pDocView: the #LOKDocView instance
|
|
|
f325b2 |
- * @pCommand: the command to issue to LO core
|
|
|
f325b2 |
- * @pArguments: the arguments to the given command
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * This methods forwards your command to LO core.
|
|
|
f325b2 |
-*/
|
|
|
f325b2 |
+
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT void
|
|
|
f325b2 |
lok_doc_view_post_command (LOKDocView* pDocView,
|
|
|
f325b2 |
const gchar* pCommand,
|
|
|
f325b2 |
@@ -2094,15 +2027,6 @@ lok_doc_view_post_command (LOKDocView* pDocView,
|
|
|
f325b2 |
g_object_unref(task);
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_pixel_to_twip:
|
|
|
f325b2 |
- * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
- * @fInput: The value in pixels to convert to twips
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Converts the value in pixels to twips according to zoom level.
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Returns: The corresponding value in twips
|
|
|
f325b2 |
- */
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT float
|
|
|
f325b2 |
lok_doc_view_pixel_to_twip (LOKDocView* pDocView, float fInput)
|
|
|
f325b2 |
{
|
|
|
f325b2 |
@@ -2110,15 +2034,6 @@ lok_doc_view_pixel_to_twip (LOKDocView* pDocView, float fInput)
|
|
|
f325b2 |
return pixelToTwip(fInput, priv->m_fZoom);
|
|
|
f325b2 |
}
|
|
|
f325b2 |
|
|
|
f325b2 |
-/**
|
|
|
f325b2 |
- * lok_doc_view_twip_to_pixel:
|
|
|
f325b2 |
- * @pDocView: The #LOKDocView instance
|
|
|
f325b2 |
- * @fInput: The value in twips to convert to pixels
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Converts the value in twips to pixels according to zoom level.
|
|
|
f325b2 |
- *
|
|
|
f325b2 |
- * Returns: The corresponding value in pixels
|
|
|
f325b2 |
- */
|
|
|
f325b2 |
SAL_DLLPUBLIC_EXPORT float
|
|
|
f325b2 |
lok_doc_view_twip_to_pixel (LOKDocView* pDocView, float fInput)
|
|
|
f325b2 |
{
|
|
|
f325b2 |
--
|
|
|
f325b2 |
2.12.0
|
|
|
f325b2 |
|