This file is indexed.

/usr/include/thunderbird-11.0.1/nsIDOMSVGTextContentElement.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.

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
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/dom/interfaces/svg/nsIDOMSVGTextContentElement.idl
 */

#ifndef __gen_nsIDOMSVGTextContentElement_h__
#define __gen_nsIDOMSVGTextContentElement_h__


#ifndef __gen_nsIDOMSVGElement_h__
#include "nsIDOMSVGElement.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMSVGAnimatedLength; /* forward declaration */

class nsIDOMSVGAnimatedEnumeration; /* forward declaration */

class nsIDOMSVGPoint; /* forward declaration */

class nsIDOMSVGRect; /* forward declaration */


/* starting interface:    nsIDOMSVGTextContentElement */
#define NS_IDOMSVGTEXTCONTENTELEMENT_IID_STR "c866157b-f49b-41a0-89a9-1b54644843b9"

#define NS_IDOMSVGTEXTCONTENTELEMENT_IID \
  {0xc866157b, 0xf49b, 0x41a0, \
    { 0x89, 0xa9, 0x1b, 0x54, 0x64, 0x48, 0x43, 0xb9 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGTextContentElement : public nsIDOMSVGElement {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGTEXTCONTENTELEMENT_IID)

  enum {
    LENGTHADJUST_UNKNOWN = 0U,
    LENGTHADJUST_SPACING = 1U,
    LENGTHADJUST_SPACINGANDGLYPHS = 2U
  };

  /* readonly attribute nsIDOMSVGAnimatedLength textLength; */
  NS_SCRIPTABLE NS_IMETHOD GetTextLength(nsIDOMSVGAnimatedLength * *aTextLength) = 0;

  /* readonly attribute nsIDOMSVGAnimatedEnumeration lengthAdjust; */
  NS_SCRIPTABLE NS_IMETHOD GetLengthAdjust(nsIDOMSVGAnimatedEnumeration * *aLengthAdjust) = 0;

  /* long getNumberOfChars (); */
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfChars(PRInt32 *_retval NS_OUTPARAM) = 0;

  /* float getComputedTextLength (); */
  NS_SCRIPTABLE NS_IMETHOD GetComputedTextLength(float *_retval NS_OUTPARAM) = 0;

  /* float getSubStringLength (in unsigned long charnum, in unsigned long nchars); */
  NS_SCRIPTABLE NS_IMETHOD GetSubStringLength(PRUint32 charnum, PRUint32 nchars, float *_retval NS_OUTPARAM) = 0;

  /* nsIDOMSVGPoint getStartPositionOfChar (in unsigned long charnum); */
  NS_SCRIPTABLE NS_IMETHOD GetStartPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint * *_retval NS_OUTPARAM) = 0;

  /* nsIDOMSVGPoint getEndPositionOfChar (in unsigned long charnum); */
  NS_SCRIPTABLE NS_IMETHOD GetEndPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint * *_retval NS_OUTPARAM) = 0;

  /* nsIDOMSVGRect getExtentOfChar (in unsigned long charnum); */
  NS_SCRIPTABLE NS_IMETHOD GetExtentOfChar(PRUint32 charnum, nsIDOMSVGRect * *_retval NS_OUTPARAM) = 0;

  /* float getRotationOfChar (in unsigned long charnum); */
  NS_SCRIPTABLE NS_IMETHOD GetRotationOfChar(PRUint32 charnum, float *_retval NS_OUTPARAM) = 0;

  /* long getCharNumAtPosition (in nsIDOMSVGPoint point); */
  NS_SCRIPTABLE NS_IMETHOD GetCharNumAtPosition(nsIDOMSVGPoint *point, PRInt32 *_retval NS_OUTPARAM) = 0;

  /* void selectSubString (in unsigned long charnum, in unsigned long nchars); */
  NS_SCRIPTABLE NS_IMETHOD SelectSubString(PRUint32 charnum, PRUint32 nchars) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGTextContentElement, NS_IDOMSVGTEXTCONTENTELEMENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMSVGTEXTCONTENTELEMENT \
  NS_SCRIPTABLE NS_IMETHOD GetTextLength(nsIDOMSVGAnimatedLength * *aTextLength); \
  NS_SCRIPTABLE NS_IMETHOD GetLengthAdjust(nsIDOMSVGAnimatedEnumeration * *aLengthAdjust); \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfChars(PRInt32 *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetComputedTextLength(float *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetSubStringLength(PRUint32 charnum, PRUint32 nchars, float *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetStartPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetEndPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetExtentOfChar(PRUint32 charnum, nsIDOMSVGRect * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetRotationOfChar(PRUint32 charnum, float *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetCharNumAtPosition(nsIDOMSVGPoint *point, PRInt32 *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD SelectSubString(PRUint32 charnum, PRUint32 nchars); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMSVGTEXTCONTENTELEMENT(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetTextLength(nsIDOMSVGAnimatedLength * *aTextLength) { return _to GetTextLength(aTextLength); } \
  NS_SCRIPTABLE NS_IMETHOD GetLengthAdjust(nsIDOMSVGAnimatedEnumeration * *aLengthAdjust) { return _to GetLengthAdjust(aLengthAdjust); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfChars(PRInt32 *_retval NS_OUTPARAM) { return _to GetNumberOfChars(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetComputedTextLength(float *_retval NS_OUTPARAM) { return _to GetComputedTextLength(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetSubStringLength(PRUint32 charnum, PRUint32 nchars, float *_retval NS_OUTPARAM) { return _to GetSubStringLength(charnum, nchars, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetStartPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint * *_retval NS_OUTPARAM) { return _to GetStartPositionOfChar(charnum, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetEndPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint * *_retval NS_OUTPARAM) { return _to GetEndPositionOfChar(charnum, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetExtentOfChar(PRUint32 charnum, nsIDOMSVGRect * *_retval NS_OUTPARAM) { return _to GetExtentOfChar(charnum, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetRotationOfChar(PRUint32 charnum, float *_retval NS_OUTPARAM) { return _to GetRotationOfChar(charnum, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetCharNumAtPosition(nsIDOMSVGPoint *point, PRInt32 *_retval NS_OUTPARAM) { return _to GetCharNumAtPosition(point, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD SelectSubString(PRUint32 charnum, PRUint32 nchars) { return _to SelectSubString(charnum, nchars); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMSVGTEXTCONTENTELEMENT(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetTextLength(nsIDOMSVGAnimatedLength * *aTextLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextLength(aTextLength); } \
  NS_SCRIPTABLE NS_IMETHOD GetLengthAdjust(nsIDOMSVGAnimatedEnumeration * *aLengthAdjust) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLengthAdjust(aLengthAdjust); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfChars(PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumberOfChars(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetComputedTextLength(float *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComputedTextLength(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetSubStringLength(PRUint32 charnum, PRUint32 nchars, float *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSubStringLength(charnum, nchars, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetStartPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartPositionOfChar(charnum, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetEndPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndPositionOfChar(charnum, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetExtentOfChar(PRUint32 charnum, nsIDOMSVGRect * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExtentOfChar(charnum, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetRotationOfChar(PRUint32 charnum, float *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRotationOfChar(charnum, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetCharNumAtPosition(nsIDOMSVGPoint *point, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharNumAtPosition(point, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD SelectSubString(PRUint32 charnum, PRUint32 nchars) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectSubString(charnum, nchars); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsDOMSVGTextContentElement : public nsIDOMSVGTextContentElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMSVGTEXTCONTENTELEMENT

  nsDOMSVGTextContentElement();

private:
  ~nsDOMSVGTextContentElement();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMSVGTextContentElement, nsIDOMSVGTextContentElement)

nsDOMSVGTextContentElement::nsDOMSVGTextContentElement()
{
  /* member initializers and constructor code */
}

nsDOMSVGTextContentElement::~nsDOMSVGTextContentElement()
{
  /* destructor code */
}

/* readonly attribute nsIDOMSVGAnimatedLength textLength; */
NS_IMETHODIMP nsDOMSVGTextContentElement::GetTextLength(nsIDOMSVGAnimatedLength * *aTextLength)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDOMSVGAnimatedEnumeration lengthAdjust; */
NS_IMETHODIMP nsDOMSVGTextContentElement::GetLengthAdjust(nsIDOMSVGAnimatedEnumeration * *aLengthAdjust)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long getNumberOfChars (); */
NS_IMETHODIMP nsDOMSVGTextContentElement::GetNumberOfChars(PRInt32 *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* float getComputedTextLength (); */
NS_IMETHODIMP nsDOMSVGTextContentElement::GetComputedTextLength(float *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* float getSubStringLength (in unsigned long charnum, in unsigned long nchars); */
NS_IMETHODIMP nsDOMSVGTextContentElement::GetSubStringLength(PRUint32 charnum, PRUint32 nchars, float *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMSVGPoint getStartPositionOfChar (in unsigned long charnum); */
NS_IMETHODIMP nsDOMSVGTextContentElement::GetStartPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMSVGPoint getEndPositionOfChar (in unsigned long charnum); */
NS_IMETHODIMP nsDOMSVGTextContentElement::GetEndPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMSVGRect getExtentOfChar (in unsigned long charnum); */
NS_IMETHODIMP nsDOMSVGTextContentElement::GetExtentOfChar(PRUint32 charnum, nsIDOMSVGRect * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* float getRotationOfChar (in unsigned long charnum); */
NS_IMETHODIMP nsDOMSVGTextContentElement::GetRotationOfChar(PRUint32 charnum, float *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long getCharNumAtPosition (in nsIDOMSVGPoint point); */
NS_IMETHODIMP nsDOMSVGTextContentElement::GetCharNumAtPosition(nsIDOMSVGPoint *point, PRInt32 *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void selectSubString (in unsigned long charnum, in unsigned long nchars); */
NS_IMETHODIMP nsDOMSVGTextContentElement::SelectSubString(PRUint32 charnum, PRUint32 nchars)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIDOMSVGTextContentElement_h__ */