Report Text line width
Is there a way to set the text line width on a report to 80 characters and then have it wrap to the next line. I'm getting very long cells that I have to scroll over with the arrow key to see the text past my screen size.
Any one know the HTML command to set text line size?
Similar Messages
-
Reports Builder: line width of a graphic and generated PDF
Hello,
I change the line width of a graphic but in the generated pdf the line width remains equal.
Some pics:
The graphic in Reports Builder:
!http://i25.tinypic.com/20famuu.jpg!
The xml code:
<SeriesItems>
<Series id="0" markerType="MT_BAR" borderTransparent="true" transparent="true"/>
<Series id="1" markerType="MT_MARKER" color="#101df" lineWidth="9"/>
<Series id="2" markerType="MT_MARKER" color="#101df" lineStyle="LS_DASH" lineWidth="9"/>
<Series id="3" markerType="MT_MARKER" color="#b4045f" lineWidth="1"/>
<Series id="4" markerType="MT_MARKER" color="#b4045f" lineStyle="LS_DASH" lineWidth="1"/>
<Series id="5" markerType="MT_MARKER" color="#0" lineWidth="9"/>
<Series id="6" markerType="MT_MARKER" color="#0" lineStyle="LS_DASH" lineWidth="1"/>
</SeriesItems>
The graphic in the PDF report:
!http://i25.tinypic.com/2emq3b5.jpg!
Why in the PDF report the size is different?
Thanks in advance and sorry for my english...To procede, omit the "(nil)" argument and you should be fine for that line, or specialize the method in question.
I tried this, but I got error messages pointing to a function that uses the fontInstance pointer. The function is in the form of:
EstimateStringWidth(WideString run, IFontInstance* fontInstance)
and the error tells me that the line:
totalWidth += EstimateStringWidth(charBuff, fontInstance);
has no matching function.
Also, most of the samples in the SDK creates a IFontInstance using an InterfacePtr.
I tried this approach because solutions.pdf suggests this method to estimate text widths... I want to measure the text width of a composed line to determine the raggedness (degree of whitespace left on the end of each line) of a paragraph. But with this issues, am I better off using the GetWidth method of IWaxLine to get the width.
Now, my next question would be, can I get the estimate width of the line if I change the properties of the paragraph, ie. justification settings, without actually composing the text in the ui. I need this so that I can compute for the optimal settings to changed so that the degree of raggedness of the paragraph would be less than the original.
Thanks again! -
I'm creating a book, the theme is 'Travel', the page layout is 'Introduction' choice 4. On some of the pages using this layout the text is full width. On other pages using the same layout, the text does not go full width - it seems to only go about 2/3 of the way across the page and then moves to a new line. The text fonts and sizes are the same.
Does anyone know how to get them all to be the same width (preferably full)?
Thanks.Welcome to the Apple Discussions. I tried to duplicate your issue with several Intro pages and could not. Try deleting the iPhoto preference file, com.apple.iPhoto.plist, from your User/Library/Preferences folder and try again. You might have to add a new Intro page and then cut and past the text from the older page.
-
Any way to set line width on outgoing (text) messages?
My messages to a mailing list (and probably elsewhere) sometimes get chopped up by the addition of extra returns, so they're hard to read by the recipient (we've all seen this, especially on messages forwarded several times). I always send text-only email. A correspondent suggest setting my outgoing message line width down to 60 characters to avoid this, but I can't find anywhere in Mail's preferences to do this (I seem to remember such a setting on another email client years ago). I'm embarrassed to report back to my Windows-using correspondent that Apple Mail doesn't offer this option. Can anyone tell me it does, and where?
No, I'm not putting in any extra returns. I seem to remember this from back in the 90s: that some points in the Internet's email system allow lines of only 60 characters' length, so if your message arrives with 72 character (or longer) lines, it'll get all chopped up; and the solution is to set your email client to produce only 60-character lines. But I can't find any way to do this in Mail.
-
Email with text attachment with line width 1250
Dear all,
I want to send the email with text attachment whose line width in text file is 1250. Kindly let me know how to send email attachment with more than 255 line width.
Regards,
Manoj
Moderator Message: Frequently Asked Question. Please search for available information before posting.
Edited by: kishan P on Apr 29, 2011 2:48 PMHi,
What ever text you are sending in the email, create a standard text for it using tcode SO10. In the program use the FM READ_TEXT to get the data into internal table which will be of length 132 char. If you want line widht of 255 chars convert using FM SX_TABLE_LINE_WIDTH_CHANGE as below,
CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
EXPORTING
line_width_dst = '255'
TABLES
content_in = it_data
content_out = it_mess_att
EXCEPTIONS
err_line_width_src_too_long = 1
err_line_width_dst_too_long = 2
err_conv_failed = 3
OTHERS = 4.
Use FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send email.
Hope this will help you.
regards,
Tulasi. -
Hi
I am using Reports 9i to build a Simple "Line" Graph. But I am not able to adjust the Plot Line width if the report is printing more than 3 rows. For the first three lines I am able to change the line width using the Options in the PLOT AREA tab. Can anyone let me know how I can adjust the linewidth for all the lines that are plotting in my graph. Please note that the number of lines that are plotted will be dynamic and can vary
Thanks in advance
Chandra Sekharhello,
you might want to take a look at our graph FAQ here on OTN. goto otn.oracle.com/products/reports and click on Graph FAQ. there you will find answers to several similar issues. bottom line is, that you most likely will have to define this in the XML definition of the graph, rather than in the wizard.
regards,
ph. -
Why the text field frame's line width cannot be adjusted?
I am now working on a PDF file with some text fields with combo turned on, specifying the number of chars the fields can hold. Their frames' line width is not thick. This is what I want. This is shown in the picture below:
But when I try to preview the PDF, I discover that these fields do not follow what I have specified: no matter what thickness I choose, the frames are always thick. I want them to be thin!
See below:
Why is it so? What should I do? Any ideas are welcomed.I have sent my form to you to take a look. Thanks for your support!
By the way, I have uninstalled Acrobat 8 and installed Acrobat 9 Pro, but I am facing serious problems. Whenever I open Acrobat I will face an EULA page and if I click "Accept" or "Decline", the whole program will close immediately.
I have googled and added an EULA value (=1, in hex) in the regedit. No effect. I want to uninstall Acrobat 9, and there is NO RECORD in the Install/Uninstall section in the Control Panel. I am using Vista Home Basic.
I am now frustrated. I tried Acrobat 9 and it failed, and now I can't even uninstall it and revert to ver 8.......My God.... -
Increase line width in classical report
Hi
I am customizing the ME2N transaction, here I want to increase the line width and add few more fields to the output.
How to do this?
..urgent help requiered please......Hello there,
Make the changes as folows :::
REPORT <Report Name> no standard page heading line-size 1023.
This will solve your problem.
Bu 1023 isthe maximum. Cannot go beyond this.
reward if useful.
regards, -
Changine line widths in multi page reports?
I need to be able to change line widths on a "per channel basis" within a multi page report. Is there a script that I can use to do this?
Hey Zilla,
I'm not exactly sure what you're trying to do but I've written a short example that hopefully does something similar. It may not be the most efficient example but it should get you started. I assumed that by line width you're referring to the width of a plot on a graph in DIAdem Report. The following code changes the width of three plots on two graphs each on different sheets. The code is pasted below. I'm attaching the report template I used. It uses the default DIAdem dataset. If you have a different report the object names may be different. (The report template was created in DIAdem 9.1)
Call GraphSheetNGet(2)
Call GraphSheetRefSet(GraphSheetName)
Call GRAPHObjOpen("2DAxis1")
for i=1 to 3
Call GRAPHObjOpen("2DObj1_Curve" + s
tr(i))
D2CURVELINEWIDTH ="35.0"
Call GRAPHObjClose("2DObj1_Curve" + str(i))
next
Call GRAPHObjClose("2DAxis1")
Call GraphSheetNGet(1)
Call GraphSheetRefSet(GraphSheetName)
Call GRAPHObjOpen("2DAxis1")
for i=1 to 3
Call GRAPHObjOpen("2DObj2_Curve" + str(i))
D2CURVELINEWIDTH ="35.0"
Call GRAPHObjClose("2DObj2_Curve" + str(i))
next
Call GRAPHObjClose("2DAxis1")
Call Picupdate
I hope this helps!! If this isn't what you're trying to do please post back with more information so I can try to help.
Regards,
Sarah Miracle
National Instruments
Attachments:
DIAdemExample.TDR 52 KB -
Sales Order Text Lines in SAP Query
I have a requirement to output several text lines into a SAP query based around sales orders.
I have included some code to read the details into my query and get no syntax errors, however the report gives a blank output for each of the text fields included, despite there definitely being some text with the specified attribute ID and text object in the table STXL.
Where am I going wrong?
Please find the coding below for one of the text field I'm trying to extract:
TABLES:STXL.
DATA:
VBELN LIKE VBAP-VBELN,
POSNR LIKE VBAP-POSNR,
TDNAME LIKE STXL-TDNAME,
MYLINE LIKE TLINE-TDLINE,
ZE18_LINE(1200) TYPE C.
DATA:BEGIN OF LINES OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA:END OF LINES.
DATA:BEGIN OF MYHEADER.
INCLUDE STRUCTURE THEAD.
DATA:END OF MYHEADER.
CLEAR TDNAME.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = VBAP-VBELN
IMPORTING
OUTPUT = VBELN.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = VBAP-POSNR
IMPORTING
OUTPUT = POSNR.
CONCATENATE VBELN POSNR INTO TDNAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'ZAT2'
LANGUAGE = SY-LANGU
NAME = TDNAME
OBJECT = 'VBBP'
IMPORTING
HEADER = MYHEADER
TABLES
LINES = LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT FOUND = 4
OBJECT= 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
IF SY-SUBRC = 0.
LOOP AT LINES.
MOVE LINES-TDLINE TO TEXT.
ENDLOOP.
ENDIF.Hi -
Please check in debuging.
check the value of TDNAME correctly populated with sales order no and sales order item.
You can cross check with the table STXH with TDNAME and see if any entries is available for TDID 'ZAT2' as your case.
Here are sample code.
DATA : lv_tdname TYPE tdobname,
lw_line TYPE tline,
li_line TYPE STANDARD TABLE OF tline.
CLEAR : lv_tdname , li_line[],
cocatenate w_vbak-vbeln w_vbap-posnr into lv_tdname.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'ZAT2'
language = 'E'
name = lv_tdname
object = 'VBBP'
TABLES
lines = li_line
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc = 0.
CLEAR lw_line.
loop at li_line INTO lw_line .
* Put your logic
endloop.
ENDIF. -
My group box is causing problems when searching for a text line in a text file.
I am developing a booking system, so for this I need to ensure that no two clients can book the same appointment slot. So, on testing my code which prevents double booking, the system doesn't seem to find the text line being searched for in the text file
when it (purposefully) should.
I have tried isolating the problem using breakpoints, and I've found that when the 'SearchLine' (referring to my code below) does not include the 'TimeComboBox.text' piece and instead this value is written into the code, the system is able to find the SearchLine
without any problems. But, when assigning the group box's value to a variable and using this in the SearchLine instead, or without even using a loop and just doing a simple line by line search, the program can't find this line of text in the file.
I'm lost for ideas. I have tried everything I can think of. Could anyone make any suggestions as for what is the problem with my group box? (I'll explain the code beneath it).
'Setting the value of the SearchLine (which is a String)
SearchLine = String.Concat(DateTimePicker1.Value.Date & " " & TimeComboBox.text)
Dim FoundApp As Boolean
Dim objReader As New System.IO.StreamReader(basicfilepath & "Text Files\Client Booked Appointment DatesTimes.txt")
FoundApp = False
'Reading the file's contents and checking for the SearchLine
Do While (objReader.Peek() <> -1) or (FoundApp = True)
If (TextLine = SearchLine) Then
'Line contains SearchLine. Appointment already exists.
FoundApp = True
Else
'Line doesn't contain SearchLine. Carry on searching.
Msgbox("Line not found.")
End if
Loop
Explanation
When the line is searched for, the 'FoundApp' value must be set to 'True' when it is found. If it is not found, it remains false.
To isolate the problem, I've displayed the SearchLine in a message box in the past to make sure that the correct line of text is being searched for.
In basic terms, my program is searching for the exact line of text which exists in the text file, but for some reason it is not coming up as 'Found'. The error occurs when the group box's value is used. The text file which is being read is
definitely correct. Please help, any suggestions would be appreciated.
Thank youHi
It would appear that your snippet doesn't actually read the file at all.
Here is my test which works fine.
Option Strict On
Option Infer Off
Option Explicit On
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
Dim SearchLine As String = "18:09:38 : XTaskSettings.Load PARAMS: begin"
Dim FoundApp As Boolean = False
Dim TextLine As String = Nothing
Dim objReader As New IO.StreamReader(Application.StartupPath & "\Data\Report Q1.txt")
FoundApp = False
Do While (objReader.Peek() <> -1) Or (FoundApp = True)
' this was missing
TextLine = objReader.ReadLine
If (TextLine = SearchLine) Then
'Line contains SearchLine. Appointment already exists.
FoundApp = True
MsgBox("Line found.")
Else
'Line doesn't contain SearchLine. Carry on searching.
MsgBox("Line not found.")
End If
Loop
End Sub
End Class
Regards Les, Livingston, Scotland -
Changing line width for more than 5 chart series - Interactive Mode
Hi,
Re: BI Publisher 11.1.1.6.0, Interactive Reports
I have a number of charts with a dynamic number of series based on the number of devices, cpus, network interfaces etc. on a particular system. Is it possible to change the line width for all series? I can change it for the first 5 series as per "Chart Plot Area" properties "Series[1-5] Line Width", however any subsequent series retain the default width.
Thanks in advance,
JeanHello,
Which version of APEX are you using?
Go to your Flash Chart attributes - get into your series (click the icon) in the section of Series Query you'll find the maximum rows.
Regards,
Dimitri
-- http://dgielis.blogspot.com/
-- http://apex-evangelists.com/
-- http://apexblogs.info/ -
Issue with printing report texts in Smartform
Hi ,
I developed a smartform and a print program. In the title of the smartform I need print a text depend on the company code. For this I prepared this text in the print program like the following.
case rbkp-bukrs.
when 'IT10'
smartform_struct-title = text-010.
endcase.
The problem is some times these texts are not printing on the form output. User are mad at this. when they complines me and I go and look at it, it is fine. I don't think this is printer issue. Any clues please let me know.
Thank you,
SuryaHi Phani,
Thanks for your reply. In fact both me and user are doing the same. For user some times this text is not showing and some times it is. This is very strange.
I can do this by keeping it in text element. But for some texts we need to add some other text in between dynamically.
for example : for BE10 we need to show like,
CONCATENATE 'This text is prepared on behalf of (' <vendor name> ') ' some text' INTO w_title_text.
In this case: I have tried preparing this text in the program lines node. Here the problem is I can able to mention single quote in prepare the text. In the above example it is bold.
Basically I don't what's happening when printing report texts. But if there is a way to show single quote while prepare text that should be fine.
Thank you
Surya -
Internet Explorer 9 doesn't display XML Report Text
I have just updated reasently to Internet Explorer 9 and now all of my XML Reports do not show the report text. I've attached a pic where you can plainly see the report test in TestStand but not in IE9.
The other intresting thing is if the XML is on one of our company network drives it displays fine just not if opened from the local drive.
Any ideas?
Solved!
Go to Solution.
Attachments:
ReportText.png 150 KBPaul -
This is a known issue that will be fixed in the TestStand 2010 maintenance release. If you'd like to workaround this issue by modifying the XML style sheet for your report without using the Compatibility option that you found in IE9, follow these steps.
If using a default style sheet, save a copy with a different name to preserve the original file.
Open the style sheet in a text or code editor.
Search for node.firstChild.text by using the Find tool in your editing environment.
Replace the line:
var text = node.firstChild.text;
with:
var valueChildNode = node.selectSingleNode("Value");
var text = "";
if (valueChildNode)
text = valueChildNode.text;
else
text = node.text;
Search for Error: by using the Find tool in your editing environment.
Replace the line:
Error: <xsl:value-of disable-output-escaping="yes" select="user:RemoveIllegalCharacters(.)"/>
with:
Error: <xsl:value-of disable-output-escaping="yes" select="user:RemoveIllegalCharacters(ErrorText)"/>
Save the new version of the style sheet.
Open TestStand and go to Configure»Report Options...
In the Contents tab, change the style sheet to point to your updated version.
Run a sequence that you expect to populate the Report Text.
Open the generated XML report in IE9 and verify that the Report Text is properly populated.
Hope this helps.
Manooch H.
National Instruments -
Standard text line of 255 ch ?
hi all,
My request is to allow users to input a custom text which may have many lines and to display it through Smartforms.My intention is to use Standard Texts because of the formatting options but I am wasting a lot of space by being limited at only 64 ch/ line (or max 72 if I check the setting "Graphical From Painter" in SAP Script option).
Is it possible to increase the line width of a standard text to 255 ch?HI,
USe TEXT-SYMBOLS.
Kishore.
Maybe you are looking for
-
Inserting Rows in an Editable Table
Application Focus: JSF with ADF/BC. watching Steve Muench´s Screencast on "Creating an Editable Table with a Dropdown List in Each Row" i was inspired to add a functionality to add rows. Lets say i have an Employee and Departments table. If i want to
-
Chess game in Mac OS X is there a bug fix for it
This is not a major issue but I have noticed it on all the Apple computers I have played the Chess game that comes with the Mac OS X and it seems to only involve the Pawn making an illegal move when capturing another piece. As we all know the Pawn ca
-
Hi Friends, I need expertise help in pdf email attachment. I have data in internal table which has to be sent as pdf mail attachment. I need help in converting the data to pdf format. After conversion I can use SO_NEW_DOCUMENT_ATT_SEND_API1 to send t
-
Typical example of SAP change management in SD scenerio....
Dear All, Is there anybody who can provide me with typical example of SAP Change Management scenerio in manufacturing industry OR in consumer industry. I am looking for some example that has improved a business process tremendiously OR made the busin
-
Hi, everyone - I have looked through the thread and seen that printing problems are common with Leopard, but I've never seen anything like this! I was able to get the library's new iMac printing perfectly - I just had to be sure it was recognizing th