Re-using Cete samples

Re-using Cete samples

Forum member · Dec 20, 2006
We are trying to use the TIME MACHINE sample as template to create a document that would use instead of Chapters, Departments. Currently the sample is importing several text files. We understand that importing HTML is not possible; however, can we use instead of txt files, PDF files? Do you have any sample? Our plan is to convert the HTMLs to PDFs using some other type of product since this feature is not provided by Cete (we need to research the options) and then, import the PDFs files to the TIME MACHINE template. Any help would be appreciated. Thanks!

Re: Re-using Cete samples

Support · Dec 21, 2006
Hello, You can use HTML text also without any problem by using the FormattedTextArea page element. Please refer to the FormattedTextContinuation example downloaded with the product download. You can refer to the supported HTML tags topic on our help documentation for the supported HTML tags in our product. It is not possible to read the text or contents from existing PDF documents, you can not use the PDF files instead of text files in the TimeMachine example. If you have different PDF documents and would like to merge them to make a single PDF document, in that case you can use our Merger product to merge the individual PDF documents to make a single PDF. Thanks, ceTe Software Support Team.

Re: Re-using Cete samples

Forum member · Dec 26, 2006
I am actually new to DynamicPDF. I tried using the FormattedTextContinuation sample but it only works with a single text file and dividing the page on two blocks. Also the approach is different from the TIME MACHINE sample. I would like to use the Bookmark sample of the Time Machine with your suggested FormattedTextArea. Can you post a single example (c#) to take advantage of the TIME MACHINE Bookmark sample using FormattedTextArea instead of Textarea? Thanks! G

Re: Re-using Cete samples

Support · Dec 26, 2006
Hello, You can refer to the AllPageElements example that shows use of both Bookmarks as well as FormattedTextArea page element. You can also modify the Time Machine example to use FormattedTextArea in place of TextArea page element by replacing TextArea page element with FormattedTextArea and using the GetOverflowFormattedTextArea method to control the overflow. Thanks, ceTe Software Support Team