Home » Fusion Middleware & Colab Suite » Business Intelligence » RTF formatting...
RTF formatting... [message #431747] Thu, 19 November 2009 06:19 Go to next message
suman.g
Messages: 87
Registered: June 2009
Member
Hi All,

For RTF template formatting, there are many features available in MS word itself. For example inserting sysdate, pagebreak , page number ,border shading and text coloring etc..

But I would like know how to implement these features using XML Publisher itself instead of using MS Word features..

I need code or any document where I can find how to format RTF using XML Publisher features/functionalities for the following things:
Note: I am using MS Office Word 2003.

1- Insert Sysdate.
2- Insert Page break.
3- Insert page break based on conditions or for group of records. For example I want page break at requisition header level but not on line level. Means if there are 10 lines for a requisition then page break should occur for 11th row and for every new requisition number. requires page break for each requisition regardless how many lines are there for that requisition.
4- Insert page number.
I have tried with the code below but its not working for me.
<?initial-page-number:2?>

5- Code to change color of text based on conditions.
I have used code as given below.. but that is very complex in case of text coloring required for separate/different columns.

   <?choose:?><?when:UNIT_PRICE>10?>
   -- table with text in color1--
  <?end when?><?otherwise: ?>
  -- table with text in color2--
  <?end otherwise?><?end choose?>

Please let me know if anybody has worked or any idea regarding this....

Many thanks..

Best Regards,
Suman

[Updated on: Thu, 19 November 2009 06:23]

Report message to a moderator

Re: RTF formatting... [message #440974 is a reply to message #431747] Thu, 28 January 2010 03:07 Go to previous message
jaganerp@gmail.com
Messages: 63
Registered: April 2008
Member
Hi,

You can get all the feature in XML Publisher user guide with good examples.

you can down load the user guide form xml publisher install.

Regards
Jagan
Previous Topic: how can Socializing bi
Next Topic: difference
Goto Forum:
  


Current Time: Mon Apr 21 01:22:39 CDT 2014

Total time taken to generate the page: 0.24310 seconds