8. How Do I Handle Relative References?

For documents including relative resources, like

<img src="images/a.png">...</img>

<a href="/english/index.html">...</a>

<link href="../css/layout.css" 
      rel="stylesheet" type="text/css">...</link>

PDFreactor needs a base URL to resolve these resources. If your source is a URL the base URL will be set automatically. In all other cases you have to set it yourself:

Java: pdfReactor.setBaseURL("http://someServer/public/")
PHP:  pdfReactor->setBaseURL("http://someServer/public/")
.NET: pdfReactor.SetBaseURL("http://someServer/public/")
CLI:  -b "http://someServer/public/"