[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - include/editeng

matteocam matteo.campanelli at gmail.com
Tue Jun 2 13:11:44 PDT 2015


 include/editeng/overflowingtxt.hxx |   47 +++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

New commits:
commit a7ea2f7df0de69ff8c71f39fdaf0519848e21e57
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Tue Jun 2 16:10:47 2015 -0400

    Added overflowingtxt.hxx
    
    Change-Id: I555d83f6dee7f189648f8ac6b5844add4701af86

diff --git a/include/editeng/overflowingtxt.hxx b/include/editeng/overflowingtxt.hxx
new file mode 100644
index 0000000..287d237
--- /dev/null
+++ b/include/editeng/overflowingtxt.hxx
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ *   Licensed to the Apache Software Foundation (ASF) under one or more
+ *   contributor license agreements. See the NOTICE file distributed
+ *   with this work for additional information regarding copyright
+ *   ownership. The ASF licenses this file to you under the Apache
+ *   License, Version 2.0 (the "License"); you may not use this file
+ *   except in compliance with the License. You may obtain a copy of
+ *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef INCLUDED_EDITENG_OVERFLOWINGTXT_HXX
+#define INCLUDED_EDITENG_OVERFLOWINGTXT_HXX
+
+class OUString;
+class OutlinerParaObject;
+
+
+class OverflowingText {
+    public:
+        OUString mHeadTxt;
+        const OutlinerParaObject *mpMidParas;
+        OUString mTailTxt;
+        // NOTE: mpMidParas and mTailTxt might be empty
+
+        // Constructor
+        OverflowingText(
+            const OUString &headTxt,
+            const OutlinerParaObject *pMidParas = NULL,
+            const OUString &tailTxt = "")
+                : mHeadTxt(headTxt),
+                  mpMidParas(pMidParas),
+                  mTailTxt(tailTxt)
+                { }
+};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list