OLD | NEW |
1 /* | 1 /* |
2 * This file is part of the DOM implementation for KDE. | 2 * This file is part of the DOM implementation for KDE. |
3 * | 3 * |
4 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 4 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
5 * (C) 1997 Torben Weis (weis@kde.org) | 5 * (C) 1997 Torben Weis (weis@kde.org) |
6 * (C) 1998 Waldo Bastian (bastian@kde.org) | 6 * (C) 1998 Waldo Bastian (bastian@kde.org) |
7 * (C) 1999 Lars Knoll (knoll@kde.org) | 7 * (C) 1999 Lars Knoll (knoll@kde.org) |
8 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 8 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
9 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc. | 9 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc. |
10 * | 10 * |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 int outerBorderBottom() const; | 65 int outerBorderBottom() const; |
66 int outerBorderLeft() const; | 66 int outerBorderLeft() const; |
67 int outerBorderRight() const; | 67 int outerBorderRight() const; |
68 | 68 |
69 int calcBorderLeft() const; | 69 int calcBorderLeft() const; |
70 int calcBorderRight() const; | 70 int calcBorderRight() const; |
71 void recalcHorizontalBorders(); | 71 void recalcHorizontalBorders(); |
72 | 72 |
73 // overrides | 73 // overrides |
74 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0); | 74 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0); |
| 75 virtual void removeChild(RenderObject* oldChild); |
| 76 |
75 virtual void paint(PaintInfo&, int tx, int ty); | 77 virtual void paint(PaintInfo&, int tx, int ty); |
76 virtual void paintBoxDecorations(PaintInfo&, int tx, int ty); | 78 virtual void paintBoxDecorations(PaintInfo&, int tx, int ty); |
77 virtual void paintMask(PaintInfo& paintInfo, int tx, int ty); | 79 virtual void paintMask(PaintInfo& paintInfo, int tx, int ty); |
78 virtual void layout(); | 80 virtual void layout(); |
79 virtual void calcPrefWidths(); | 81 virtual void calcPrefWidths(); |
80 | 82 |
81 virtual int getBaselineOfFirstLineBox() const; | 83 virtual int getBaselineOfFirstLineBox() const; |
82 | 84 |
83 virtual RenderBlock* firstLineBlock() const; | 85 virtual RenderBlock* firstLineBlock() const; |
84 virtual void updateFirstLetter(); | 86 virtual void updateFirstLetter(); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 | 142 |
141 bool needsSectionRecalc() const { return m_needsSectionRecalc; } | 143 bool needsSectionRecalc() const { return m_needsSectionRecalc; } |
142 void setNeedsSectionRecalc() | 144 void setNeedsSectionRecalc() |
143 { | 145 { |
144 if (documentBeingDestroyed()) | 146 if (documentBeingDestroyed()) |
145 return; | 147 return; |
146 m_needsSectionRecalc = true; | 148 m_needsSectionRecalc = true; |
147 setNeedsLayout(true); | 149 setNeedsLayout(true); |
148 } | 150 } |
149 | 151 |
150 virtual RenderObject* removeChildNode(RenderObject*, bool fullRemove = true)
; | |
151 | |
152 RenderTableSection* sectionAbove(const RenderTableSection*, bool skipEmptySe
ctions = false) const; | 152 RenderTableSection* sectionAbove(const RenderTableSection*, bool skipEmptySe
ctions = false) const; |
153 RenderTableSection* sectionBelow(const RenderTableSection*, bool skipEmptySe
ctions = false) const; | 153 RenderTableSection* sectionBelow(const RenderTableSection*, bool skipEmptySe
ctions = false) const; |
154 | 154 |
155 RenderTableCell* cellAbove(const RenderTableCell*) const; | 155 RenderTableCell* cellAbove(const RenderTableCell*) const; |
156 RenderTableCell* cellBelow(const RenderTableCell*) const; | 156 RenderTableCell* cellBelow(const RenderTableCell*) const; |
157 RenderTableCell* cellBefore(const RenderTableCell*) const; | 157 RenderTableCell* cellBefore(const RenderTableCell*) const; |
158 RenderTableCell* cellAfter(const RenderTableCell*) const; | 158 RenderTableCell* cellAfter(const RenderTableCell*) const; |
159 | 159 |
160 const CollapsedBorderValue* currentBorderStyle() const { return m_currentBor
der; } | 160 const CollapsedBorderValue* currentBorderStyle() const { return m_currentBor
der; } |
161 | 161 |
(...skipping 30 matching lines...) Expand all Loading... |
192 | 192 |
193 short m_hSpacing; | 193 short m_hSpacing; |
194 short m_vSpacing; | 194 short m_vSpacing; |
195 int m_borderLeft; | 195 int m_borderLeft; |
196 int m_borderRight; | 196 int m_borderRight; |
197 }; | 197 }; |
198 | 198 |
199 } // namespace WebCore | 199 } // namespace WebCore |
200 | 200 |
201 #endif // RenderTable_h | 201 #endif // RenderTable_h |
OLD | NEW |