/**
* Copyright (C) 2011-2015 The XDocReport Team <xdocreport@googlegroups.com>
*
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package org.apache.poi.xwpf.converter.core;
import java.io.IOException;
import org.junit.Test;
public abstract class AbstractXWPFPOIConverterTest
{
@Test
public void AdvancedTable()
throws IOException
{
doGenerate( "AdvancedTable.docx" );
}
@Test
public void AdvancedTable2()
throws IOException
{
doGenerate( "AdvancedTable2.docx" );
}
@Test
public void AvanceSurFrais()
throws IOException
{
doGenerate( "AvanceSurFrais.docx" );
}
@Test
public void CV()
throws IOException
{
doGenerate( "CV.docx" );
}
@Test
public void CV2()
throws IOException
{
doGenerate( "CV2.docx" );
}
@Test
public void DIF()
throws IOException
{
doGenerate( "DIF.docx" );
}
@Test
public void Docx4j_GettingStarted()
throws IOException
{
doGenerate( "Docx4j_GettingStarted.docx" );
}
@Test
public void DocxBig()
throws IOException
{
doGenerate( "DocxBig.docx" );
}
@Test
public void DocxBig2()
throws IOException
{
doGenerate( "DocxBig2.docx" );
}
@Test
public void DocxLettreRelance()
throws IOException
{
doGenerate( "DocxLettreRelance.docx" );
}
@Test
public void DocxLettreRelance2()
throws IOException
{
doGenerate( "DocxLettreRelance2.docx" );
}
@Test
public void DocXperT_Output_4_3()
throws IOException
{
doGenerate( "DocXperT_Output_4_3.docx" );
}
@Test
public void DocxStructures()
throws IOException
{
doGenerate( "DocxStructures.docx" );
}
@Test
public void EntretienAnnuel()
throws IOException
{
doGenerate( "EntretienAnnuel.docx" );
}
@Test
public void Exercise1()
throws IOException
{
doGenerate( "Exercise1.docx" );
}
@Test
public void Exercise2()
throws IOException
{
doGenerate( "Exercise2.docx" );
}
@Test
public void FormattingTests()
throws IOException
{
doGenerate( "FormattingTests.docx" );
}
@Test
public void Issue160()
throws IOException
{
doGenerate( "Issue160.docx" );
}
@Test
public void Issue175()
throws IOException
{
doGenerate( "Issue175.docx" );
}
@Test
public void Issue206()
throws IOException
{
doGenerate( "Issue206.docx" );
}
@Test
public void Issue207()
throws IOException
{
doGenerate( "Issue207.docx" );
}
@Test
public void Issue222()
throws IOException
{
doGenerate( "Issue222.docx" );
}
@Test
public void Issue239()
throws IOException
{
doGenerate( "Issue239.docx" );
}
/*
@Test
public void Issue239_1()
throws IOException
{
doGenerate( "Issue239_1.docx" );
}*/
@Test
public void Issue240()
throws IOException
{
doGenerate( "Issue240.docx" );
}
@Test
public void Issue254()
throws IOException
{
doGenerate( "Issue254.docx" );
}
@Test
public void Issue315()
throws IOException
{
doGenerate( "Issue315.docx" );
}
@Test
public void Issue316()
throws IOException
{
doGenerate( "Issue316.docx" );
}
@Test
public void Issue315_saved()
throws IOException
{
doGenerate( "Issue315_saved.docx" );
}
@Test
public void Issue317()
throws IOException
{
doGenerate( "Issue317.docx" );
}
@Test
public void Issue318()
throws IOException
{
doGenerate( "Issue318.docx" );
}
@Test
public void Issue336()
throws IOException
{
doGenerate( "Issue336.docx" );
}
@Test
public void Issue393()
throws IOException
{
doGenerate( "Issue393.docx" );
}
@Test
public void Issue433()
throws IOException
{
doGenerate( "Issue433.docx" );
}
@Test
public void Issue434()
throws IOException
{
doGenerate( "Issue434.docx" );
}
@Test
public void Issue52()
throws IOException
{
doGenerate( "Issue52.docx" );
}
@Test
public void NotePosteDeTravail()
throws IOException
{
doGenerate( "NotePosteDeTravail.docx" );
}
@Test
public void ooxml()
throws IOException
{
doGenerate( "ooxml.docx" );
}
@Test
public void Oriel()
throws IOException
{
doGenerate( "Oriel.docx" );
}
@Test
public void PersAngaben()
throws IOException
{
doGenerate( "PersAngaben.docx" );
}
@Test
public void SittingPretty()
throws IOException
{
doGenerate( "SittingPretty.docx" );
}
@Test
public void Taksee()
throws IOException
{
doGenerate( "Taksee.docx" );
}
@Test
public void TemplateGeneral()
throws IOException
{
doGenerate( "TemplateGeneral.docx" );
}
@Test
public void TemplateIndividuel()
throws IOException
{
doGenerate( "TemplateIndividuel.docx" );
}
@Test
public void TestColor()
throws IOException
{
doGenerate( "TestColor.docx" );
}
@Test
public void TestColorAuto()
throws IOException
{
doGenerate( "TestColorAuto.docx" );
}
@Test
public void TestComplexTable()
throws IOException
{
doGenerate( "TestComplexTable.docx" );
}
@Test
public void TestFonts()
throws IOException
{
doGenerate( "TestFonts.docx" );
}
@Test
public void TestFontStylesBasedOn()
throws IOException
{
doGenerate( "TestFontStylesBasedOn.docx" );
}
@Test
public void TestHeader()
throws IOException
{
doGenerate( "TestHeader.docx" );
}
@Test
public void TestHeaderFooterPage()
throws IOException
{
doGenerate( "TestHeaderFooterPage.docx" );
}
@Test
public void TestHeaderFooterPageFirstEvenDefault()
throws IOException
{
doGenerate( "TestHeaderFooterPageFirstEvenDefault.docx" );
}
@Test
public void TestImageWithFloat()
throws IOException
{
doGenerate( "TestImageWithFloat.docx" );
}
@Test
public void TestLandscapeFormat()
throws IOException
{
doGenerate( "TestLandscapeFormat.docx" );
}
@Test
public void TestLineSpacing()
throws IOException
{
doGenerate( "TestLineSpacing.docx" );
}
@Test
public void TestPageNumber()
throws IOException
{
doGenerate( "TestPageNumber.docx" );
}
@Test
public void TestList()
throws IOException
{
doGenerate( "TestList.docx" );
}
@Test
public void TestPageWithBorder()
throws IOException
{
doGenerate( "TestPageWithBorder.docx" );
}
@Test
public void TestParagraphAlignment()
throws IOException
{
doGenerate( "TestParagraphAlignment.docx" );
}
@Test
public void TestParagraphWithBorder()
throws IOException
{
doGenerate( "TestParagraphWithBorder.docx" );
}
@Test
public void TestTable()
throws IOException
{
doGenerate( "TestTable.docx" );
}
@Test
public void TestTableAlignment()
throws IOException
{
doGenerate( "TestTableAlignment.docx" );
}
@Test
public void TestTableBorder()
throws IOException
{
doGenerate( "TestTableBorder.docx" );
}
@Test
public void TestTestTableCellAlignment()
throws IOException
{
doGenerate( "TestTableCellAlignment.docx" );
}
@Test
public void TestTableCellTextOrientation()
throws IOException
{
doGenerate( "TestTableCellTextOrientation.docx" );
}
@Test
public void TestTableNested()
throws IOException
{
doGenerate( "TestTableNested.docx" );
}
@Test
public void TestTableMultiLineMerge()
throws IOException
{
doGenerate( "TestTableMultiLineMerge.docx" );
}
@Test
public void TestTabulation()
throws IOException
{
doGenerate( "TestTabulation.docx" );
}
@Test
public void TestTextHighlighting()
throws IOException
{
doGenerate( "TestTextHighlighting.docx" );
}
@Test
public void TestTitle()
throws IOException
{
doGenerate( "TestTitle.docx" );
}
protected abstract void doGenerate( String fileName )
throws IOException;
}