TO Generate Reports in Tamil font/language

Dear All,
I have created a report with Tamil contents. It is executing well when i run in report builder after successful compilation.
But when i move the rdf to the report server/folder i am facing issue. The report is not generated. Only a blank page appears.Can anyone guide me how to resolve to run the report in Tamil font/language.

If the reports works ok locally from your PC, and when you put it on the server it does not display, I believe the problem is font installation on the server, check with you server administrator for this font, or try another font and see what happens

Similar Messages

  • Generate Report with fixedsys font

    Hi, I created a report with fixedsys font , it works fine with oracle 6i but when converted to application server 10g the font change to Ariel and I can not make it appeare as fixedsys.

    As long as the font is on your system and it is licensed for embedding, you need to embed the font in the PDF. That is set within the job.options. Typically the print and press job options will embed all fonts. Standard will embed most. Smallest-file-size embeds no fonts as I recall.

  • How to generate a report with Courrier font and no horizontal lines?

    Hi guys,
    In a wizard-generated report, I want to accomplish the following things.
    1. Print table data (I'm only printing one column) in a non-proportional font (e.g. Courrier).
    2. Suppress the vertical lines that Apex automatically puts in between each record.
    How can these two things be accomplished?
    Thanks,
    Kim
    P.S. I'm running Apex 4.1.

    Fair enough. I'll try to be more specific. Assume you're running a query from SQL Developer on a single column from a single table. In the table, the data is already formatted to be displayed using a non-proportional font (old-time religion here). SQL Developer will show the contents of the column formatted exactly like the author intended (non-proportional font and no "helpful" horizontal lines between the rows). That's exactly what I want Apex to do. In the rectangular area that Apex creates for the report contents display, I want Apex to show the rows from that table in a non-proportional font with no horizontal lines between the rows. The report query will be just about as simple as possible (i.e. select col1 from tab1 order by col 2). How should I go about achieving this result?
    Thank you so much!

  • A big problem of Generate report with PDF format....Urgent

    I want to generate a report with pdf format through one java file, it have two page 1)gen_report.jsp 2) report_gen.java , the compliation was failed. However, i don't what the problem is .... i hope anyone can help me as it is very argent for me ....Thanks a lot
    1)gen_report.jsp
    <table  id="AutoNumber1">
       <tr>
         <td background="images/top5movie.png">
         <p align="center"> </p>
        </td>
       </tr>
       <tr>
       <td >
          <div align="center">
            <table id="AutoNumber2" >
                  <form method="GET" action="../report_gen" name="report_gen" target="_blank" onSubmit="javascript:return checkr1(this)">
                    <tr>
                      <td ><b>Report Description:</b></td>
                      <td >This report is to show the top five popular movies in cinemix for a period </td>
                    </tr>
                    <tr>
                      <td><b>Data scope:</b></td>
                      <td >Start from
                      <input type="text" name="start" value="2003-1-1" >to
                      <input type="text" name="end" value="2006-1-1" ></td>
                     </tr>
                     <tr>
                      <td><b>Data processing:</b></td>
                      <td >Show
                        <select name="order_by">
                          <option value="desc" selected>top</option>
                          <option value="asc">bottom</option>
                        </select>
                      5 films</td>
                    </tr>
                    <tr>
                      <td> <p align="center">
                          <input type="submit" value="View_Report" name="subm">
                        </p></td>
                    </tr>
                    <input type="hidden" name="report" value="r1">
                  </form>
                  <form method="GET" action="../report_gen" name="report_gen" target="_blank" onSubmit="javascript:return checkr2(this)">
                    <input type="hidden" name="report" value="r2">
                  </form>
                </table>
         </div>
          </td>
        </tr>
      </table>Then my java code is here
    report_gen.java
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.sql.*;
    // chart and pdf out
    import java.awt.Graphics2D;
    import java.awt.geom.Rectangle2D;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import org.jfree.chart.ChartFactory;
    import org.jfree.chart.JFreeChart;
    import org.jfree.chart.plot.PlotOrientation;
    import org.jfree.data.category.DefaultCategoryDataset;
    import org.jfree.data.xy.*;
    import org.jfree.data.xy.XYBarDataset;
    import org.jfree.data.general.DefaultPieDataset;
    import org.jfree.data.statistics.SimpleHistogramDataset;
    import org.jfree.data.xy.XYSeries;
    import org.jfree.data.xy.XYSeriesCollection;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.Rectangle;
    import com.lowagie.text.pdf.DefaultFontMapper;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfTemplate;
    import com.lowagie.text.pdf.PdfWriter;
    import com.lowagie.text.*;
    import com.lowagie.text.pdf.*;
    import com.lowagie.text.pdf.PdfPCell;
    public class report_gen extends HttpServlet
       private final String titles[] = {"Top Five popular movies ",
                        "Financial cirumstance of cinemas",
                        "Distribution of time segment",
                        "Distribution of favourite movie type"
       private final String descs[] = {"This report is to show the top five  popular movies in cinemix for a period ",
                   "This report is to show the financial circumstance of each cinema site ",
                   "This report is to analysis the customer when is the most visit time ",
                   "This report is to analysis the customer which type of movie do they watch the most"
        private final String bigTitle = "Cinemix";
        private final String driver = "org.gjt.mm.mysql.Driver";
        private final String url= "jdbc:mysql://localhost:3306/cinemix";
        private final String userID = "abc";
        private final String passwd = "abc";     
        public void init(ServletConfig config) throws ServletException
          super.init(config);
       protected void doGet(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException
          final int width = 550;
         final int height = 200;
    / title font (centre and report title)
         final Font fTitle0 = FontFactory.getFont("Helvetica", 42, Font.BOLD);
         final Font fTitle1 = FontFactory.getFont("Helvetica", 30, Font.BOLD);
              // centre name:
        final String title0 = bigTitle;
       // Default category for DefaultCategoryDataset
       final String cat = "data";
       Connection conn;
      JFreeChart chart;
       String title1     = "xyz Report";
       String chartDesc = "description";
       String notes[] = new String[4];
       String chartTitle = "so bad this is title";
       String chartXTitle = "this is x";
       String chartYTitle = "this is y.";
       String report = request.getParameter("report");     
       int max=-10000;
       int min=10000;
       int j=0;          
      // do some basic checking
       if (report == null || report.equals(""))
         report = "-1";  // this course unknow report error message
         String start   = request.getParameter("start");
         String end  = request.getParameter("end");
         String order_by  = request.getParameter("order_by");  // ToDo: check invalid string
           int topN  = 5;
        String order = (order_by.equals("desc")) ? "Top" : "Last";
       String inv[] = {"08:30", "09:30", "10:30", "11:30", "12:30", "11:30", "12:30", "13:30", "14:30", "15:30", "16:30", "17:30","18:30","19:30","20:30","21:30","22:30","23:30"};
         int inv_val[] = new int[inv.length - 1];
         try
            Class.forName(driver).newInstance();
             catch(Exception e)
            printE("Cannot load mysql database driver!", response);
              e.printStackTrace();
               return;
           try
                 conn = DriverManager.getConnection(url, userID, passwd);
                  if (report.equals("r1")) {  // report 1
               DefaultCategoryDataset dataset = new DefaultCategoryDataset();
              Statement stmt = conn.createStatement();
              String sql = "select *,count(f.Name),f.Name from film f, filmDetail fd, ticket t where f.startDate > '" + start + "' and f.endDate <  '" + end + "'and fd.filmID = f.filmID and fd.filmDetailID = t.filmDetailID group by f.name order by fd.filmDetailID asc limit '" +topN+"'";
              ResultSet rs = stmt.executeQuery(sql);
            while (rs.next())
           if (rs.getInt("fd.filmDetailID") > max) max = rs.getInt("fd.filmDetailID");
         if (rs.getInt("fd.filmDetailID") < min) min = rs.getInt("fd.filmDetailID");
          j++;
           ataset.setValue(rs.getInt("fd.filmDetailID"), cat,rs.getString("f.Name"));
           title1     = titles[0];
         chartDesc  = descs[0];
         chartTitle = order + " " + topN + " popular movie";
          chartYTitle = "Box Office record";
          chartXTitle = "Film Name";
          gender = " ";
          chart = ChartFactory.createBarChart(chartTitle, chartXTitle,   chartYTitle, dataset,PlotOrientation.VERTICAL, false, true, false);
        else
              print("Error: I don't inderstand your request!", response);
         return;
           catch (SQLException e)
         printE("Cannot open database connection? <br>", response);
         // printE(e.toString);
      e.printStackTrace();
      return;
         response.setContentType("application/pdf");
         Document document = new Document(PageSize.A4, 5, 5, 5, 5);
        try
             PdfWriter writer;
         writer = PdfWriter.getInstance(document, response.getOutputStream());
        HeaderFooter footer = new HeaderFooter(new Phrase("Page: "), true);
         footer.setBorder(Rectangle.NO_BORDER);
    document.setFooter(footer);
                   footer.setAlignment(Element.ALIGN_CENTER);
                   // step 3
                   document.open();
                   document.add(getHeader(title0, title1, start, end, gender, order, topN, chartDesc));
                   document.add(printChart(chart, writer));
                   document.add(getFooter(notes));
              catch(DocumentException de)
                   de.printStackTrace();
              // step 5
              document.close();
              return;
         }// end doGet()
         /** Handles the HTTP <code>POST</code> method.
          * @param request servlet request
          * @param response servlet response
         protected void doPost(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
              // processRequest(request, response);
         /** Returns a short description of the servlet.
         public String getServletInfo()
              return "Generate reports for " + bigTitle;
         /* To print en error and exit(?) */
         private void printE(Object obj, HttpServletResponse response) throws IOException
              response.setContentType("text/html");
              PrintWriter out;
              out = response.getWriter();
              out.print(obj.toString());
              out.close();
              // To-Do: how to force exiting?
         // create data chart
         private PdfPTable getHeader(String title0, String title1, String start, String end, String sex, String order, int topN, String desc)
              Font fTitle0 = FontFactory.getFont("Helvetica", 42, Font.BOLD);
              Font fTitle1 = FontFactory.getFont("Helvetica", 24, Font.BOLD);
              Font fTitle3 = FontFactory.getFont("Helvetica", 12, Font.BOLD);
              Font fValue = FontFactory.getFont("Helvetica", 12, Font.UNDERLINE);
              Paragraph parStartEnd = new Paragraph();
              parStartEnd.add(new Phrase("Data start from:                  ", fTitle3));
              parStartEnd.add(new Phrase(start, fValue));
              parStartEnd.add(new Phrase("     to     ", fTitle3));
              parStartEnd.add(new Phrase(end, fValue));
              Paragraph parGenerateDate = new Paragraph();
              parGenerateDate.add(new Phrase("Report generated at:         ", fTitle3));
              parGenerateDate.add(new Phrase(new java.util.Date().toString(), fValue));
              Paragraph parGender = new Paragraph();
              parGender.add(new Phrase("Current show gender:       ", fTitle3));
              parGender.add(new Phrase(sex, fValue));
              Paragraph parTopN = new Paragraph();
              parTopN.add(new Phrase("Now is showing                 ", fTitle3));
              parTopN.add(new Phrase(order, fValue));
              parTopN.add(new Phrase("  ", fValue));
              parTopN.add(new Phrase(new Integer(topN).toString(), fValue));
              parTopN.add(new Phrase("   record(s)", fTitle3));
              // Start main table
              PdfPTable tblMain = new PdfPTable(1);
              tblMain.getDefaultCell().setBorder(0);
              // Print title
              tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
              tblMain.addCell(new Paragraph(title0, fTitle0));
              tblMain.addCell(new Paragraph(title1, fTitle1));
              tblMain.addCell("");
              tblMain.addCell("");
              tblMain.addCell("");
              // Print headers data
              //tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_RIGHT);
              //tblMain.addCell(parInvoiceNum);
              //tblMain.addCell("");
              tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
              tblMain.addCell(parStartEnd);
              tblMain.addCell("");
              tblMain.addCell(parGenerateDate);
              tblMain.addCell("");
              if (sex != " ")
                   tblMain.addCell(parGender);
              else if(order != null && topN > 0)
                   tblMain.addCell(parTopN);
              else
                   tblMain.addCell(" \n");
              tblMain.addCell("");
              tblMain.setWidthPercentage(96);
              tblMain.addCell(new Paragraph("Description of this report:", fTitle3));
              tblMain.addCell(desc);
              tblMain.addCell("\n");
              // Finish main table
              return tblMain;
         // print a chart _directly_ to pdf and return a empty Pdftable...
         public PdfPTable printChart(JFreeChart chart, PdfWriter writer)
              PdfContentByte cb = writer.getDirectContent();
              int width = 550;
              int height = 450;
              PdfTemplate tp = cb.createTemplate(width, height);
              Graphics2D g2d = tp.createGraphics(width, height, new DefaultFontMapper());
              Rectangle2D r2d = new Rectangle2D.Double(0, 0, width, height); //->,
              chart.draw(g2d, r2d);
              g2d.dispose();
              cb.addTemplate(tp, 20, 170);
              // quick method to push down the footer text
              // the only things this method return
              PdfPTable tblDownDown = new PdfPTable(1);
              tblDownDown.getDefaultCell().setBorder(0);
              tblDownDown.addCell(" \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n");
              tblDownDown.addCell(" \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n");
              tblDownDown.addCell(" \n \n \n \n \n \n");
              return tblDownDown;
         public PdfPTable getFooter(String notes[])
              Font fNote = FontFactory.getFont("Helvetica", 14, Font.UNDERLINE);
              Font fComment = FontFactory.getFont("Helvetica", 12, Font.ITALIC);
              Font fTitle1 = FontFactory.getFont("Helvetica", 30, Font.ITALIC);
              // Start footer table
              PdfPTable tblFooter = new PdfPTable(1);
              tblFooter.getDefaultCell().setBorder(0);
              if (notes != null)
                   tblFooter.addCell(new Paragraph("Notes:", fNote));
                   tblFooter.addCell("");
                   tblFooter.addCell("");
                   tblFooter.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
                   for (int i=0;i<notes.length;i++)
                        if (notes[i] != null)
                             tblFooter.addCell(new Paragraph("" + (i+1) + ". " + notes[i] + "", fComment));
                             tblFooter.addCell("");
                             tblFooter.addCell("");
                        tblFooter.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
                        tblFooter.addCell(new Paragraph("- End of report -", fComment));
                        return tblFooter;
    }

    Go to the cache directory and see if you can open the report directly from here (not in IE).
    I have seen posts on problems with Acrobat Reader Plugin for IE (I believe it was version 6 of Reader).

  • PDF Report with Korean font work fine in 9iDS but not in 9iAS

    Hi,
    I am using Oracle 9i Application Server 9.0.2.0.0, When i try to run the report using Korean font The pdf report not showing the korean font correctly.
    I tried the same in 9ids , which is working properly. I have done exactly the same setting in 9ias, but it is not working.
    The Oracle ias report service dialog shows version 9.0.2.0.3
    My 9ias settings
    NLS_LANG = AMERICAN_AMERICA.KO16KSC5601
    In uifont.ali the settings are
    [ PDF ]
    .....ZHT16BIG5 = "MSungStd-Light-Acro"
    .....ZHS16CGB231280 = "STSongStd-Light-Acro"
    .....KO16KSC5601 ="HYSMyeongJoStd-Medium-Acro"
    Installed the Korean font(HYSMyeongJoStd-Medium-Acro) from Adobe site
    the font file HYSMyeongJoStd-Medium-Acro exist in C:\Program Files\Adobe\Acrobat 5.0\Resource\CIDFont
    also installed the asian Suit 2000(Union Way) on the ias server.
    I have checked the Smoothing display option also in Acrobat 5. The Document font is showing
    Origial font = HYSMyeongJoStd-Medium-Acro type=type1 (CID) Encoding=KSC-EUC-H
    Actual font = HYSMyeongJoStd-Medium-Acro type=type1 (CID)
    Anyone please let me know do i need to do any other changes or i need to apply any patch . Please reply, Thanks in advance
    with Regards
    Rohit.

    Hi Navneet,
    Thanks for the immediate reply.
    As such there is no change in both the report servers , same output in win2000 and win2003. I am generating the rep from 9ids for both 9ids and 9ias, and i am using font UWKMJF which is korean charecter support, but 9ias is generating some junk charecters with spacing , 9ids is working fine.
    The PDf Document font is showing
    Origial font = HYSMyeongJoStd-Medium-Acro type=type1 (CID) Encoding=KSC-EUC-H
    Actual font = HYSMyeongJoStd-Medium-Acro type=type1 (CID)
    which is same as 9ids, but the data displaying in the pdf are not proper.
    As you mentioned about the patch, which patch i have to apply. can you please also mention the patch numbers.
    Please help me.
    Thanks and Regards
    Rohit.

  • Using Word Easy Table Under Report Generation takes long time to add data points to table and generate report

    Hi All,
    We used report generation tool kit to generate the report on word and with other API 's under it,we get good reports .
    But when the data points are more (> 100 on all channels) it take a long time  to write all data and create a table in the word and generate report.
    Any sugegstions how to  make this happen in some seconds .
    Please assist.

    Well, I just tried my suggestion.  I simulated a 24-channel data producer (I actually generated 25 numbers -- the first number was the row number, followed by 24 random numbers) and generated 100 of these for a total of 2500 double-precision values.  I then saved this table to Excel and closed the file.  I then opened Word (all using RGT), wrote a single text line "Text with Excel", inserted the previously-created "Excel Object", and saved and closed Word.
    First, it worked (sort of).  The Table in Word started on a new page, and was in a very tiny font (possibly trying to fit 25 columns on a page?  I didn't inspect it very carefully).  This is probably "too much data" to really try to write the whole table, unless you format it for, say, 3 significant figures.
    Now, timing.  I ran this four times, two duplicate sets, one with Excel and Word in "normal" mode, one in "minimized".  To my surprise, this didn't make a lot of difference (minimized was less than 10% faster).  Here are the approximate times:
         Generate the data -- about 1 millisecond.
         Write the Excel Report -- about 1.5 seconds
         Write the Word Report -- about 10.5 seconds
    Seems to me this is way faster than trying to do this directly in Word.
    Bob Schor

  • Help to generate report

    i m rajan i want to generate report which provides me output in bold & italic format plsz help me out .

    hi
    u can use button "customizing of local layout" in sap easy access screen 0r Use ALT + F12.here u can change as per ur font specification
    Raghu

  • Report Output in different language

    Hi All,
    I need to display report output in Bengali language and font. How to achieve this?
    Please help...
    Rgds,
    Avijit

    See note 895560.
    Rob

  • How to fetch latest data from database instead of clicking on Generate report in RSRT?

    Hi all,
    We are not able to get latest data of BEx query.Everytime we have to click on Generate Report  button in RSRT for getting latest value.
    Is there any way to get latest value automatically? We are not doing any changes in query.
    When we click on Generate Report it is fetching data from Database instead of cache,so if it is possible to disable cache or any other workaround?
    We have used time(0TIME) characteristic in query as a formula variable. We have applied a condition on that variable to fetch the first record (latest value). When we click on generate report, it fetches correct value with latest time but when we run the query without generate report, it is not fetching latest value. The cube on which this query is developed, is a realtime cube.
    Regards,
    Zalak

    Once its in the request attributes it would be far better to use JSP Expression Language as well as the JSTL that Malcolm suggested So if the servlet code said:
         request.setAttribute("myList", al);Then using EL and the JSTL tags from <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> the JSP would look something like:
    <c:forEach items="${myList}" var="user">
    <TR>
       <TD><c:out value="${user.name}" /></TD>
       <TD><c:out value="${user.fname}" /></TD>
       <TD><c:out value="${user.city}" /></TD>
       <TD><c:out value="${user.cont}" /></TD>
       <TD><c:out value="${user.age}" /></TD>
    </TR>
    </c:forEach>

  • Embedding Tamil font

    Hi,
    I want to embed Tamil Font in my webpage.How can I ? Please help me....
    Thanks in advance.

    First you have to upload your Tamil fonts to your server and then use some code like this:
    <style type="text/css" >
      @font-face {
      font-family: 'tamil-font-whatever';
      src: url('tamil-font-webfont.eot');
      src: url('tamil-font-webfont.eot?#iefix') format('embedded-opentype'),
      url('tamil-font-webfont.woff') format('woff'),
      url('tamil-font-webfont.ttf') format('truetype'),
      url('tamil-font-webfont.svg#tamil-font-whatever') format('svg');
      font-weight: normal;
      font-style: normal;
    body { font-family: "tamil-font", serif; }
      </style>
    You can search for @ font-face and @ font-face generator and you will get some ideas.
    Good luck.

  • HT4980 Adding Tamil Font to an iBook thats created with iBooks Author ?

    I am trying to add Tamil Font ( Used for Indian Regional Language - Tamil ). I Have over 1500 titles on print and would like to digitalize them for iPads.
    When I opened iBooks Author, I don't see any Tamil Fonts available. How do I get around this or is there any other steps that I need to take inorder to make this work.
    Thanks in Advance.
    Regards,
    Narayanan

    Gandhily wrote:
    I do have Tamil Enabled for ... input sources.
    but, I don't know how to activate the keyboard to type tamil within iBooks.
    Go to system preferences/language & text/input sources and check the box for Show Input Menu in Menu Bar.  Then go to the "flag" menu at the top right of the screen and select Tamil.  Then type.
    What you type in iBooks Author is automatically Unicode.    I was referring to the case where you might use some sort of scanning to convert your print titles to digital text.

  • How to embed custom font (tamil font [ta_IN]) in my android application

    We are developing a mobile application (targeting for android & ios) using Adobe Flash Builder 4.6, Adobe AIR 3.5.  Requirement is to localize the content for indian languages, and rite now we are targeting tamil locale.  We implemented the localization, it is working for the locales where the fonts are available on the device, like french, chinese etc., but not for tamil locale.  As the device doesn't have the font, we would like to embed TTF font.
    After googling on the subject, these are the steps we did to embed tamil font, without any luck.
    1. Used fontswf to convert to SWF
    2. In the main application, we embed the SWF (got the Class reference)
    3. Registered the font
    4. When the locale is changed to Tamil, we are changing the application style (fontFamily) to the Class that we got in Step 2
    PS: Currently we are testing on android devices, however the solution needs to work for ios as well
    Unfortunately, this is not working.  Requesting your help in this regard!

    i am bumping this up. i cannot seem to get this to work on iOS, but was able to get this to work on Android using device fonts.
    Anyone here have expereince dealing with the Tamil language on iOS through AIR?

  • Symbian belle & Tamil font update for c6-00

    Is this phone compat for update sym belle and tamil font
    Solved!
    Go to Solution.

    Hi purushmagesh,
    Thanks for your post and welcome to the Nokia forum.
    Your phone can't be updated with  Belle, your phone being symbian 9.4, only the symbian ^3 can be updated  in symbian Belle.  You can check your last software version via this link.
    To install tamil language in your phone, I would suggest you to contcat your nearest Nokia care point.  They'll do it if it's available for your mobile.
    Hope this helps.
    Regards,
    Pfrancoise
    If this post has helped you to solve this issue, please press the "accept as solution" icon. Kudos would always be appreciated.

  • Generate Report Get Data to Modify.vi produces an error code 97

    The "Generate Report Get Data to Modify.vi" produces error 97. I found some help regarding "font style.vi". The recommendation was to recompile the VI, but it didn´t work. Also to change the property node to a different property and back to the original didn´t work, too.

    You hit the big solutions. Have you been able to isolate where in the VI the problem occurs? You will probably have to dig in the subVIs. Also do you see this problem if you install on another computer? Consider also reinstalling LabVIEW and Office if you are using the toolkit.

  • Tamil fonts on my Mac  (Word) get distorted. Need help

    Tamil fonts get distorted when I use Murasu Anjal on my Word for Mac. Hence, i have been using Open office. How di I put it right in word for Mac?

    First you are posting in the wrong forum, your profile indicates you have a MacBook, this is an iMac forum. Next  you should NEVER NEVER NEVER shut down with the power button. If your system freezes attempt to force quit the offending application, you can force quit by using the Apple Menu or pressing Command + Option + Esc. Or you can always leave Activity Monitor running and when it freezes check AM to see if you have anything taking all your CPU, if so quit that action.
    I suspect your HD has crashed, you should run Apple Hardware Test in Extended Mode. Make  sure you run in Extended Mode! If it reports errors then you need to boot from the OS X disc that came with the computer or the latest retail OS X disc  you have and run Disk Utilities - Repair Disk. If it finds errors run it over again until it reports no errors. After 4-5 runs of Repair Disk it still reports errors you need to replace the HD.
    If you want to try to Boot to Safe Mode the instructions are in Safe Mode.
    Roger

Maybe you are looking for