* The CharacterProperties to give the text.
* @return A new CharacterRun that has the given text and properties and is
* n ow a part of the document.
+ * @deprecated User code should not work with {@link CharacterProperties}
*/
+ @Deprecated
public CharacterRun insertBefore(String text, CharacterProperties props)
// throws UnsupportedEncodingException
{
* The CharacterProperties to give the text.
* @return A new CharacterRun that has the given text and properties and is
* n ow a part of the document.
+ * @deprecated User code should not work with {@link CharacterProperties}
*/
+ @Deprecated
public CharacterRun insertAfter(String text, CharacterProperties props)
// throws UnsupportedEncodingException
{
* @param styleIndex
* The index into the stylesheet for the new paragraph.
* @return The newly inserted paragraph.
+ * @deprecated Use code shall not work with {@link ParagraphProperties}
*/
+ @Deprecated
public Paragraph insertBefore(ParagraphProperties props, int styleIndex)
// throws UnsupportedEncodingException
{
* @param text
* The text to insert.
* @return A newly inserted paragraph.
+ * @deprecated Use code shall not work with {@link ParagraphProperties}
*/
+ @Deprecated
protected Paragraph insertBefore(ParagraphProperties props, int styleIndex, String text)
// throws UnsupportedEncodingException
{
* @param styleIndex
* The index into the stylesheet for the new paragraph.
* @return The newly inserted paragraph.
+ * @deprecated Use code shall not work with {@link ParagraphProperties}
*/
-
+ @Deprecated
public Paragraph insertAfter(ParagraphProperties props, int styleIndex)
// throws UnsupportedEncodingException
{
* @param text
* The text to insert.
* @return A newly inserted paragraph.
+ * @deprecated Use code shall not work with {@link ParagraphProperties}
*/
+ @Deprecated
protected Paragraph insertAfter(ParagraphProperties props, int styleIndex, String text)
// throws UnsupportedEncodingException
{
* @param rows
* The number of rows.
* @return The empty Table that is now part of the document.
+ * @deprecated Use code shall not work with {@link ParagraphProperties}
*/
+ @Deprecated
public Table insertBefore(TableProperties props, int rows) {
ParagraphProperties parProps = new ParagraphProperties();
- parProps.setFInTable((byte) 1);
+ parProps.setFInTable(true);
parProps.setItap( 1 );
int columns = props.getItcMac();
* @param styleIndex
* The base style's index in the stylesheet.
* @return The empty ListEntry that is now part of the document.
+ * @deprecated Use code shall not work with {@link ParagraphProperties}
*/
+ @Deprecated
public ListEntry insertBefore(ParagraphProperties props, int listID, int level, int styleIndex) {
ListTables lt = _doc.getListTables();
if (lt.getLevel(listID, level) == null) {
* @param styleIndex
* The base style's index in the stylesheet.
* @return The empty ListEntry that is now part of the document.
+ * @deprecated Use code shall not work with {@link ParagraphProperties}
*/
+ @Deprecated
public ListEntry insertAfter(ParagraphProperties props, int listID, int level, int styleIndex) {
ListTables lt = _doc.getListTables();
if (lt.getLevel(listID, level) == null) {