# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

- Deprecated Classes
  Class and Description
  de.vc.jfo.rtf.AbstractDataMergeFieldListener Renamed to de.vc.jfo.rtf.listeners.AbstractDataSource
  de.vc.jfo.rtf.DataMergeFieldListener Renamed to de.vc.jfo.rtf.listeners.SimpleDataSource
  de.vc.jfo.importer.FontMapper Class was moved
  de.vc.jfo.tools.ImageConverter This classes is replaced by NativeCmdImageTranscode.

- Deprecated Fields
  Field and Description
  de.vc.jfo.env.RTF2FOConfig.COMPATIBILITY_MODE_FOP_0_20_5 Use RTF2FOCompatibilityMode.COMPATIBILITY_MODE_FOP_0_20_5.
  de.vc.jfo.env.RTF2FOConfig.COMPATIBILITY_MODE_W3C Use RTF2FOCompatibilityMode.COMPATIBILITY_MODE_W3C.
  de.vc.jfo.env.RTF2FOCompatibilityMode.XEP_4 Use RTF2FOCompatibilityMode XEP_4_4.

- Deprecated Methods
  Method and Description
  de.vc.xml.DefaultNode.add(int, NodeElement) This method was replaced by addElement(int, Object).
  de.vc.xml.DefaultNode.add(NodeElement) This method was replaced by addElement(Object).
  de.vc.jfo.flow.FlowObjectWithElements.addAllUnsafe(Collection) Replaced by addElements(Collection).
  de.vc.jfo.flow.FlowObjectWithElements.addAllUnsafe(Object[]) Replaced by addElements(Object[]).
  de.vc.jfo.flow.FlowObjectWithElements.addUnsafe(int, Object) Replaced by addElement(int,Object).
  de.vc.jfo.flow.FlowObjectWithElements.addUnsafe(Object) Replaced by addElement(Object).
  de.vc.jfo.renderer.Renderer.canRender(OutputFormat) Use supportsFormat(OutputFormat) instead.
  de.vc.report.sources.db.DBSelection.clearMapping() Use removeAliases().
  de.vc.report.storages.pdf.PDFMergeStorage.close() This method is invoked automatically by the report engine after all reports have been created.
  de.vc.jfo.flow.Footnote.getInline() Use getLink();
  de.vc.util.Measure.getPreferredUnit() Use getUnit()
  de.vc.jfo.rtf.FieldContext.insertResult(Object) User insert(Object) instead.
  de.vc.jfo.rtf.FieldContext.insertResult(Object, boolean) User insert(Object,boolean) instead.
  de.vc.report.sources.db.DBSelection.mapColumn(String, String) Use setColumnAlias
  de.vc.jfo.flow.Inline.newLine() Use a new Block or call Block.newLine
  de.vc.util.Strings.readValue(String, String, boolean) User parseAttribute instead.
  de.vc.xml.DefaultNode.remove(NodeElement) This method was replaced by removeElement(Object).
  de.vc.jfo.flow.Block.setAlignment(Values.Alignment) use setTextAlignment
  de.vc.jfo.flow.ListItemLabel.setEndIndentIsLabelEnd(boolean) Use setEndIndentAsLabelEnd, setEndIndentAsBodyStart and clearEndIndent.
  de.vc.jfo.flow.Footnote.setInline(Inline) Use setLink();
  de.vc.util.Measure.setPreferredUnit(Measure.Unit) Use changeUnit
  de.vc.jfo.flow.TableContent.setSpaceAroundCells(Measure) Use setHorizontalPadding instead.
  de.vc.jfo.rtf.RTFImporter.unregisterAllFieldProcessors() Use removeAllFieldListeners() instead.
  de.vc.jfo.tools.PDFWriter.write(Document) Use appendDocument.

- Deprecated Constructors
  Constructor and Description
  de.vc.jfo.tools.ImageConverter(String, String, String) This classes is replaced by NativeCmdImageTranscode.
  de.vc.jfo.pagination.PageSequence(PageMaster) Use `new PageSequence(Document, PageMaster)` instead.
  de.vc.jfo.pagination.PageSequence(PageMaster, int) Use `new PageSequence(Document, PageMaster, int)` instead.
  de.vc.xml.XMLWriter(Writer) Use XMLWriter(OutputStream)
  de.vc.xml.XMLWriter(Writer, boolean) Use XMLWriter(OutputStream)
  de.vc.xml.XMLWriter(Writer, boolean, String) Use XMLWriter(OutputStream)
  de.vc.xml.XMLWriter(Writer, String) Use XMLWriter(OutputStream)

© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.