I have data in an XML string that I would like to convert into a PDF report. I would like to use a stylesheet to create the report string and create all of the formatting within the string. DynamicPDF has some limited support for formatting using some HTML tags (<b><u><font> for example) but no support for the table or div element to give the report positional formatting. Is there some type of syntax that can be used in the report string that gives one more control over positioning so that one can include tables or columns etc.?
Many thanks.
Formatting within the report string
Re: Formatting within the report string
Support · Aug 14, 2007Hello,
Currently we do not have support for Table or div tags within the FormattedTextArea page element.
However, you can add tables to the PDF document using the Table page element and it can be added precisely at any X and Y coordinate. Please refer to the TableReport example included with the product download.
Thanks,
ceTe Software Support Team
Re: Formatting within the report string
Forum member · Aug 14, 2007Maybe I could generate a DPLX file. Would that work?
Re: Formatting within the report string
Support · Aug 14, 2007Hello,
The DPLX file will allow you to layout the report using the DynamicPDF Designer. You will need to have the data coming from the database when using DPLX file.
Thanks,
ceTe Software Support Team
Re: Formatting within the report string
Forum member · Aug 14, 2007I thought the DynamicPDF Designer created the DPLX file and that the DPLX file is used for generating the report.(?) I read some documentation that said the DPLX file can be created manually. I guess now I am confused about how the DPLX file is used. Could someone explain it to me?
Thanks.
Re: Formatting within the report string
Support · Aug 14, 2007Hello,
Yes, the dplx file will be created by the DynamicPDF designer. You can drag and drop the controls on to the report in the designer to create the report layout. You will have to give the connection string to the database and the queries with in the designer.
You can even create this dplx file without using the designer by writing the XML code to create all the controls and the database connections and it must be validated according to our schema. This is very difficult to do.
The created dplx you can use by using the DocumentLayout class which takes the physical path to the dplx file. You will have to use the Run method which returns the pdf report a document object. If you are working in a web application then you can inherit the DplxWebForm to create the report. You can also refer to the Examples
on our website.
Thanks,
ceTe Software Support Team.
Re: Formatting within the report string
Forum member · Aug 14, 2007Our license is for the DynamicPDF Generator .Net-- can the DPLX solution be used with this product? If not, that brings me back to my original question-- is there some syntax or technique I can use to positionally format the report data within the string itself without having to use separate objects in code (such as the Table object etc.)?
Thanks.
Re: Formatting within the report string
Support · Aug 14, 2007Hello,
DynamicPDF Generator for .Net product does not allow you to use DPLX files because it is part of the DynamicPDF ReportWriter for .NET product. However, you can always upgrade your license if you decide on using DPLX files.
The only way to format the data without using separate objects is by using tags supported by FormattedTextArea page element.
Thanks,
ceTe Software Support Team
Re: Formatting within the report string
Forum member · Aug 14, 2007Can we get a DynamicPDF ReportWriter license and use it instead of DynamicPDF Generator or do we need both?
Re: Formatting within the report string
Support · Aug 14, 2007Hello,
Yes, DynamicPDF ReportWriter for .NET license does include the corresponding edition of DynamicPDF Generator for .NET and you do not need to purchase both products separately.
Thanks,
ceTe Software Support Team
Re: Formatting within the report string
Forum member · Aug 14, 2007Thank you.