"""TürkPatent DOCX üretim servisi.

reference-scripts/build_turkpatent_separate_docs.py'den adapte edildi.
Format kuralları (TPMK + PCT Rule 11.6):
- A4, üst 20mm / sol 25mm / sağ 20mm / alt 20mm
- Times New Roman 12pt, satır aralığı 1.5
- Her 5 satırda sol kenar satır numarası
- Alt ortalanmış sayfa numarası (PAGE field)
- Tarifname / İstemler / Özet AYRI dosyalar (EPATS zorunlu)
"""

from app.services.docx.builder import (
    build_abstract_docx,
    build_claims_docx,
    build_description_docx,
)
from app.services.docx.figures import FigureInput, build_figures_docx
from app.services.docx.pdf_converter import (
    LibreOfficeNotFoundError,
    PdfConversionError,
    convert_docx_to_pdf,
    soffice_available,
)

__all__ = [
    "FigureInput",
    "LibreOfficeNotFoundError",
    "PdfConversionError",
    "build_abstract_docx",
    "build_claims_docx",
    "build_description_docx",
    "build_figures_docx",
    "convert_docx_to_pdf",
    "soffice_available",
]
