• Amegi18
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies

Hi, I am exporting an excel file using xml. 
I'm thinking of passing the page number to my apex ext class 
but I don't know how to use variables in xml then be passed in apex.


Isn't this how to set the page number on the footer of the worksheet?
       <Footer x:Margin="0.3" x:Data="&P/&N Page"/>

 

--> results as 1/2 Page

Can somebody please tell me how to pass that &P  in an apex class?

I usually use <apex:param> for passing variables but in this case,
I don't have the slightest idea how.

Thanks in Advance

Hi, I am trying to export a data table done in visualforce, into an excel file.

I can already export the data into an excel file. 
My problem is that, I can't make it to be automatically in landscape orientation.

I have tried this (though the set-to-landscape part doesn't work): 

<apex:page standardController=...>

<head>
  <style type="text/css">
    @page {
        mso-page-orientation: landscape;
        size: landscape;
    }
  </style>
</head>

<table width="1840">
.....
</table>

</apex:page>

 


Please help ... Thanks in advance ... m(_ _)m 

 

Hi, I am trying to export a data table done in visualforce, into an excel file.

I can already export the data into an excel file. 
My problem is that, I can't make it to be automatically in landscape orientation.

I have tried this (though the set-to-landscape part doesn't work): 

<apex:page standardController=...>

<head>
  <style type="text/css">
    @page {
        mso-page-orientation: landscape;
        size: landscape;
    }
  </style>
</head>

<table width="1840">
.....
</table>

</apex:page>

 


Please help ... Thanks in advance ... m(_ _)m 

 

Hi, I am exporting an excel file using xml. 
I'm thinking of passing the page number to my apex ext class 
but I don't know how to use variables in xml then be passed in apex.


Isn't this how to set the page number on the footer of the worksheet?
       <Footer x:Margin="0.3" x:Data="&P/&N Page"/>

 

--> results as 1/2 Page

Can somebody please tell me how to pass that &P  in an apex class?

I usually use <apex:param> for passing variables but in this case,
I don't have the slightest idea how.

Thanks in Advance

i want to fill all account names in xml......how to write in xml ????

any one help..