1 /* 2 * Copyright (C) 2004 Apple Computer, Inc. All rights reserved. 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27 #import <WebCore/DOMCore.h> 28 #import <WebCore/DOMDocument.h> 29 #import <WebCore/DOMElement.h> 30 #import <WebCore/DOMObject.h> 31 #import <WebCore/DOMStylesheets.h> 32 33 #import <WebCore/DOMCSSCharsetRule.h> 34 #import <WebCore/DOMCSSFontFaceRule.h> 35 #import <WebCore/DOMCSSImportRule.h> 36 #import <WebCore/DOMCSSMediaRule.h> 37 #import <WebCore/DOMCSSPageRule.h> 38 #import <WebCore/DOMCSSPrimitiveValue.h> 39 #import <WebCore/DOMCSSRule.h> 40 #import <WebCore/DOMCSSRuleList.h> 41 #import <WebCore/DOMCSSStyleDeclaration.h> 42 #import <WebCore/DOMCSSStyleRule.h> 43 #import <WebCore/DOMCSSStyleSheet.h> 44 #import <WebCore/DOMCSSUnknownRule.h> 45 #import <WebCore/DOMCSSValue.h> 46 #import <WebCore/DOMCSSValueList.h> 47 #import <WebCore/DOMCounter.h> 48 #import <WebCore/DOMRGBColor.h> 49 #import <WebCore/DOMRect.h> 50 51 #if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_1_3 52 53 @interface DOMCSSStyleDeclaration (DOMCSS2Properties) 54 - (NSString *)azimuth; 55 - (void)setAzimuth:(NSString *)azimuth; 56 - (NSString *)background; 57 - (void)setBackground:(NSString *)background; 58 - (NSString *)backgroundAttachment; 59 - (void)setBackgroundAttachment:(NSString *)backgroundAttachment; 60 - (NSString *)backgroundColor; 61 - (void)setBackgroundColor:(NSString *)backgroundColor; 62 - (NSString *)backgroundImage; 63 - (void)setBackgroundImage:(NSString *)backgroundImage; 64 - (NSString *)backgroundPosition; 65 - (void)setBackgroundPosition:(NSString *)backgroundPosition; 66 - (NSString *)backgroundRepeat; 67 - (void)setBackgroundRepeat:(NSString *)backgroundRepeat; 68 - (NSString *)border; 69 - (void)setBorder:(NSString *)border; 70 - (NSString *)borderCollapse; 71 - (void)setBorderCollapse:(NSString *)borderCollapse; 72 - (NSString *)borderColor; 73 - (void)setBorderColor:(NSString *)borderColor; 74 - (NSString *)borderSpacing; 75 - (void)setBorderSpacing:(NSString *)borderSpacing; 76 - (NSString *)borderStyle; 77 - (void)setBorderStyle:(NSString *)borderStyle; 78 - (NSString *)borderTop; 79 - (void)setBorderTop:(NSString *)borderTop; 80 - (NSString *)borderRight; 81 - (void)setBorderRight:(NSString *)borderRight; 82 - (NSString *)borderBottom; 83 - (void)setBorderBottom:(NSString *)borderBottom; 84 - (NSString *)borderLeft; 85 - (void)setBorderLeft:(NSString *)borderLeft; 86 - (NSString *)borderTopColor; 87 - (void)setBorderTopColor:(NSString *)borderTopColor; 88 - (NSString *)borderRightColor; 89 - (void)setBorderRightColor:(NSString *)borderRightColor; 90 - (NSString *)borderBottomColor; 91 - (void)setBorderBottomColor:(NSString *)borderBottomColor; 92 - (NSString *)borderLeftColor; 93 - (void)setBorderLeftColor:(NSString *)borderLeftColor; 94 - (NSString *)borderTopStyle; 95 - (void)setBorderTopStyle:(NSString *)borderTopStyle; 96 - (NSString *)borderRightStyle; 97 - (void)setBorderRightStyle:(NSString *)borderRightStyle; 98 - (NSString *)borderBottomStyle; 99 - (void)setBorderBottomStyle:(NSString *)borderBottomStyle; 100 - (NSString *)borderLeftStyle; 101 - (void)setBorderLeftStyle:(NSString *)borderLeftStyle; 102 - (NSString *)borderTopWidth; 103 - (void)setBorderTopWidth:(NSString *)borderTopWidth; 104 - (NSString *)borderRightWidth; 105 - (void)setBorderRightWidth:(NSString *)borderRightWidth; 106 - (NSString *)borderBottomWidth; 107 - (void)setBorderBottomWidth:(NSString *)borderBottomWidth; 108 - (NSString *)borderLeftWidth; 109 - (void)setBorderLeftWidth:(NSString *)borderLeftWidth; 110 - (NSString *)borderWidth; 111 - (void)setBorderWidth:(NSString *)borderWidth; 112 - (NSString *)bottom; 113 - (void)setBottom:(NSString *)bottom; 114 - (NSString *)captionSide; 115 - (void)setCaptionSide:(NSString *)captionSide; 116 - (NSString *)clear; 117 - (void)setClear:(NSString *)clear; 118 - (NSString *)clip; 119 - (void)setClip:(NSString *)clip; 120 - (NSString *)color; 121 - (void)setColor:(NSString *)color; 122 - (NSString *)content; 123 - (void)setContent:(NSString *)content; 124 - (NSString *)counterIncrement; 125 - (void)setCounterIncrement:(NSString *)counterIncrement; 126 - (NSString *)counterReset; 127 - (void)setCounterReset:(NSString *)counterReset; 128 - (NSString *)cue; 129 - (void)setCue:(NSString *)cue; 130 - (NSString *)cueAfter; 131 - (void)setCueAfter:(NSString *)cueAfter; 132 - (NSString *)cueBefore; 133 - (void)setCueBefore:(NSString *)cueBefore; 134 - (NSString *)cursor; 135 - (void)setCursor:(NSString *)cursor; 136 - (NSString *)direction; 137 - (void)setDirection:(NSString *)direction; 138 - (NSString *)display; 139 - (void)setDisplay:(NSString *)display; 140 - (NSString *)elevation; 141 - (void)setElevation:(NSString *)elevation; 142 - (NSString *)emptyCells; 143 - (void)setEmptyCells:(NSString *)emptyCells; 144 - (NSString *)cssFloat; 145 - (void)setCssFloat:(NSString *)cssFloat; 146 - (NSString *)font; 147 - (void)setFont:(NSString *)font; 148 - (NSString *)fontFamily; 149 - (void)setFontFamily:(NSString *)fontFamily; 150 - (NSString *)fontSize; 151 - (void)setFontSize:(NSString *)fontSize; 152 - (NSString *)fontSizeAdjust; 153 - (void)setFontSizeAdjust:(NSString *)fontSizeAdjust; 154 - (NSString *)fontStretch; 155 - (void)setFontStretch:(NSString *)fontStretch; 156 - (NSString *)fontStyle; 157 - (void)setFontStyle:(NSString *)fontStyle; 158 - (NSString *)fontVariant; 159 - (void)setFontVariant:(NSString *)fontVariant; 160 - (NSString *)fontWeight; 161 - (void)setFontWeight:(NSString *)fontWeight; 162 - (NSString *)height; 163 - (void)setHeight:(NSString *)height; 164 - (NSString *)left; 165 - (void)setLeft:(NSString *)left; 166 - (NSString *)letterSpacing; 167 - (void)setLetterSpacing:(NSString *)letterSpacing; 168 - (NSString *)lineHeight; 169 - (void)setLineHeight:(NSString *)lineHeight; 170 - (NSString *)listStyle; 171 - (void)setListStyle:(NSString *)listStyle; 172 - (NSString *)listStyleImage; 173 - (void)setListStyleImage:(NSString *)listStyleImage; 174 - (NSString *)listStylePosition; 175 - (void)setListStylePosition:(NSString *)listStylePosition; 176 - (NSString *)listStyleType; 177 - (void)setListStyleType:(NSString *)listStyleType; 178 - (NSString *)margin; 179 - (void)setMargin:(NSString *)margin; 180 - (NSString *)marginTop; 181 - (void)setMarginTop:(NSString *)marginTop; 182 - (NSString *)marginRight; 183 - (void)setMarginRight:(NSString *)marginRight; 184 - (NSString *)marginBottom; 185 - (void)setMarginBottom:(NSString *)marginBottom; 186 - (NSString *)marginLeft; 187 - (void)setMarginLeft:(NSString *)marginLeft; 188 - (NSString *)markerOffset; 189 - (void)setMarkerOffset:(NSString *)markerOffset; 190 - (NSString *)marks; 191 - (void)setMarks:(NSString *)marks; 192 - (NSString *)maxHeight; 193 - (void)setMaxHeight:(NSString *)maxHeight; 194 - (NSString *)maxWidth; 195 - (void)setMaxWidth:(NSString *)maxWidth; 196 - (NSString *)minHeight; 197 - (void)setMinHeight:(NSString *)minHeight; 198 - (NSString *)minWidth; 199 - (void)setMinWidth:(NSString *)minWidth; 200 - (NSString *)orphans; 201 - (void)setOrphans:(NSString *)orphans; 202 - (NSString *)outline; 203 - (void)setOutline:(NSString *)outline; 204 - (NSString *)outlineColor; 205 - (void)setOutlineColor:(NSString *)outlineColor; 206 - (NSString *)outlineStyle; 207 - (void)setOutlineStyle:(NSString *)outlineStyle; 208 - (NSString *)outlineWidth; 209 - (void)setOutlineWidth:(NSString *)outlineWidth; 210 - (NSString *)overflow; 211 - (void)setOverflow:(NSString *)overflow; 212 - (NSString *)padding; 213 - (void)setPadding:(NSString *)padding; 214 - (NSString *)paddingTop; 215 - (void)setPaddingTop:(NSString *)paddingTop; 216 - (NSString *)paddingRight; 217 - (void)setPaddingRight:(NSString *)paddingRight; 218 - (NSString *)paddingBottom; 219 - (void)setPaddingBottom:(NSString *)paddingBottom; 220 - (NSString *)paddingLeft; 221 - (void)setPaddingLeft:(NSString *)paddingLeft; 222 - (NSString *)page; 223 - (void)setPage:(NSString *)page; 224 - (NSString *)pageBreakAfter; 225 - (void)setPageBreakAfter:(NSString *)pageBreakAfter; 226 - (NSString *)pageBreakBefore; 227 - (void)setPageBreakBefore:(NSString *)pageBreakBefore; 228 - (NSString *)pageBreakInside; 229 - (void)setPageBreakInside:(NSString *)pageBreakInside; 230 - (NSString *)pause; 231 - (void)setPause:(NSString *)pause; 232 - (NSString *)pauseAfter; 233 - (void)setPauseAfter:(NSString *)pauseAfter; 234 - (NSString *)pauseBefore; 235 - (void)setPauseBefore:(NSString *)pauseBefore; 236 - (NSString *)pitch; 237 - (void)setPitch:(NSString *)pitch; 238 - (NSString *)pitchRange; 239 - (void)setPitchRange:(NSString *)pitchRange; 240 - (NSString *)playDuring; 241 - (void)setPlayDuring:(NSString *)playDuring; 242 - (NSString *)position; 243 - (void)setPosition:(NSString *)position; 244 - (NSString *)quotes; 245 - (void)setQuotes:(NSString *)quotes; 246 - (NSString *)richness; 247 - (void)setRichness:(NSString *)richness; 248 - (NSString *)right; 249 - (void)setRight:(NSString *)right; 250 - (NSString *)size; 251 - (void)setSize:(NSString *)size; 252 - (NSString *)speak; 253 - (void)setSpeak:(NSString *)speak; 254 - (NSString *)speakHeader; 255 - (void)setSpeakHeader:(NSString *)speakHeader; 256 - (NSString *)speakNumeral; 257 - (void)setSpeakNumeral:(NSString *)speakNumeral; 258 - (NSString *)speakPunctuation; 259 - (void)setSpeakPunctuation:(NSString *)speakPunctuation; 260 - (NSString *)speechRate; 261 - (void)setSpeechRate:(NSString *)speechRate; 262 - (NSString *)stress; 263 - (void)setStress:(NSString *)stress; 264 - (NSString *)tableLayout; 265 - (void)setTableLayout:(NSString *)tableLayout; 266 - (NSString *)textAlign; 267 - (void)setTextAlign:(NSString *)textAlign; 268 - (NSString *)textDecoration; 269 - (void)setTextDecoration:(NSString *)textDecoration; 270 - (NSString *)textIndent; 271 - (void)setTextIndent:(NSString *)textIndent; 272 - (NSString *)textShadow; 273 - (void)setTextShadow:(NSString *)textShadow; 274 - (NSString *)textTransform; 275 - (void)setTextTransform:(NSString *)textTransform; 276 - (NSString *)top; 277 - (void)setTop:(NSString *)top; 278 - (NSString *)unicodeBidi; 279 - (void)setUnicodeBidi:(NSString *)unicodeBidi; 280 - (NSString *)verticalAlign; 281 - (void)setVerticalAlign:(NSString *)verticalAlign; 282 - (NSString *)visibility; 283 - (void)setVisibility:(NSString *)visibility; 284 - (NSString *)voiceFamily; 285 - (void)setVoiceFamily:(NSString *)voiceFamily; 286 - (NSString *)volume; 287 - (void)setVolume:(NSString *)volume; 288 - (NSString *)whiteSpace; 289 - (void)setWhiteSpace:(NSString *)whiteSpace; 290 - (NSString *)widows; 291 - (void)setWidows:(NSString *)widows; 292 - (NSString *)width; 293 - (void)setWidth:(NSString *)width; 294 - (NSString *)wordSpacing; 295 - (void)setWordSpacing:(NSString *)wordSpacing; 296 - (NSString *)zIndex; 297 - (void)setZIndex:(NSString *)zIndex; 298 @end 299 300 #endif 301