KHtml

css_extensions.h
1 /*
2  * This file is part of the DOM implementation for KDE.
3  *
4  * Copyright 1999 Lars Knoll ([email protected])
5  *
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.
10  *
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.
15  *
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.
20  *
21  * This file includes excerpts from the Document Object Model (DOM)
22  * Level 2 Specification (Candidate Recommendation)
23  * https://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/
24  * Copyright © 2000 W3C® (MIT, INRIA, Keio), All Rights Reserved.
25  *
26  */
27 #ifndef _CSS_css_extensions_h_
28 #define _CSS_css_extensions_h_
29 
30 #include <css_value.h>
31 #include <dom/dom_string.h>
32 
33 namespace DOM
34 {
35 
36 /**
37  * The \c CSS2Azimuth interface represents the <a
38  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-azimuth">
39  * azimuth </a> CSS Level 2 property.
40  *
41  */
42 class CSS2Azimuth : public CSSValue
43 {
44 public:
45  CSS2Azimuth();
46  CSS2Azimuth(const CSS2Azimuth &other);
47  CSS2Azimuth(CSS2AzimuthImpl *impl);
48 public:
49 
50  CSS2Azimuth &operator = (const CSS2Azimuth &other);
51 
52  ~CSS2Azimuth();
53 
54  /**
55  * A code defining the type of the value as defined in
56  * \c CSSValue . It would be one of \c CSS_DEG ,
57  * \c CSS_RAD , \c CSS_GRAD or
58  * \c CSS_IDENT .
59  *
60  */
61  unsigned short azimuthType() const;
62 
63  /**
64  * If \c azimuthType is \c CSS_IDENT ,
65  * \c identifier contains one of left-side, far-left,
66  * left, center-left, center, center-right, right, far-right,
67  * right-side, leftwards, rightwards. The empty string if none is
68  * set.
69  *
70  */
71  DOM::DOMString identifier() const;
72 
73  /**
74  * \c behind indicates whether the behind identifier
75  * has been set.
76  *
77  */
78  bool behind() const;
79 
80  /**
81  * A method to set the angle value with a specified unit. This
82  * method will unset any previously set identifiers values.
83  *
84  * @param unitType The unitType could only be one of
85  * \c CSS_DEG , \c CSS_RAD or \c CSS_GRAD ).
86  *
87  * @param floatValue The new float value of the angle.
88  *
89  * @return
90  * @exception DOMException
91  * INVALID_ACCESS_ERR: Raised if the unit type is invalid.
92  *
93  * NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
94  * readonly.
95  *
96  */
97  void setAngleValue(const unsigned short unitType, const float floatValue);
98 
99  /**
100  * Used to retrieved the float value of the azimuth property.
101  *
102  * @param unitType The unit type can be only an angle unit type (
103  * \c CSS_DEG , \c CSS_RAD or
104  * \c CSS_GRAD ).
105  *
106  * @return The float value.
107  *
108  * @exception DOMException
109  * INVALID_ACCESS_ERR: Raised if the unit type is invalid.
110  *
111  */
112  float getAngleValue(const unsigned short unitType);
113 
114  /**
115  * Setting the identifier for the azimuth property will unset any
116  * previously set angle value. The value of \c azimuthType
117  * is set to \c CSS_IDENT
118  *
119  * @param identifier The new identifier. If the identifier is
120  * "leftwards" or "rightward", the behind attribute is ignored.
121  *
122  * @param behind The new value for behind.
123  *
124  * @return
125  * @exception DOMException
126  * SYNTAX_ERR: Raised if the specified \c identifier
127  * has a syntax error and is unparsable.
128  *
129  * NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
130  * readonly.
131  *
132  */
133  void setIdentifier(const DOM::DOMString &identifier, const bool behind);
134 };
135 
136 class CSS2BackgroundPositionImpl;
137 
138 /**
139  * The \c CSS2BackgroundPosition interface represents the
140  * <a
141  * href="https://www.w3.org/TR/CSS2/colors.html#propdef-background-position">
142  * background-position </a> CSS Level 2 property.
143  *
144  */
146 {
147 public:
150  CSS2BackgroundPosition(CSS2BackgroundPositionImpl *impl);
151 public:
152 
153  CSS2BackgroundPosition &operator = (const CSS2BackgroundPosition &other);
154 
156 
157  /**
158  * A code defining the type of the horizontal value. It would be
159  * one \c CSS_PERCENTAGE , \c CSS_EMS ,
160  * \c CSS_EXS , \c CSS_PX , \c CSS_CM ,
161  * \c CSS_MM , \c CSS_IN ,
162  * \c CSS_PT , \c CSS_PC ,
163  * \c CSS_IDENT , \c CSS_INHERIT . If one of
164  * horizontal or vertical is \c CSS_IDENT or
165  * \c CSS_INHERIT , it's guaranteed that the other is the
166  * same.
167  *
168  */
169  unsigned short horizontalType() const;
170 
171  /**
172  * A code defining the type of the horizontal value. The code can
173  * be one of the following units : \c CSS_PERCENTAGE ,
174  * \c CSS_EMS , \c CSS_EXS , \c CSS_PX
175  * , \c CSS_CM , \c CSS_MM ,
176  * \c CSS_IN , \c CSS_PT , \c CSS_PC
177  * , \c CSS_IDENT , \c CSS_INHERIT
178  * . If one of horizontal or vertical is \c CSS_IDENT
179  * or \c CSS_INHERIT , it's guaranteed that the other
180  * is the same.
181  *
182  */
183  unsigned short verticalType() const;
184 
185  /**
186  * If \c horizontalType is \c CSS_IDENT or
187  * \c CSS_INHERIT , this attribute contains the string
188  * representation of the ident, otherwise it contains an empty
189  * string.
190  *
191  */
192  DOM::DOMString horizontalIdentifier() const;
193 
194  /**
195  * If \c verticalType is \c CSS_IDENT or
196  * \c CSS_INHERIT , this attribute contains the string
197  * representation of the ident, otherwise it contains an empty
198  * string. The value is \c "center" if only the
199  * horizontalIdentifier has been set. The value is
200  * \c "inherit" if the horizontalIdentifier is
201  * \c "inherit" .
202  *
203  */
204  DOM::DOMString verticalIdentifier() const;
205 
206  /**
207  * This method is used to get the float value in a specified unit
208  * if the \c horizontalPosition represents a length or
209  * a percentage. If the float doesn't contain a float value or
210  * can't be converted into the specified unit, a
211  * \c DOMException is raised.
212  *
213  * @param horizontalType The specified unit.
214  *
215  * @return The float value.
216  *
217  * @exception DOMException
218  * INVALID_ACCESS_ERR: Raises if the property doesn't contain a
219  * float or the value can't be converted.
220  *
221  */
222  float getHorizontalPosition(const float horizontalType);
223 
224  /**
225  * This method is used to get the float value in a specified unit
226  * if the \c verticalPosition represents a length or a
227  * percentage. If the float doesn't contain a float value or can't
228  * be converted into the specified unit, a \c DOMException
229  * is raised. The value is \c 50% if only the
230  * horizontal value has been specified.
231  *
232  * @param verticalType The specified unit.
233  *
234  * @return The float value.
235  *
236  * @exception DOMException
237  * INVALID_ACCESS_ERR: Raises if the property doesn't contain a
238  * float or the value can't be converted.
239  *
240  */
241  float getVerticalPosition(const float verticalType);
242 
243  /**
244  * This method is used to set the horizontal position with a
245  * specified unit. If the vertical value is not a percentage or a
246  * length, it sets the vertical position to \c 50% .
247  *
248  * @param horizontalType The specified unit (a length or a
249  * percentage).
250  *
251  * @param value The new value.
252  *
253  * @return
254  * @exception DOMException
255  * INVALID_ACCESS_ERR: Raises if the specified unit is not a
256  * length or a percentage.
257  *
258  * NO_MODIFICATION_ALLOWED_ERR: Raises if this property is
259  * readonly.
260  *
261  */
262  void setHorizontalPosition(const unsigned short horizontalType, const float value);
263 
264  /**
265  * This method is used to set the vertical position with a
266  * specified unit. If the horizontal value is not a percentage or
267  * a length, it sets the vertical position to \c 50% .
268  *
269  * @param verticalType The specified unit (a length or a
270  * percentage).
271  *
272  * @param value The new value.
273  *
274  * @return
275  * @exception DOMException
276  * INVALID_ACCESS_ERR: Raises if the specified unit is not a
277  * length or a percentage.
278  *
279  * NO_MODIFICATION_ALLOWED_ERR: Raises if this property is
280  * readonly.
281  *
282  */
283  void setVerticalPosition(const unsigned short verticalType, const float value);
284 
285  /**
286  * Sets the identifiers. If the second identifier is the empty
287  * string, the vertical identifier is set to his default value (
288  * \c "center" ). If the first identfier is
289  * \c "inherit , the second identifier is ignored and is set
290  * to \c "inherit" .
291  *
292  * @param horizontalIdentifier The new horizontal identifier.
293  *
294  * @param verticalIdentifier The new vertical identifier.
295  *
296  * @return
297  * @exception DOMException
298  * SYNTAX_ERR: Raises if the identifiers have a syntax error and
299  * is unparsable.
300  *
301  * NO_MODIFICATION_ALLOWED_ERR: Raises if this property is
302  * readonly.
303  *
304  */
305  void setPositionIdentifier(const DOM::DOMString &horizontalIdentifier, const DOM::DOMString &verticalIdentifier);
306 };
307 
308 class CSS2BorderSpacingImpl;
309 
310 /**
311  * The \c CSS2BorderSpacing interface represents the <a
312  * href="https://www.w3.org/TR/CSS2/tables.html#propdef-border-spacing">
313  * border-spacing </a> CSS Level 2 property.
314  *
315  */
317 {
318 public:
320  CSS2BorderSpacing(const CSS2BorderSpacing &other);
321  CSS2BorderSpacing(CSS2BorderSpacingImpl *impl);
322 public:
323 
324  CSS2BorderSpacing &operator = (const CSS2BorderSpacing &other);
325 
327 
328  /**
329  * The A code defining the type of the value as defined in
330  * \c CSSValue . It would be one of \c CSS_EMS ,
331  * \c CSS_EXS , \c CSS_PX , \c CSS_CM
332  * , \c CSS_MM , \c CSS_IN ,
333  * \c CSS_PT , \c CSS_PC or
334  * \c CSS_INHERIT .
335  *
336  */
337  unsigned short horizontalType() const;
338 
339  /**
340  * The A code defining the type of the value as defined in
341  * \c CSSValue . It would be one of \c CSS_EMS ,
342  * \c CSS_EXS , \c CSS_PX , \c CSS_CM
343  * , \c CSS_MM , \c CSS_IN ,
344  * \c CSS_PT , \c CSS_PC or
345  * \c CSS_INHERIT .
346  *
347  */
348  unsigned short verticalType() const;
349 
350  /**
351  * This method is used to get the float value in a specified unit
352  * if the \c horizontalSpacing represents a length. If
353  * the float doesn't contain a float value or can't be converted
354  * into the specified unit, a \c DOMException is
355  * raised.
356  *
357  * @param horizontalType The specified unit.
358  *
359  * @return The float value.
360  *
361  * @exception DOMException
362  * INVALID_ACCESS_ERR: Raises if the property doesn't contain a
363  * float or the value can't be converted.
364  *
365  */
366  float getHorizontalSpacing(const float horizontalType);
367 
368  /**
369  * This method is used to get the float value in a specified unit
370  * if the \c verticalSpacing represents a length. If
371  * the float doesn't contain a float value or can't be converted
372  * into the specified unit, a \c DOMException is
373  * raised. The value is \c 0 if only the horizontal
374  * value has been specified.
375  *
376  * @param verticalType The specified unit.
377  *
378  * @return The float value.
379  *
380  * @exception DOMException
381  * INVALID_ACCESS_ERR: Raises if the property doesn't contain a
382  * float or the value can't be converted.
383  *
384  */
385  float getVerticalSpacing(const float verticalType);
386 
387  /**
388  * This method is used to set the horizontal spacing with a
389  * specified unit. If the vertical value is a length, it sets the
390  * vertical spacing to \c 0 .
391  *
392  * @param horizontalType The specified unit.
393  *
394  * @param value The new value.
395  *
396  * @return
397  * @exception DOMException
398  * INVALID_ACCESS_ERR: Raises if the specified unit is not a
399  * length.
400  *
401  * NO_MODIFICATION_ALLOWED_ERR: Raises if this property is
402  * readonly.
403  *
404  */
405  void setHorizontalSpacing(const unsigned short horizontalType, const float value);
406 
407  /**
408  * This method is used to set the vertical spacing with a
409  * specified unit. If the horizontal value is not a length, it
410  * sets the vertical spacing to \c 0 .
411  *
412  * @param verticalType The specified unit.
413  *
414  * @param value The new value.
415  *
416  * @return
417  * @exception DOMException
418  * INVALID_ACCESS_ERR: Raises if the specified unit is not a
419  * length or a percentage.
420  *
421  * NO_MODIFICATION_ALLOWED_ERR: Raises if this property is
422  * readonly.
423  *
424  */
425  void setVerticalSpacing(const unsigned short verticalType, const float value);
426 
427  /**
428  * Set this property as inherit. \c horizontalType and
429  * \c verticalType will be inherited.
430  *
431  * @return
432  */
433  void setInherit();
434 };
435 
436 class CSS2CounterIncrementImpl;
437 
438 /**
439  * The \c CSS2CounterIncrement interface represents a
440  * imple value for the <a
441  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-counter-increment">
442  * counter-increment </a> CSS Level 2 property.
443  *
444  */
446 {
447 public:
450  CSS2CounterIncrement(CSS2CounterIncrementImpl *impl);
451 public:
452 
453  CSS2CounterIncrement &operator = (const CSS2CounterIncrement &other);
454 
456 
457  /**
458  * The element name.
459  *
460  */
461  DOM::DOMString identifier() const;
462 
463  /**
464  * see identifier
465  * @exception DOMException
466  * SYNTAX_ERR: Raised if the specified identifier has a syntax
467  * error and is unparsable.
468  *
469  * NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is
470  * readonly.
471  *
472  */
473  void setIdentifier(const DOM::DOMString &);
474 
475  /**
476  * The increment (default value is 1).
477  *
478  */
479  short increment() const;
480 
481  /**
482  * see increment
483  * @exception DOMException
484  * NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is
485  * readonly.
486  *
487  */
488  void setIncrement(const short);
489 };
490 
491 class CSS2CounterResetImpl;
492 
493 /**
494  * The \c CSS2CounterReset interface represents a simple
495  * value for the <a
496  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-counter-reset">
497  * counter-reset </a> CSS Level 2 property.
498  *
499  */
501 {
502 public:
504  CSS2CounterReset(const CSS2CounterReset &other);
505  CSS2CounterReset(CSS2CounterResetImpl *impl);
506 public:
507 
508  CSS2CounterReset &operator = (const CSS2CounterReset &other);
509 
510  ~CSS2CounterReset();
511 
512  /**
513  * The element name.
514  *
515  */
516  DOM::DOMString identifier() const;
517 
518  /**
519  * see identifier
520  * @exception DOMException
521  * SYNTAX_ERR: Raised if the specified identifier has a syntax
522  * error and is unparsable.
523  *
524  * NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is
525  * readonly.
526  *
527  */
528  void setIdentifier(const DOM::DOMString &);
529 
530  /**
531  * The reset (default value is 0).
532  *
533  */
534  short reset() const;
535 
536  /**
537  * see reset
538  * @exception DOMException
539  * NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is
540  * readonly.
541  *
542  */
543  void setReset(const short);
544 };
545 
546 class CSS2CursorImpl;
547 class CSSValueList;
548 
549 /**
550  * The \c CSS2Cursor interface represents the <a
551  * href="https://www.w3.org/TR/CSS2/ui.html#propdef-cursor"> cursor
552  * </a> CSS Level 2 property.
553  *
554  */
555 class CSS2Cursor : public CSSValue
556 {
557 public:
558  CSS2Cursor();
559  CSS2Cursor(const CSS2Cursor &other);
560  CSS2Cursor(CSS2CursorImpl *impl);
561 public:
562 
563  CSS2Cursor &operator = (const CSS2Cursor &other);
564 
565  ~CSS2Cursor();
566 
567  /**
568  * A code defining the type of the property. It would one of
569  * \c CSS_UNKNOWN or \c CSS_INHERIT . If
570  * the type is \c CSS_UNKNOWN , then \c uris
571  * contains a list of URIs and \c predefinedCursor
572  * contains an ident. Setting this attribute from
573  * \c CSS_INHERIT to \c CSS_UNKNOWN will set the
574  * \c predefinedCursor to \c "auto" .
575  *
576  */
577  unsigned short cursorType() const;
578 
579  /**
580  * see cursorType
581  */
582  void setCursorType(const unsigned short);
583 
584  /**
585  * \c uris represents the list of URIs (
586  * \c CSS_URI ) on the cursor property. The list can be
587  * empty.
588  *
589  */
590  CSSValueList uris() const;
591 
592  /**
593  * This identifier represents a generic cursor name or an empty
594  * string.
595  *
596  */
597  DOM::DOMString predefinedCursor() const;
598 
599  /**
600  * see predefinedCursor
601  * @exception DOMException
602  * SYNTAX_ERR: Raised if the specified CSS string value has a
603  * syntax error and is unparsable.
604  *
605  * NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
606  * readonly.
607  *
608  */
609  void setPredefinedCursor(const DOM::DOMString &);
610 };
611 
612 class CSS2FontFaceSrcImpl;
613 class CSSValueList;
614 
615 /**
616  * The \c CSS2Cursor interface represents the <a
617  * href="https://www.w3.org/TR/CSS2/fonts.html#descdef-src"> src
618  * </a> CSS Level 2 descriptor.
619  *
620  */
622 {
623 public:
624  CSS2FontFaceSrc();
625  CSS2FontFaceSrc(const CSS2FontFaceSrc &other);
626  CSS2FontFaceSrc(CSS2FontFaceSrcImpl *impl);
627 public:
628 
629  CSS2FontFaceSrc &operator = (const CSS2FontFaceSrc &other);
630 
631  ~CSS2FontFaceSrc();
632 
633  /**
634  * Specifies the source of the font, empty string otherwise.
635  *
636  */
637  DOM::DOMString uri() const;
638 
639  /**
640  * see uri
641  * @exception DOMException
642  * SYNTAX_ERR: Raised if the specified CSS string value has a
643  * syntax error and is unparsable.
644  *
645  * NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
646  * readonly.
647  *
648  */
649  void setUri(const DOM::DOMString &);
650 
651  /**
652  * This attribute contains a list of strings for the format CSS
653  * function.
654  *
655  */
656  CSSValueList format() const;
657 
658  /**
659  * Specifies the full font name of a locally installed font.
660  *
661  */
662  DOM::DOMString fontFaceName() const;
663 
664  /**
665  * see fontFaceName
666  * @exception DOMException
667  * SYNTAX_ERR: Raised if the specified CSS string value has a
668  * syntax error and is unparsable.
669  *
670  * NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
671  * readonly.
672  *
673  */
674  void setFontFaceName(const DOM::DOMString &);
675 };
676 
677 class CSS2FontFaceWidthsImpl;
678 class CSSValueList;
679 
680 /**
681  * The \c CSS2Cursor interface represents a simple value
682  * for the <a
683  * href="https://www.w3.org/TR/CSS2/fonts.html#descdef-widths">
684  * widths </a> CSS Level 2 descriptor.
685  *
686  */
688 {
689 public:
692  CSS2FontFaceWidths(CSS2FontFaceWidthsImpl *impl);
693 public:
694 
695  CSS2FontFaceWidths &operator = (const CSS2FontFaceWidths &other);
696 
698 
699  /**
700  * The range for the characters.
701  *
702  */
703  DOM::DOMString urange() const;
704 
705  /**
706  * see urange
707  * @exception DOMException
708  * SYNTAX_ERR: Raised if the specified CSS string value has a
709  * syntax error and is unparsable.
710  *
711  * NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
712  * readonly.
713  *
714  */
715  void setUrange(const DOM::DOMString &);
716 
717  /**
718  * A list of numbers representing the glyph widths.
719  *
720  */
721  CSSValueList numbers() const;
722 };
723 
724 class CSS2PageSizeImpl;
725 
726 /**
727  * The \c CSS2Cursor interface represents the <a
728  * href="https://www.w3.org/TR/CSS2/page.html#propdef-size"> size
729  * </a> CSS Level 2 descriptor.
730  *
731  */
732 class CSS2PageSize : public CSSValue
733 {
734 public:
735  CSS2PageSize();
736  CSS2PageSize(const CSS2PageSize &other);
737  CSS2PageSize(CSS2PageSizeImpl *impl);
738 public:
739 
740  CSS2PageSize &operator = (const CSS2PageSize &other);
741 
742  ~CSS2PageSize();
743 
744  /**
745  * A code defining the type of the width of the page. It would be
746  * one of \c CSS_EMS , \c CSS_EXS ,
747  * \c CSS_PX , \c CSS_CM , \c CSS_MM
748  * , \c CSS_IN , \c CSS_PT , \c CSS_PC
749  * , \c CSS_IDENT , \c CSS_INHERIT
750  * . If one of width or height is \c CSS_IDENT or
751  * \c CSS_INHERIT , it's guaranteed that the other is
752  * the same.
753  *
754  */
755  unsigned short widthType() const;
756 
757  /**
758  * A code defining the type of the height of the page. It would be
759  * one of \c CSS_EMS , \c CSS_EXS ,
760  * \c CSS_PX , \c CSS_CM , \c CSS_MM
761  * , \c CSS_IN , \c CSS_PT , \c CSS_PC
762  * , \c CSS_IDENT , \c CSS_INHERIT
763  * . If one of width or height is \c CSS_IDENT or
764  * \c CSS_INHERIT , it's guaranteed that the other is
765  * the same.
766  *
767  */
768  unsigned short heightType() const;
769 
770  /**
771  * If \c width is \c CSS_IDENT or
772  * \c CSS_INHERIT , this attribute contains the string
773  * representation of the ident, otherwise it contains an empty
774  * string.
775  *
776  */
777  DOM::DOMString identifier() const;
778 
779  /**
780  * This method is used to get the float value in a specified unit
781  * if the \c widthType represents a length. If the
782  * float doesn't contain a float value or can't be converted into
783  * the specified unit, a \c DOMException is raised.
784  *
785  * @param widthType The specified unit.
786  *
787  * @return The float value.
788  *
789  * @exception DOMException
790  * INVALID_ACCESS_ERR: Raises if the property doesn't contain a
791  * float or the value can't be converted.
792  *
793  */
794  float getWidth(const float widthType);
795 
796  /**
797  * This method is used to get the float value in a specified unit
798  * if the \c heightType represents a length. If the
799  * float doesn't contain a float value or can't be converted into
800  * the specified unit, a \c DOMException is raised. If
801  * only the width value has been specified, the height value is
802  * the same.
803  *
804  * @param heightType The specified unit.
805  *
806  * @return The float value.
807  *
808  * @exception DOMException
809  * INVALID_ACCESS_ERR: Raises if the property doesn't contain a
810  * float or the value can't be converted.
811  *
812  */
813  float getHeightSize(const float heightType);
814 
815  /**
816  * This method is used to set the width position with a specified
817  * unit. If the \c heightType is not a length, it sets
818  * the height position to the same value.
819  *
820  * @param widthType The specified unit.
821  *
822  * @param value The new value.
823  *
824  * @return
825  * @exception DOMException
826  * INVALID_ACCESS_ERR: Raises if the specified unit is not a
827  * length or a percentage.
828  *
829  * NO_MODIFICATION_ALLOWED_ERR: Raises if this property is
830  * readonly.
831  *
832  */
833  void setWidthSize(const unsigned short widthType, const float value);
834 
835  /**
836  * This method is used to set the height position with a specified
837  * unit. If the \c widthType is not a length, it sets
838  * the width position to the same value.
839  *
840  * @param heightType The specified unit.
841  *
842  * @param value The new value.
843  *
844  * @return
845  * @exception DOMException
846  * INVALID_ACCESS_ERR: Raises if the specified unit is not a
847  * length or a percentage.
848  *
849  * NO_MODIFICATION_ALLOWED_ERR: Raises if this property is
850  * readonly.
851  *
852  */
853  void setHeightSize(const unsigned short heightType, const float value);
854 
855  /**
856  * Sets the identifier.
857  *
858  * @param identifier The new identifier.
859  *
860  * @return
861  * @exception DOMException
862  * SYNTAX_ERR: Raises if the identifier has a syntax error and is
863  * unparsable.
864  *
865  * NO_MODIFICATION_ALLOWED_ERR: Raises if this property is
866  * readonly.
867  *
868  */
869  void setIdentifier(const DOM::DOMString &identifier);
870 };
871 
872 class CSS2PlayDuringImpl;
873 
874 /**
875  * The \c CSS2PlayDuring interface represents the <a
876  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-play-during">
877  * play-during </a> CSS Level 2 property.
878  *
879  */
880 class CSS2PlayDuring : public CSSValue
881 {
882 public:
883  CSS2PlayDuring();
884  CSS2PlayDuring(const CSS2PlayDuring &other);
885  CSS2PlayDuring(CSS2PlayDuringImpl *impl);
886 public:
887 
888  CSS2PlayDuring &operator = (const CSS2PlayDuring &other);
889 
890  ~CSS2PlayDuring();
891 
892  /**
893  * A code defining the type of the value as define in
894  * \c CSSvalue . It would be one of \c CSS_UNKNOWN
895  * , \c CSS_INHERIT , \c CSS_IDENT
896  *
897  */
898  unsigned short playDuringType() const;
899 
900  /**
901  * One of \c "inherit" , \c "auto" ,
902  * \c "none" or the empty string if the
903  * \c playDuringType is \c CSS_UNKNOWN . On
904  * setting, it will set the \c uri to the empty string
905  * and \c mix and \c repeat to
906  * \c false .
907  *
908  */
909  DOM::DOMString playDuringIdentifier() const;
910 
911  /**
912  * see playDuringIdentifier
913  * @exception DOMException
914  * SYNTAX_ERR: Raised if the specified CSS string value has a
915  * syntax error and is unparsable.
916  *
917  * NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
918  * readonly.
919  *
920  */
921  void setPlayDuringIdentifier(const DOM::DOMString &);
922 
923  /**
924  * The sound specified by the \c uri . It will set the
925  * \c playDuringType attribute to \c CSS_UNKNOWN .
926  *
927  */
928  DOM::DOMString uri() const;
929 
930  /**
931  * see uri
932  * @exception DOMException
933  * SYNTAX_ERR: Raised if the specified CSS string value has a
934  * syntax error and is unparsable.
935  *
936  * NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
937  * readonly.
938  *
939  */
940  void setUri(const DOM::DOMString &);
941 
942  /**
943  * \c true if the sound should be mixed. It will be
944  * ignored if the attribute doesn't contain a \c uri .
945  *
946  */
947  bool mix() const;
948 
949  /**
950  * see mix
951  * @exception DOMException
952  * NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
953  * readonly.
954  *
955  */
956  void setMix(const bool);
957 
958  /**
959  * \c true if the sound should be repeated. It will be
960  * ignored if the attribute doesn't contain a \c uri .
961  *
962  */
963  bool repeat() const;
964 
965  /**
966  * see repeat
967  * @exception DOMException
968  * NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
969  * readonly.
970  *
971  */
972  void setRepeat(const bool);
973 };
974 
975 class CSS2PropertiesImpl;
976 
977 /**
978  * The \c CSS2Properties interface represents a
979  * convenience mechanism for retrieving and setting properties within
980  * a \c CSSStyleDeclaration . The attributes of this
981  * interface correspond to all the <a
982  * href="https://www.w3.org/TR/CSS2/propidx.html"> properties
983  * specified in CSS2 </a> . Getting an attribute of this interface is
984  * equivalent to calling the \c getPropertyValue method of
985  * the \c CSSStyleDeclaration interface. Setting an
986  * attribute of this interface is equivalent to calling the
987  * \c setProperty method of the \c CSSStyleDeclaration
988  * interface.
989  *
990  * A compliant implementation is not required to implement the
991  * \c CSS2Properties interface. If an implementation does
992  * implement this interface, the expectation is that language-specific
993  * methods can be used to cast from an instance of the
994  * \c CSSStyleDeclaration interface to the \c CSS2Properties
995  * interface.
996  *
997  * If an implementation does implement this interface, it is expected
998  * to understand the specific syntax of the shorthand properties, and
999  * apply their semantics; when the \c margin property is
1000  * set, for example, the \c marginTop , \c marginRight
1001  * , \c marginBottom and \c marginLeft
1002  * properties are actually being set by the underlying implementation.
1003  *
1004  * When dealing with CSS "shorthand" properties, the shorthand
1005  * properties should be decomposed into their component longhand
1006  * properties as appropriate, and when querying for their value, the
1007  * form returned should be the shortest form exactly equivalent to the
1008  * declarations made in the ruleset. However, if there is no shorthand
1009  * declaration that could be added to the ruleset without changing in
1010  * any way the rules already declared in the ruleset (i.e., by adding
1011  * longhand rules that were previously not declared in the ruleset),
1012  * then the empty string should be returned for the shorthand
1013  * property.
1014  *
1015  * For example, querying for the \c font property should
1016  * not return "normal normal normal 14pt/normal Arial, sans-serif",
1017  * when "14pt Arial, sans-serif" suffices (the normals are initial
1018  * values, and are implied by use of the longhand property).
1019  *
1020  * If the values for all the longhand properties that compose a
1021  * particular string are the initial values, then a string consisting
1022  * of all the initial values should be returned (e.g. a
1023  * \c border-width value of "medium" should be returned as such,
1024  * not as "").
1025  *
1026  * For some shorthand properties that take missing values from other
1027  * sides, such as the \c margin , \c padding ,
1028  * and \c border-[width|style|color] properties, the
1029  * minimum number of sides possible should be used, i.e., "0px 10px"
1030  * will be returned instead of "0px 10px 0px 10px".
1031  *
1032  * If the value of a shorthand property can not be decomposed into
1033  * its component longhand properties, as is the case for the
1034  * \c font property with a value of "menu", querying for the
1035  * values of the component longhand properties should return the empty
1036  * string.
1037  *
1038  */
1040 {
1041 public:
1042  CSS2Properties();
1043  CSS2Properties(const CSS2Properties &other);
1044  CSS2Properties(CSS2PropertiesImpl *impl);
1045 public:
1046 
1047  CSS2Properties &operator = (const CSS2Properties &other);
1048 
1049  ~CSS2Properties();
1050 
1051  /**
1052  * See the <a
1053  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-azimuth">
1054  * azimuth property definition </a> in CSS2.
1055  *
1056  */
1057  DOM::DOMString azimuth() const;
1058 
1059  /**
1060  * see azimuth
1061  */
1062  void setAzimuth(const DOM::DOMString &);
1063 
1064  /**
1065  * See the <a
1066  * href="https://www.w3.org/TR/CSS2/colors.html#propdef-background">
1067  * background property definition </a> in CSS2.
1068  *
1069  */
1070  DOM::DOMString background() const;
1071 
1072  /**
1073  * see background
1074  */
1075  void setBackground(const DOM::DOMString &);
1076 
1077  /**
1078  * See the <a
1079  * href="https://www.w3.org/TR/CSS2/colors.html#propdef-background-attachment">
1080  * background-attachment property definition </a> in CSS2.
1081  *
1082  */
1083  DOM::DOMString backgroundAttachment() const;
1084 
1085  /**
1086  * see backgroundAttachment
1087  */
1088  void setBackgroundAttachment(const DOM::DOMString &);
1089 
1090  /**
1091  * See the <a
1092  * href="https://www.w3.org/TR/CSS2/colors.html#propdef-background-color">
1093  * background-color property definition </a> in CSS2.
1094  *
1095  */
1096  DOM::DOMString backgroundColor() const;
1097 
1098  /**
1099  * see backgroundColor
1100  */
1101  void setBackgroundColor(const DOM::DOMString &);
1102 
1103  /**
1104  * See the <a
1105  * href="https://www.w3.org/TR/CSS2/colors.html#propdef-background-image">
1106  * background-image property definition </a> in CSS2.
1107  *
1108  */
1109  DOM::DOMString backgroundImage() const;
1110 
1111  /**
1112  * see backgroundImage
1113  */
1114  void setBackgroundImage(const DOM::DOMString &);
1115 
1116  /**
1117  * See the <a
1118  * href="https://www.w3.org/TR/CSS2/colors.html#propdef-background-position">
1119  * background-position property definition </a> in CSS2.
1120  *
1121  */
1122  DOM::DOMString backgroundPosition() const;
1123 
1124  /**
1125  * see backgroundPosition
1126  */
1127  void setBackgroundPosition(const DOM::DOMString &);
1128 
1129  /**
1130  * See the <a
1131  * href="https://www.w3.org/TR/CSS2/colors.html#propdef-background-repeat">
1132  * background-repeat property definition </a> in CSS2.
1133  *
1134  */
1135  DOM::DOMString backgroundRepeat() const;
1136 
1137  /**
1138  * see backgroundRepeat
1139  */
1140  void setBackgroundRepeat(const DOM::DOMString &);
1141 
1142  /**
1143  * See the <a
1144  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border">
1145  * border property definition </a> in CSS2.
1146  *
1147  */
1148  DOM::DOMString border() const;
1149 
1150  /**
1151  * see border
1152  */
1153  void setBorder(const DOM::DOMString &);
1154 
1155  /**
1156  * See the <a
1157  * href="https://www.w3.org/TR/CSS2/tables.html#propdef-border-collapse">
1158  * border-collapse property definition </a> in CSS2.
1159  *
1160  */
1161  DOM::DOMString borderCollapse() const;
1162 
1163  /**
1164  * see borderCollapse
1165  */
1166  void setBorderCollapse(const DOM::DOMString &);
1167 
1168  /**
1169  * See the <a
1170  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-color">
1171  * border-color property definition </a> in CSS2.
1172  *
1173  */
1174  DOM::DOMString borderColor() const;
1175 
1176  /**
1177  * see borderColor
1178  */
1179  void setBorderColor(const DOM::DOMString &);
1180 
1181  /**
1182  * See the <a
1183  * href="https://www.w3.org/TR/CSS2/tables.html#propdef-border-spacing">
1184  * border-spacing property definition </a> in CSS2.
1185  *
1186  */
1187  DOM::DOMString borderSpacing() const;
1188 
1189  /**
1190  * see borderSpacing
1191  */
1192  void setBorderSpacing(const DOM::DOMString &);
1193 
1194  /**
1195  * See the <a
1196  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-style">
1197  * border-style property definition </a> in CSS2.
1198  *
1199  */
1200  DOM::DOMString borderStyle() const;
1201 
1202  /**
1203  * see borderStyle
1204  */
1205  void setBorderStyle(const DOM::DOMString &);
1206 
1207  /**
1208  * See the <a
1209  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-top">
1210  * border-top property definition </a> in CSS2.
1211  *
1212  */
1213  DOM::DOMString borderTop() const;
1214 
1215  /**
1216  * see borderTop
1217  */
1218  void setBorderTop(const DOM::DOMString &);
1219 
1220  /**
1221  * See the <a
1222  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-right">
1223  * border-right property definition </a> in CSS2.
1224  *
1225  */
1226  DOM::DOMString borderRight() const;
1227 
1228  /**
1229  * see borderRight
1230  */
1231  void setBorderRight(const DOM::DOMString &);
1232 
1233  /**
1234  * See the <a
1235  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-bottom">
1236  * border-bottom property definition </a> in CSS2.
1237  *
1238  */
1239  DOM::DOMString borderBottom() const;
1240 
1241  /**
1242  * see borderBottom
1243  */
1244  void setBorderBottom(const DOM::DOMString &);
1245 
1246  /**
1247  * See the <a
1248  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-left">
1249  * border-left property definition </a> in CSS2.
1250  *
1251  */
1252  DOM::DOMString borderLeft() const;
1253 
1254  /**
1255  * see borderLeft
1256  */
1257  void setBorderLeft(const DOM::DOMString &);
1258 
1259  /**
1260  * See the <a
1261  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-top-color">
1262  * border-top-color property definition </a> in CSS2.
1263  *
1264  */
1265  DOM::DOMString borderTopColor() const;
1266 
1267  /**
1268  * see borderTopColor
1269  */
1270  void setBorderTopColor(const DOM::DOMString &);
1271 
1272  /**
1273  * See the <a
1274  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-right-color">
1275  * border-right-color property definition </a> in CSS2.
1276  *
1277  */
1278  DOM::DOMString borderRightColor() const;
1279 
1280  /**
1281  * see borderRightColor
1282  */
1283  void setBorderRightColor(const DOM::DOMString &);
1284 
1285  /**
1286  * See the <a
1287  * href="https://www.w3.org/TR/CSS2/#propdef-border-bottom-color">
1288  * border-bottom-color property definition </a> in CSS2.
1289  *
1290  */
1291  DOM::DOMString borderBottomColor() const;
1292 
1293  /**
1294  * see borderBottomColor
1295  */
1296  void setBorderBottomColor(const DOM::DOMString &);
1297 
1298  /**
1299  * See the <a
1300  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-left-color">
1301  * border-left-color property definition </a> in CSS2.
1302  *
1303  */
1304  DOM::DOMString borderLeftColor() const;
1305 
1306  /**
1307  * see borderLeftColor
1308  */
1309  void setBorderLeftColor(const DOM::DOMString &);
1310 
1311  /**
1312  * See the <a
1313  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-top-style">
1314  * border-top-style property definition </a> in CSS2.
1315  *
1316  */
1317  DOM::DOMString borderTopStyle() const;
1318 
1319  /**
1320  * see borderTopStyle
1321  */
1322  void setBorderTopStyle(const DOM::DOMString &);
1323 
1324  /**
1325  * See the <a
1326  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-right-style">
1327  * border-right-style property definition </a> in CSS2.
1328  *
1329  */
1330  DOM::DOMString borderRightStyle() const;
1331 
1332  /**
1333  * see borderRightStyle
1334  */
1335  void setBorderRightStyle(const DOM::DOMString &);
1336 
1337  /**
1338  * See the <a
1339  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-bottom-style">
1340  * border-bottom-style property definition </a> in CSS2.
1341  *
1342  */
1343  DOM::DOMString borderBottomStyle() const;
1344 
1345  /**
1346  * see borderBottomStyle
1347  */
1348  void setBorderBottomStyle(const DOM::DOMString &);
1349 
1350  /**
1351  * See the <a
1352  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-left-style">
1353  * border-left-style property definition </a> in CSS2.
1354  *
1355  */
1356  DOM::DOMString borderLeftStyle() const;
1357 
1358  /**
1359  * see borderLeftStyle
1360  */
1361  void setBorderLeftStyle(const DOM::DOMString &);
1362 
1363  /**
1364  * See the <a
1365  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-top-width">
1366  * border-top-width property definition </a> in CSS2.
1367  *
1368  */
1369  DOM::DOMString borderTopWidth() const;
1370 
1371  /**
1372  * see borderTopWidth
1373  */
1374  void setBorderTopWidth(const DOM::DOMString &);
1375 
1376  /**
1377  * See the <a
1378  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-right-width">
1379  * border-right-width property definition </a> in CSS2.
1380  *
1381  */
1382  DOM::DOMString borderRightWidth() const;
1383 
1384  /**
1385  * see borderRightWidth
1386  */
1387  void setBorderRightWidth(const DOM::DOMString &);
1388 
1389  /**
1390  * See the <a
1391  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-bottom-width">
1392  * border-bottom-width property definition </a> in CSS2.
1393  *
1394  */
1395  DOM::DOMString borderBottomWidth() const;
1396 
1397  /**
1398  * see borderBottomWidth
1399  */
1400  void setBorderBottomWidth(const DOM::DOMString &);
1401 
1402  /**
1403  * See the <a
1404  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-left-width">
1405  * border-left-width property definition </a> in CSS2.
1406  *
1407  */
1408  DOM::DOMString borderLeftWidth() const;
1409 
1410  /**
1411  * see borderLeftWidth
1412  */
1413  void setBorderLeftWidth(const DOM::DOMString &);
1414 
1415  /**
1416  * See the <a
1417  * href="https://www.w3.org/TR/CSS2/box.html#propdef-border-width">
1418  * border-width property definition </a> in CSS2.
1419  *
1420  */
1421  DOM::DOMString borderWidth() const;
1422 
1423  /**
1424  * see borderWidth
1425  */
1426  void setBorderWidth(const DOM::DOMString &);
1427 
1428  /**
1429  * See the <a
1430  * href="https://www.w3.org/TR/CSS2/visuren.html#propdef-bottom">
1431  * bottom property definition </a> in CSS2.
1432  *
1433  */
1434  DOM::DOMString bottom() const;
1435 
1436  /**
1437  * see bottom
1438  */
1439  void setBottom(const DOM::DOMString &);
1440 
1441  /**
1442  * See the <a
1443  * href="https://www.w3.org/TR/CSS2/tables.html#propdef-caption-side">
1444  * caption-side property definition </a> in CSS2.
1445  *
1446  */
1447  DOM::DOMString captionSide() const;
1448 
1449  /**
1450  * see captionSide
1451  */
1452  void setCaptionSide(const DOM::DOMString &);
1453 
1454  /**
1455  * See the <a
1456  * href="https://www.w3.org/TR/CSS2/visuren.html#propdef-clear">
1457  * clear property definition </a> in CSS2.
1458  *
1459  */
1460  DOM::DOMString clear() const;
1461 
1462  /**
1463  * see clear
1464  */
1465  void setClear(const DOM::DOMString &);
1466 
1467  /**
1468  * See the <a
1469  * href="https://www.w3.org/TR/CSS2/visufx#propdef-clip"> clip
1470  * property definition </a> in CSS2.
1471  *
1472  */
1473  DOM::DOMString clip() const;
1474 
1475  /**
1476  * see clip
1477  */
1478  void setClip(const DOM::DOMString &);
1479 
1480  /**
1481  * See the <a
1482  * href="https://www.w3.org/TR/CSS2/colors.html#propdef-color">
1483  * color property definition </a> in CSS2.
1484  *
1485  */
1486  DOM::DOMString color() const;
1487 
1488  /**
1489  * see color
1490  */
1491  void setColor(const DOM::DOMString &);
1492 
1493  /**
1494  * See the <a
1495  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-content">
1496  * content property definition </a> in CSS2.
1497  *
1498  */
1499  DOM::DOMString content() const;
1500 
1501  /**
1502  * see content
1503  */
1504  void setContent(const DOM::DOMString &);
1505 
1506  /**
1507  * See the <a
1508  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-counter-increment">
1509  * counter-increment property definition </a> in CSS2.
1510  *
1511  */
1512  DOM::DOMString counterIncrement() const;
1513 
1514  /**
1515  * see counterIncrement
1516  */
1517  void setCounterIncrement(const DOM::DOMString &);
1518 
1519  /**
1520  * See the <a
1521  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-counter-reset">
1522  * counter-reset property definition </a> in CSS2.
1523  *
1524  */
1525  DOM::DOMString counterReset() const;
1526 
1527  /**
1528  * see counterReset
1529  */
1530  void setCounterReset(const DOM::DOMString &);
1531 
1532  /**
1533  * See the <a
1534  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-cue">
1535  * cue property definition </a> in CSS2.
1536  *
1537  */
1538  DOM::DOMString cue() const;
1539 
1540  /**
1541  * see cue
1542  */
1543  void setCue(const DOM::DOMString &);
1544 
1545  /**
1546  * See the <a
1547  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-cue-fter">
1548  * cue-after property definition </a> in CSS2.
1549  *
1550  */
1551  DOM::DOMString cueAfter() const;
1552 
1553  /**
1554  * see cueAfter
1555  */
1556  void setCueAfter(const DOM::DOMString &);
1557 
1558  /**
1559  * See the <a
1560  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-cue-before">
1561  * cue-before property definition </a> in CSS2.
1562  *
1563  */
1564  DOM::DOMString cueBefore() const;
1565 
1566  /**
1567  * see cueBefore
1568  */
1569  void setCueBefore(const DOM::DOMString &);
1570 
1571  /**
1572  * See the <a
1573  * href="https://www.w3.org/TR/CSS2/ui.html#propdef-cursor">
1574  * cursor property definition </a> in CSS2.
1575  *
1576  */
1577  DOM::DOMString cursor() const;
1578 
1579  /**
1580  * see cursor
1581  */
1582  void setCursor(const DOM::DOMString &);
1583 
1584  /**
1585  * See the <a
1586  * href="https://www.w3.org/TR/CSS2/visuren.html#propdef-direction">
1587  * direction property definition </a> in CSS2.
1588  *
1589  */
1590  DOM::DOMString direction() const;
1591 
1592  /**
1593  * see direction
1594  */
1595  void setDirection(const DOM::DOMString &);
1596 
1597  /**
1598  * See the <a
1599  * href="https://www.w3.org/TR/CSS2/visuren.html#propdef-display">
1600  * display property definition </a> in CSS2.
1601  *
1602  */
1603  DOM::DOMString display() const;
1604 
1605  /**
1606  * see display
1607  */
1608  void setDisplay(const DOM::DOMString &);
1609 
1610  /**
1611  * See the <a
1612  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-elevation">
1613  * elevation property definition </a> in CSS2.
1614  *
1615  */
1616  DOM::DOMString elevation() const;
1617 
1618  /**
1619  * see elevation
1620  */
1621  void setElevation(const DOM::DOMString &);
1622 
1623  /**
1624  * See the <a
1625  * href="https://www.w3.org/TR/CSS2/tables.html#propdef-empty-cells">
1626  * empty-cells property definition </a> in CSS2.
1627  *
1628  */
1629  DOM::DOMString emptyCells() const;
1630 
1631  /**
1632  * see emptyCells
1633  */
1634  void setEmptyCells(const DOM::DOMString &);
1635 
1636  /**
1637  * See the <a
1638  * href="https://www.w3.org/TR/CSS2/visuren.html#propdef-float">
1639  * float property definition </a> in CSS2.
1640  *
1641  */
1642  DOM::DOMString cssFloat() const;
1643 
1644  /**
1645  * see cssFloat
1646  */
1647  void setCssFloat(const DOM::DOMString &);
1648 
1649  /**
1650  * See the <a
1651  * href="https://www.w3.org/TR/CSS2/fonts.html#propdef-font">
1652  * font property definition </a> in CSS2.
1653  *
1654  */
1655  DOM::DOMString font() const;
1656 
1657  /**
1658  * see font
1659  */
1660  void setFont(const DOM::DOMString &);
1661 
1662  /**
1663  * See the <a
1664  * href="https://www.w3.org/TR/CSS2/fonts.html#propdef-font-family">
1665  * font-family property definition </a> in CSS2.
1666  *
1667  */
1668  DOM::DOMString fontFamily() const;
1669 
1670  /**
1671  * see fontFamily
1672  */
1673  void setFontFamily(const DOM::DOMString &);
1674 
1675  /**
1676  * See the <a
1677  * href="https://www.w3.org/TR/CSS2/fonts.html#propdef-font-size">
1678  * font-size property definition </a> in CSS2.
1679  *
1680  */
1681  DOM::DOMString fontSize() const;
1682 
1683  /**
1684  * see fontSize
1685  */
1686  void setFontSize(const DOM::DOMString &);
1687 
1688  /**
1689  * See the <a
1690  * href="https://www.w3.org/TR/CSS2/fonts.html#propdef-font-size-adjust">
1691  * font-size-adjust property definition </a> in CSS2.
1692  *
1693  */
1694  DOM::DOMString fontSizeAdjust() const;
1695 
1696  /**
1697  * see fontSizeAdjust
1698  */
1699  void setFontSizeAdjust(const DOM::DOMString &);
1700 
1701  /**
1702  * See the <a
1703  * href="https://www.w3.org/TR/CSS2/fonts.html#propdef-font-stretch">
1704  * font-stretch property definition </a> in CSS2.
1705  *
1706  */
1707  DOM::DOMString fontStretch() const;
1708 
1709  /**
1710  * see fontStretch
1711  */
1712  void setFontStretch(const DOM::DOMString &);
1713 
1714  /**
1715  * See the <a
1716  * href="https://www.w3.org/TR/CSS2/fonts.html#propdef-font-style">
1717  * font-style property definition </a> in CSS2.
1718  *
1719  */
1720  DOM::DOMString fontStyle() const;
1721 
1722  /**
1723  * see fontStyle
1724  */
1725  void setFontStyle(const DOM::DOMString &);
1726 
1727  /**
1728  * See the <a
1729  * href="https://www.w3.org/TR/CSS2/fonts.html#propdef-font-variant">
1730  * font-variant property definition </a> in CSS2.
1731  *
1732  */
1733  DOM::DOMString fontVariant() const;
1734 
1735  /**
1736  * see fontVariant
1737  */
1738  void setFontVariant(const DOM::DOMString &);
1739 
1740  /**
1741  * See the <a
1742  * href="https://www.w3.org/TR/CSS2/fonts.html#propdef-font-weight">
1743  * font-weight property definition </a> in CSS2.
1744  *
1745  */
1746  DOM::DOMString fontWeight() const;
1747 
1748  /**
1749  * see fontWeight
1750  */
1751  void setFontWeight(const DOM::DOMString &);
1752 
1753  /**
1754  * See the <a
1755  * href="https://www.w3.org/TR/CSS2/visudet.html#propdef-height">
1756  * height property definition </a> in CSS2.
1757  *
1758  */
1759  DOM::DOMString height() const;
1760 
1761  /**
1762  * see height
1763  */
1764  void setHeight(const DOM::DOMString &);
1765 
1766  /**
1767  * See the <a
1768  * href="https://www.w3.org/TR/CSS2/visuren.html#propdef-left">
1769  * left property definition </a> in CSS2.
1770  *
1771  */
1772  DOM::DOMString left() const;
1773 
1774  /**
1775  * see left
1776  */
1777  void setLeft(const DOM::DOMString &);
1778 
1779  /**
1780  * See the <a
1781  * href="https://www.w3.org/TR/CSS2/text.html#propdef-letter-spacing">
1782  * letter-spacing property definition </a> in CSS2.
1783  *
1784  */
1785  DOM::DOMString letterSpacing() const;
1786 
1787  /**
1788  * see letterSpacing
1789  */
1790  void setLetterSpacing(const DOM::DOMString &);
1791 
1792  /**
1793  * See the <a
1794  * href="https://www.w3.org/TR/CSS2/visudet.html#propdef-line-height">
1795  * line-height property definition </a> in CSS2.
1796  *
1797  */
1798  DOM::DOMString lineHeight() const;
1799 
1800  /**
1801  * see lineHeight
1802  */
1803  void setLineHeight(const DOM::DOMString &);
1804 
1805  /**
1806  * See the <a
1807  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-list-style">
1808  * list-style property definition </a> in CSS2.
1809  *
1810  */
1811  DOM::DOMString listStyle() const;
1812 
1813  /**
1814  * see listStyle
1815  */
1816  void setListStyle(const DOM::DOMString &);
1817 
1818  /**
1819  * See the <a
1820  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-list-style-image">
1821  * list-style-image property definition </a> in CSS2.
1822  *
1823  */
1824  DOM::DOMString listStyleImage() const;
1825 
1826  /**
1827  * see listStyleImage
1828  */
1829  void setListStyleImage(const DOM::DOMString &);
1830 
1831  /**
1832  * See the <a
1833  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-list-style-position">
1834  * list-style-position property definition </a> in CSS2.
1835  *
1836  */
1837  DOM::DOMString listStylePosition() const;
1838 
1839  /**
1840  * see listStylePosition
1841  */
1842  void setListStylePosition(const DOM::DOMString &);
1843 
1844  /**
1845  * See the <a
1846  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-list-style-type">
1847  * list-style-type property definition </a> in CSS2.
1848  *
1849  */
1850  DOM::DOMString listStyleType() const;
1851 
1852  /**
1853  * see listStyleType
1854  */
1855  void setListStyleType(const DOM::DOMString &);
1856 
1857  /**
1858  * See the <a
1859  * href="https://www.w3.org/TR/CSS2/box.html#propdef-margin">
1860  * margin property definition </a> in CSS2.
1861  *
1862  */
1863  DOM::DOMString margin() const;
1864 
1865  /**
1866  * see margin
1867  */
1868  void setMargin(const DOM::DOMString &);
1869 
1870  /**
1871  * See the <a
1872  * href="https://www.w3.org/TR/CSS2/box.html#propdef-margin-top">
1873  * margin-top property definition </a> in CSS2.
1874  *
1875  */
1876  DOM::DOMString marginTop() const;
1877 
1878  /**
1879  * see marginTop
1880  */
1881  void setMarginTop(const DOM::DOMString &);
1882 
1883  /**
1884  * See the <a
1885  * href="https://www.w3.org/TR/CSS2/box.html#propdef-margin-right">
1886  * margin-right property definition </a> in CSS2.
1887  *
1888  */
1889  DOM::DOMString marginRight() const;
1890 
1891  /**
1892  * see marginRight
1893  */
1894  void setMarginRight(const DOM::DOMString &);
1895 
1896  /**
1897  * See the <a
1898  * href="https://www.w3.org/TR/CSS2/box.html#propdef-margin-bottom">
1899  * margin-bottom property definition </a> in CSS2.
1900  *
1901  */
1902  DOM::DOMString marginBottom() const;
1903 
1904  /**
1905  * see marginBottom
1906  */
1907  void setMarginBottom(const DOM::DOMString &);
1908 
1909  /**
1910  * See the <a
1911  * href="https://www.w3.org/TR/CSS2/box.html#propdef-margin-left">
1912  * margin-left property definition </a> in CSS2.
1913  *
1914  */
1915  DOM::DOMString marginLeft() const;
1916 
1917  /**
1918  * see marginLeft
1919  */
1920  void setMarginLeft(const DOM::DOMString &);
1921 
1922  /**
1923  * See the <a
1924  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-marker-offset">
1925  * marker-offset property definition </a> in CSS2.
1926  *
1927  */
1928  DOM::DOMString markerOffset() const;
1929 
1930  /**
1931  * see markerOffset
1932  */
1933  void setMarkerOffset(const DOM::DOMString &);
1934 
1935  /**
1936  * See the <a
1937  * href="https://www.w3.org/TR/CSS2/page.html#propdef-marks">
1938  * marks property definition </a> in CSS2.
1939  *
1940  */
1941  DOM::DOMString marks() const;
1942 
1943  /**
1944  * see marks
1945  */
1946  void setMarks(const DOM::DOMString &);
1947 
1948  /**
1949  * See the <a
1950  * href="https://www.w3.org/TR/CSS2/visudet.html#propdef-max-height">
1951  * max-height property definition </a> in CSS2.
1952  *
1953  */
1954  DOM::DOMString maxHeight() const;
1955 
1956  /**
1957  * see maxHeight
1958  */
1959  void setMaxHeight(const DOM::DOMString &);
1960 
1961  /**
1962  * See the <a
1963  * href="https://www.w3.org/TR/CSS2/visudet.html#propdef-max-width">
1964  * max-width property definition </a> in CSS2.
1965  *
1966  */
1967  DOM::DOMString maxWidth() const;
1968 
1969  /**
1970  * see maxWidth
1971  */
1972  void setMaxWidth(const DOM::DOMString &);
1973 
1974  /**
1975  * See the <a
1976  * href="https://www.w3.org/TR/CSS2/visudet.html#propdef-min-height">
1977  * min-height property definition </a> in CSS2.
1978  *
1979  */
1980  DOM::DOMString minHeight() const;
1981 
1982  /**
1983  * see minHeight
1984  */
1985  void setMinHeight(const DOM::DOMString &);
1986 
1987  /**
1988  * See the <a
1989  * href="https://www.w3.org/TR/CSS2/visudet.html#propdef-min-width">
1990  * min-width property definition </a> in CSS2.
1991  *
1992  */
1993  DOM::DOMString minWidth() const;
1994 
1995  /**
1996  * see minWidth
1997  */
1998  void setMinWidth(const DOM::DOMString &);
1999 
2000  /**
2001  * See the <a
2002  * href="https://www.w3.org/TR/CSS2/page.html#propdef-orphans">
2003  * orphans property definition </a> in CSS2.
2004  *
2005  */
2006  DOM::DOMString orphans() const;
2007 
2008  /**
2009  * see orphans
2010  */
2011  void setOrphans(const DOM::DOMString &);
2012 
2013  /**
2014  * See the <a
2015  * href="https://www.w3.org/TR/CSS2/ui.html#propdef-outline">
2016  * outline property definition </a> in CSS2.
2017  *
2018  */
2019  DOM::DOMString outline() const;
2020 
2021  /**
2022  * see outline
2023  */
2024  void setOutline(const DOM::DOMString &);
2025 
2026  /**
2027  * See the <a
2028  * href="https://www.w3.org/TR/CSS2/ui.html#propdef-outline-color">
2029  * outline-color property definition </a> in CSS2.
2030  *
2031  */
2032  DOM::DOMString outlineColor() const;
2033 
2034  /**
2035  * see outlineColor
2036  */
2037  void setOutlineColor(const DOM::DOMString &);
2038 
2039  /**
2040  * See the <a
2041  * href="https://www.w3.org/TR/CSS2/ui.html#propdef-outline-style">
2042  * outline-style property definition </a> in CSS2.
2043  *
2044  */
2045  DOM::DOMString outlineStyle() const;
2046 
2047  /**
2048  * see outlineStyle
2049  */
2050  void setOutlineStyle(const DOM::DOMString &);
2051 
2052  /**
2053  * See the <a
2054  * href="https://www.w3.org/TR/CSS2/ui.html#propdef-outline-width">
2055  * outline-width property definition </a> in CSS2.
2056  *
2057  */
2058  DOM::DOMString outlineWidth() const;
2059 
2060  /**
2061  * see outlineWidth
2062  */
2063  void setOutlineWidth(const DOM::DOMString &);
2064 
2065  /**
2066  * See the <a
2067  * href="https://www.w3.org/TR/CSS2/visufx.html#propdef-overflow">
2068  * overflow property definition </a> in CSS2.
2069  *
2070  */
2071  DOM::DOMString overflow() const;
2072 
2073  /**
2074  * see overflow
2075  */
2076  void setOverflow(const DOM::DOMString &);
2077 
2078  /**
2079  * See the <a
2080  * href="https://www.w3.org/TR/CSS2/box.html#propdef-padding">
2081  * padding property definition </a> in CSS2.
2082  *
2083  */
2084  DOM::DOMString padding() const;
2085 
2086  /**
2087  * see padding
2088  */
2089  void setPadding(const DOM::DOMString &);
2090 
2091  /**
2092  * See the <a
2093  * href="https://www.w3.org/TR/CSS2/box.html#propdef-padding-top">
2094  * padding-top property definition </a> in CSS2.
2095  *
2096  */
2097  DOM::DOMString paddingTop() const;
2098 
2099  /**
2100  * see paddingTop
2101  */
2102  void setPaddingTop(const DOM::DOMString &);
2103 
2104  /**
2105  * See the <a
2106  * href="https://www.w3.org/TR/CSS2/box.html#propdef-padding-right">
2107  * padding-right property definition </a> in CSS2.
2108  *
2109  */
2110  DOM::DOMString paddingRight() const;
2111 
2112  /**
2113  * see paddingRight
2114  */
2115  void setPaddingRight(const DOM::DOMString &);
2116 
2117  /**
2118  * See the <a
2119  * href="https://www.w3.org/TR/CSS2/box.html#propdef-padding-bottom">
2120  * padding-bottom property definition </a> in CSS2.
2121  *
2122  */
2123  DOM::DOMString paddingBottom() const;
2124 
2125  /**
2126  * see paddingBottom
2127  */
2128  void setPaddingBottom(const DOM::DOMString &);
2129 
2130  /**
2131  * See the <a
2132  * href="https://www.w3.org/TR/CSS2/box.html#propdef-padding-left">
2133  * padding-left property definition </a> in CSS2.
2134  *
2135  */
2136  DOM::DOMString paddingLeft() const;
2137 
2138  /**
2139  * see paddingLeft
2140  */
2141  void setPaddingLeft(const DOM::DOMString &);
2142 
2143  /**
2144  * See the <a
2145  * href="https://www.w3.org/TR/CSS2/page.html#propdef-page">
2146  * page property definition </a> in CSS2.
2147  *
2148  */
2149  DOM::DOMString page() const;
2150 
2151  /**
2152  * see page
2153  */
2154  void setPage(const DOM::DOMString &);
2155 
2156  /**
2157  * See the <a
2158  * href="https://www.w3.org/TR/CSS2/page.html#propdef-page-break-after">
2159  * page-break-after property definition </a> in CSS2.
2160  *
2161  */
2162  DOM::DOMString pageBreakAfter() const;
2163 
2164  /**
2165  * see pageBreakAfter
2166  */
2167  void setPageBreakAfter(const DOM::DOMString &);
2168 
2169  /**
2170  * See the <a
2171  * href="https://www.w3.org/TR/CSS2/page.html#propdef-page-break-before">
2172  * page-break-before property definition </a> in CSS2.
2173  *
2174  */
2175  DOM::DOMString pageBreakBefore() const;
2176 
2177  /**
2178  * see pageBreakBefore
2179  */
2180  void setPageBreakBefore(const DOM::DOMString &);
2181 
2182  /**
2183  * See the <a
2184  * href="https://www.w3.org/TR/CSS2/page.html#propdef-page-break-inside">
2185  * page-break-inside property definition </a> in CSS2.
2186  *
2187  */
2188  DOM::DOMString pageBreakInside() const;
2189 
2190  /**
2191  * see pageBreakInside
2192  */
2193  void setPageBreakInside(const DOM::DOMString &);
2194 
2195  /**
2196  * See the <a
2197  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-pause">
2198  * pause property definition </a> in CSS2.
2199  *
2200  */
2201  DOM::DOMString pause() const;
2202 
2203  /**
2204  * see pause
2205  */
2206  void setPause(const DOM::DOMString &);
2207 
2208  /**
2209  * See the <a
2210  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-pause-after">
2211  * pause-after property definition </a> in CSS2.
2212  *
2213  */
2214  DOM::DOMString pauseAfter() const;
2215 
2216  /**
2217  * see pauseAfter
2218  */
2219  void setPauseAfter(const DOM::DOMString &);
2220 
2221  /**
2222  * See the <a
2223  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-pause-before">
2224  * pause-before property definition </a> in CSS2.
2225  *
2226  */
2227  DOM::DOMString pauseBefore() const;
2228 
2229  /**
2230  * see pauseBefore
2231  */
2232  void setPauseBefore(const DOM::DOMString &);
2233 
2234  /**
2235  * See the <a
2236  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-pitch">
2237  * pitch property definition </a> in CSS2.
2238  *
2239  */
2240  DOM::DOMString pitch() const;
2241 
2242  /**
2243  * see pitch
2244  */
2245  void setPitch(const DOM::DOMString &);
2246 
2247  /**
2248  * See the <a
2249  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-pitch-range">
2250  * pitch-range property definition </a> in CSS2.
2251  *
2252  */
2253  DOM::DOMString pitchRange() const;
2254 
2255  /**
2256  * see pitchRange
2257  */
2258  void setPitchRange(const DOM::DOMString &);
2259 
2260  /**
2261  * See the <a
2262  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-play-during">
2263  * play-during property definition </a> in CSS2.
2264  *
2265  */
2266  DOM::DOMString playDuring() const;
2267 
2268  /**
2269  * see playDuring
2270  */
2271  void setPlayDuring(const DOM::DOMString &);
2272 
2273  /**
2274  * See the <a
2275  * href="https://www.w3.org/TR/CSS2/visuren.html#propdef-position">
2276  * position property definition </a> in CSS2.
2277  *
2278  */
2279  DOM::DOMString position() const;
2280 
2281  /**
2282  * see position
2283  */
2284  void setPosition(const DOM::DOMString &);
2285 
2286  /**
2287  * See the <a
2288  * href="https://www.w3.org/TR/CSS2/generate.html#propdef-quotes">
2289  * quotes property definition </a> in CSS2.
2290  *
2291  */
2292  DOM::DOMString quotes() const;
2293 
2294  /**
2295  * see quotes
2296  */
2297  void setQuotes(const DOM::DOMString &);
2298 
2299  /**
2300  * See the <a
2301  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-richness">
2302  * richness property definition </a> in CSS2.
2303  *
2304  */
2305  DOM::DOMString richness() const;
2306 
2307  /**
2308  * see richness
2309  */
2310  void setRichness(const DOM::DOMString &);
2311 
2312  /**
2313  * See the <a
2314  * href="https://www.w3.org/TR/CSS2/visuren.html#propdef-right">
2315  * right property definition </a> in CSS2.
2316  *
2317  */
2318  DOM::DOMString right() const;
2319 
2320  /**
2321  * see right
2322  */
2323  void setRight(const DOM::DOMString &);
2324 
2325  /**
2326  * See the <a
2327  * href="https://www.w3.org/TR/CSS2/page.html#propdef-size">
2328  * size property definition </a> in CSS2.
2329  *
2330  */
2331  DOM::DOMString size() const;
2332 
2333  /**
2334  * see size
2335  */
2336  void setSize(const DOM::DOMString &);
2337 
2338  /**
2339  * See the <a
2340  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-speak">
2341  * speak property definition </a> in CSS2.
2342  *
2343  */
2344  DOM::DOMString speak() const;
2345 
2346  /**
2347  * see speak
2348  */
2349  void setSpeak(const DOM::DOMString &);
2350 
2351  /**
2352  * See the <a
2353  * href="https://www.w3.org/TR/CSS2/tables.html#propdef-speak-header">
2354  * speak-header property definition </a> in CSS2.
2355  *
2356  */
2357  DOM::DOMString speakHeader() const;
2358 
2359  /**
2360  * see speakHeader
2361  */
2362  void setSpeakHeader(const DOM::DOMString &);
2363 
2364  /**
2365  * See the <a
2366  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-speak-numeral">
2367  * speak-numeral property definition </a> in CSS2.
2368  *
2369  */
2370  DOM::DOMString speakNumeral() const;
2371 
2372  /**
2373  * see speakNumeral
2374  */
2375  void setSpeakNumeral(const DOM::DOMString &);
2376 
2377  /**
2378  * See the <a
2379  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-speak-punctuation">
2380  * speak-punctuation property definition </a> in CSS2.
2381  *
2382  */
2383  DOM::DOMString speakPunctuation() const;
2384 
2385  /**
2386  * see speakPunctuation
2387  */
2388  void setSpeakPunctuation(const DOM::DOMString &);
2389 
2390  /**
2391  * See the <a
2392  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-speech-rate">
2393  * speech-rate property definition </a> in CSS2.
2394  *
2395  */
2396  DOM::DOMString speechRate() const;
2397 
2398  /**
2399  * see speechRate
2400  */
2401  void setSpeechRate(const DOM::DOMString &);
2402 
2403  /**
2404  * See the <a
2405  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-stress">
2406  * stress property definition </a> in CSS2.
2407  *
2408  */
2409  DOM::DOMString stress() const;
2410 
2411  /**
2412  * see stress
2413  */
2414  void setStress(const DOM::DOMString &);
2415 
2416  /**
2417  * See the <a
2418  * href="https://www.w3.org/TR/CSS2/tables.html#propdef-table-layout">
2419  * table-layout property definition </a> in CSS2.
2420  *
2421  */
2422  DOM::DOMString tableLayout() const;
2423 
2424  /**
2425  * see tableLayout
2426  */
2427  void setTableLayout(const DOM::DOMString &);
2428 
2429  /**
2430  * See the <a
2431  * href="https://www.w3.org/TR/CSS2/text.html#propdef-text-align">
2432  * text-align property definition </a> in CSS2.
2433  *
2434  */
2435  DOM::DOMString textAlign() const;
2436 
2437  /**
2438  * see textAlign
2439  */
2440  void setTextAlign(const DOM::DOMString &);
2441 
2442  /**
2443  * See the <a
2444  * href="https://www.w3.org/TR/CSS2/text.html#propdef-text-decoration">
2445  * text-decoration property definition </a> in CSS2.
2446  *
2447  */
2448  DOM::DOMString textDecoration() const;
2449 
2450  /**
2451  * see textDecoration
2452  */
2453  void setTextDecoration(const DOM::DOMString &);
2454 
2455  /**
2456  * See the <a
2457  * href="https://www.w3.org/TR/CSS2/text.html#propdef-text-indent">
2458  * text-indent property definition </a> in CSS2.
2459  *
2460  */
2461  DOM::DOMString textIndent() const;
2462 
2463  /**
2464  * see textIndent
2465  */
2466  void setTextIndent(const DOM::DOMString &);
2467 
2468  /**
2469  * See the <a
2470  * href="https://www.w3.org/TR/CSS2/text.html#propdef-text-shadow">
2471  * text-shadow property definition </a> in CSS2.
2472  *
2473  */
2474  DOM::DOMString textShadow() const;
2475 
2476  /**
2477  * see textShadow
2478  */
2479  void setTextShadow(const DOM::DOMString &);
2480 
2481  /**
2482  * See the <a
2483  * href="https://www.w3.org/TR/CSS2/text.html#propdef-text-transform">
2484  * text-transform property definition </a> in CSS2.
2485  *
2486  */
2487  DOM::DOMString textTransform() const;
2488 
2489  /**
2490  * see textTransform
2491  */
2492  void setTextTransform(const DOM::DOMString &);
2493 
2494  /**
2495  * See the <a
2496  * href="https://www.w3.org/TR/CSS2/visuren.html#propdef-top">
2497  * top property definition </a> in CSS2.
2498  *
2499  */
2500  DOM::DOMString top() const;
2501 
2502  /**
2503  * see top
2504  */
2505  void setTop(const DOM::DOMString &);
2506 
2507  /**
2508  * See the <a
2509  * href="https://www.w3.org/TR/CSS2/visuren.html#propdef-unicode-bidi">
2510  * unicode-bidi property definition </a> in CSS2.
2511  *
2512  */
2513  DOM::DOMString unicodeBidi() const;
2514 
2515  /**
2516  * see unicodeBidi
2517  */
2518  void setUnicodeBidi(const DOM::DOMString &);
2519 
2520  /**
2521  * See the <a
2522  * href="https://www.w3.org/TR/CSS2/visudet.html#propdef-vertical-align">
2523  * vertical-align property definition </a> in CSS2.
2524  *
2525  */
2526  DOM::DOMString verticalAlign() const;
2527 
2528  /**
2529  * see verticalAlign
2530  */
2531  void setVerticalAlign(const DOM::DOMString &);
2532 
2533  /**
2534  * See the <a
2535  * href="https://www.w3.org/TR/CSS2/visufx.html#propdef-visibility">
2536  * visibility property definition </a> in CSS2.
2537  *
2538  */
2539  DOM::DOMString visibility() const;
2540 
2541  /**
2542  * see visibility
2543  */
2544  void setVisibility(const DOM::DOMString &);
2545 
2546  /**
2547  * See the <a
2548  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-voice-family">
2549  * voice-family property definition </a> in CSS2.
2550  *
2551  */
2552  DOM::DOMString voiceFamily() const;
2553 
2554  /**
2555  * see voiceFamily
2556  */
2557  void setVoiceFamily(const DOM::DOMString &);
2558 
2559  /**
2560  * See the <a
2561  * href="https://www.w3.org/TR/CSS2/aural.html#propdef-volume">
2562  * volume property definition </a> in CSS2.
2563  *
2564  */
2565  DOM::DOMString volume() const;
2566 
2567  /**
2568  * see volume
2569  */
2570  void setVolume(const DOM::DOMString &);
2571 
2572  /**
2573  * See the <a
2574  * href="https://www.w3.org/TR/CSS2/text.html#propdef-white-space">
2575  * white-space property definition </a> in CSS2.
2576  *
2577  */
2578  DOM::DOMString whiteSpace() const;
2579 
2580  /**
2581  * see whiteSpace
2582  */
2583  void setWhiteSpace(const DOM::DOMString &);
2584 
2585  /**
2586  * See the <a
2587  * href="https://www.w3.org/TR/CSS2/page.html#propdef-widows">
2588  * widows property definition </a> in CSS2.
2589  *
2590  */
2591  DOM::DOMString widows() const;
2592 
2593  /**
2594  * see widows
2595  */
2596  void setWidows(const DOM::DOMString &);
2597 
2598  /**
2599  * See the <a
2600  * href="https://www.w3.org/TR/CSS2/visudet.html#propdef-width">
2601  * width property definition </a> in CSS2.
2602  *
2603  */
2604  DOM::DOMString width() const;
2605 
2606  /**
2607  * see width
2608  */
2609  void setWidth(const DOM::DOMString &);
2610 
2611  /**
2612  * See the <a
2613  * href="https://www.w3.org/TR/CSS2/text.html#propdef-word-spacing">
2614  * word-spacing property definition </a> in CSS2.
2615  *
2616  */
2617  DOM::DOMString wordSpacing() const;
2618 
2619  /**
2620  * see wordSpacing
2621  */
2622  void setWordSpacing(const DOM::DOMString &);
2623 
2624  /**
2625  * See the <a
2626  * href="https://www.w3.org/TR/CSS2/visufx.html#propdef-z-index">
2627  * z-index property definition </a> in CSS2.
2628  *
2629  */
2630  DOM::DOMString zIndex() const;
2631 
2632  /**
2633  * see zIndex
2634  */
2635  void setZIndex(const DOM::DOMString &);
2636 };
2637 
2638 class CSS2TextShadowImpl;
2639 class CSSValue;
2640 
2641 /**
2642  * The \c CSS2TextShadow interface represents a simple
2643  * value for the <a
2644  * href="https://www.w3.org/TR/CSS2/text.html#propdef-text-shadow">
2645  * text-shadow </a> CSS Level 2 property.
2646  *
2647  */
2649 {
2650 public:
2651  CSS2TextShadow();
2652  CSS2TextShadow(const CSS2TextShadow &other);
2653  CSS2TextShadow(CSS2TextShadowImpl *impl);
2654 public:
2655 
2656  CSS2TextShadow &operator = (const CSS2TextShadow &other);
2657 
2658  ~CSS2TextShadow();
2659 
2660  /**
2661  * Specified the color of the text shadow. The CSS Value can
2662  * contain an empty string if no color has been specified.
2663  *
2664  */
2665  CSSValue color() const;
2666 
2667  /**
2668  * The horizontal position of the text shadow. \c 0 if
2669  * no length has been specified.
2670  *
2671  */
2672  CSSValue horizontal() const;
2673 
2674  /**
2675  * The vertical position of the text shadow. \c 0 if
2676  * no length has been specified.
2677  *
2678  */
2679  CSSValue vertical() const;
2680 
2681  /**
2682  * The blur radius of the text shadow. \c 0 if no
2683  * length has been specified.
2684  *
2685  */
2686  CSSValue blur() const;
2687 };
2688 
2689 }; // namespace
2690 
2691 #endif
The CSS2Cursor interface represents a simple value for the widths CSS Level 2 descriptor.
DOM::DOMString identifier() const
If azimuthType is CSS_IDENT , identifier contains one of left-side, far-left, left, center-left, center, center-right, right, far-right, right-side, leftwards, rightwards.
The CSS2Cursor interface represents the src CSS Level 2 descriptor.
The CSS2CounterReset interface represents a simple value for the counter-reset CSS Level 2 property...
The CSSValueList interface provides the absraction of an ordered collection of CSS values...
Definition: css_value.h:311
unsigned short azimuthType() const
A code defining the type of the value as defined in CSSValue .
The CSS2Properties interface represents a convenience mechanism for retrieving and setting properties...
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
bool behind() const
behind indicates whether the behind identifier has been set.
The CSS2Azimuth interface represents the azimuth CSS Level 2 property.
The CSS2CounterIncrement interface represents a imple value for the counter-increment CSS Level 2 pr...
The CSS2BorderSpacing interface represents the border-spacing CSS Level 2 property.
void setIdentifier(const DOM::DOMString &identifier, const bool behind)
Setting the identifier for the azimuth property will unset any previously set angle value...
The CSS2Cursor interface represents the size CSS Level 2 descriptor.
This library provides a full-featured HTML parser and widget.
The CSS2PlayDuring interface represents the play-during CSS Level 2 property.
void setAngleValue(const unsigned short unitType, const float floatValue)
A method to set the angle value with a specified unit.
float getAngleValue(const unsigned short unitType)
Used to retrieved the float value of the azimuth property.
The CSS2TextShadow interface represents a simple value for the text-shadow CSS Level 2 property...
The CSS2Cursor interface represents the cursor CSS Level 2 property.
The CSSValue interface represents a simple or a complexe value.
Definition: css_value.h:237
The CSS2BackgroundPosition interface represents the background-position CSS Level 2 property...
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Mar 4 2021 22:47:15 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.