package com.jtyjy.pdf2pptx.service.impl;

import com.jtyjy.pdf2pptx.converter.Pdf2Pptx;
import com.jtyjy.pdf2pptx.service.ConverterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConverterServiceImpl implements ConverterService {

    @Autowired
    private Pdf2Pptx pdf2Pptx;

    @Override
    public long converterPdf2Pptx(String path) {
        return pdf2Pptx.converte(path);
    }
}
