OLD | NEW |
1 /* | 1 /* |
2 * This file is part of the XSL implementation. | 2 * This file is part of the XSL implementation. |
3 * | 3 * |
4 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. |
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 virtual bool parseString(const String &string, bool strict = true); | 72 virtual bool parseString(const String &string, bool strict = true); |
73 | 73 |
74 virtual bool isLoading(); | 74 virtual bool isLoading(); |
75 virtual void checkLoaded(); | 75 virtual void checkLoaded(); |
76 | 76 |
77 void loadChildSheets(); | 77 void loadChildSheets(); |
78 void loadChildSheet(const String& href); | 78 void loadChildSheet(const String& href); |
79 | 79 |
80 CachedResourceLoader* cachedResourceLoader(); | 80 CachedResourceLoader* cachedResourceLoader(); |
81 | 81 |
82 Document* ownerDocument() { return m_ownerDocument; } | 82 Document* ownerDocument(); |
| 83 XSLStyleSheet* parentStyleSheet() const { return m_parentStyleSheet; } |
83 void setParentStyleSheet(XSLStyleSheet* parent); | 84 void setParentStyleSheet(XSLStyleSheet* parent); |
84 | 85 |
85 #if USE(QXMLQUERY) | 86 #if USE(QXMLQUERY) |
86 String sheetString() const { return m_sheetString; } | 87 String sheetString() const { return m_sheetString; } |
87 #else | 88 #else |
88 xmlDocPtr document(); | 89 xmlDocPtr document(); |
89 xsltStylesheetPtr compileStyleSheet(); | 90 xsltStylesheetPtr compileStyleSheet(); |
90 xmlDocPtr locateStylesheetSubResource(xmlDocPtr parentDoc, const xmlChar* ur
i); | 91 xmlDocPtr locateStylesheetSubResource(xmlDocPtr parentDoc, const xmlChar* ur
i); |
91 #endif | 92 #endif |
92 | 93 |
(...skipping 20 matching lines...) Expand all Loading... |
113 #endif | 114 #endif |
114 | 115 |
115 XSLStyleSheet* m_parentStyleSheet; | 116 XSLStyleSheet* m_parentStyleSheet; |
116 }; | 117 }; |
117 | 118 |
118 } // namespace WebCore | 119 } // namespace WebCore |
119 | 120 |
120 #endif // ENABLE(XSLT) | 121 #endif // ENABLE(XSLT) |
121 | 122 |
122 #endif // XSLStyleSheet_h | 123 #endif // XSLStyleSheet_h |
OLD | NEW |