[aXSL-commit] SF.net SVN: axsl: [514] trunk/axsl/axsl-area-w/src/java/org/axsl/areaW
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-05-05 19:10:28
|
Revision: 514 Author: victormote Date: 2006-05-05 12:10:14 -0700 (Fri, 05 May 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=514&view=rev Log Message: ----------- Add some more basic interfaces. Added Paths: ----------- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaFixed.java trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaFlexible.java trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/MainRA.java trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/NormalFlowRA.java trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/RegionRABody.java trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/SpanRA.java Added: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaFixed.java =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaFixed.java (rev 0) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaFixed.java 2006-05-05 19:10:14 UTC (rev 514) @@ -0,0 +1,31 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.areaW; + +/** + * Subclasses are block-areas that do not need to store their own size or + * spacing information. This includes the page itself, regions, before-float + * RAs, footnote RAs, the main RA, and absolutely-positioned blocks. The + * opposite of AreaFixed is {@link AreaFlexible}. + */ +public interface AreaFixed extends Area { + +} Property changes on: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaFixed.java ___________________________________________________________________ Name: svn:keywords + "Author Id Rev Date URL" Name: svn:eol-style + native Added: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaFlexible.java =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaFlexible.java (rev 0) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaFlexible.java 2006-05-05 19:10:14 UTC (rev 514) @@ -0,0 +1,29 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.areaW; + +/** + * Subclasses are areas that need to store their own size and spacing + * information. + */ +public interface AreaFlexible extends Area { + +} Property changes on: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaFlexible.java ___________________________________________________________________ Name: svn:keywords + "Author Id Rev Date URL" Name: svn:eol-style + native Added: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/MainRA.java =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/MainRA.java (rev 0) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/MainRA.java 2006-05-05 19:10:14 UTC (rev 514) @@ -0,0 +1,29 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.areaW; + +/** + * Manages the main-reference-area. Its parent should always be an instance of + * RegionRABody, and its children should always be instances of SpanRA. + */ +public interface MainRA extends AreaFixed { + +} Property changes on: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/MainRA.java ___________________________________________________________________ Name: svn:keywords + "Author Id Rev Date URL" Name: svn:eol-style + native Added: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/NormalFlowRA.java =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/NormalFlowRA.java (rev 0) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/NormalFlowRA.java 2006-05-05 19:10:14 UTC (rev 514) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.areaW; + +/** + * Represents a normal-flow-reference-area. + */ +public interface NormalFlowRA extends AreaFlexible { + +} Property changes on: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/NormalFlowRA.java ___________________________________________________________________ Name: svn:keywords + "Author Id Rev Date URL" Name: svn:eol-style + native Added: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/RegionRABody.java =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/RegionRABody.java (rev 0) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/RegionRABody.java 2006-05-05 19:10:14 UTC (rev 514) @@ -0,0 +1,27 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.areaW; + +public interface RegionRABody extends AreaFixed { + + public MainRA getMainRA() ; + +} Property changes on: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/RegionRABody.java ___________________________________________________________________ Name: svn:keywords + "Author Id Rev Date URL" Name: svn:eol-style + native Added: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/SpanRA.java =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/SpanRA.java (rev 0) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/SpanRA.java 2006-05-05 19:10:14 UTC (rev 514) @@ -0,0 +1,31 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.areaW; + +/** + * Represents a span-reference-area. + * The standard does not seem to tell us what if any FO generates a + * span-reference-area. The best guess is that it is generated by the + * region-body fo. + */ +public interface SpanRA extends AreaFlexible { + +} Property changes on: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/SpanRA.java ___________________________________________________________________ Name: svn:keywords + "Author Id Rev Date URL" Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |