Warning, file /office/calligra/libs/textlayout/KoPointedAt.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* This file is part of the KDE project 0002 * Copyright (C) 2011 C. Boemann, KO GmbH <cbo@kogmbh.com> 0003 * Copyright (C) 2011 C. Boemann <cbo@boemann.dk> 0004 * 0005 * This library is free software; you can redistribute it and/or 0006 * modify it under the terms of the GNU Library General Public 0007 * License as published by the Free Software Foundation; either 0008 * version 2 of the License, or (at your option) any later version. 0009 * 0010 * This library is distributed in the hope that it will be useful, 0011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0013 * Library General Public License for more details. 0014 * 0015 * You should have received a copy of the GNU Library General Public License 0016 * along with this library; see the file COPYING.LIB. If not, write to 0017 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0018 * Boston, MA 02110-1301, USA. 0019 */ 0020 #ifndef KOPOINTEDAT_H 0021 #define KOPOINTEDAT_H 0022 0023 #include "kotextlayout_export.h" 0024 0025 #include <QString> 0026 #include <QTextCursor> 0027 #include <QPointF> 0028 0029 class KoBookmark; 0030 class QTextTable; 0031 class KoInlineTextObjectManager; 0032 class KoTextRangeManager; 0033 class KoInlineNote; 0034 0035 class KOTEXTLAYOUT_EXPORT KoPointedAt 0036 { 0037 public: 0038 KoPointedAt(); 0039 explicit KoPointedAt(KoPointedAt *other); 0040 0041 void fillInLinks(const QTextCursor &cursor, KoInlineTextObjectManager *inlineManager, KoTextRangeManager *rangeManager); 0042 0043 enum TableHit { 0044 None 0045 , ColumnDivider 0046 , RowDivider 0047 }; 0048 int position; 0049 KoBookmark *bookmark; 0050 QString externalHRef; 0051 KoInlineNote *note; 0052 int noteReference; 0053 QTextTable *table; 0054 TableHit tableHit; 0055 int tableRowDivider; 0056 int tableColumnDivider; 0057 qreal tableLeadSize; 0058 qreal tableTrailSize; 0059 QPointF tableDividerPos; 0060 0061 }; 0062 0063 #endif