• Lele
  • NEWBIE
  • 0 Points
  • Member since 2011

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

<apex:page renderAs="PDF">
    <style>
        @page {
            size: letter;
            margin: 25mm;
            @top-center {
                content: "Sample";
            }
            @bottom-center {
                content: "Page " counter(page) " of " counter(pages);
            }
        }
        .page-break {
            display:block;
            page-break-after:always;
        }
        body {
            font-family: Arial Unicode MS;
        }
    </style>
    <div class="page-break">Page A</div>
    <div class="page-break">Page B</div>
    <div>Page C</div>
</apex:page>

 

you can add my qq!527676832   or replay !

 

thanks!

  • March 06, 2012
  • Like
  • 0

  public List<EventItem> FromGoogleToSF(){
        List<EventItem> elist = new List<EventItem>();
        GoogleData.Calendar cal = c.getCalendarByTitle('lele');
            GoogleData evs_rang = c.getFeed(cal.alternate);
            for(Event e:cal.eventFactory(evs_rang)){
                elist.add( new EventItem(e));
            }
        return elist;
    }

In eclipse ,Look  this Error:
Save error: Invalid type: EventItem    google_data_toolkit/src/classes    FromGoogleToSalesForce.cls   

who can tell me "EventItem"???? 


  • August 31, 2011
  • Like
  • 0

    CalendarService service = new CalendarService();
       public void setAuthToken(string t){
           service.setAuthSubToken(t);
        }

  • August 29, 2011
  • Like
  • 0

  public List<EventItem> FromGoogleToSF(){
        List<EventItem> elist = new List<EventItem>();
        GoogleData.Calendar cal = c.getCalendarByTitle('lele');
            GoogleData evs_rang = c.getFeed(cal.alternate);
            for(Event e:cal.eventFactory(evs_rang)){
                elist.add( new EventItem(e));
            }
        return elist;
    }

In eclipse ,Look  this Error:
Save error: Invalid type: EventItem    google_data_toolkit/src/classes    FromGoogleToSalesForce.cls   

who can tell me "EventItem"???? 


  • August 31, 2011
  • Like
  • 0