fix logic
[personal-kdelibs.git] / khtml / dom / css_extensions.cpp
blob7950b6c5d775c85223633fb41e91b3981668e31c
1 /**
2 * This file is part of the DOM implementation for KDE.
4 * Copyright 1999 Lars Knoll (knoll@kde.org)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 #include "css_extensions.h"
23 #include "css_extensionsimpl.h"
25 #include "dom_exception.h"
26 #include "dom_string.h"
27 using namespace DOM;
30 CSS2Azimuth::CSS2Azimuth() : CSSValue()
34 CSS2Azimuth::CSS2Azimuth(const CSS2Azimuth &other) : CSSValue(other)
38 CSS2Azimuth::CSS2Azimuth(CSS2AzimuthImpl *impl) : CSSValue(impl)
42 CSS2Azimuth &CSS2Azimuth::operator = (const CSS2Azimuth &other)
44 CSSValue::operator = (other);
45 return *this;
48 CSS2Azimuth::~CSS2Azimuth()
52 unsigned short CSS2Azimuth::azimuthType() const
54 if(!impl) return 0;
55 return ((CSS2AzimuthImpl *)impl)->azimuthType();
58 DOMString CSS2Azimuth::identifier() const
60 if(!impl) return 0;
61 return ((CSS2AzimuthImpl *)impl)->identifier();
64 bool CSS2Azimuth::behind() const
66 if(!impl) return 0;
67 return ((CSS2AzimuthImpl *)impl)->behind();
70 void CSS2Azimuth::setAngleValue( const unsigned short unitType, const float floatValue )
72 if(impl)
73 ((CSS2AzimuthImpl *)impl)->setAngleValue( unitType, floatValue );
76 float CSS2Azimuth::getAngleValue( const unsigned short unitType )
78 if(!impl) return 0;
79 return ((CSS2AzimuthImpl *)impl)->getAngleValue( unitType );
82 void CSS2Azimuth::setIdentifier( const DOMString &identifier, const bool behind )
84 if(impl)
85 ((CSS2AzimuthImpl *)impl)->setIdentifier( identifier, behind );
90 CSS2BackgroundPosition::CSS2BackgroundPosition() : CSSValue()
94 CSS2BackgroundPosition::CSS2BackgroundPosition(const CSS2BackgroundPosition &other) : CSSValue(other)
98 CSS2BackgroundPosition::CSS2BackgroundPosition(CSS2BackgroundPositionImpl *impl) : CSSValue(impl)
102 CSS2BackgroundPosition &CSS2BackgroundPosition::operator = (const CSS2BackgroundPosition &other)
104 CSSValue::operator = (other);
105 return *this;
108 CSS2BackgroundPosition::~CSS2BackgroundPosition()
112 unsigned short CSS2BackgroundPosition::horizontalType() const
114 if(!impl) return 0;
115 return ((CSS2BackgroundPositionImpl *)impl)->horizontalType();
118 unsigned short CSS2BackgroundPosition::verticalType() const
120 if(!impl) return 0;
121 return ((CSS2BackgroundPositionImpl *)impl)->verticalType();
124 DOMString CSS2BackgroundPosition::horizontalIdentifier() const
126 if(!impl) return 0;
127 return ((CSS2BackgroundPositionImpl *)impl)->horizontalIdentifier();
130 DOMString CSS2BackgroundPosition::verticalIdentifier() const
132 if(!impl) return 0;
133 return ((CSS2BackgroundPositionImpl *)impl)->verticalIdentifier();
136 float CSS2BackgroundPosition::getHorizontalPosition( const float horizontalType )
138 if(!impl) return 0;
139 return ((CSS2BackgroundPositionImpl *)impl)->getHorizontalPosition( horizontalType );
142 float CSS2BackgroundPosition::getVerticalPosition( const float verticalType )
144 if(!impl) return 0;
145 return ((CSS2BackgroundPositionImpl *)impl)->getVerticalPosition( verticalType );
148 void CSS2BackgroundPosition::setHorizontalPosition( const unsigned short horizontalType, const float value )
150 if(impl)
151 ((CSS2BackgroundPositionImpl *)impl)->setHorizontalPosition( horizontalType, value );
154 void CSS2BackgroundPosition::setVerticalPosition( const unsigned short verticalType, const float value )
156 if(impl)
157 ((CSS2BackgroundPositionImpl *)impl)->setVerticalPosition( verticalType, value );
160 void CSS2BackgroundPosition::setPositionIdentifier( const DOMString &horizontalIdentifier, const DOMString &verticalIdentifier )
162 if(impl)
163 ((CSS2BackgroundPositionImpl *)impl)->setPositionIdentifier( horizontalIdentifier, verticalIdentifier );
168 CSS2BorderSpacing::CSS2BorderSpacing() : CSSValue()
172 CSS2BorderSpacing::CSS2BorderSpacing(const CSS2BorderSpacing &other) : CSSValue(other)
176 CSS2BorderSpacing::CSS2BorderSpacing(CSS2BorderSpacingImpl *impl) : CSSValue(impl)
180 CSS2BorderSpacing &CSS2BorderSpacing::operator = (const CSS2BorderSpacing &other)
182 CSSValue::operator = (other);
183 return *this;
186 CSS2BorderSpacing::~CSS2BorderSpacing()
190 unsigned short CSS2BorderSpacing::horizontalType() const
192 if(!impl) return 0;
193 return ((CSS2BorderSpacingImpl *)impl)->horizontalType();
196 unsigned short CSS2BorderSpacing::verticalType() const
198 if(!impl) return 0;
199 return ((CSS2BorderSpacingImpl *)impl)->verticalType();
202 float CSS2BorderSpacing::getHorizontalSpacing( const float horizontalType )
204 if(!impl) return 0;
205 return ((CSS2BorderSpacingImpl *)impl)->getHorizontalSpacing( horizontalType );
208 float CSS2BorderSpacing::getVerticalSpacing( const float verticalType )
210 if(!impl) return 0;
211 return ((CSS2BorderSpacingImpl *)impl)->getVerticalSpacing( verticalType );
214 void CSS2BorderSpacing::setHorizontalSpacing( const unsigned short horizontalType, const float value )
216 if(impl)
217 ((CSS2BorderSpacingImpl *)impl)->setHorizontalSpacing( horizontalType, value );
220 void CSS2BorderSpacing::setVerticalSpacing( const unsigned short verticalType, const float value )
222 if(impl)
223 ((CSS2BorderSpacingImpl *)impl)->setVerticalSpacing( verticalType, value );
226 void CSS2BorderSpacing::setInherit()
228 if(impl)
229 ((CSS2BorderSpacingImpl *)impl)->setInherit();
234 CSS2CounterIncrement::CSS2CounterIncrement()
238 CSS2CounterIncrement::CSS2CounterIncrement(const CSS2CounterIncrement &other)
242 CSS2CounterIncrement::CSS2CounterIncrement(CSS2CounterIncrementImpl *impl)
246 CSS2CounterIncrement &CSS2CounterIncrement::operator = (const CSS2CounterIncrement &other)
248 ::operator = (other);
249 return *this;
252 CSS2CounterIncrement::~CSS2CounterIncrement()
256 DOMString CSS2CounterIncrement::identifier() const
258 if(!impl) return 0;
259 return ((ElementImpl *)impl)->getAttribute("identifier");
262 void CSS2CounterIncrement::setIdentifier( const DOMString &value )
264 if(impl) ((ElementImpl *)impl)->setAttribute("identifier", value);
267 short CSS2CounterIncrement::increment() const
269 if(!impl) return 0;
270 return ((CSS2CounterIncrementImpl *)impl)->increment();
273 void CSS2CounterIncrement::setIncrement( const short _increment )
276 if(impl)
277 ((CSS2CounterIncrementImpl *)impl)->setIncrement( _increment );
283 CSS2CounterReset::CSS2CounterReset()
287 CSS2CounterReset::CSS2CounterReset(const CSS2CounterReset &other)
291 CSS2CounterReset::CSS2CounterReset(CSS2CounterResetImpl *impl)
295 CSS2CounterReset &CSS2CounterReset::operator = (const CSS2CounterReset &other)
297 ::operator = (other);
298 return *this;
301 CSS2CounterReset::~CSS2CounterReset()
305 DOMString CSS2CounterReset::identifier() const
307 if(!impl) return 0;
308 return ((ElementImpl *)impl)->getAttribute("identifier");
311 void CSS2CounterReset::setIdentifier( const DOMString &value )
313 if(impl) ((ElementImpl *)impl)->setAttribute("identifier", value);
316 short CSS2CounterReset::reset() const
318 if(!impl) return 0;
319 return ((CSS2CounterResetImpl *)impl)->reset();
322 void CSS2CounterReset::setReset( const short _reset )
325 if(impl)
326 ((CSS2CounterResetImpl *)impl)->setReset( _reset );
332 CSS2Cursor::CSS2Cursor() : CSSValue()
336 CSS2Cursor::CSS2Cursor(const CSS2Cursor &other) : CSSValue(other)
340 CSS2Cursor::CSS2Cursor(CSS2CursorImpl *impl) : CSSValue(impl)
344 CSS2Cursor &CSS2Cursor::operator = (const CSS2Cursor &other)
346 CSSValue::operator = (other);
347 return *this;
350 CSS2Cursor::~CSS2Cursor()
354 unsigned short CSS2Cursor::cursorType() const
356 if(!impl) return 0;
357 return ((CSS2CursorImpl *)impl)->cursorType();
360 void CSS2Cursor::setCursorType( const unsigned short _cursorType )
363 if(impl)
364 ((CSS2CursorImpl *)impl)->setCursorType( _cursorType );
367 CSSValueList CSS2Cursor::uris() const
369 if(!impl) return 0;
370 return ((CSS2CursorImpl *)impl)->uris();
373 DOMString CSS2Cursor::predefinedCursor() const
375 if(!impl) return 0;
376 return ((ElementImpl *)impl)->getAttribute("predefinedCursor");
379 void CSS2Cursor::setPredefinedCursor( const DOMString &value )
381 if(impl) ((ElementImpl *)impl)->setAttribute("predefinedCursor", value);
386 CSS2FontFaceSrc::CSS2FontFaceSrc()
390 CSS2FontFaceSrc::CSS2FontFaceSrc(const CSS2FontFaceSrc &other)
394 CSS2FontFaceSrc::CSS2FontFaceSrc(CSS2FontFaceSrcImpl *impl)
398 CSS2FontFaceSrc &CSS2FontFaceSrc::operator = (const CSS2FontFaceSrc &other)
400 ::operator = (other);
401 return *this;
404 CSS2FontFaceSrc::~CSS2FontFaceSrc()
408 DOMString CSS2FontFaceSrc::uri() const
410 if(!impl) return 0;
411 return ((ElementImpl *)impl)->getAttribute("uri");
414 void CSS2FontFaceSrc::setUri( const DOMString &value )
416 if(impl) ((ElementImpl *)impl)->setAttribute("uri", value);
419 CSSValueList CSS2FontFaceSrc::format() const
421 if(!impl) return 0;
422 return ((CSS2FontFaceSrcImpl *)impl)->format();
425 DOMString CSS2FontFaceSrc::fontFaceName() const
427 if(!impl) return 0;
428 return ((ElementImpl *)impl)->getAttribute("fontFaceName");
431 void CSS2FontFaceSrc::setFontFaceName( const DOMString &value )
433 if(impl) ((ElementImpl *)impl)->setAttribute("fontFaceName", value);
438 CSS2FontFaceWidths::CSS2FontFaceWidths()
442 CSS2FontFaceWidths::CSS2FontFaceWidths(const CSS2FontFaceWidths &other)
446 CSS2FontFaceWidths::CSS2FontFaceWidths(CSS2FontFaceWidthsImpl *impl)
450 CSS2FontFaceWidths &CSS2FontFaceWidths::operator = (const CSS2FontFaceWidths &other)
452 ::operator = (other);
453 return *this;
456 CSS2FontFaceWidths::~CSS2FontFaceWidths()
460 DOMString CSS2FontFaceWidths::urange() const
462 if(!impl) return 0;
463 return ((ElementImpl *)impl)->getAttribute("urange");
466 void CSS2FontFaceWidths::setUrange( const DOMString &value )
468 if(impl) ((ElementImpl *)impl)->setAttribute("urange", value);
471 CSSValueList CSS2FontFaceWidths::numbers() const
473 if(!impl) return 0;
474 return ((CSS2FontFaceWidthsImpl *)impl)->numbers();
480 CSS2PageSize::CSS2PageSize() : CSSValue()
484 CSS2PageSize::CSS2PageSize(const CSS2PageSize &other) : CSSValue(other)
488 CSS2PageSize::CSS2PageSize(CSS2PageSizeImpl *impl) : CSSValue(impl)
492 CSS2PageSize &CSS2PageSize::operator = (const CSS2PageSize &other)
494 CSSValue::operator = (other);
495 return *this;
498 CSS2PageSize::~CSS2PageSize()
502 unsigned short CSS2PageSize::widthType() const
504 if(!impl) return 0;
505 return ((CSS2PageSizeImpl *)impl)->widthType();
508 unsigned short CSS2PageSize::heightType() const
510 if(!impl) return 0;
511 return ((CSS2PageSizeImpl *)impl)->heightType();
514 DOMString CSS2PageSize::identifier() const
516 if(!impl) return 0;
517 return ((CSS2PageSizeImpl *)impl)->identifier();
520 float CSS2PageSize::getWidth( const float widthType )
522 if(!impl) return 0;
523 return ((CSS2PageSizeImpl *)impl)->getWidth( widthType );
526 float CSS2PageSize::getHeightSize( const float heightType )
528 if(!impl) return 0;
529 return ((CSS2PageSizeImpl *)impl)->getHeightSize( heightType );
532 void CSS2PageSize::setWidthSize( const unsigned short widthType, const float value )
534 if(impl)
535 ((CSS2PageSizeImpl *)impl)->setWidthSize( widthType, value );
538 void CSS2PageSize::setHeightSize( const unsigned short heightType, const float value )
540 if(impl)
541 ((CSS2PageSizeImpl *)impl)->setHeightSize( heightType, value );
544 void CSS2PageSize::setIdentifier( const DOMString &identifier )
546 if(impl)
547 ((CSS2PageSizeImpl *)impl)->setIdentifier( identifier );
552 CSS2PlayDuring::CSS2PlayDuring() : CSSValue()
556 CSS2PlayDuring::CSS2PlayDuring(const CSS2PlayDuring &other) : CSSValue(other)
560 CSS2PlayDuring::CSS2PlayDuring(CSS2PlayDuringImpl *impl) : CSSValue(impl)
564 CSS2PlayDuring &CSS2PlayDuring::operator = (const CSS2PlayDuring &other)
566 CSSValue::operator = (other);
567 return *this;
570 CSS2PlayDuring::~CSS2PlayDuring()
574 unsigned short CSS2PlayDuring::playDuringType() const
576 if(!impl) return 0;
577 return ((CSS2PlayDuringImpl *)impl)->playDuringType();
580 DOMString CSS2PlayDuring::playDuringIdentifier() const
582 if(!impl) return 0;
583 return ((ElementImpl *)impl)->getAttribute("playDuringIdentifier");
586 void CSS2PlayDuring::setPlayDuringIdentifier( const DOMString &value )
588 if(impl) ((ElementImpl *)impl)->setAttribute("playDuringIdentifier", value);
591 DOMString CSS2PlayDuring::uri() const
593 if(!impl) return 0;
594 return ((ElementImpl *)impl)->getAttribute("uri");
597 void CSS2PlayDuring::setUri( const DOMString &value )
599 if(impl) ((ElementImpl *)impl)->setAttribute("uri", value);
602 bool CSS2PlayDuring::mix() const
604 if(!impl) return 0;
605 return ((CSS2PlayDuringImpl *)impl)->mix();
608 void CSS2PlayDuring::setMix( const bool _mix )
611 if(impl)
612 ((CSS2PlayDuringImpl *)impl)->setMix( _mix );
615 bool CSS2PlayDuring::repeat() const
617 if(!impl) return 0;
618 return ((CSS2PlayDuringImpl *)impl)->repeat();
621 void CSS2PlayDuring::setRepeat( const bool _repeat )
624 if(impl)
625 ((CSS2PlayDuringImpl *)impl)->setRepeat( _repeat );
630 CSS2Properties::CSS2Properties()
634 CSS2Properties::CSS2Properties(const CSS2Properties &other)
638 CSS2Properties::CSS2Properties(CSS2PropertiesImpl *impl)
642 CSS2Properties &CSS2Properties::operator = (const CSS2Properties &other)
644 ::operator = (other);
645 return *this;
648 CSS2Properties::~CSS2Properties()
652 DOMString CSS2Properties::azimuth() const
654 if(!impl) return 0;
655 return ((ElementImpl *)impl)->getAttribute("azimuth");
658 void CSS2Properties::setAzimuth( const DOMString &value )
660 if(impl) ((ElementImpl *)impl)->setAttribute("azimuth", value);
663 DOMString CSS2Properties::background() const
665 if(!impl) return 0;
666 return ((ElementImpl *)impl)->getAttribute("background");
669 void CSS2Properties::setBackground( const DOMString &value )
671 if(impl) ((ElementImpl *)impl)->setAttribute("background", value);
674 DOMString CSS2Properties::backgroundAttachment() const
676 if(!impl) return 0;
677 return ((ElementImpl *)impl)->getAttribute("backgroundAttachment");
680 void CSS2Properties::setBackgroundAttachment( const DOMString &value )
682 if(impl) ((ElementImpl *)impl)->setAttribute("backgroundAttachment", value);
685 DOMString CSS2Properties::backgroundColor() const
687 if(!impl) return 0;
688 return ((ElementImpl *)impl)->getAttribute("backgroundColor");
691 void CSS2Properties::setBackgroundColor( const DOMString &value )
693 if(impl) ((ElementImpl *)impl)->setAttribute("backgroundColor", value);
696 DOMString CSS2Properties::backgroundImage() const
698 if(!impl) return 0;
699 return ((ElementImpl *)impl)->getAttribute("backgroundImage");
702 void CSS2Properties::setBackgroundImage( const DOMString &value )
704 if(impl) ((ElementImpl *)impl)->setAttribute("backgroundImage", value);
707 DOMString CSS2Properties::backgroundPosition() const
709 if(!impl) return 0;
710 return ((ElementImpl *)impl)->getAttribute("backgroundPosition");
713 void CSS2Properties::setBackgroundPosition( const DOMString &value )
715 if(impl) ((ElementImpl *)impl)->setAttribute("backgroundPosition", value);
718 DOMString CSS2Properties::backgroundRepeat() const
720 if(!impl) return 0;
721 return ((ElementImpl *)impl)->getAttribute("backgroundRepeat");
724 void CSS2Properties::setBackgroundRepeat( const DOMString &value )
726 if(impl) ((ElementImpl *)impl)->setAttribute("backgroundRepeat", value);
729 DOMString CSS2Properties::border() const
731 if(!impl) return 0;
732 return ((ElementImpl *)impl)->getAttribute("border");
735 void CSS2Properties::setBorder( const DOMString &value )
737 if(impl) ((ElementImpl *)impl)->setAttribute("border", value);
740 DOMString CSS2Properties::borderCollapse() const
742 if(!impl) return 0;
743 return ((ElementImpl *)impl)->getAttribute("borderCollapse");
746 void CSS2Properties::setBorderCollapse( const DOMString &value )
748 if(impl) ((ElementImpl *)impl)->setAttribute("borderCollapse", value);
751 DOMString CSS2Properties::borderColor() const
753 if(!impl) return 0;
754 return ((ElementImpl *)impl)->getAttribute("borderColor");
757 void CSS2Properties::setBorderColor( const DOMString &value )
759 if(impl) ((ElementImpl *)impl)->setAttribute("borderColor", value);
762 DOMString CSS2Properties::borderSpacing() const
764 if(!impl) return 0;
765 return ((ElementImpl *)impl)->getAttribute("borderSpacing");
768 void CSS2Properties::setBorderSpacing( const DOMString &value )
770 if(impl) ((ElementImpl *)impl)->setAttribute("borderSpacing", value);
773 DOMString CSS2Properties::borderStyle() const
775 if(!impl) return 0;
776 return ((ElementImpl *)impl)->getAttribute("borderStyle");
779 void CSS2Properties::setBorderStyle( const DOMString &value )
781 if(impl) ((ElementImpl *)impl)->setAttribute("borderStyle", value);
784 DOMString CSS2Properties::borderTop() const
786 if(!impl) return 0;
787 return ((ElementImpl *)impl)->getAttribute("borderTop");
790 void CSS2Properties::setBorderTop( const DOMString &value )
792 if(impl) ((ElementImpl *)impl)->setAttribute("borderTop", value);
795 DOMString CSS2Properties::borderRight() const
797 if(!impl) return 0;
798 return ((ElementImpl *)impl)->getAttribute("borderRight");
801 void CSS2Properties::setBorderRight( const DOMString &value )
803 if(impl) ((ElementImpl *)impl)->setAttribute("borderRight", value);
806 DOMString CSS2Properties::borderBottom() const
808 if(!impl) return 0;
809 return ((ElementImpl *)impl)->getAttribute("borderBottom");
812 void CSS2Properties::setBorderBottom( const DOMString &value )
814 if(impl) ((ElementImpl *)impl)->setAttribute("borderBottom", value);
817 DOMString CSS2Properties::borderLeft() const
819 if(!impl) return 0;
820 return ((ElementImpl *)impl)->getAttribute("borderLeft");
823 void CSS2Properties::setBorderLeft( const DOMString &value )
825 if(impl) ((ElementImpl *)impl)->setAttribute("borderLeft", value);
828 DOMString CSS2Properties::borderTopColor() const
830 if(!impl) return 0;
831 return ((ElementImpl *)impl)->getAttribute("borderTopColor");
834 void CSS2Properties::setBorderTopColor( const DOMString &value )
836 if(impl) ((ElementImpl *)impl)->setAttribute("borderTopColor", value);
839 DOMString CSS2Properties::borderRightColor() const
841 if(!impl) return 0;
842 return ((ElementImpl *)impl)->getAttribute("borderRightColor");
845 void CSS2Properties::setBorderRightColor( const DOMString &value )
847 if(impl) ((ElementImpl *)impl)->setAttribute("borderRightColor", value);
850 DOMString CSS2Properties::borderBottomColor() const
852 if(!impl) return 0;
853 return ((ElementImpl *)impl)->getAttribute("borderBottomColor");
856 void CSS2Properties::setBorderBottomColor( const DOMString &value )
858 if(impl) ((ElementImpl *)impl)->setAttribute("borderBottomColor", value);
861 DOMString CSS2Properties::borderLeftColor() const
863 if(!impl) return 0;
864 return ((ElementImpl *)impl)->getAttribute("borderLeftColor");
867 void CSS2Properties::setBorderLeftColor( const DOMString &value )
869 if(impl) ((ElementImpl *)impl)->setAttribute("borderLeftColor", value);
872 DOMString CSS2Properties::borderTopStyle() const
874 if(!impl) return 0;
875 return ((ElementImpl *)impl)->getAttribute("borderTopStyle");
878 void CSS2Properties::setBorderTopStyle( const DOMString &value )
880 if(impl) ((ElementImpl *)impl)->setAttribute("borderTopStyle", value);
883 DOMString CSS2Properties::borderRightStyle() const
885 if(!impl) return 0;
886 return ((ElementImpl *)impl)->getAttribute("borderRightStyle");
889 void CSS2Properties::setBorderRightStyle( const DOMString &value )
891 if(impl) ((ElementImpl *)impl)->setAttribute("borderRightStyle", value);
894 DOMString CSS2Properties::borderBottomStyle() const
896 if(!impl) return 0;
897 return ((ElementImpl *)impl)->getAttribute("borderBottomStyle");
900 void CSS2Properties::setBorderBottomStyle( const DOMString &value )
902 if(impl) ((ElementImpl *)impl)->setAttribute("borderBottomStyle", value);
905 DOMString CSS2Properties::borderLeftStyle() const
907 if(!impl) return 0;
908 return ((ElementImpl *)impl)->getAttribute("borderLeftStyle");
911 void CSS2Properties::setBorderLeftStyle( const DOMString &value )
913 if(impl) ((ElementImpl *)impl)->setAttribute("borderLeftStyle", value);
916 DOMString CSS2Properties::borderTopWidth() const
918 if(!impl) return 0;
919 return ((ElementImpl *)impl)->getAttribute("borderTopWidth");
922 void CSS2Properties::setBorderTopWidth( const DOMString &value )
924 if(impl) ((ElementImpl *)impl)->setAttribute("borderTopWidth", value);
927 DOMString CSS2Properties::borderRightWidth() const
929 if(!impl) return 0;
930 return ((ElementImpl *)impl)->getAttribute("borderRightWidth");
933 void CSS2Properties::setBorderRightWidth( const DOMString &value )
935 if(impl) ((ElementImpl *)impl)->setAttribute("borderRightWidth", value);
938 DOMString CSS2Properties::borderBottomWidth() const
940 if(!impl) return 0;
941 return ((ElementImpl *)impl)->getAttribute("borderBottomWidth");
944 void CSS2Properties::setBorderBottomWidth( const DOMString &value )
946 if(impl) ((ElementImpl *)impl)->setAttribute("borderBottomWidth", value);
949 DOMString CSS2Properties::borderLeftWidth() const
951 if(!impl) return 0;
952 return ((ElementImpl *)impl)->getAttribute("borderLeftWidth");
955 void CSS2Properties::setBorderLeftWidth( const DOMString &value )
957 if(impl) ((ElementImpl *)impl)->setAttribute("borderLeftWidth", value);
960 DOMString CSS2Properties::borderWidth() const
962 if(!impl) return 0;
963 return ((ElementImpl *)impl)->getAttribute("borderWidth");
966 void CSS2Properties::setBorderWidth( const DOMString &value )
968 if(impl) ((ElementImpl *)impl)->setAttribute("borderWidth", value);
971 DOMString CSS2Properties::bottom() const
973 if(!impl) return 0;
974 return ((ElementImpl *)impl)->getAttribute("bottom");
977 void CSS2Properties::setBottom( const DOMString &value )
979 if(impl) ((ElementImpl *)impl)->setAttribute("bottom", value);
982 DOMString CSS2Properties::captionSide() const
984 if(!impl) return 0;
985 return ((ElementImpl *)impl)->getAttribute("captionSide");
988 void CSS2Properties::setCaptionSide( const DOMString &value )
990 if(impl) ((ElementImpl *)impl)->setAttribute("captionSide", value);
993 DOMString CSS2Properties::clear() const
995 if(!impl) return 0;
996 return ((ElementImpl *)impl)->getAttribute("clear");
999 void CSS2Properties::setClear( const DOMString &value )
1001 if(impl) ((ElementImpl *)impl)->setAttribute("clear", value);
1004 DOMString CSS2Properties::clip() const
1006 if(!impl) return 0;
1007 return ((ElementImpl *)impl)->getAttribute("clip");
1010 void CSS2Properties::setClip( const DOMString &value )
1012 if(impl) ((ElementImpl *)impl)->setAttribute("clip", value);
1015 DOMString CSS2Properties::color() const
1017 if(!impl) return 0;
1018 return ((ElementImpl *)impl)->getAttribute("color");
1021 void CSS2Properties::setColor( const DOMString &value )
1023 if(impl) ((ElementImpl *)impl)->setAttribute("color", value);
1026 DOMString CSS2Properties::content() const
1028 if(!impl) return 0;
1029 return ((ElementImpl *)impl)->getAttribute("content");
1032 void CSS2Properties::setContent( const DOMString &value )
1034 if(impl) ((ElementImpl *)impl)->setAttribute("content", value);
1037 DOMString CSS2Properties::counterIncrement() const
1039 if(!impl) return 0;
1040 return ((ElementImpl *)impl)->getAttribute("counterIncrement");
1043 void CSS2Properties::setCounterIncrement( const DOMString &value )
1045 if(impl) ((ElementImpl *)impl)->setAttribute("counterIncrement", value);
1048 DOMString CSS2Properties::counterReset() const
1050 if(!impl) return 0;
1051 return ((ElementImpl *)impl)->getAttribute("counterReset");
1054 void CSS2Properties::setCounterReset( const DOMString &value )
1056 if(impl) ((ElementImpl *)impl)->setAttribute("counterReset", value);
1059 DOMString CSS2Properties::cue() const
1061 if(!impl) return 0;
1062 return ((ElementImpl *)impl)->getAttribute("cue");
1065 void CSS2Properties::setCue( const DOMString &value )
1067 if(impl) ((ElementImpl *)impl)->setAttribute("cue", value);
1070 DOMString CSS2Properties::cueAfter() const
1072 if(!impl) return 0;
1073 return ((ElementImpl *)impl)->getAttribute("cueAfter");
1076 void CSS2Properties::setCueAfter( const DOMString &value )
1078 if(impl) ((ElementImpl *)impl)->setAttribute("cueAfter", value);
1081 DOMString CSS2Properties::cueBefore() const
1083 if(!impl) return 0;
1084 return ((ElementImpl *)impl)->getAttribute("cueBefore");
1087 void CSS2Properties::setCueBefore( const DOMString &value )
1089 if(impl) ((ElementImpl *)impl)->setAttribute("cueBefore", value);
1092 DOMString CSS2Properties::cursor() const
1094 if(!impl) return 0;
1095 return ((ElementImpl *)impl)->getAttribute("cursor");
1098 void CSS2Properties::setCursor( const DOMString &value )
1100 if(impl) ((ElementImpl *)impl)->setAttribute("cursor", value);
1103 DOMString CSS2Properties::direction() const
1105 if(!impl) return 0;
1106 return ((ElementImpl *)impl)->getAttribute("direction");
1109 void CSS2Properties::setDirection( const DOMString &value )
1111 if(impl) ((ElementImpl *)impl)->setAttribute("direction", value);
1114 DOMString CSS2Properties::display() const
1116 if(!impl) return 0;
1117 return ((ElementImpl *)impl)->getAttribute("display");
1120 void CSS2Properties::setDisplay( const DOMString &value )
1122 if(impl) ((ElementImpl *)impl)->setAttribute("display", value);
1125 DOMString CSS2Properties::elevation() const
1127 if(!impl) return 0;
1128 return ((ElementImpl *)impl)->getAttribute("elevation");
1131 void CSS2Properties::setElevation( const DOMString &value )
1133 if(impl) ((ElementImpl *)impl)->setAttribute("elevation", value);
1136 DOMString CSS2Properties::emptyCells() const
1138 if(!impl) return 0;
1139 return ((ElementImpl *)impl)->getAttribute("emptyCells");
1142 void CSS2Properties::setEmptyCells( const DOMString &value )
1144 if(impl) ((ElementImpl *)impl)->setAttribute("emptyCells", value);
1147 DOMString CSS2Properties::cssFloat() const
1149 if(!impl) return 0;
1150 return ((ElementImpl *)impl)->getAttribute("cssFloat");
1153 void CSS2Properties::setCssFloat( const DOMString &value )
1155 if(impl) ((ElementImpl *)impl)->setAttribute("cssFloat", value);
1158 DOMString CSS2Properties::font() const
1160 if(!impl) return 0;
1161 return ((ElementImpl *)impl)->getAttribute("font");
1164 void CSS2Properties::setFont( const DOMString &value )
1166 if(impl) ((ElementImpl *)impl)->setAttribute("font", value);
1169 DOMString CSS2Properties::fontFamily() const
1171 if(!impl) return 0;
1172 return ((ElementImpl *)impl)->getAttribute("fontFamily");
1175 void CSS2Properties::setFontFamily( const DOMString &value )
1177 if(impl) ((ElementImpl *)impl)->setAttribute("fontFamily", value);
1180 DOMString CSS2Properties::fontSize() const
1182 if(!impl) return 0;
1183 return ((ElementImpl *)impl)->getAttribute("fontSize");
1186 void CSS2Properties::setFontSize( const DOMString &value )
1188 if(impl) ((ElementImpl *)impl)->setAttribute("fontSize", value);
1191 DOMString CSS2Properties::fontSizeAdjust() const
1193 if(!impl) return 0;
1194 return ((ElementImpl *)impl)->getAttribute("fontSizeAdjust");
1197 void CSS2Properties::setFontSizeAdjust( const DOMString &value )
1199 if(impl) ((ElementImpl *)impl)->setAttribute("fontSizeAdjust", value);
1202 DOMString CSS2Properties::fontStretch() const
1204 if(!impl) return 0;
1205 return ((ElementImpl *)impl)->getAttribute("fontStretch");
1208 void CSS2Properties::setFontStretch( const DOMString &value )
1210 if(impl) ((ElementImpl *)impl)->setAttribute("fontStretch", value);
1213 DOMString CSS2Properties::fontStyle() const
1215 if(!impl) return 0;
1216 return ((ElementImpl *)impl)->getAttribute("fontStyle");
1219 void CSS2Properties::setFontStyle( const DOMString &value )
1221 if(impl) ((ElementImpl *)impl)->setAttribute("fontStyle", value);
1224 DOMString CSS2Properties::fontVariant() const
1226 if(!impl) return 0;
1227 return ((ElementImpl *)impl)->getAttribute("fontVariant");
1230 void CSS2Properties::setFontVariant( const DOMString &value )
1232 if(impl) ((ElementImpl *)impl)->setAttribute("fontVariant", value);
1235 DOMString CSS2Properties::fontWeight() const
1237 if(!impl) return 0;
1238 return ((ElementImpl *)impl)->getAttribute("fontWeight");
1241 void CSS2Properties::setFontWeight( const DOMString &value )
1243 if(impl) ((ElementImpl *)impl)->setAttribute("fontWeight", value);
1246 DOMString CSS2Properties::height() const
1248 if(!impl) return 0;
1249 return ((ElementImpl *)impl)->getAttribute("height");
1252 void CSS2Properties::setHeight( const DOMString &value )
1254 if(impl) ((ElementImpl *)impl)->setAttribute("height", value);
1257 DOMString CSS2Properties::left() const
1259 if(!impl) return 0;
1260 return ((ElementImpl *)impl)->getAttribute("left");
1263 void CSS2Properties::setLeft( const DOMString &value )
1265 if(impl) ((ElementImpl *)impl)->setAttribute("left", value);
1268 DOMString CSS2Properties::letterSpacing() const
1270 if(!impl) return 0;
1271 return ((ElementImpl *)impl)->getAttribute("letterSpacing");
1274 void CSS2Properties::setLetterSpacing( const DOMString &value )
1276 if(impl) ((ElementImpl *)impl)->setAttribute("letterSpacing", value);
1279 DOMString CSS2Properties::lineHeight() const
1281 if(!impl) return 0;
1282 return ((ElementImpl *)impl)->getAttribute("lineHeight");
1285 void CSS2Properties::setLineHeight( const DOMString &value )
1287 if(impl) ((ElementImpl *)impl)->setAttribute("lineHeight", value);
1290 DOMString CSS2Properties::listStyle() const
1292 if(!impl) return 0;
1293 return ((ElementImpl *)impl)->getAttribute("listStyle");
1296 void CSS2Properties::setListStyle( const DOMString &value )
1298 if(impl) ((ElementImpl *)impl)->setAttribute("listStyle", value);
1301 DOMString CSS2Properties::listStyleImage() const
1303 if(!impl) return 0;
1304 return ((ElementImpl *)impl)->getAttribute("listStyleImage");
1307 void CSS2Properties::setListStyleImage( const DOMString &value )
1309 if(impl) ((ElementImpl *)impl)->setAttribute("listStyleImage", value);
1312 DOMString CSS2Properties::listStylePosition() const
1314 if(!impl) return 0;
1315 return ((ElementImpl *)impl)->getAttribute("listStylePosition");
1318 void CSS2Properties::setListStylePosition( const DOMString &value )
1320 if(impl) ((ElementImpl *)impl)->setAttribute("listStylePosition", value);
1323 DOMString CSS2Properties::listStyleType() const
1325 if(!impl) return 0;
1326 return ((ElementImpl *)impl)->getAttribute("listStyleType");
1329 void CSS2Properties::setListStyleType( const DOMString &value )
1331 if(impl) ((ElementImpl *)impl)->setAttribute("listStyleType", value);
1334 DOMString CSS2Properties::margin() const
1336 if(!impl) return 0;
1337 return ((ElementImpl *)impl)->getAttribute("margin");
1340 void CSS2Properties::setMargin( const DOMString &value )
1342 if(impl) ((ElementImpl *)impl)->setAttribute("margin", value);
1345 DOMString CSS2Properties::marginTop() const
1347 if(!impl) return 0;
1348 return ((ElementImpl *)impl)->getAttribute("marginTop");
1351 void CSS2Properties::setMarginTop( const DOMString &value )
1353 if(impl) ((ElementImpl *)impl)->setAttribute("marginTop", value);
1356 DOMString CSS2Properties::marginRight() const
1358 if(!impl) return 0;
1359 return ((ElementImpl *)impl)->getAttribute("marginRight");
1362 void CSS2Properties::setMarginRight( const DOMString &value )
1364 if(impl) ((ElementImpl *)impl)->setAttribute("marginRight", value);
1367 DOMString CSS2Properties::marginBottom() const
1369 if(!impl) return 0;
1370 return ((ElementImpl *)impl)->getAttribute("marginBottom");
1373 void CSS2Properties::setMarginBottom( const DOMString &value )
1375 if(impl) ((ElementImpl *)impl)->setAttribute("marginBottom", value);
1378 DOMString CSS2Properties::marginLeft() const
1380 if(!impl) return 0;
1381 return ((ElementImpl *)impl)->getAttribute("marginLeft");
1384 void CSS2Properties::setMarginLeft( const DOMString &value )
1386 if(impl) ((ElementImpl *)impl)->setAttribute("marginLeft", value);
1389 DOMString CSS2Properties::markerOffset() const
1391 if(!impl) return 0;
1392 return ((ElementImpl *)impl)->getAttribute("markerOffset");
1395 void CSS2Properties::setMarkerOffset( const DOMString &value )
1397 if(impl) ((ElementImpl *)impl)->setAttribute("markerOffset", value);
1400 DOMString CSS2Properties::marks() const
1402 if(!impl) return 0;
1403 return ((ElementImpl *)impl)->getAttribute("marks");
1406 void CSS2Properties::setMarks( const DOMString &value )
1408 if(impl) ((ElementImpl *)impl)->setAttribute("marks", value);
1411 DOMString CSS2Properties::maxHeight() const
1413 if(!impl) return 0;
1414 return ((ElementImpl *)impl)->getAttribute("maxHeight");
1417 void CSS2Properties::setMaxHeight( const DOMString &value )
1419 if(impl) ((ElementImpl *)impl)->setAttribute("maxHeight", value);
1422 DOMString CSS2Properties::maxWidth() const
1424 if(!impl) return 0;
1425 return ((ElementImpl *)impl)->getAttribute("maxWidth");
1428 void CSS2Properties::setMaxWidth( const DOMString &value )
1430 if(impl) ((ElementImpl *)impl)->setAttribute("maxWidth", value);
1433 DOMString CSS2Properties::minHeight() const
1435 if(!impl) return 0;
1436 return ((ElementImpl *)impl)->getAttribute("minHeight");
1439 void CSS2Properties::setMinHeight( const DOMString &value )
1441 if(impl) ((ElementImpl *)impl)->setAttribute("minHeight", value);
1444 DOMString CSS2Properties::minWidth() const
1446 if(!impl) return 0;
1447 return ((ElementImpl *)impl)->getAttribute("minWidth");
1450 void CSS2Properties::setMinWidth( const DOMString &value )
1452 if(impl) ((ElementImpl *)impl)->setAttribute("minWidth", value);
1455 DOMString CSS2Properties::orphans() const
1457 if(!impl) return 0;
1458 return ((ElementImpl *)impl)->getAttribute("orphans");
1461 void CSS2Properties::setOrphans( const DOMString &value )
1463 if(impl) ((ElementImpl *)impl)->setAttribute("orphans", value);
1466 DOMString CSS2Properties::outline() const
1468 if(!impl) return 0;
1469 return ((ElementImpl *)impl)->getAttribute("outline");
1472 void CSS2Properties::setOutline( const DOMString &value )
1474 if(impl) ((ElementImpl *)impl)->setAttribute("outline", value);
1477 DOMString CSS2Properties::outlineColor() const
1479 if(!impl) return 0;
1480 return ((ElementImpl *)impl)->getAttribute("outlineColor");
1483 void CSS2Properties::setOutlineColor( const DOMString &value )
1485 if(impl) ((ElementImpl *)impl)->setAttribute("outlineColor", value);
1488 DOMString CSS2Properties::outlineStyle() const
1490 if(!impl) return 0;
1491 return ((ElementImpl *)impl)->getAttribute("outlineStyle");
1494 void CSS2Properties::setOutlineStyle( const DOMString &value )
1496 if(impl) ((ElementImpl *)impl)->setAttribute("outlineStyle", value);
1499 DOMString CSS2Properties::outlineWidth() const
1501 if(!impl) return 0;
1502 return ((ElementImpl *)impl)->getAttribute("outlineWidth");
1505 void CSS2Properties::setOutlineWidth( const DOMString &value )
1507 if(impl) ((ElementImpl *)impl)->setAttribute("outlineWidth", value);
1510 DOMString CSS2Properties::overflow() const
1512 if(!impl) return 0;
1513 return ((ElementImpl *)impl)->getAttribute("overflow");
1516 void CSS2Properties::setOverflow( const DOMString &value )
1518 if(impl) ((ElementImpl *)impl)->setAttribute("overflow", value);
1521 DOMString CSS2Properties::padding() const
1523 if(!impl) return 0;
1524 return ((ElementImpl *)impl)->getAttribute("padding");
1527 void CSS2Properties::setPadding( const DOMString &value )
1529 if(impl) ((ElementImpl *)impl)->setAttribute("padding", value);
1532 DOMString CSS2Properties::paddingTop() const
1534 if(!impl) return 0;
1535 return ((ElementImpl *)impl)->getAttribute("paddingTop");
1538 void CSS2Properties::setPaddingTop( const DOMString &value )
1540 if(impl) ((ElementImpl *)impl)->setAttribute("paddingTop", value);
1543 DOMString CSS2Properties::paddingRight() const
1545 if(!impl) return 0;
1546 return ((ElementImpl *)impl)->getAttribute("paddingRight");
1549 void CSS2Properties::setPaddingRight( const DOMString &value )
1551 if(impl) ((ElementImpl *)impl)->setAttribute("paddingRight", value);
1554 DOMString CSS2Properties::paddingBottom() const
1556 if(!impl) return 0;
1557 return ((ElementImpl *)impl)->getAttribute("paddingBottom");
1560 void CSS2Properties::setPaddingBottom( const DOMString &value )
1562 if(impl) ((ElementImpl *)impl)->setAttribute("paddingBottom", value);
1565 DOMString CSS2Properties::paddingLeft() const
1567 if(!impl) return 0;
1568 return ((ElementImpl *)impl)->getAttribute("paddingLeft");
1571 void CSS2Properties::setPaddingLeft( const DOMString &value )
1573 if(impl) ((ElementImpl *)impl)->setAttribute("paddingLeft", value);
1576 DOMString CSS2Properties::page() const
1578 if(!impl) return 0;
1579 return ((ElementImpl *)impl)->getAttribute("page");
1582 void CSS2Properties::setPage( const DOMString &value )
1584 if(impl) ((ElementImpl *)impl)->setAttribute("page", value);
1587 DOMString CSS2Properties::pageBreakAfter() const
1589 if(!impl) return 0;
1590 return ((ElementImpl *)impl)->getAttribute("pageBreakAfter");
1593 void CSS2Properties::setPageBreakAfter( const DOMString &value )
1595 if(impl) ((ElementImpl *)impl)->setAttribute("pageBreakAfter", value);
1598 DOMString CSS2Properties::pageBreakBefore() const
1600 if(!impl) return 0;
1601 return ((ElementImpl *)impl)->getAttribute("pageBreakBefore");
1604 void CSS2Properties::setPageBreakBefore( const DOMString &value )
1606 if(impl) ((ElementImpl *)impl)->setAttribute("pageBreakBefore", value);
1609 DOMString CSS2Properties::pageBreakInside() const
1611 if(!impl) return 0;
1612 return ((ElementImpl *)impl)->getAttribute("pageBreakInside");
1615 void CSS2Properties::setPageBreakInside( const DOMString &value )
1617 if(impl) ((ElementImpl *)impl)->setAttribute("pageBreakInside", value);
1620 DOMString CSS2Properties::pause() const
1622 if(!impl) return 0;
1623 return ((ElementImpl *)impl)->getAttribute("pause");
1626 void CSS2Properties::setPause( const DOMString &value )
1628 if(impl) ((ElementImpl *)impl)->setAttribute("pause", value);
1631 DOMString CSS2Properties::pauseAfter() const
1633 if(!impl) return 0;
1634 return ((ElementImpl *)impl)->getAttribute("pauseAfter");
1637 void CSS2Properties::setPauseAfter( const DOMString &value )
1639 if(impl) ((ElementImpl *)impl)->setAttribute("pauseAfter", value);
1642 DOMString CSS2Properties::pauseBefore() const
1644 if(!impl) return 0;
1645 return ((ElementImpl *)impl)->getAttribute("pauseBefore");
1648 void CSS2Properties::setPauseBefore( const DOMString &value )
1650 if(impl) ((ElementImpl *)impl)->setAttribute("pauseBefore", value);
1653 DOMString CSS2Properties::pitch() const
1655 if(!impl) return 0;
1656 return ((ElementImpl *)impl)->getAttribute("pitch");
1659 void CSS2Properties::setPitch( const DOMString &value )
1661 if(impl) ((ElementImpl *)impl)->setAttribute("pitch", value);
1664 DOMString CSS2Properties::pitchRange() const
1666 if(!impl) return 0;
1667 return ((ElementImpl *)impl)->getAttribute("pitchRange");
1670 void CSS2Properties::setPitchRange( const DOMString &value )
1672 if(impl) ((ElementImpl *)impl)->setAttribute("pitchRange", value);
1675 DOMString CSS2Properties::playDuring() const
1677 if(!impl) return 0;
1678 return ((ElementImpl *)impl)->getAttribute("playDuring");
1681 void CSS2Properties::setPlayDuring( const DOMString &value )
1683 if(impl) ((ElementImpl *)impl)->setAttribute("playDuring", value);
1686 DOMString CSS2Properties::position() const
1688 if(!impl) return 0;
1689 return ((ElementImpl *)impl)->getAttribute("position");
1692 void CSS2Properties::setPosition( const DOMString &value )
1694 if(impl) ((ElementImpl *)impl)->setAttribute("position", value);
1697 DOMString CSS2Properties::quotes() const
1699 if(!impl) return 0;
1700 return ((ElementImpl *)impl)->getAttribute("quotes");
1703 void CSS2Properties::setQuotes( const DOMString &value )
1705 if(impl) ((ElementImpl *)impl)->setAttribute("quotes", value);
1708 DOMString CSS2Properties::richness() const
1710 if(!impl) return 0;
1711 return ((ElementImpl *)impl)->getAttribute("richness");
1714 void CSS2Properties::setRichness( const DOMString &value )
1716 if(impl) ((ElementImpl *)impl)->setAttribute("richness", value);
1719 DOMString CSS2Properties::right() const
1721 if(!impl) return 0;
1722 return ((ElementImpl *)impl)->getAttribute("right");
1725 void CSS2Properties::setRight( const DOMString &value )
1727 if(impl) ((ElementImpl *)impl)->setAttribute("right", value);
1730 DOMString CSS2Properties::size() const
1732 if(!impl) return 0;
1733 return ((ElementImpl *)impl)->getAttribute("size");
1736 void CSS2Properties::setSize( const DOMString &value )
1738 if(impl) ((ElementImpl *)impl)->setAttribute("size", value);
1741 DOMString CSS2Properties::speak() const
1743 if(!impl) return 0;
1744 return ((ElementImpl *)impl)->getAttribute("speak");
1747 void CSS2Properties::setSpeak( const DOMString &value )
1749 if(impl) ((ElementImpl *)impl)->setAttribute("speak", value);
1752 DOMString CSS2Properties::speakHeader() const
1754 if(!impl) return 0;
1755 return ((ElementImpl *)impl)->getAttribute("speakHeader");
1758 void CSS2Properties::setSpeakHeader( const DOMString &value )
1760 if(impl) ((ElementImpl *)impl)->setAttribute("speakHeader", value);
1763 DOMString CSS2Properties::speakNumeral() const
1765 if(!impl) return 0;
1766 return ((ElementImpl *)impl)->getAttribute("speakNumeral");
1769 void CSS2Properties::setSpeakNumeral( const DOMString &value )
1771 if(impl) ((ElementImpl *)impl)->setAttribute("speakNumeral", value);
1774 DOMString CSS2Properties::speakPunctuation() const
1776 if(!impl) return 0;
1777 return ((ElementImpl *)impl)->getAttribute("speakPunctuation");
1780 void CSS2Properties::setSpeakPunctuation( const DOMString &value )
1782 if(impl) ((ElementImpl *)impl)->setAttribute("speakPunctuation", value);
1785 DOMString CSS2Properties::speechRate() const
1787 if(!impl) return 0;
1788 return ((ElementImpl *)impl)->getAttribute("speechRate");
1791 void CSS2Properties::setSpeechRate( const DOMString &value )
1793 if(impl) ((ElementImpl *)impl)->setAttribute("speechRate", value);
1796 DOMString CSS2Properties::stress() const
1798 if(!impl) return 0;
1799 return ((ElementImpl *)impl)->getAttribute("stress");
1802 void CSS2Properties::setStress( const DOMString &value )
1804 if(impl) ((ElementImpl *)impl)->setAttribute("stress", value);
1807 DOMString CSS2Properties::tableLayout() const
1809 if(!impl) return 0;
1810 return ((ElementImpl *)impl)->getAttribute("tableLayout");
1813 void CSS2Properties::setTableLayout( const DOMString &value )
1815 if(impl) ((ElementImpl *)impl)->setAttribute("tableLayout", value);
1818 DOMString CSS2Properties::textAlign() const
1820 if(!impl) return 0;
1821 return ((ElementImpl *)impl)->getAttribute("textAlign");
1824 void CSS2Properties::setTextAlign( const DOMString &value )
1826 if(impl) ((ElementImpl *)impl)->setAttribute("textAlign", value);
1829 DOMString CSS2Properties::textDecoration() const
1831 if(!impl) return 0;
1832 return ((ElementImpl *)impl)->getAttribute("textDecoration");
1835 void CSS2Properties::setTextDecoration( const DOMString &value )
1837 if(impl) ((ElementImpl *)impl)->setAttribute("textDecoration", value);
1840 DOMString CSS2Properties::textIndent() const
1842 if(!impl) return 0;
1843 return ((ElementImpl *)impl)->getAttribute("textIndent");
1846 void CSS2Properties::setTextIndent( const DOMString &value )
1848 if(impl) ((ElementImpl *)impl)->setAttribute("textIndent", value);
1851 DOMString CSS2Properties::textShadow() const
1853 if(!impl) return 0;
1854 return ((ElementImpl *)impl)->getAttribute("textShadow");
1857 void CSS2Properties::setTextShadow( const DOMString &value )
1859 if(impl) ((ElementImpl *)impl)->setAttribute("textShadow", value);
1862 DOMString CSS2Properties::textTransform() const
1864 if(!impl) return 0;
1865 return ((ElementImpl *)impl)->getAttribute("textTransform");
1868 void CSS2Properties::setTextTransform( const DOMString &value )
1870 if(impl) ((ElementImpl *)impl)->setAttribute("textTransform", value);
1873 DOMString CSS2Properties::top() const
1875 if(!impl) return 0;
1876 return ((ElementImpl *)impl)->getAttribute("top");
1879 void CSS2Properties::setTop( const DOMString &value )
1881 if(impl) ((ElementImpl *)impl)->setAttribute("top", value);
1884 DOMString CSS2Properties::unicodeBidi() const
1886 if(!impl) return 0;
1887 return ((ElementImpl *)impl)->getAttribute("unicodeBidi");
1890 void CSS2Properties::setUnicodeBidi( const DOMString &value )
1892 if(impl) ((ElementImpl *)impl)->setAttribute("unicodeBidi", value);
1895 DOMString CSS2Properties::verticalAlign() const
1897 if(!impl) return 0;
1898 return ((ElementImpl *)impl)->getAttribute("verticalAlign");
1901 void CSS2Properties::setVerticalAlign( const DOMString &value )
1903 if(impl) ((ElementImpl *)impl)->setAttribute("verticalAlign", value);
1906 DOMString CSS2Properties::visibility() const
1908 if(!impl) return 0;
1909 return ((ElementImpl *)impl)->getAttribute("visibility");
1912 void CSS2Properties::setVisibility( const DOMString &value )
1914 if(impl) ((ElementImpl *)impl)->setAttribute("visibility", value);
1917 DOMString CSS2Properties::voiceFamily() const
1919 if(!impl) return 0;
1920 return ((ElementImpl *)impl)->getAttribute("voiceFamily");
1923 void CSS2Properties::setVoiceFamily( const DOMString &value )
1925 if(impl) ((ElementImpl *)impl)->setAttribute("voiceFamily", value);
1928 DOMString CSS2Properties::volume() const
1930 if(!impl) return 0;
1931 return ((ElementImpl *)impl)->getAttribute("volume");
1934 void CSS2Properties::setVolume( const DOMString &value )
1936 if(impl) ((ElementImpl *)impl)->setAttribute("volume", value);
1939 DOMString CSS2Properties::whiteSpace() const
1941 if(!impl) return 0;
1942 return ((ElementImpl *)impl)->getAttribute("whiteSpace");
1945 void CSS2Properties::setWhiteSpace( const DOMString &value )
1947 if(impl) ((ElementImpl *)impl)->setAttribute("whiteSpace", value);
1950 DOMString CSS2Properties::widows() const
1952 if(!impl) return 0;
1953 return ((ElementImpl *)impl)->getAttribute("widows");
1956 void CSS2Properties::setWidows( const DOMString &value )
1958 if(impl) ((ElementImpl *)impl)->setAttribute("widows", value);
1961 DOMString CSS2Properties::width() const
1963 if(!impl) return 0;
1964 return ((ElementImpl *)impl)->getAttribute("width");
1967 void CSS2Properties::setWidth( const DOMString &value )
1969 if(impl) ((ElementImpl *)impl)->setAttribute("width", value);
1972 DOMString CSS2Properties::wordSpacing() const
1974 if(!impl) return 0;
1975 return ((ElementImpl *)impl)->getAttribute("wordSpacing");
1978 void CSS2Properties::setWordSpacing( const DOMString &value )
1980 if(impl) ((ElementImpl *)impl)->setAttribute("wordSpacing", value);
1983 DOMString CSS2Properties::zIndex() const
1985 if(!impl) return 0;
1986 return ((ElementImpl *)impl)->getAttribute("zIndex");
1989 void CSS2Properties::setZIndex( const DOMString &value )
1991 if(impl) ((ElementImpl *)impl)->setAttribute("zIndex", value);
1996 CSS2TextShadow::CSS2TextShadow()
2000 CSS2TextShadow::CSS2TextShadow(const CSS2TextShadow &other)
2004 CSS2TextShadow::CSS2TextShadow(CSS2TextShadowImpl *impl)
2008 CSS2TextShadow &CSS2TextShadow::operator = (const CSS2TextShadow &other)
2010 ::operator = (other);
2011 return *this;
2014 CSS2TextShadow::~CSS2TextShadow()
2018 CSSValue CSS2TextShadow::color() const
2020 if(!impl) return 0;
2021 return ((CSS2TextShadowImpl *)impl)->color();
2024 CSSValue CSS2TextShadow::horizontal() const
2026 if(!impl) return 0;
2027 return ((CSS2TextShadowImpl *)impl)->horizontal();
2030 CSSValue CSS2TextShadow::vertical() const
2032 if(!impl) return 0;
2033 return ((CSS2TextShadowImpl *)impl)->vertical();
2036 CSSValue CSS2TextShadow::blur() const
2038 if(!impl) return 0;
2039 return ((CSS2TextShadowImpl *)impl)->blur();