I am able to find the solution. With the help of Viewcursor I have selected the text and than by using uno:copy/uno:paste the formatted text has been copied to other frames.
Thanks Oliver for your help. regards, Sandeep On 11/9/07, Sandeep Raghuvanshi <[EMAIL PROTECTED]> wrote: > > I am sorry for the misunderstanding, actually we have to copy the > formatted text from Frame to Frame and not from header/footer to frame. > any idea? > > regards, > Sandeep > > > On 11/7/07, Oliver Specht - Sun Germany - ham02 - Hamburg < > [EMAIL PROTECTED]> wrote: > > > > Sandeep Raghuvanshi wrote: > > > Hi All, > > > we have some formatted text available in the header/footer of the page > > which > > > needs to be copied into frames available in the document(we are > > creating > > > these frames to mimic the Header/Footer on landscape pages). > > > we can copy this text without any formatting using String method but > > we have > > > to have the text in the original format and hence we have tried out > > the copy > > > and paste option using dispatcher but as we can not move the > > viewcursor in > > > the header/footer, we are not able to achieve this. > > > > > > Any idea/suggestion how to go for this? > > > > > > > > > > > Hi, > > why can't you set the ViewCursor into the Header/Footer? If they are > > visible you can put the ViewCursor into the header/footer via the > > XSelectionSupplier::select() method. > > Just pass the result of getStart() from the > > HeaderText(Left)/FooterText(Left) property ( contains an XText interface > > ) of the related page style. > > > > Regards, > > Oliver > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >
