Examples of PPTContentTransformer


Examples of com.gentics.cr.lucene.indexer.transformer.ppt.PPTContentTransformer

    config = new GenericConfiguration();
    config.set("attribute", "binarycontent");
  }

  public void testTransformer() throws Exception {
    ContentTransformer t = new PPTContentTransformer(config);
    t.processBean(bean);
    String s = (String) bean.get("binarycontent");
    String x = "Click to edit Master title style Click to edit Master text styles\rSecond level\rThird level\rFourth level\rFifth level Test Text This text contains special characters \u00D6\u00DC\u00C4\u00F6\u00FC\u00E4\u00DF? ";
    assertEquals(x, s);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.