# Uses of Class
com.evopdf.Document

- ## Uses of Document in com.evopdf

  Methods in com.evopdf that return Document
  Modifier and Type
  Method
  Description
  `Document`
  HtmlToPdfConverter.`convertHtmlToPdfDocumentObject(String html, String baseUrl)`
  Converts a HTML string to PDF using a base URL to resolve external resources and returns the rendered PDF document as an object of the `Document` class that can be further used in other operations requiring this type of objects
  `Document`
  HtmlToPdfConverter.`convertUrlToPdfDocumentObject(String url)`
  Converts an URL to PDF and returns the rendered PDF document as an object of the `Document` class that can be further used in other operations requiring this type of objects
  `Document`
  ElementsRenderer.`parentDocument()`
  Gets the parent document of this renderer
  `Document`
  PdfForm.`parentDocument()`
  Gets the form parent document
  Methods in com.evopdf with parameters of type Document
  Modifier and Type
  Method
  Description
  `void`
  ElementsRenderer.`setParentDocument(Document pdfDocument)`
  Sets the parent document of this renderer