OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Dirk Mueller (mueller@kde.org) | 3 * (C) 2000 Dirk Mueller (mueller@kde.org) |
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 virtual bool isWordBreak() const; | 46 virtual bool isWordBreak() const; |
47 | 47 |
48 virtual PassRefPtr<StringImpl> originalText() const; | 48 virtual PassRefPtr<StringImpl> originalText() const; |
49 | 49 |
50 void extractTextBox(InlineTextBox*); | 50 void extractTextBox(InlineTextBox*); |
51 void attachTextBox(InlineTextBox*); | 51 void attachTextBox(InlineTextBox*); |
52 void removeTextBox(InlineTextBox*); | 52 void removeTextBox(InlineTextBox*); |
53 | 53 |
54 const String& text() const { return m_text; } | 54 const String& text() const { return m_text; } |
55 String textWithoutTranscoding() const; | 55 String textWithoutTranscoding() const; |
| 56 virtual unsigned textStartOffset() const { return 0; } |
56 | 57 |
57 InlineTextBox* createInlineTextBox(); | 58 InlineTextBox* createInlineTextBox(); |
58 void dirtyLineBoxes(bool fullLayout); | 59 void dirtyLineBoxes(bool fullLayout); |
59 | 60 |
60 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const OVERRIDE FINAL; | 61 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const OVERRIDE FINAL; |
61 void absoluteRectsForRange(Vector<IntRect>&, unsigned startOffset = 0, unsig
ned endOffset = INT_MAX, bool useSelectionHeight = false, bool* wasFixed = 0); | 62 void absoluteRectsForRange(Vector<IntRect>&, unsigned startOffset = 0, unsig
ned endOffset = INT_MAX, bool useSelectionHeight = false, bool* wasFixed = 0); |
62 | 63 |
63 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const OVERRID
E FINAL; | 64 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const OVERRID
E FINAL; |
64 void absoluteQuadsForRange(Vector<FloatQuad>&, unsigned startOffset = 0, uns
igned endOffset = INT_MAX, bool useSelectionHeight = false, bool* wasFixed = 0); | 65 void absoluteQuadsForRange(Vector<FloatQuad>&, unsigned startOffset = 0, uns
igned endOffset = INT_MAX, bool useSelectionHeight = false, bool* wasFixed = 0); |
65 | 66 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 inline void RenderText::checkConsistency() const | 239 inline void RenderText::checkConsistency() const |
239 { | 240 { |
240 } | 241 } |
241 #endif | 242 #endif |
242 | 243 |
243 void applyTextTransform(const RenderStyle*, String&, UChar); | 244 void applyTextTransform(const RenderStyle*, String&, UChar); |
244 | 245 |
245 } // namespace WebCore | 246 } // namespace WebCore |
246 | 247 |
247 #endif // RenderText_h | 248 #endif // RenderText_h |
OLD | NEW |