How to fix the row-height in excel using ole2
hi
I want to fix row height in excel using ole2.
i wrote the below code but no effect. please help me.
Arg := ole2.create_arglist;
ole2.add_arg(Arg,1);
rrow := ole2.get_obj_property(WorkSheet,'Rows',Arg);
ole2.destroy_arglist(arg);
ole2.set_property(rrow,'Height',50);
kanish
It's solved
ole2.set_property(rrow,'RowHeight',30);
kanish
Similar Messages
-
How to increase the row height of the table in the smartform
Hi,
Can any one say,
How to increase the row height of the table in the smartform.
It is presently show the row width very small, i want to increase the row with of the table in the smartform.
Plase say how can we increase the row height in the smartform.Hi Ravi,
In Smartforms , Select the Table and you can adjust the cell hieghts in OUTPUT OPTIONs TAB.
Reward points if that Helps.
Manish -
How to Fix the row in sap script, its urgent......
Hi Experts,
first i explain my sap script, i have print void check in my script client give readymade format means box are there, lines are there. i have to fix in box and line data form database table. everthing is working fine. i got all data. i have total 6 window in my script .but i have one issue In my sap script in header window total five rows... like below
Check voucher no:8888
check No: 1234
Date:1/28/2007
Bank:xyz
Batch no: 5678
now sometime check voucher is balnk....
Check voucher no: BLANK/NULL
check No: 1234
Date:1/28/2007
Bank:xyz
Batch no: 5678
because of that all rows are move up side and all window also move up side and so script not fix to the box and line all data are seen not perfectly... so guru`s how to fix the row and window in script....
its urgent...
Waiting for ur reply
Thanks & regards
JigarHi,
Follow the below steps . Definately your issue will bve resolved.
Let us suppose you are printing following fields
PH &v_text&
PH &v_text1&
PH &v_text2&
you will get the output as you expected.
and if you have any conditions for these fileds
/: if v_text is not initial.
PH &v_text&
/: endif
PH &v_text1&
PH &v_text2&
if you have data in each field then you will get output as expected .
But when v_text is initial.
the data will be moved up wnhich is happening in your case.
so what you need to do is?
/: if v_text is not initial.
PH &v_text&
/: else
PH (Here you need to mention empty line with same paragraph format
/: endif.
PH &v_text1&
PH &v_text2&
Reward points if useful
Regards,
Nageswar -
How to decrease the row height in ALV Grid (OOPS).
HI Experts,
I have displayed ALV Grid using CL_GUI_ALV_GRID=>SET_TABLE_FOR_DISPLAY.
I want to decrease the row height and width.
Can any one suggest how to do this?
Regards,
Kumar.Hi Kumar,
Row height it predefined and you won't change it, but you can adjust column width.
For that use field COL_OPT of layout structure ( type LVC_SLAYO ) to optimize all columns width, or set explicit width using field catalog, setting field OUTPUTLEN for certain column.
Regards
Marcin -
Fixing the row height in table
Hi All,
In my table column i am displaying address. Address field is of type STRING_TABLE. (This is needed to display address in the format shown in the example below) As a result of this the row height changes depending on the length of the address.
Hence all the rows in the table are of different heights.
For Example i am displaying the output as shown below.
39 Car Street,
abcdefg,
pincode
india,
ph no.
Now is it possible set the height of the row so that all the rows in the table are of fixed height?
Please help.
Thanks in advance.closed
-
Hi All,
Is it possible to reduce the row height of a table.Actually the font is small and the row height is more.I dont want to redcuse the width only row height.
Regards,
Amritdoes anyone of u havea ny idea on how to achiieve this.
-
How to set the row height for a list control in flex 4.5 for mobile?
Hi,
I have a List in my Adobe Flash Builder 4.5 and flex 4.5 mobile application. I show the image and the label in my list. The list item height gets adjusted based on the image height. I don't want this auto row adjustment. Instead I would like to set the row height manually.
Is there any property to set the item height in a list?setting rowHeight in the List layout works for me.
<s:List>
<s:layout>
<s:VerticalLayout rowHeight="48"/>
</s:layout>
</s:List> -
How to Export the chinese character in excel using java
Hi,
Our application using in English, German, Franch and chinese.
String chineseCharacter=""; // chineseCharacter like 長长牀床東东彿佛. This chinese data coming from oracle database..
My code
BufferedWriter printer = new BufferedWriter(new OutputStreamWriter(responses.getOutputStream(),"utf-8"));
responses.setContentType("application/download");
responses.setHeader("Cache-Control", "cache");
responses.setHeader("pragma", "cache");
ExcelCSVPrinter outcr = new ExcelCSVPrinter(printer);
String displayname="ChineseReport.csv";
responses.setHeader("Content-Disposition","inline; filename=\"" + displayname + "\"");
outcr.write("Report Header Name");
outcr.writeln();
outcr.write(chineseCharacter);
outcr.writeln();
After export the data to excel show the result for é·é¿çåºæ±ä¸å½¿ä½. But not show the original result 長长牀床東东彿佛
I use the following stmt
responses.setContentType("text/html charset=UTF-8");
Its shows the correct result for chinese character.
I use the below statement
responses.setContentType("application/download; charset=UTF-8");
or
responses.setContentType("application/vnd.ms-excelset;charset=UTF-8");
or
responses.setContentType("application/vnd.ms-excel;charset=UTF-8");
The out put show the in the excel sheet ???????? or some other jung characters.
What can i do here?. After export,I want to show the original chinese character in the excel sheet using the ExcelCSVPrinter.
Thanks & Regards
Thendral
Edited by: palanithendral on Dec 24, 2009 5:14 AM
Edited by: palanithendral on Dec 29, 2009 11:41 AMpalanithendral wrote:
Hi,
Our application using in English, German, Franch and chinese.You have several different idioms in your application and have not accurately identified where the actual problem is. You have all of the following
-database
-http
-excel
-excel in http
-display on the target computer
The first step with these sorts of problem is to identify where the problem actually occurs.
String chineseCharacter=""; // chineseCharacter like 長长牀床東东彿佛. This chinese data coming from oracle database..A good theory. Now explain how you proved that that is what is coming from the database.
After export the data to excel show the result for é·é¿çåºæ±ä¸å½¿ä½.As another example. Presumably you are referring to what the browser on the target computer displays. Your theory is that that computer and that browser (together) will display the correct information if they had the correct data. How did you prove that? -
How to set the row height in a JTable
Is there a way to set the height of a row (actually all rows) in a JTable?
I have tried setting the font to be bigger but then the cells are not big enough.Use "rowHeight" method of JTable class.
For more information about JTable class, please read the API documentation at http://java.sun.com/j2se/1.3/docs/api/javax/swing/JTable.html
/Sreenivasa Kumar Majji.
Is there a way to set the height of a row (actually
all rows) in a JTable?
I have tried setting the font to be bigger but then
the cells are not big enough. -
How to store the data read from excel using java code in Ms access database
Hi. I wrote a code to read the data from excel. May i know how can i save it to Ms access database using java. Also i have many excels. So i should not connect the database using DSN. So is there any other way to achieve this?
kramish wrote:
Im pretty sure that Access does support JDBCNo it does not. It supports ODBC.
just doing a quick Google came up with some pages:
http://blog.taragana.com/index.php/archive/access-microsoft-access-database-from-java-using-jdbc-odbc-bridge-sample-code/
http://www.javaworld.com/javaworld/javaqa/2000-09/03-qa-0922-access.html
Both articles explains how to use the jdbc-odbc bridge. I think I've seen a pure jdbc driver for access but it wasn't from Microsoft and it wasn't free.
Kaj -
Controlling the data formatting in excel using jsp.
Hi,
How to controlling the data formatting in excel using jsp with out using external jar files such as "jexcel" and "POI". And one more limitation is that it should be compatible with java 1.2.1dineshniot wrote:
Hi - Is there any possibility to automatically display the chart for the logged datas using write to measurement file or write to data file? Please let me know as soon as possible.
Thanks and Regards,
Dinesh
As an aside, "data" is already a plural. The singular is "datum."
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all. -
How to Fix the 1st row in Table
How to Fix the 1st row in Table
In EP, one of the page we are getting out put in the table format. It's working fine, but as per the new requirement we have to fix (freeze) the first row of the table. (.i.e. whenever I click the page down button first row should be visible in the table). Can you help regarding the above issue?
For Example: in Table having 6 rows. In 1st row display Year Month and 2,3,4---etc Rows will display Quantity. Click on Page down Button in Table we are able to staring 2row. First was a movie up. So End user canu2019t find which year/moth under the Quantity is available.
So I have to fix in 1st row. Click on page down button table 1st row is fixed but comes to another Quantity Records.
It is Possible in Table? If possible please tell me.
Regards
Vijay KalluriHi KalluriVijay
I don't think there is direct availabe method available to fix the row. However, there are two ways using which you can achieve the requirement:
To go ahead with the custom table. This way you can set your own properties for the table. However, this may impact performance handling large data.
Second option is to use other features of NW04s (Not available in NW04) like Table Popins using which you can achieve something similar.
For Table Popins refer [TablePopin|http://help.sap.com/saphelp_nw70/helpdata/EN/23/5e9041d3c72e7be10000000a1550b0/frameset.htm]
Hope this helps.
Regards
Abhinav Sharma -
One of our reports has lots of text in some rows. I import the data, adjust the row width and ask the text to wrap, which automatically sets the row height appropriately. When I save, close, and open that spreadsheet, the width is still the same and Wrap is still selected, but the rows are only one line high, which means that the report is unreadable and a serious pain to make readable.
I can save it as a PDF, but I'd rather be able to use the Numbers format or Excel and be confident that my recipients can read it.Hi k,
I'm unable to reproduce the described behaviour.
The document containing the table below has a combination of row heights set manually using teh stepper in the Table Inspector (both 0.76" labeled rows), set manually by dragging the row boundary between row reference tabs (labeled 1/13"), and set automatically by Numbers to fit the content of the remaining cells.
Content in the rows with names beginning E, F, G or H wraps automatically to form two rows in the cell. The rest are forced into two lines using a carriage return character.
All maiintained their row heights through two Saves and reopenings.
Regards,
Barry -
How to fix the height of the details section in crystal reports.
hi all
How to fix the height of the details section in crystal reports.Thanks for your reply
i didnt get the clear idea about your answer can you explain it once with example
why iam asking is when i add a new details section according to you answer maintaining same height of the two details sections and i see the preview the iam getting gap between each record. this is so because one record from details section1 and another empty space from details section2
like
Details section A-contains records
Details section B- no records
Details section A-contains records
Details section B-no records
Then how will i solve my issue
Thanks in advance -
How to fix the Timing issue in Discoverer reports
Hi,
While running the discoverer report in Discoverer plus is taking more than 1 hour to complete( Gen.time + Extract to excel)
where as the same report completes quickly in discoverer desktop.
how to fix the timing issue in discoverer plus
Thanks
SrinivasTimo Hahn wrote:
There is a problem with autoHeightRows and columnStretching used together in 11gR1.
Have you tried without columnStretching?
Or have you tried if it works in 11gr2?
TimoHi Timo, Thank you very much for taking time to respond to my question.. :)
Back to my question...
I tried removing the columnStretching although my requirement really requires this but no effect really happens even if I remove this.
Based on my investigation on the generated HTML, I notice the following items:
1. A table is being wrapped in a div that is being set at a fixed height.
2. On first load, if your autoheight rows is set to 6, the framework is setting a height of 96px to the div. This height would almost cut the last row of the table.
3. If you try to refresh the page or try to re-PPR the component, the framework resets it to 102px which causes the last row to be fully displayed.
My only concern is that IE is perfectly displaying this while Chrome and FF are having problem.
Based on my understanding, the framework is messing up the height only on first load. Not sure but this is how I see it. I am really not confident also on my findings
and I would most likely hear other's comment.
Thanks.
Maybe you are looking for
-
Print a report directly to the printer
I need to print a report directly to the printer in Oracle Forms and Report 11g without a preview in the browser
-
Okay, I've got a Canon 550D. I'm thinking of buying a Black Magic Hyperdeck Shuttle, with a 60g SSD, to record uncompressed footage from the camera's HDMI output. This will only be for short scenes to which I want to apply green screen effects. I'm t
-
T. CODE FOR PRODUCTION + SHIPMENT DETAILS.
Dear All , Pl Help me i want to know that is there any T.CODE by which user can get detail report for production of all it's products & is there any T.CODE by which i can get detailed report of Shipment of all it's Produc
-
Cannot download hotsync manager portion of Palm Desktop
Hi, I am unable to download hotsync manager for Palm desktop. The error message reads "the application config launch services has unexpectedly quit". I am however able to download it as another user so the problem must be something in my folder? I ha
-
there is no "gear Icon" on my safari home page