[Libreoffice-commits] core.git: 2 commits - include/vcl vcl/inc
Chris Sherlock
chris.sherlock79 at gmail.com
Thu Jan 7 19:20:03 PST 2016
include/vcl/wrkwin.hxx | 3 ++-
vcl/inc/sft.hxx | 6 ++++++
2 files changed, 8 insertions(+), 1 deletion(-)
New commits:
commit 42f57eacb163beda6d7042b44a9e1808ca3da401
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Fri Jan 8 14:19:02 2016 +1100
vcl: document parameters in vcl/inc/sft.hxx
Change-Id: I191ff94acf201714cb96d4e2ea6a9b0cd0632372
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx
index e383c03..c3708f0 100644
--- a/vcl/inc/sft.hxx
+++ b/vcl/inc/sft.hxx
@@ -246,8 +246,11 @@ namespace vcl
/**
* TrueTypeFont constructor.
* The font file has to be provided as a memory buffer and length
+ * @param pBuffer - memory buffer
+ * @param nLen - size of memory buffer
* @param facenum - logical font number within a TTC file. This value is ignored
* for TrueType fonts
+ * @param ttf - array of TrueTypeFonts
* @return value of SFErrCodes enum
* @ingroup sft
*/
@@ -257,8 +260,10 @@ namespace vcl
* TrueTypeFont constructor.
* Reads the font file and allocates the memory for the structure.
* on WIN32 the font has to be provided as a memory buffer and length
+ * @param fname - name of TrueType font file
* @param facenum - logical font number within a TTC file. This value is ignored
* for TrueType fonts
+ * @param ttf - array of TrueTypeFonts
* @return value of SFErrCodes enum
* @ingroup sft
*/
@@ -457,6 +462,7 @@ namespace vcl
* @param str pointer to a UCS-2 string
* @param nchars number of characters in <b>str</b>
* @param glyphArray pointer to the glyph array where glyph IDs are to be recorded.
+ * @param bvertical vertical text
*
* @return MapString() returns -1 if the TrueType font has no usable 'cmap' tables.
* Otherwise it returns the number of characters processed: <b>nChars</b>
commit 74cd24b588f3a7ac6bd7ed14727d8f829a1a91c4
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Fri Jan 8 14:13:13 2016 +1100
vcl: silence doxygen warning
Change-Id: Ia29146ce50144d8ed3ee9a3daaed221a1e2f056b
diff --git a/include/vcl/wrkwin.hxx b/include/vcl/wrkwin.hxx
index 467b530..5f05238 100644
--- a/include/vcl/wrkwin.hxx
+++ b/include/vcl/wrkwin.hxx
@@ -40,6 +40,7 @@ enum class PresentationFlags
NoFullScreen = 0x0002,
NoAutoShow = 0x0004,
};
+
namespace o3tl
{
template<> struct typed_flags<PresentationFlags> : is_typed_flags<PresentationFlags, 0x0007> {};
@@ -92,7 +93,7 @@ public:
PresentationFlags nFlags,
sal_uInt32 nDisplayScreen );
/**
- @overload void StartPresentationMode( bool bPresentation, sal_uInt16 nFlags, sal_uInt32 nDisplayScreen)
+ @overload void StartPresentationMode( bool bPresentation, PresentationFlags nFlags, sal_uInt32 nDisplayScreen)
*/
void StartPresentationMode( bool bPresentation = true,
PresentationFlags nFlags = PresentationFlags::NONE );
More information about the Libreoffice-commits
mailing list