This file is indexed.

/usr/include/openrpt/OpenRPT/renderer/textelementsplitter.h is in libopenrpt-dev 3.3.12-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef TEXTELEMENTSPLITTER_H
#define TEXTELEMENTSPLITTER_H

#include <QSharedPointer>

class QFontMetrics;
class ORTextData;

class TextElementSplitter
{
public:
    TextElementSplitter(ORObject* textelem, QString text, qreal leftMargin, qreal yOffset, qreal pageBottom=0);

    void nextLine();
    void newPage(qreal offset);
    QString currentLine() const;
    QRectF currentLineRect() const;
    qreal textBottomRelativePos() const;
    ORTextData * element() const;
    bool endOfPage() const;
    bool endOfText() const;

private:

    QString _text;
    QString _currentLine;
    ORTextData * _element;
    QRectF _baseElementRect;
    int    _lineClipWidth;
    qreal _leftMargin;
    qreal _yOffset;
    qreal _pageBottom;
    QSharedPointer<QFontMetrics> _fm;
    int _lineCounter;
};

#endif // TEXTELEMENTSPLITTER_H