Skip to main content

Fluent Sample Templates

BeginRepeat Tag Sample

BeginRepeat Tag Sample

Microsoft WordXML
BeginRepeat Tag Sample.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/BeginRepeat+Sample+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "SAMPLE_XML",
      "Type": "xml2",
      "ConnectionString": "http://xml.windward.net/southwind.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("BeginRepeat+Sample+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://xml.windward.net/southwind.xml";
            String xsd = null;
            DataSourceProvider datasource = new SaxonDataSource(url, xsd);

            report.processData(datasource, "SAMPLE_XML");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("BeginRepeat+Sample+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://xml.windward.net/southwind.xml";
            string xsd = null;

            IReportDataSource data = new SaxonDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "SAMPLE_XML");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
RowExpand Tag Sample

RowExpand Tag Sample

Microsoft WordXML
RowExpand Tag Sample.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/RowExpand+Sample+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "SAMPLE_XML",
      "Type": "xml2",
      "ConnectionString": "http://xml.windward.net/southwind.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("RowExpand+Sample+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://xml.windward.net/southwind.xml";
            String xsd = null;
            DataSourceProvider datasource = new SaxonDataSource(url, xsd);

            report.processData(datasource, "SAMPLE_XML");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("RowExpand+Sample+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://xml.windward.net/southwind.xml";
            string xsd = null;

            IReportDataSource data = new SaxonDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "SAMPLE_XML");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
BeginColumnExpand Tag Sample

BeginColumnExpand Tag Sample

Microsoft WordXML
BeginColumnExpand Tag Sample.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/BeginColumnExpand+Sample+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "SAMPLE_XML",
      "Type": "xml2",
      "ConnectionString": "http://xml.windward.net/southwind.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("BeginColumnExpand+Sample+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://xml.windward.net/southwind.xml";
            String xsd = null;
            DataSourceProvider datasource = new SaxonDataSource(url, xsd);

            report.processData(datasource, "SAMPLE_XML");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("BeginColumnExpand+Sample+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://xml.windward.net/southwind.xml";
            string xsd = null;

            IReportDataSource data = new SaxonDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "SAMPLE_XML");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Image Tag Sample

Image Tag Sample

Microsoft WordXML
ImageTag Sample.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/ImageTag+Sample+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "SAMPLE_XML",
      "Type": "xml2",
      "ConnectionString": "http://xml.windward.net/southwind.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("ImageTag+Sample+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://xml.windward.net/southwind.xml";
            String xsd = null;
            DataSourceProvider datasource = new SaxonDataSource(url, xsd);

            report.processData(datasource, "SAMPLE_XML");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("ImageTag+Sample+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://xml.windward.net/southwind.xml";
            string xsd = null;

            IReportDataSource data = new SaxonDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "SAMPLE_XML");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Text Tag Sample

Text Tag Sample

Microsoft WordXML
TextTag Sample.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/TextTag+Sample+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "SAMPLE_XML",
      "Type": "xml2",
      "ConnectionString": "http://xml.windward.net/southwind.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("TextTag+Sample+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://xml.windward.net/southwind.xml";
            String xsd = null;
            DataSourceProvider datasource = new SaxonDataSource(url, xsd);

            report.processData(datasource, "SAMPLE_XML");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("TextTag+Sample+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://xml.windward.net/southwind.xml";
            string xsd = null;

            IReportDataSource data = new SaxonDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "SAMPLE_XML");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Number Tag Sample

Number Tag Sample

Microsoft WordXML
Number Tag Sample.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Number+Tag+Sample+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "SAMPLE_XML",
      "Type": "xml2",
      "ConnectionString": "http://xml.windward.net/southwind.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Number+Tag+Sample+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://xml.windward.net/southwind.xml";
            String xsd = null;
            DataSourceProvider datasource = new SaxonDataSource(url, xsd);

            report.processData(datasource, "SAMPLE_XML");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Number+Tag+Sample+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://xml.windward.net/southwind.xml";
            string xsd = null;

            IReportDataSource data = new SaxonDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "SAMPLE_XML");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Date Tag Sample

Date Tag Sample

Microsoft WordXML
Date Tag Sample.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Date+Tag+Sample+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "SAMPLE_XML",
      "Type": "xml2",
      "ConnectionString": "http://xml.windward.net/southwind.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Date+Tag+Sample+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://xml.windward.net/southwind.xml";
            String xsd = null;
            DataSourceProvider datasource = new SaxonDataSource(url, xsd);

            report.processData(datasource, "SAMPLE_XML");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Date+Tag+Sample+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://xml.windward.net/southwind.xml";
            string xsd = null;

            IReportDataSource data = new SaxonDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "SAMPLE_XML");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Account Instruction Agreement

