com.alphasystem.docbook.handler.impl.ItalicHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docbook-2-docx Show documentation
Show all versions of docbook-2-docx Show documentation
Alpha system commons library
The newest version!
package com.alphasystem.docbook.handler.impl;
import com.alphasystem.docbook.handler.InlineStyleHandler;
import com.alphasystem.docx4j.builder.wml.RPrBuilder;
/**
* Handles "italic" style.
*
* @author sali
*/
public class ItalicHandler implements InlineStyleHandler {
@Override
public RPrBuilder applyStyle(RPrBuilder rprBuilder) {
return rprBuilder.withI(true).withICs(true);
}
}