CVS 2002/css-validator/org/w3c/css/properties/paged

Update of /sources/public/2002/css-validator/org/w3c/css/properties/paged
In directory roscoe:/tmp/cvs-serv9756/paged

Modified Files:
	Css2Style.java 
Removed Files:
	PageBreakAfter.java PageBreakAfterATSC.java 
	PageBreakBefore.java PageBreakBeforeATSC.java 
	PageBreakInside.java PageBreakInsideATSC.java 
Log Message:
page-break-[after|before|inside] per CSS2 CSS21 CSS3

--- /sources/public/2002/css-validator/org/w3c/css/properties/paged/Css2Style.java	2013/09/30 01:08:43	1.6
+++ /sources/public/2002/css-validator/org/w3c/css/properties/paged/Css2Style.java	2014/01/29 21:03:03	1.7
@@ -1,5 +1,5 @@
 //
-// $Id: Css2Style.java,v 1.6 2013/09/30 01:08:43 ylafon Exp $
+// $Id: Css2Style.java,v 1.7 2014/01/29 21:03:03 ylafon Exp $
 // From Philippe Le Hegaret (Philippe.Le_Hegaret@sophia.inria.fr)
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
@@ -10,127 +10,56 @@
 
 
 /**
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
  */
 public class Css2Style extends org.w3c.css.properties.css2.Css2Style {
 
-    Size size;
-    Marks marks;
+	Size size;
+	Marks marks;
 
-    PageBreakBefore pageBreakBefore;
-    PageBreakBeforeATSC pageBreakBeforeATSC;
-    PageBreakAfter pageBreakAfter;
-    PageBreakAfterATSC pageBreakAfterATSC;
-    PageBreakInside pageBreakInside;
-    PageBreakInsideATSC pageBreakInsideATSC;
-
-    Page page;
-    PageATSC pageATSC;
-
-    /**
-     * Get the size property
-     */
-    public final Size getSize() {
-	if (size == null) {
-	    size = (Size) style.CascadingOrder(new Size(),
-						   style, selector);
-	}
-	return size;
-    }
-
-    /**
-     * Get the marks property
-     */
-    public final Marks getMarks() {
-	if (marks == null) {
-	    marks = (Marks) style.CascadingOrder(new Marks(),
-						   style, selector);
-	}
-	return marks;
-    }
-
-    /**
-     * Get the page-break-before property
-     */
-    public final PageBreakBefore getPageBreakBefore() {
-	if (pageBreakBefore == null) {
-	    pageBreakBefore =
-		(PageBreakBefore) style.CascadingOrder(new PageBreakBefore(),
-						       style, selector);
-	}
-	return pageBreakBefore;
-    }
-
-    public final PageBreakBeforeATSC getPageBreakBeforeATSC() {
-	if (pageBreakBeforeATSC == null) {
-	    pageBreakBeforeATSC =
-		(PageBreakBeforeATSC) style.CascadingOrder(new PageBreakBeforeATSC(),
-						       style, selector);
-	}
-	return pageBreakBeforeATSC;
-    }
-
-    /**
-     * Get the page-break-after property
-     */
-    public final PageBreakAfter getPageBreakAfter() {
-	if (pageBreakAfter == null) {
-	    pageBreakAfter =
-		(PageBreakAfter) style.CascadingOrder(new PageBreakAfter(),
-						       style, selector);
-	}
-	return pageBreakAfter;
-    }
-
-    public final PageBreakAfterATSC getPageBreakAfterATSC() {
-	if (pageBreakAfterATSC == null) {
-	    pageBreakAfterATSC =
-		(PageBreakAfterATSC) style.CascadingOrder(new PageBreakAfterATSC(),
-						       style, selector);
-	}
-	return pageBreakAfterATSC;
-    }
-
-    /**
-     * Get the page-break-inside property
-     */
-    public final PageBreakInside getPageBreakInside() {
-	if (pageBreakInside == null) {
-	    pageBreakInside =
-		(PageBreakInside) style.CascadingOrder(new PageBreakInside(),
-						       style, selector);
-	}
-	return pageBreakInside;
-    }
-
-    public final PageBreakInsideATSC getPageBreakInsideATSC() {
-	if (pageBreakInsideATSC == null) {
-	    pageBreakInsideATSC =
-		(PageBreakInsideATSC) style.CascadingOrder(new PageBreakInsideATSC(),
-						       style, selector);
-	}
-	return pageBreakInsideATSC;
-    }
-
-
-    /**
-     * Get the page property
-     */
-    public final Page getPage() {
-	if (page == null) {
-	    page =
-		(Page) style.CascadingOrder(new Page(),
-						       style, selector);
-	}
-	return page;
-    }
+	Page page;
+	PageATSC pageATSC;
 
-    public final PageATSC getPageATSC() {
-	if (pageATSC == null) {
-	    pageATSC =
-		(PageATSC) style.CascadingOrder(new PageATSC(),
-						       style, selector);
+	/**
+	 * Get the size property
+	 */
+	public final Size getSize() {
+		if (size == null) {
+			size = (Size) style.CascadingOrder(new Size(),
+					style, selector);
+		}
+		return size;
+	}
+
+	/**
+	 * Get the marks property
+	 */
+	public final Marks getMarks() {
+		if (marks == null) {
+			marks = (Marks) style.CascadingOrder(new Marks(),
+					style, selector);
+		}
+		return marks;
+	}
+
+	/**
+	 * Get the page property
+	 */
+	public final Page getPage() {
+		if (page == null) {
+			page =
+					(Page) style.CascadingOrder(new Page(),
+							style, selector);
+		}
+		return page;
+	}
+
+	public final PageATSC getPageATSC() {
+		if (pageATSC == null) {
+			pageATSC =
+					(PageATSC) style.CascadingOrder(new PageATSC(),
+							style, selector);
+		}
+		return pageATSC;
 	}
-	return pageATSC;
-    }
 }

Received on Wednesday, 29 January 2014 21:03:07 UTC