| /******************************************************************************* |
| * Copyright (c) 2007, 2008 IBM Corporation and Others |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Tatsuya ISHIHARA - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.actf.model.dom.odf.text; |
| |
| import org.eclipse.actf.model.dom.odf.base.ODFElement; |
| import org.eclipse.actf.model.dom.odf.content.IStylable; |
| import org.eclipse.actf.model.dom.odf.range.ITextElementContainer; |
| import org.eclipse.actf.model.dom.odf.style.StyleElement; |
| |
| /** |
| * Interface for <text:list> element. |
| */ |
| public interface ListElement extends ODFElement, IStylable, |
| ITextElementContainer { |
| public long getSize(); |
| |
| public ListItemElement getItem(long idx); |
| |
| public void appendItem(ListItemElement item); |
| |
| public void insertBefore(ListItemElement item, long idx); |
| |
| public long getListLevel(); |
| |
| public ListElement getTopLevelListElement(); |
| |
| public StyleElement getListLevelStyleElement(); |
| } |