Word Substitution (Carriage Return)
Hi,
I'm wondering if this function will be returned in a coming OS Update on the Q10.
It seems to have been fixed for Text Messages but not for Email yet.
So within the word substitution if you want to have the phrase:
"I will not have access to voicemail or email.
Will return on Monday, May 10th, 2013."
It displayed as "I will not have access to voicemail or email. Will return on Monday, May 10th, 2013." within email.
this is a test
blah blah
Yep, just created that
I'm on 10.1.0.1880
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code
Similar Messages
-
Read Only TextAreas with Carriage Return, Line Breaks and Word Wrapping
Hi all,
I know there are a few posts around this subject but I cannot find the answer to the exact problem I have.
I have a page that has a 'TextArea with Character Counter' (4000 Chars) that is conditionally read only based on the users credentials (using the 'Read Only' attributes of the TextArea item).
When the field is editable (not Read Only) everything works fine but when I make the field Read Only I start to have problems:
The first problem is that the Carriage Return and Line Breaks are ignored and the text becomes one continuos block. I have managed to fix this by adding pre and post element text of pre and /pre tags. This has made the Carriage Return and Line Breaks word nicely and dispaly correctly.
However, it has introduced a second problem. Long lines, with no Carriage Returns or Line Breaks, now extend to the far right of the page with no word wrapping, making my page potentially 4000+ characters wide.
How can I get the field to be display only, with recognised Carriage Returns and Line Breaks, and Word Wrapping inside a fixed width of, say, 150 characters?
Many thanks,
MartinHi,
Just a cut and paste of yours with the field name changed:
htp.p('<script>');
htp.p('$x("P3_COMMENTS").readonly=true;');
htp.p('</script>');I also have the following in the page HTML Header, could they be conflicting?
<script type="text/javascript" language="JavaScript">
function setReleaseToProd(wpTypeCode){
//setReleaseToProd($v(this))
var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=set_release_to_prod',0);
get.addParam('x01',wpTypeCode);
gReturn = get.get();
if(gReturn) {
$s('P3_RELEASE_TO_PROD',gReturn);
get = null;
</script>I am a long way from knowing much about Javascript (this page code was written by someone else) so all help is much appreciated.
Martin -
Pdfs created on my iMac add hidden carriage returns after each word
Hello Community,
This problem exists on my iMac but not my wife's Powerbook.
Whenever I created a pdf from Preview by printing and then selecting "save as pdf" I got a lovely looking pdf which I could send to anyone and they could view just fine. However, if I or anyone else selected text from that pdf and pasted it into any other program, it came out with an exclamation point instead of the space between words which is, needless to say, quite undesirable. Searching around, one thing that was suggested was clearing the font cache so I did this (several times). It did indeed make a difference: now instead of exclamation points a carriage return appears after every word! Once again the pdf looks just fine, but when you copy and paste text from the pdf into any other text program this happens.
So then I downloaded Adobe Acrobat (the one month fully functional trial program) and made pdfs with this program to see if that was the problem but, no, the same thing occurs. So it really seems to be a strange glitch in my iMac and my system?
Any advice would be greatly appreciated.
Best regards,
---NormThere is no Flash player version 15... as in your code:
<param name="swfversion" value="15.0.0.0" />
For some reason Adobe thought it would be a good idea to target a Flash player version (15) as default.....which may be out a couple years in the future. Go figure!!!
If you don't like player version 9, change to 10 or 11.... just not 15 (yet).
Best wishes,
Adninjastrator -
How to make a Carriage Return in a Word-Table by OLE Automation
I generated a Table in a Word-Document by using the OLE2 Interface.
After that I wrote a Text in the first cell of the table.
Now I want to make a Carriage Return to write another Textline in the same Cell.
But first i must move the cursor to the end of the Text.
I haven't already figured that out.
Can someone Help me?
I tried this but then the Cursor moves to the Begin of the second Cell in the same row.
*Writing the Text in the Cell
GET PROPERTY OF o_cell 'Range' = o_range.
SET PROPERTY OF o_range 'Text' = wa_anschr-ename.
*Move Cursor
GET PROPERTY OF o_cell 'Range' = o_range.
GET PROPERTY OF o_range 'End' = ld_pos.
SET PROPERTY OF o_range 'Start' = ld_pos.
CALL METHOD OF o_range ' Select'.I don't know about your suggestion.
I solved the Problem with that Method:
CALL METHOD OF o_selection 'EndKey'
EXPORTING
#1 = '5'.
CALL METHOD OF o_selection 'TypeParagraph'.
The Parameter "5" ist the VB Constant wdline...
Now it works and I'm happy -
CR2008 exports to editable word -- carriage return on each line
Hi,
I exported a CR2008 report to "editable" WORD format. However, we found there is a "carriage return"(CR) at the end of each line which is not expected in a paragraph, is this the normal behavior of Crystal Report, is there a workaround ?
Any idea and suggestion is appreciated. Thanks.
Regards,
GloriaHi Gloria
Can you please update us with the following information:
What is the database that you are using and its version?
What is the field type?(String,memo,..etc.)
Have you installed Service Pack 1 for Crystal Reports 2008?
Regards
Ashwini Yadav -
Prior to this version of Firefox 36.0.1, the <textarea> in my HTML forms was working; displaying carriage returns. In version 36.0.1 they no longer function properly. Instead when I enter a carriage return, it displays a space instead of a newline. I went to the most basic textarea testing
<textarea> name="comments" cols=20 rows=10 </textarea>
to make sure I wasn't introducing anything with other languages.
I am using Windows 8.1 Pro. I rolled back to Firefox 35.0 and everything works fine. I install 36.0.1 and it stops working.
I have access to another Laptop also running the same version of windows and Firefox and it appears to be doing strange things as well. I am suspicious in that I started noticing this immediately after a windows upgrade last night. The laptop also experienced the issues it is having immediately after a windows update yesterday evening.
I have yet another PC running a different version of windows and Firefox and it too works fine. It looks like the issue is where there is windows 8.1 Pro and Firefox 36.0.1.
Do you guys have any idea what is going on here?
Thanks
JMRAUPE57The current release supports the white-space property for a text area and it is possible that the website uses white-space: pre instead of white-space: pre-wrap.
The former will prevent Firefox from wrapping the text.
You can check that in the Inspector via the right-click context menu.
*https://developer.mozilla.org/Tools/Page_Inspector
See:
*https://developer.mozilla.org/en-US/Firefox/Releases/36#CSS
<blockquote>The white-space property is now working on <textarea> HTML elements (bug 82711).</blockquote>
See also:
*[[/questions/1050456]] Word wrap problems in 36.0 -
Reports not retaining carriage returns from htmldb_item.textarea
Im created a tabular form for multi row updates using htmldb_item.textarea for one of the fields. When I update the tabular form it keeps any carriage returns in this field, which is good. I then created a PL/SQL function body returning a SQL Query report for printing purposes. The problem is that the field populated by the htmldb_item.textarea does not retain any of the carriage returns in the report.
I enter the following in the textarea on the tabular form:
Line 1
Line 2
Line 3
The report I created then displays the data as:
Line 1 Line 2 Line 3
I need the report to display the data the same as it appears on the tabular form.
I tried this in my report from reading other similar situations on this forums, but didnt work.
replace("TEXTAREA",''||chr(13)||'',''||
||'') as title
Anyone know of a solution?How about this?
Go the page where you can edit the report column attribute - here is the bread crumb to help you figure out what I am talking about
Home>Application Builder>Application 99999>Page Definition>Report Attributes>Column Attributes
The second box in this page is Column formatting, you will find 4 text boxes (Number / Date Format, CSS Class, CSS Style, Highlight words) and a text area (HTML Expression). In the text area replace #COLUMN_ALIAS# with <PRE>#COLUMN_ALIAS</PRE>. You will get your newlines without tweaking the query or removing Strip HTML. Strip HTML is a security feature that I would not disable. On the down side you will loose some of the ability to format like fonts etc (:-(,
Here is why you loose the newlines in the report. When browsers render html they have the liberty to reformat it. When reformating they can play around with whitespaces including new lines. To force a new line you have to use the BR tag or you can say the text is preformated using the PRE tags. -
I am losing my carriage returns when sending emails using the Internet email vi's.
All carriage returns are stripped out and I get one long word wrapped paragraph.
I want to avoid html.
Ideally, using the vi's for rich text would be perfect, but a simple text message with carriage returns and line feeds in any font ok.
uses SMTP Email MIME Text Content-Type.vi
i have tried text/plain, text/html, and mixed yada somethingYou need to use Line feed constant and then use concatenate function.See the screen shot.
Naqqash
Attachments:
Using Line feed.png 15 KB -
Line break/carriage return in formula
Hi, I have an IF ELSEIF formula that works fine. Problem is they now wants the result to show a few paragraph instead of a few words. Can someone help me figure out how to insert line breaks/carriage returns in a formula. Thanks.
This is what I have:
If (CurrentDate> {@21Days}) OR (CurrentDate >{@LastMonth})THEN "NOTICE OF TERMINATION OF CHILD CARE CONTRACT FOR NON-PAYMENT OF FEES. + chr(10)+ Lets see how to make a paragraph"
ELSE
If (CurrentDate<{@LastMonth}) THEN "SECOND WEEK NON-PAYMENT/PARTIAL PAYMENT NOTICE"
ELSE
If {tblAROpenDoc.dtmDocDate} in LastFullWeek THEN "FIRST WEEK NON-PAYMENT/PARTIAL PAYMENT NOTICE" ELSE ""
the chr(10) shows
Any ideas? -
- How do you refer to an HTML carriage return in PHP?
Someone sent me a php script that replaces foul language with
kinder words
in message board postings. I'd like the same script to weed
out carriage
returns, but we can't find the correct syntax for it.
We're using :
$patterns[0] = '/\n\r/';
What's the correct syntax to use in this situation?
Thanks!"David Powers" <[email protected]> wrote in message
news:[email protected]...
> Reese wrote:
>> "David Powers" <[email protected]> wrote in
message
>>>
>>>$patterns[0] = '/[\n\r]/';
>>>
>>>That searches for either a newline character or a
carriage return.
>>
>> I'm told this will only work in Windows. That Macs
would require a
>> different string. Two, even.
>>
>> Anyone know if this is true?
>
> What you have been told is only partly correct. Windows
uses a carriage
> return followed by a newline character (\r\n). Macs just
use a newline
> character (\n).
>
> The pattern I have given you search for either a newline
character or
> carriage return. So if it's applied in such a way as to
remove all
> instances, it will work on both Windows and Mac. An
alternative pattern
> which would also work on both is this:
>
> $patterns[0] = '/\r?\n/';
>
> It looks for an optional carriage return followed by a
newline character.
> In other words, it still matches if there isn't a
carriage return.
The response of my know-it-all roumanian programmer with an
ego the size of
Texas to that was :
http://www.regular-expressions.info/characters.html
(bottom of the page)
\r\n = windows
\n = Linux (not Mac)
\r = Mac
http://www.regular-expressions.info/optional.html
(tells you what the '?'
does)
(it means that the character before it can be there 0 or 1
times)
\r?\n = \n (Linux) or \r\n (windows)
It leaves out the \r all alone, like added by the Mac.
So, it will not delete the Mac new lines (might delete the
Mac OSX ones
since that one is passed on Linux, but not the older ones.)
Now, you can contradict me all you want and have a busted
code (then you
will say it doesn't work because I made it wrong), or do it
like I told you
and get it working like it should.
To this, I told him I would present this to you for a
rebuttal, but not
before asking him why he used only the '/\r?\n/' model as an
example, and
not the recommended '/[\n\r]/'. Something tells me he has no
idea what [
and ] do in this context, so he's avoiding it altogether --
even though it
may very well solve the problem on its own the way you claim
it does. -
Hi, I have a problem about the textArea. When I compile a textarea the carriage return is casual because it doesn't work as an editor text program. So the words that I write are "break off" casually.How can I implement a textArea that simulate an editor text program about carriage return? Is exist an option in the properties of the textarea in NetBeans 4.0 that implement it?
Thanks!An example:
if I write in runtime in the textArea this words:
"Yesterday I played in the garden with my dog and then I studied Java in my bedroom"
and the dimension's textArea is more small than the dimension of the sentence writed above, I have the next view in the textarea:
"Yesterday I played in the garden with my dog and then I s
tudied Java in my bedroom"
Instead I want that the word "studied" doesn't break off as in the next example
"Yesterday I played in the garden with my dog and then I
studied Java in my bedroom" -
Carriage return in TextArea Flash component in Director 11
Hello.
I have a very big problem now
Neither embedded Flash movies with textareas or standard flashcomponent TextArea from Director tool pallete do not react on keyboard button "Enter" pressings. There is no carriage return after ENTER button is pressed. The same with End and Home buttons!!
Please help with any advise.
Is that a common bug?
See attached test.dir file. Try to type something in both textareas and then press ENTER button on keyboard. You should realize then what I'm crying about(((
AlexeyI too struggled with this issue. If you're looking for a solution still I have written one. Used the attached script in your Flash document, I spent a few days going back and forth between Director and Flash to figure this one out. Basically what I do is attach a key listener to the movieclip containing the textfield object that on keyDown gets the currently focused textField (this way it will work with multiple textField objects). After that it determines if the enter key is hit and if it is inserts a "/n" break at the selection starting point. The only issue is if you select a whole word in the textField and hit enter a break will be placed at the beginning of the highlighted word and that word will not be deleted. Hopefully this helps.
-b
// BY / contempt.productions inc. 10.30.09
// Director 11.5 fix for bug where dynamic textfields don't register ENTER or RETURN key in Flash sprites
// Solution involves inserting a \n carriage return wherever cursor insertion point starts.
// In Flash this adds 2 carriage returns for every hit of the enter/return key
// In Director 11.5 it adds 1 carriage return
// Change "body_txt" to represent the dynamic textField object this script is referencing
myListener = new Object();
myListener.onKeyDown = function() {
_global.textFocus = Selection.getFocus();
// get a string of the path to the currently focused textField object
_global.selStart = Selection.getBeginIndex();
// get the insertion point, this is the start of any selection
var multiText = body_txt.text;
// get the text from the current textField object
var theKey = Key.getCode();
// get the current keyCode (13 is the keyCode for "enter/return" key)
if (eval(textFocus) == eval(body_txt)) {
// determine if focused textField and current textField are the same
if (theKey == 13) {
// enter key is pressed
var firstPart = multiText.slice(0, selStart);
// get the current textField's text from the beginning to the insertion point
var secondPart = multiText.slice(selStart, multiText.length);
// get the textField's text from the insertion point to the string's end
body_txt.text = firstPart+"\n"+secondPart;
// concatenate the first and second part of the textField's text with a carriage return
Selection.setSelection(selStart+1,selStart+1);
// place the text insertion point properly
myListener.onKeyUp = function() {
var theKey = Key.getCode();
Key.addListener(myListener); -
Carriage returns in RTF export
Hello, one of my clients is complaining that RTF output has carriage returns at the end of each line, making him unable to copy and paste the text somewhere else and continue to work with it further. Can this be turned off and what options are available here? Thanks.
Here's sample output. This was a free-flowing paragraph in the database.
All matters listed hereunder constitute a Consent Agenda, are considered to be routine by the Board of
Supervisors and will be acted upon by a single roll call vote of the Board. There will be no separate
discussion of these items unless a member of the Board so requests, in which event the matter shall be
removed from the Consent Agenda and considered as a separate item.
\cf1\i All matters listed hereunder constitute a Consent Agenda, are considered to be routine by the Board of \par\pard\sl-231\i0\cf0\tx637 \cf1\i Supervisors and will be acted upon by a single roll call vote of the Board. There will be no separate \par\pard\sl-231\i0\cf0\tx637 \cf1\i discussion of these items unless a member of the Board so requests, in which event the matter shall be \par\pard\sl-231\i0\cf0\tx637 \cf1\i removed from the Consent Agenda and considered as a separate item.
I am using CR 2008 SP3 to troubleshoot this issue.
Please take a look at this file: http://software1.legistar.com/RTFProblem.zip - It contains the .rpt file with data, the problematic .rtf file with hard returns at the end of each line, and a screenshot of the problem.
A large project hinges on this one issue. Please help. Thanks.This is something CR does to try to keep the report visually similar between formats. I don't know of any setting in CR that will alter this behavior.
The 2 options are...
1) Export as a .csv file. csv is a machine readable format that doesn't have any visual formatting.
2) Remove the carriage returns and line feeds from MS Word. The find & replace (Ctrl + h) can be used. In the "Find what:" window, enter ^p and leave the "Replace with:" blank. This will remove all of the CR & LFs.
HTH,
Jason -
XML is cluttered with carriage returns and line feeds - how to suppress?
Hi all,
at least within text paragraphs we would prefer 'clean' XML without carriage returns. Can Framemaker be configured to avoid these control character?
Below is an example of a DITA file produced by Framemaker. Evidently this is related to the Pretty Printing feature and I do admit that it increases the readability. However they cause some issues for us. Note that the carriage returns in the paragraph are at arbitrary positions, not at the end of the lines as they appear in the Framemaker editor (I inserted the word "End" at the end of the first line).
RobertBy default, FrameMaker adds a CR at around 70-80 characters unless instructed to do otherwise.
Also, soft returns (SHIFT+ENTER) are lost unless you're in a pre formatted element like a <codeblock> (which is probably why there's no CR after your "End" text.
If you want to limit the seemingly arbitrary CRs, you must tell FM where to put them. Add the following rule to the structure application rules file ..
element "p"
writer line break is 99999 characters;
…scott -
Character # is converted to carriage return in proxy call. Please help!
Hi Experts,
I have a variable of type string with value: #VSSOO01. In my ABAP code I am sending this value to XI via Proxy. When I check the value that XI has received, it shows as Carriage Return and VSSOO01. In other words # is replaced by carriage return.
I also checked the message payload sent my proxy in the source system and also it has replaced # by carrige return.
I have checked the variable value via ABAP debugger before and after assigning to Proxy parameter and it shows correctly.
I want it should send as it is #VSSOO01.
How to fix this issue?
Please help
Thanks & Regards
GopalPlease use the attribute CR_LF from class CL_ABAP_CHAR_UTILITIES in your program. For eg.
REPLACE all occurences of CL_ABAP_CHAR_UTILITIES=> CR_LF in lv_string with '#' in character mode.
Regards
Ranganath
Maybe you are looking for
-
How to wrap a text in xml?
There was this example where they had listed down a text content which had wrapped within a cell. I downloaded that XML code and then tried embedding in an HTML page. When the XML file is opened in excel it is appearing wrapped but when appearing in
-
Where to buy a ADC to VGA adaptor
Im looking for one to pick up at a store. Does anyone know who might carry a ADC to VGA adaptor?
-
Properties class not available on remote stylesheet
dreamweaver cc will not apply style classes if the css is on remote server. I have to download the style sheet in order for the classes to appear in the properties/class dropdown tool. what happened to live view and how do I change this so it work
-
Increase email attachment size
Hi All, We're running Exch2010 servers with approx. 14000 mailboxes. We're planning to increase email attachment size from 10 MB to 20 MB. I'm aware about places I need to make changes but my concern is that do we need to take anything in considerati
-
Just updated to 8 & now I can not open any web pages as well as firefox will not close out, it still running in the background after browser was closed. I uninstalled and reinstalled as well as disabled add-ons and plugins nothing has changed, can I