You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IRtfTextrunContainer.java 3.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * ============================================================================
  3. * The Apache Software License, Version 1.1
  4. * ============================================================================
  5. *
  6. * Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
  7. *
  8. * Redistribution and use in source and binary forms, with or without modifica-
  9. * tion, are permitted provided that the following conditions are met:
  10. *
  11. * 1. Redistributions of source code must retain the above copyright notice,
  12. * this list of conditions and the following disclaimer.
  13. *
  14. * 2. Redistributions in binary form must reproduce the above copyright notice,
  15. * this list of conditions and the following disclaimer in the documentation
  16. * and/or other materials provided with the distribution.
  17. *
  18. * 3. The end-user documentation included with the redistribution, if any, must
  19. * include the following acknowledgment: "This product includes software
  20. * developed by the Apache Software Foundation (http://www.apache.org/)."
  21. * Alternately, this acknowledgment may appear in the software itself, if
  22. * and wherever such third-party acknowledgments normally appear.
  23. *
  24. * 4. The names "FOP" and "Apache Software Foundation" must not be used to
  25. * endorse or promote products derived from this software without prior
  26. * written permission. For written permission, please contact
  27. * apache@apache.org.
  28. *
  29. * 5. Products derived from this software may not be called "Apache", nor may
  30. * "Apache" appear in their name, without prior written permission of the
  31. * Apache Software Foundation.
  32. *
  33. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  34. * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  35. * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  36. * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  37. * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
  38. * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  39. * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  40. * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  41. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  42. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  43. * ============================================================================
  44. *
  45. * This software consists of voluntary contributions made by many individuals
  46. * on behalf of the Apache Software Foundation and was originally created by
  47. * James Tauber <jtauber@jtauber.com>. For more information on the Apache
  48. * Software Foundation, please see <http://www.apache.org/>.
  49. */
  50. /*
  51. * This file is part of the RTF library of the FOP project.
  52. */
  53. package org.apache.fop.render.rtf.rtflib.rtfdoc;
  54. import java.io.IOException;
  55. import java.io.Writer;
  56. import java.util.LinkedList;
  57. import java.util.List;
  58. import java.util.Iterator;
  59. import java.io.IOException;
  60. import org.apache.fop.render.rtf.rtflib.exceptions.RtfStructureException;
  61. import org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTextrun;
  62. /** Interface which enables an implementing class to contain linear text runs.
  63. * @author Peter Herweg, pherweg@web.de
  64. */
  65. public interface IRtfTextrunContainer {
  66. public RtfTextrun getTextrun() throws IOException;
  67. }