Pārlūkot izejas kodu

Fixed a few JavaDoc errors. Removed some apparently unused/obsolete methods.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454018 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_93
Joerg Pietschmann pirms 17 gadiem
vecāks
revīzija
ee1706ac5f

+ 12
- 12
src/java/org/apache/fop/fo/flow/Marker.java Parādīt failu

} }


/** /**
* @see org.xml.sax.Attributes#getURI()
* @see org.xml.sax.Attributes#getURI(int)
*/ */
public String getURI(int index) { public String getURI(int index) {
if (attribs != null if (attribs != null
} }


/** /**
* @see org.xml.sax.Attributes#getLocalName()
* @see org.xml.sax.Attributes#getLocalName(int)
*/ */
public String getLocalName(int index) { public String getLocalName(int index) {
if (attribs != null if (attribs != null
} }


/** /**
* @see org.xml.sax.Attributes#getQName()
* @see org.xml.sax.Attributes#getQName(int)
*/ */
public String getQName(int index) { public String getQName(int index) {
if (attribs != null if (attribs != null


/** /**
* Default implementation; not used * Default implementation; not used
* @see org.xml.sax.Attributes#getType()
* @see org.xml.sax.Attributes#getType(int)
*/ */
public String getType(int index) { public String getType(int index) {
return "CDATA"; return "CDATA";
} }


/** /**
* @see org.xml.sax.Attributes#getValue()
* @see org.xml.sax.Attributes#getValue(int)
*/ */
public String getValue(int index) { public String getValue(int index) {
if (attribs != null if (attribs != null
} }


/** /**
* @see org.xml.sax.Attributes#getIndex()
* @see org.xml.sax.Attributes#getIndex(String, String)
*/ */
public int getIndex(String name, String namespace) { public int getIndex(String name, String namespace) {
int index = -1; int index = -1;
} }


/** /**
* @see org.xml.sax.Attributes#getIndex()
* @see org.xml.sax.Attributes#getIndex(String)
*/ */
public int getIndex(String qname) { public int getIndex(String qname) {
int index = -1; int index = -1;


/** /**
* Default implementation; not used * Default implementation; not used
* @see org.xml.sax.Attributes#getType()
* @see org.xml.sax.Attributes#getType(String, String)
*/ */
public String getType(String name, String namespace) { public String getType(String name, String namespace) {
return "CDATA"; return "CDATA";


/** /**
* Default implementation; not used * Default implementation; not used
* @see org.xml.sax.Attributes#getType()
* @see org.xml.sax.Attributes#getType(String)
*/ */
public String getType(String qname) { public String getType(String qname) {
return "CDATA"; return "CDATA";
} }


/** /**
* @see org.xml.sax.Attributes#getValue()
* @see org.xml.sax.Attributes#getValue(String, String)
*/ */
public String getValue(String name, String namespace) { public String getValue(String name, String namespace) {
int index = getIndex(name, namespace); int index = getIndex(name, namespace);
} }


/** /**
* @see org.xml.sax.Attributes#getValue()
* @see org.xml.sax.Attributes#getValue(String)
*/ */
public String getValue(String qname) { public String getValue(String qname) {
int index = getIndex(qname); int index = getIndex(qname);
return null; return null;
} }
} }
}
}

+ 1
- 2
src/java/org/apache/fop/fo/flow/TableBody.java Parādīt failu

} }
/** /**
* @see org.apache.fop.fo.FONode#processNode()
* @see org.apache.fop.fo.FONode#processNode(String, Locator, Attributes, PropertyList)
*/ */
public void processNode(String elementName, Locator locator, public void processNode(String elementName, Locator locator,
Attributes attlist, PropertyList pList) Attributes attlist, PropertyList pList)
/** /**
* Checks whether the previous cell had 'ends-row="true"' * Checks whether the previous cell had 'ends-row="true"'
* *
* @param currentCell the cell for which the question is asked
* @return true if: * @return true if:
* a) there is a previous cell, which * a) there is a previous cell, which
* had ends-row="true" * had ends-row="true"

+ 4
- 4
src/java/org/apache/fop/fo/properties/BackgroundPositionShorthandParser.java Parādīt failu

public class BackgroundPositionShorthandParser extends GenericShorthandParser { public class BackgroundPositionShorthandParser extends GenericShorthandParser {


/** /**
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty()
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty(int, Property, PropertyMaker, PropertyList)
*/ */
public Property getValueForProperty(int propId, public Property getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList)
Property property,
PropertyMaker maker,
PropertyList propertyList)
throws PropertyException { throws PropertyException {
int index = -1; int index = -1;

+ 1
- 1
src/java/org/apache/fop/fo/properties/FontShorthandParser.java Parādīt failu

public class FontShorthandParser extends GenericShorthandParser { public class FontShorthandParser extends GenericShorthandParser {


/** /**
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty()
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty(int, Property, PropertyMaker, PropertyList)
*/ */
public Property getValueForProperty(int propId, public Property getValueForProperty(int propId,
Property property, Property property,

+ 1
- 1
src/java/org/apache/fop/fo/properties/GenericShorthandParser.java Parādīt failu

} }
/** /**
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty()
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty(int, Property, PropertyMaker, PropertyList)
*/ */
public Property getValueForProperty(int propId, public Property getValueForProperty(int propId,
Property property, Property property,

+ 1
- 1
src/java/org/apache/fop/fo/properties/LengthRangeProperty.java Parādīt failu

/** /**
* @see org.apache.fop.fo.properties.PropertyMaker#getSubprop()
* @see org.apache.fop.fo.properties.PropertyMaker#getSubprop(Property, int, Property)
*/ */
protected Property setSubprop(Property baseProperty, int subpropertyId, protected Property setSubprop(Property baseProperty, int subpropertyId,
Property subproperty) { Property subproperty) {

+ 1
- 1
src/java/org/apache/fop/fo/properties/PageBreakShorthandParser.java Parādīt failu

public class PageBreakShorthandParser implements ShorthandParser { public class PageBreakShorthandParser implements ShorthandParser {
/** /**
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty()
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty(int, Property, PropertyMaker, PropertyList)
*/ */
public Property getValueForProperty(int propId, public Property getValueForProperty(int propId,
Property property, Property property,

+ 1
- 1
src/java/org/apache/fop/fo/properties/PositionShorthandParser.java Parādīt failu

public class PositionShorthandParser implements ShorthandParser { public class PositionShorthandParser implements ShorthandParser {
/** /**
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty()
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty(int, Property, PropertyMaker, PropertyList)
*/ */
public Property getValueForProperty(int propId, public Property getValueForProperty(int propId,
Property property, Property property,

+ 2
- 2
src/java/org/apache/fop/fo/properties/ReferenceOrientationMaker.java Parādīt failu

/** /**
* Constructor * Constructor
* @param propId the Constant Id for the property to be made * @param propId the Constant Id for the property to be made
* @see org.apache.fop.fo.properties.PropertyMaker#PropertyMaker(propId)
* @see org.apache.fop.fo.properties.NumberProperty.Maker#PropertyMaker(propId)
*/ */
public ReferenceOrientationMaker(int propId) { public ReferenceOrientationMaker(int propId) {
super(propId); super(propId);
} }
} }


}
}

+ 1
- 1
src/java/org/apache/fop/fo/properties/WhiteSpaceShorthandParser.java Parādīt failu

public class WhiteSpaceShorthandParser implements ShorthandParser { public class WhiteSpaceShorthandParser implements ShorthandParser {


/** /**
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty()
* @see org.apache.fop.fo.properties.ShorthandParser#getValueForProperty(int, Property, PropertyMaker, PropertyList)
*/ */
public Property getValueForProperty(int propId, Property property, public Property getValueForProperty(int propId, Property property,
PropertyMaker maker, PropertyList propertyList) PropertyMaker maker, PropertyList propertyList)

+ 3
- 6
src/java/org/apache/fop/pdf/PDFMetadata.java Parādīt failu

super.setupFilterList(); super.setupFilterList();
} }


/** @see org.apache.fop.pdf.AbstractPDFStream#allowEncryption() */
protected boolean allowEncryption() {
return false; //XMP metadata packet must be scannable by non PDF-compatible readers
}

/** @return the XMP metadata */
/**
* @return the XMP metadata
*/
public Metadata getMetadata() { public Metadata getMetadata() {
return this.xmpMetadata; return this.xmpMetadata;
} }

+ 10
- 17
src/java/org/apache/fop/render/afp/AFPRenderer.java Parādīt failu

} }


/** /**
* @see org.apache.fop.render.Renderer#stopRenderer(java.io.OutputStream)
* @see org.apache.fop.render.Renderer#stopRenderer()
*/ */
public void stopRenderer() throws IOException { public void stopRenderer() throws IOException {
_afpDataStream.endDocument(); _afpDataStream.endDocument();


/** /**
* Clip using the current path. * Clip using the current path.
* @see org.apache.fop.render.AbstractRenderer#clip
* @see org.apache.fop.render.AbstractPathOrientedRenderer#clip
*/ */
public void clip() { public void clip() {
// TODO // TODO


/** /**
* Clip using a rectangular area. * Clip using a rectangular area.
* @see org.apache.fop.render.AbstractRenderer#clipRect(float, float, float, float)
* @see org.apache.fop.render.AbstractPathOrientedRenderer#clipRect(float, float, float, float)
*/ */
public void clipRect(float x, float y, float width, float height) { public void clipRect(float x, float y, float width, float height) {
// TODO // TODO


/** /**
* Moves the current point to (x, y), omitting any connecting line segment. * Moves the current point to (x, y), omitting any connecting line segment.
* @see org.apache.fop.render.AbstractRenderer#moveTo(float, float)
* @see org.apache.fop.render.AbstractPathOrientedRenderer#moveTo(float, float)
*/ */
public void moveTo(float x, float y) { public void moveTo(float x, float y) {
// TODO // TODO
/** /**
* Appends a straight line segment from the current point to (x, y). The * Appends a straight line segment from the current point to (x, y). The
* new current point is (x, y). * new current point is (x, y).
* @see org.apache.fop.render.AbstractRenderer#lineTo(float, float)
* @see org.apache.fop.render.AbstractPathOrientedRenderer#lineTo(float, float)
*/ */
public void lineTo(float x, float y) { public void lineTo(float x, float y) {
// TODO // TODO
/** /**
* Closes the current subpath by appending a straight line segment from * Closes the current subpath by appending a straight line segment from
* the current point to the starting point of the subpath. * the current point to the starting point of the subpath.
* @see org.apache.fop.render.AbstractRenderer#closePath
* @see org.apache.fop.render.AbstractPathOrientedRenderer#closePath
*/ */
public void closePath() { public void closePath() {
// TODO // TODO


/** /**
* Fill a rectangular area. * Fill a rectangular area.
* @see org.apache.fop.render.AbstractRenderer#fillRect(float, float, float, float)
* @see org.apache.fop.render.AbstractPathOrientedRenderer#fillRect(float, float, float, float)
*/ */
public void fillRect(float x, float y, float width, float height) { public void fillRect(float x, float y, float width, float height) {
/* /*


/** /**
* Draw a border segment of an XSL-FO style border. * Draw a border segment of an XSL-FO style border.
* @see org.apache.fop.render.AbstractRenderer#drawBorderLine(float, float, float, float,
* @see org.apache.fop.render.AbstractPathOrientedRenderer#drawBorderLine(float, float, float, float,
* boolean, boolean, int, Color) * boolean, boolean, int, Color)
*/ */
public void drawBorderLine(float x1, float y1, float x2, float y2, public void drawBorderLine(float x1, float y1, float x2, float y2,


/** /**
* Draw an image at the indicated location. * Draw an image at the indicated location.
* @see org.apache.fop.render.AbstractRenderer#drawImage(String, Rectangle2D, Map)
* @see org.apache.fop.render.AbstractPathOrientedRenderer#drawImage(String, Rectangle2D, Map)
*/ */
public void drawImage(String url, Rectangle2D pos, Map foreignAttributes) { public void drawImage(String url, Rectangle2D pos, Map foreignAttributes) {
String name = null; String name = null;
/** /**
* Establishes a new foreground or fill color. * Establishes a new foreground or fill color.
* @see org.apache.fop.render.AbstractRenderer#updateColor(Color, boolean)
* @see org.apache.fop.render.AbstractPathOrientedRenderer#updateColor(Color, boolean)
*/ */
public void updateColor(Color col, boolean fill) { public void updateColor(Color col, boolean fill) {
if (fill) { if (fill) {
super.renderLeader(area); super.renderLeader(area);
} }


/**
* @see org.apache.fop.render.Renderer#setProducer(String)
*/
public void setProducer(String producer) {
_afpDataStream.setProducer(producer);
}

/** /**
* @see org.apache.fop.render.Renderer#setOptions(Map) * @see org.apache.fop.render.Renderer#setOptions(Map)
*/ */

+ 1
- 11
src/java/org/apache/fop/render/afp/modca/AFPDataStream.java Parādīt failu



} }


/**
* Sets the application producing the AFP.
*
* @param producer
* the application producing the AFP datastream
*/
public void setProducer(String producer) {
_producer = producer;
}

/** /**
* This method will create shading on the page using the specified * This method will create shading on the page using the specified
* coordinates (the shading contrast is controlled via the red, green, blue * coordinates (the shading contrast is controlled via the red, green, blue


} }


}
}

+ 2
- 5
src/java/org/apache/fop/render/java2d/Java2DRenderer.java Parādīt failu

} }


/** /**
* @see org.apache.fop.render.AbstractPathOrientedRenderer#updateColor(
* org.apache.fop.datatypes.ColorType, boolean)
* @see org.apache.fop.render.AbstractPathOrientedRenderer#updateColor(Color, boolean)
*/ */
protected void updateColor(Color col, boolean fill) { protected void updateColor(Color col, boolean fill) {
state.updateColor(col); state.updateColor(col);
} }
/** /**
* @see org.apache.fop.render.AbstractPathOrientedRenderer#drawBorderLine(
* float, float, float, float, boolean, boolean, int,
* org.apache.fop.datatypes.ColorType)
* @see org.apache.fop.render.AbstractPathOrientedRenderer#drawBorderLine(float, float, float, float, boolean, boolean, int, Color)
*/ */
protected void drawBorderLine(float x1, float y1, float x2, float y2, protected void drawBorderLine(float x1, float y1, float x2, float y2,
boolean horz, boolean startOrBefore, int style, Color col) { boolean horz, boolean startOrBefore, int style, Color col) {

+ 1
- 1
src/java/org/apache/fop/render/java2d/Java2DSVGHandler.java Parādīt failu

info.state.getGraph().setTransform(origTransform); info.state.getGraph().setTransform(origTransform);
} }
/** @see org.apache.fop.render.XMLHandler#supportsRenderer() */
/** @see org.apache.fop.render.XMLHandler#supportsRenderer(Renderer) */
public boolean supportsRenderer(Renderer renderer) { public boolean supportsRenderer(Renderer renderer) {
return (renderer instanceof Java2DRenderer); return (renderer instanceof Java2DRenderer);
} }

+ 1
- 1
src/java/org/apache/fop/render/xml/XMLRenderer.java Parādīt failu

} }
} }


/** @see org.apache.fop.render.AbstractRenderer#processOffDocumentItem() */
/** @see org.apache.fop.render.AbstractRenderer#processOffDocumentItem(OffDocumentItem) */
public void processOffDocumentItem(OffDocumentItem oDI) { public void processOffDocumentItem(OffDocumentItem oDI) {
if (oDI instanceof OffDocumentExtensionAttachment) { if (oDI instanceof OffDocumentExtensionAttachment) {
ExtensionAttachment attachment = ((OffDocumentExtensionAttachment)oDI).getAttachment(); ExtensionAttachment attachment = ((OffDocumentExtensionAttachment)oDI).getAttachment();

Notiek ielāde…
Atcelt
Saglabāt