I am using the Razor Example to produce my PDFs. The Umbraco (6.1.3) web page has headings h1,h1, h3 and h4 but none appear on the PDF output.
My web page looks like this
This is heading 1
This is paragraph 1
This is heading 2
This is paragraph 2
This is heading 3
This is paragraph 3
This is heading 4
This is paragraph 4
The source code produced as html looks like this
<content><h1>This is heading 1</h1><p>This is paragraph 1</p><h2>This is heading 2</h2><p>This is paragraph 2</p><h3>This is heading 3</h3><p>This is paragraph 3</p><h4>This is heading 4</h4><p>This is paragraph 4</p></content>
I paid £150 for your product and I expect a little more support than 'have you read the manual'.
But to answer your questions, yes of course I have. However, I didn't find the answer, either becasue it isn't there or because I don't understand it. You don't seem to have understood the question in my post, I'm not trying to turn HTML in to PDF - this is afterall an umbraco package.
I have installed your product and I am using the '[PDF] Razor Example' that is installed by default, I have made minor changes, such as column-count=1 etc.. The following section startng at line 69 renders the 'BodyText' section, taken from the Model.
<!-- Document Body --> <fo:flow flow-name="xsl-region-body"> <fo:block> @ParseRichText(FoHelper.Instance.GetRichTextNodes(@Model.BodyText)) </fo:block>
<!-- Having this before the closing tag of the body flow allows us to have a pager in the footer --> <fo:block id="last-page" keep-together.within-page="auto"></fo:block>
</fo:flow>
All of the body content from my umbraco web page should be rendered here, and seeing as my body content contains headings and paragraphs I would expect them to be genererated by the PDF Creator.
So can you help me or not?
How can I get the headings, that are within the 'BodyText' property in the template my web page uses, in to a PDF using PDF Creator?
This issue is holding up the release of our project. I emialed one of your staff (Jay) for support over a week ago and he asked me to log the issue on here, I did that and you replied telling me to read the manual, needless to say your reply did not help me! I cannnot resolve the issue myself, maybe I'm doing something wrong but without help from you or your team to solve the issue your product is no good for our needs.
If you can't help us then maybe you'd refund the money we paid for your product? We can then find a product that does meet our needs - I wouldn't have thought producing headers from BodyText would be that difficult to render but what do I know!
I first contacted your company by email, in which I provided a detailed description of the problem including screen shots. I sent this to the person that emailed us the licence file, assuming this would be a quick and easy way to get an answer. The reply given asked me to log the issue on the Forum, which I did and then received your reply telling me to ‘read the manual’.
I hope you can see how this lack of support is frustrating. This is the 5th time I’m contacting your company and rather than try to help me resolve the issue you are being evasive, even in your latest response you are asking me to ‘ask the question again’!
You seem to have lost focus, I am a customer of a product that you supply and as such I expect a certain level of support, which you are failing to provide on every request. My ‘attitude’, as you put it, is in response to your reluctance to provide any help to resolve an issue I have with a product you supplied me.
I’d like to point out that not only are you about to lose a customer but you will also lose repeat business from me, and maybe others that read this post and see the way you respond to a customer ‘post sale’. We are also planning on undertaking some Umbraco training and we were considering your company (Moriyama) as the supplier of that training. Needless to say, after your handling of this support request we will not be putting that business your way.
I will be requesting a refund. Having contacted you 4 times previously and asking the same question twice I don’t see how asking it again is going to get the result that should have been provided at the beginning of this request.
John - I don't wish to get involved in an unconstructive debate with you. I've requested a call to organise your refund and discuss the conditions of this refund. You've refused the call. I've called your office and left my details so you can reach me.
Until such time that we speak nothing further will happen on this.
The answer to your original query is readily and easily available in the product manual. My original offer that you communicate with us in a reasonable fashion and receive our support still stands. Otherwise, please call me so I can arrange your refund.
Laslty, I'm going to draw a line under our correspondence here via email, forum post or otherwise. You know how to reach me if you need.
Headings on web page not produced in PDF output
Hi
I am using the Razor Example to produce my PDFs. The Umbraco (6.1.3) web page has headings h1,h1, h3 and h4 but none appear on the PDF output.
My web page looks like this
This is heading 1
This is paragraph 1
This is heading 2
This is paragraph 2
This is heading 3
This is paragraph 3
This is heading 4
This is paragraph 4
The source code produced as html looks like this
The PDF output looks like this
Can someone help me?
What am I missing?
Thanks
Hi - PDF creator doesn't turn HTML into PDFS, it uses XSL:FO.
Have you read the product manual?
Thanks.
Hi Darren
I paid £150 for your product and I expect a little more support than 'have you read the manual'.
But to answer your questions, yes of course I have. However, I didn't find the answer, either becasue it isn't there or because I don't understand it.
You don't seem to have understood the question in my post, I'm not trying to turn HTML in to PDF - this is afterall an umbraco package.
I have installed your product and I am using the '[PDF] Razor Example' that is installed by default, I have made minor changes, such as column-count=1 etc..
The following section startng at line 69 renders the 'BodyText' section, taken from the Model.
<!-- Document Body -->
<fo:flow flow-name="xsl-region-body">
<fo:block>
@ParseRichText(FoHelper.Instance.GetRichTextNodes(@Model.BodyText))
</fo:block>
<!-- Having this before the closing tag of the body flow allows us to have a pager in the footer -->
<fo:block id="last-page" keep-together.within-page="auto"></fo:block>
</fo:flow>
All of the body content from my umbraco web page should be rendered here, and seeing as my body content contains headings and paragraphs I would expect them to be genererated by the PDF Creator.
So can you help me or not?
How can I get the headings, that are within the 'BodyText' property in the template my web page uses, in to a PDF using PDF Creator?
Thanks
Hi Darren
It's been a week and you haven't replied!
This issue is holding up the release of our project. I emialed one of your staff (Jay) for support over a week ago and he asked me to log the issue on here, I did that and you replied telling me to read the manual, needless to say your reply did not help me!
I cannnot resolve the issue myself, maybe I'm doing something wrong but without help from you or your team to solve the issue your product is no good for our needs.
If you can't help us then maybe you'd refund the money we paid for your product? We can then find a product that does meet our needs - I wouldn't have thought producing headers from BodyText would be that difficult to render but what do I know!
Thanks
John
I was waiting for you to reign in your attitude a little before replying - and I've also been on holiday last week.
Your first attempt at explaining the issue was poor which was why you got quite a non-specific reply.
So, ask the question again, minus the attitude - or request a refund. I'm fine either way.
Thanks.
Dear Darren Ferguson,
I first contacted your company by email, in which I provided a detailed description of the problem including screen shots. I sent this to the person that emailed us the licence file, assuming this would be a quick and easy way to get an answer. The reply given asked me to log the issue on the Forum, which I did and then received your reply telling me to ‘read the manual’.
I hope you can see how this lack of support is frustrating. This is the 5th time I’m contacting your company and rather than try to help me resolve the issue you are being evasive, even in your latest response you are asking me to ‘ask the question again’!
You seem to have lost focus, I am a customer of a product that you supply and as such I expect a certain level of support, which you are failing to provide on every request. My ‘attitude’, as you put it, is in response to your reluctance to provide any help to resolve an issue I have with a product you supplied me.
I’d like to point out that not only are you about to lose a customer but you will also lose repeat business from me, and maybe others that read this post and see the way you respond to a customer ‘post sale’. We are also planning on undertaking some Umbraco training and we were considering your company (Moriyama) as the supplier of that training. Needless to say, after your handling of this support request we will not be putting that business your way.
I will be requesting a refund. Having contacted you 4 times previously and asking the same question twice I don’t see how asking it again is going to get the result that should have been provided at the beginning of this request.
Yours sincerely
John
John - I don't wish to get involved in an unconstructive debate with you. I've requested a call to organise your refund and discuss the conditions of this refund. You've refused the call. I've called your office and left my details so you can reach me.
Until such time that we speak nothing further will happen on this.
The answer to your original query is readily and easily available in the product manual. My original offer that you communicate with us in a reasonable fashion and receive our support still stands. Otherwise, please call me so I can arrange your refund.
Laslty, I'm going to draw a line under our correspondence here via email, forum post or otherwise. You know how to reach me if you need.
Hi there as Darren said it uses a different markup language which you can style inline.
In my layout I use the helpers provided with the package but change them.
You will need to add more cases to cover the different headings and style each one accordingly.
Then within the template you call them like...
Where contentString contains a rich text string.
I hope this helps.
Doogie
is working on a reply...