Account Instruction Agreement

Microsoft WordXML
Account Instruction Agreement- Template - 6.2021.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Account+Instruction+Agreement-+Template+-+6.2021.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "",
      "Type": "xml",
      "ConnectionString": "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/WINC_SchemaSample.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Account+Instruction+Agreement-+Template+-+6.2021.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/WINC_SchemaSample.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Account+Instruction+Agreement-+Template+-+6.2021.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/WINC_SchemaSample.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Construction Report

Construction Report

Microsoft WordXML
Construction Report - Template 6.2021.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Construction+Report+-+Template+6.2021.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "CONST_DATA",
      "Type": "xml",
      "ConnectionString": "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/Construction%20Report%20-%20Data.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Construction+Report+-+Template+6.2021.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/Construction%20Report%20-%20Data.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "CONST_DATA");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Construction+Report+-+Template+6.2021.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/Construction%20Report%20-%20Data.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "CONST_DATA");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Custodial Statement

Custodial Statement

Microsoft WordXML
Custodial Statement - Template.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Custodial+Statement+-+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "",
      "Type": "xml",
      "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Statement.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Custodial+Statement+-+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "https://fluent-sample-templates.s3.amazonaws.com/Statement.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Custodial+Statement+-+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "https://fluent-sample-templates.s3.amazonaws.com/Statement.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Intersect Marketing Report

Intersect Marketing Report

Microsoft WordXML
Intersect Marketing - Template.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Intersect+Marketing+Report+-+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "INTMARKETING",
      "Type": "xml",
      "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Internet+Marketing+-+Data.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Intersect+Marketing+Report+-+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "https://fluent-sample-templates.s3.amazonaws.com/Internet+Marketing+-+Data.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "INTMARKETING");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Intersect+Marketing+Report+-+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "https://fluent-sample-templates.s3.amazonaws.com/Internet+Marketing+-+Data.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "INTMARKETING");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Intersect Education

Intersect Education

Microsoft WordXML
Intersect Education - Template.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Intersect+Education+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "IntersectEducation",
      "Type": "xml",
      "ConnectionString": "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/Intersect%20Education%20Data.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Intersect+Education+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/Intersect%20Education%20Data.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "IntersectEducation");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Intersect+Education+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/Intersect%20Education%20Data.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "IntersectEducation");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Investment Comparison

Investment Comparison

Microsoft WordXML
Investment Comparison - Template.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Investment+Comparison+-+Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "",
      "Type": "xml",
      "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/InvestmentComparisonReport.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Investment+Comparison+-+Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "https://fluent-sample-templates.s3.amazonaws.com/InvestmentComparisonReport.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Investment+Comparison+-+Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "https://fluent-sample-templates.s3.amazonaws.com/InvestmentComparisonReport.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Investment Fact Sheet

Investment Fact Sheet

Microsoft WordXML
InvestmentFactSheet.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/InvestmentFactSheet.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "InvestmentFactSheet",
      "Type": "xml",
      "ConnectionString": "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/InvestmentFactSheet.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("InvestmentFactSheet.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/InvestmentFactSheet.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "InvestmentFactSheet");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("InvestmentFactSheet.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/InvestmentFactSheet.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "InvestmentFactSheet");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Standard Residential Lease Agreement

Standard Residential Lease Agreement

Microsoft WordJSON
Standard Residential Lease Agreement [SAMPLE].docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Standard+Residential+Lease+Agreement+%5BSAMPLE%5D.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Parameters": [
      {
        "Name": "UnitName",
        "WrappedValue": {
          "ParamType": "text",
          "RawValue": "Hillcrest - 1"
        }
      },
      {
        "Name": "YourName",
        "WrappedValue": {
          "ParamType": "text",
          "RawValue": "{Your Name Here}"
        }
      },
  ],
  "Datasources": [
    {
      "Name": "LeaseTracker_Units",
      "Type": "json",
      "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/AirTableLeaseTrackerUnits.json",
    },
    {
      "Name": "LeaseTracker_Tenants",
      "Type": "json",
      "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/AirTableLeaseTrackerTenants.json",
    },
    {
      "Name": "LeaseTracker_Buildings",
      "Type": "json",
      "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/AirTableLeaseTrackerBuildings.json",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Standard+Residential+Lease+Agreement+[SAMPLE].docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set the report Input Parameters
            Map<String, Object> mapVariables = new HashMap<String, Object>();

            // Replace the specified values with the values you want each time you run the report.
            mapVariables.put("UnitName", "Hillcrest - 1");
            mapVariables.put("YourName", "{Your Name Here}");
            myReport.setParameters(mapVariables);

            // Set up the datasources
            Map<String, DataSourceProvider> dataSources = new HashMap<String, DataSourceProvider>();
            DataSourceProvider LeaseTracker_Units = new JsonDataSource("Encoding=utf-8;Url=https://fluent-sample-templates.s3.amazonaws.com/AirTableLeaseTrackerUnits.json;", JsonDataSource.MODE_CONNECTION_STRING);
            DataSourceProvider LeaseTracker_Tenants = new JsonDataSource("Encoding=utf-8;Url=https://fluent-sample-templates.s3.amazonaws.com/AirTableLeaseTrackerTenants.json;", JsonDataSource.MODE_CONNECTION_STRING);
            DataSourceProvider LeaseTracker_Buildings = new JsonDataSource("Encoding=utf-8;Url=https://fluent-sample-templates.s3.amazonaws.com/AirTableLeaseTrackerBuildings.json;", JsonDataSource.MODE_CONNECTION_STRING);
            
            // Add the datasources to the report
            dataSources.put("LeaseTracker_Units", LeaseTracker_Units);
            dataSources.put("LeaseTracker_Tenants", LeaseTracker_Tenants);
            dataSources.put("LeaseTracker_Buildings", LeaseTracker_Buildings);

            // Insert all data into the report.
            myReport.processData(dataSources);

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Standard+Residential+Lease+Agreement+[SAMPLE].docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);
            myReport.ProcessSetup();

            // Set the report Input Parameters
            Dictionary<string, object> mapVariables = new Dictionary<string, object>();

						// Replace the specified values with the values you want each time you run the report.
						mapVariables.Add("UnitName", "Hillcrest - 1");
						mapVariables.Add("YourName", "{Your Name Here}");
						myReport.Parameters = mapVariables;

            // Set up the datasources
            IDictionary<string, IReportDataSource> dataSources = new Dictionary<string, IReportDataSource>();
            IReportDataSource LeaseTracker_Units = new JsonDataSourceImpl(@"Encoding=utf-8;Url=https://fluent-sample-templates.s3.amazonaws.com/AirTableLeaseTrackerUnits.json;", JsonDataSourceImpl.MODE.CONNECTION_STRING);
            IReportDataSource LeaseTracker_Tenants = new JsonDataSourceImpl(@"Encoding=utf-8;Url=https://fluent-sample-templates.s3.amazonaws.com/AirTableLeaseTrackerTenants.json;", JsonDataSourceImpl.MODE.CONNECTION_STRING);
            IReportDataSource LeaseTracker_Buildings = new JsonDataSourceImpl(@"Encoding=utf-8;Url=https://fluent-sample-templates.s3.amazonaws.com/AirTableLeaseTrackerBuildings.json;", JsonDataSourceImpl.MODE.CONNECTION_STRING);

            // Add the datasources to the report
            dataSources.Add("LeaseTracker_Units", LeaseTracker_Units);
            dataSources.Add("LeaseTracker_Tenants", LeaseTracker_Tenants);
            dataSources.Add("LeaseTracker_Buildings", LeaseTracker_Buildings);

            // Run the report process
            myReport.ProcessData(dataSources);
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Statement Custody

Statement Custody

Microsoft WordXML
Statement_Custody.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Statement_Custody.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "",
      "Type": "xml",
      "ConnectionString": "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/Statement.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Statement_Custody.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/Statement.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Statement_Custody.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/Statement.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Fluent Financial Report

Fluent Financial Report

Microsoft WordXML
Fluent_Financial_Report_Template.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Fluent_Financial_Report_Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "WRFINANCIAL",
      "Type": "xml",
      "ConnectionString": "https://cdn.windwardstudios.com/Ohana/Fluent_Financial_Data.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Fluent_Financial_Report_Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "https://cdn.windwardstudios.com/Ohana/Fluent_Financial_Data.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "WRFINANCIAL");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Fluent_Financial_Report_Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "https://cdn.windwardstudios.com/Ohana/Fluent_Financial_Data.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "WRFINANCIAL");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Western Slope Template

Western Slope Template

Microsoft ExcelXML
WesternSlope Template.docx
Microsoft Excel
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/WesternSlope+Template.xlsx",
  "OutputFormat": "pdf",
  "Format": "xlsx",
  "Datasources": [
    {
      "Name": "",
      "Type": "xml",
      "ConnectionString": "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/WesternSlope%20Data.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("WesternSlope+Template.xlsx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/WesternSlope%20Data.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("WesternSlope+Template.xlsx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "http://windwardwebsitestorage.blob.core.windows.net/devtestfiles/WesternSlope%20Data.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Fluent Trucking 1

Fluent Trucking 1

Microsoft WordXML
Fluent_Trucking_1_Template.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Fluent_Trucking_1_Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "WRTRUCK1",
      "Type": "xml",
      "ConnectionString": "https://cdn.windwardstudios.com/Ohana/Fluent_Trucking_1 _Data.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Fluent_Trucking_1_Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "https://cdn.windwardstudios.com/Ohana/Fluent_Trucking_1 _Data.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "WRTRUCK1");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Fluent_Trucking_1_Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "https://cdn.windwardstudios.com/Ohana/Fluent_Trucking_1 _Data.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "WRTRUCK1");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Fluent Trucking 2

Fluent Trucking 2

Microsoft WordXML
Fluent_Trucking_2_Template.docx
Microsoft Word
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Fluent_Trucking_2_Template.docx",
  "OutputFormat": "pdf",
  "Format": "docx",
  "Datasources": [
    {
      "Name": "WRTRUCK2",
      "Type": "xml",
      "ConnectionString": "https://cdn.windwardstudios.com/Ohana/Fluent_Trucking_2 _Data.xml",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Fluent_Trucking_2_Template.docx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            String url = "https://cdn.windwardstudios.com/Ohana/Fluent_Trucking_2 _Data.xml";
            String xsd = null;
            DataSourceProvider datasource = new Dom4jDataSource(url, xsd);

            report.processData(datasource, "WRTRUCK2");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Fluent_Trucking_2_Template.docx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            string url = "https://cdn.windwardstudios.com/Ohana/Fluent_Trucking_2 _Data.xml";
            string xsd = null;

            IReportDataSource data = new XmlDataSourceImpl(string.Format("Url={0}", url), xsd);

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "WRTRUCK2");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}
Yearly Sales Review

Yearly Sales Review

Microsoft PowerPointSQL
Yearly Sales Review Template.docx
Microsoft PowerPoint
RESTful Engine Request Body Sample
{
  "ConnectionString": "https://fluent-sample-templates.s3.amazonaws.com/Yearly+Sales+Review+Template.pptx",
  "OutputFormat": "pdf",
  "Format": "pptx",
  "Datasources": [
    {
      "Name": "SqlServer",
      "Type": "ado",
      "ClassName": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
      "ConnectionString": "jdbc:sqlserver://mssql.windward.net;databaseName=Northwind;username=demmo;password=demo;",
    }
  ]
}
Java Engine Code Sample
import net.windward.datasource.DataSourceProvider;
import net.windward.datasource.xml.SaxonDataSource;
import net.windward.xmlreport.ProcessPdf;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class JavaSample {
    public static void main(String[] args) {
        try {
            // Download the sample file to your computer and place the path to the file here.
            FileInputStream template = new FileInputStream("Yearly+Sales+Review+Template.pptx");

            // The output file
            File fileReport = new File("report.pdf");

            FileOutputStream reportStream = new FileOutputStream(fileReport);
            ProcessPdf report = new ProcessPdf(template, reportStream);

            // Preparation...
            report.processSetup();

            // Set up the datasource.
            DataSourceProvider datasource = = new JdbcDataSource("com.microsoft.sqlserver.jdbc.SQLServerDriver", "jdbc:sqlserver://mssql.windward.net;DatabaseName=Northwind", "demo", "demo");

            report.processData(datasource, "SqlServer");

            // And... DONE!
            report.processComplete();

            template.close();
            reportStream.close();

        } catch (Exception e) {
            // Uh oh, just in case
            e.printStackTrace();
        }
    }
}
.NET Engine Code Sample
using System.IO;
using net.windward.api.csharp;
using WindwardInterfaces.net.windward.api.csharp;

namespace DotNetSample
{
    class DotNetSample
    {
        static void Main(string[] args)
        {
            // Initializing the engine
            Report.Init();

            // Download the sample file to your computer and place the path to the file here.
            FileStream template = File.OpenRead("Yearly+Sales+Review+Template.pptx");

            FileStream output = File.Create("Report.pdf");

            // Create report process
            Report myReport = new ReportPdf(template, output);

            IReportDataSource SqlServer = new AdoDataSourceImpl("System.Data.SqlClient", @"Data Source=mssql.windward.net;Initial Catalog=Northwind;User ID=demo;Password=demo")) 

            // Run the report process
            myReport.ProcessSetup();
            myReport.ProcessData(data, "SqlServer");
            myReport.ProcessComplete();

            // Close out of our template file and output
            data.Close();
            output.Close();
            template.Close();
        }
    }
}