How to write format text on this forum ?
I'd like to write my threads using format text, particularly when I write a code fragments.
I want to obtain something like in this thread: [Survey] Which coding feature do you want in JDeveloper 11?
Should I write with HTML tags ?
Sveinn,
I should use the square brackets:
[ code ] [ /code ] (without the spaces)
instead of the angle brackets:
<code> </code>
Similar Messages
-
How can I write HTML code in this forums
Sorry but I didn't know where to post this thread.....
How can I write HTML code in this forums?Hello,
Every piece of code in your post should be wrapped with the forum tags [ code] and [ /code], without the blanks.
In case of the <a> tag, that is not enough. In this case, you have several options. The most elegant one is to use the entity name for the less-then sign - & lt; - without any spaces. Other options is to add a space between the less-then and the ‘a’ character (and make a note of it) or change the less-then character with a left bracket one.
When posting code, you should always use the forum preview option, just to make sure the forum software “understood” your code correctly.
Hope this helps,
Arie. -
How to write Select statement for this codition
I need to check whether SGTXT contains BELNR value.
SGTXT is a text field and It should be matched with BELNR
How to write select statement for this.
Select AUGBL AUGDT into t_BSAD
from BSAD
where SGTXT should have the given BELNR Value.
Plz note : Here I cannot give as SGTXT = BELNR as coz BELNR have only 10 digits.Hi,
data temp(12).
concatenate '%' belnr '%' into temp.
Select AUGBL AUGDT into t_BSAD
from BSAD
where SGTXT like temp.
If belnr is having multiple values,just create a internal table as follows.
types : begin of ty,
belnr....
temp(12),
end of ty.
data itab_ type standard table of ty.
data wa type ty.
loop at itab into wa.
concatenate '%' wa-belnr '%' into wa-temp.
modify itab from wa index sy-tabix transporting temp.
endloop.
Change your select statement accordingly.
Kindly reward poits if it helps. -
How to get formatted text into arrays
Dear experts and helpers,
For my project I import an RTF file and then read the data from it into 3 arrays. This works fine when just using the string contents of the paragraphs. However, the final script should be able to read and replace formatted text...
Why use the intermediate arrays? Because otherwise I need to switch back and forth between two fm-documents (and one may be a book component).
The imported file starts with a number of lines separated into two items by a TAB (» denotes a TAB, in FM \x08)
[[Garneau, 1990 #12]] » [9]
The right item may also be locally formatted text, e.g. [9]
Then follow the same (or smaller) number of paragraphs with formatted text like this:
[9] » D. Garneau, Ed., National Language Support Reference Manual (National language Information Design Guide. Toronto, CDN: IBM National Language Technical Centre, 1990.
Is it possible to replace in the body of the function below the following piece
while(pgf.ObjectValid()) {
pgfText = GetText (pgf, newDoc);
gaBibliography.push(pgfText);
pgf = pgf.NextPgfInFlow;
with this
while(pgf.ObjectValid()) {
gaBibliography.push(pgf);
pgf = pgf.NextPgfInFlow;
Do I need a special declaration of the array gaBibliography ?
And how to get the right part of the intro lines as formatted thingy into array gaFmtCitsFmt ?
Currently I read into arrays only the 'strings' (function GetText not shown):
var gaFmtCitsRaw = []; // left column in processed RTF
var gaFmtCitsFmt = []; // right column in processed RTF
var gaBibliography= []; // bibliography lines from processed RTF
// filename is something like E:\_DDDprojects\FM+EN-escript\FM-testfiles\BibFM-collected-IEEE.rtf
function ReadFileRTF (fileName) {
var nCits=0, nBib = 0, openParams, openReturnParams, newDoc, pgf, pgfText ;
var TAB = String.fromCharCode(8); // FM has wrong ASCI for TAB
var parts = [];
openParams = GetOpenDefaultParams();
openReturnParams = new PropVals();
newDoc = Open (fileName, openParams, openReturnParams);
pgf = newDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf; // get first pgf in flow
// --- read the temp/formatted citations
while(pgf.ObjectValid()) {
pgfText = GetText (pgf, newDoc);
if (pgfText.substring (0,2) == "[[") { // citation lines start with [[
parts = pgfText.split(TAB); // get the two parts of the line
gaFmtCitsRaw.push (parts[0]); // Push the result onto the global array
gaFmtCitsFmt.push (parts[1]);
pgf = pgf.NextPgfInFlow;
} else { break }
// --- read the bibliography
while(pgf.ObjectValid()) { // until end of doc
pgfText = GetText (pgf, newDoc);
gaBibliography.push(pgfText);
pgf = pgf.NextPgfInFlow;
newDoc.Close (Constants.FF_CLOSE_MODIFIED);
} // --- end ReadFileRTF
The next questions then will be how to modify Ian Proudfoot's FindAndReplace script to handle formatted text as replacement. IMHO i will need to use copy/paste ...Klaus,
Working with text is about the most complicated thing to do within FrameMaker. It seems counter-intuitive, since it is about the easiest thing to do with the GUI. But alas, once you remove the ability to select with a mouse and type with a keyboard, text becomes a wild jungle of complexity.
Text ranges are not too bad, once you get the general idea. It is just that... a range of text, like something you would select with a mouse. Like a mouse selection, it starts before some character in some paragraph and ends after some character in some paragraph. It may be the same paragraph, which is a selection within a paragraph. The character can even be the same, which is then just an insertion point (cursor) somewhere.
So, a text range is a data structure that defines two paragraphs and two characters. In the jargon of scripting, the character is called an "offset." An offset is simply the number of characters past the beginning of said paragraph, where 0 is the beginning.
For example, if you want to capture the first five characters of a paragraph as a text range, you can do this, where 'pgf' is some paragraph object:
var textRange = new TextRange();
textRange.beg.obj = pgf;
textRange.beg.offset = 0;
textRange.end.obj = pgf;
textRange.end.offset = 5;
If you want to capture a whole paragraph, change that last line to the number of characters in the pgf, or you can do this:
textRange.end.offset = Constants.FV_OBJ_END_OFFSET;
...where that constant is just some built-in thing that means "get me to the end of whatever." It's a convenience of the interface.
I'll also note that a text range is actually just an array of two text location structures, one named 'beg' and one named 'end.' If you think of a text location as defined by paragraph and an offset from the first character, maybe that will make more sense.
Text item structures are a whole new mess of complexity. I can't possibly go into an explanation of them here.
I think that many ES developers (definitely myself included) still use the FDK documentation because it is considerably more comprehensive. The two interfaces are largely parallel, but of course somewhat different in the language syntax. Consider that as a potential resource.
Russ -
How to write complex sql for this
Hi ALL,
I have a requirement like this
I have 5 tables which i have to join to get the result
but there no join column to 2 other table.
I want to get all the applications using cobal,running on UNIX.
How to write the query for this
1.APP
APP_i DESC
1 Accounts
2 Payments
3 order transfer
4 Order processing
2.Techgy
techid techdesc
1 cobal
2 Java
3.APP_Techgy
APP_I Techid
1 1
2 1
3 1
4 2
4.Pltfrm
pltfmid pltfrmdesc
1 Windows NT
2 UNIX
5.APP_Pltfrm
APP_I pltfrmid
1 1
2 1
3 2
4 2
ouput must be
APP_i Desc techDESC pltfrmdesc
3 ordertranfer Cobal UNIX
Thanks in advanceThis ('descr' in place of 'desc')?
SQL> select a.app_i, a.descr, t.techdesc, p.pltfrmdesc
from app_techgy atc,
app a,
techgy t,
app_pltfrm ap,
pltfrm p
where atc.techid = t.techid
and atc.app_i = a.app_i
and atc.app_i = ap.app_i
and ap.pltfrmid = p.pltfmid
order by a.app_i
APP_I DESCR TECHDESC PLTFRMDESC
1 accounts cobal windows nt
2 payments cobal windows nt
3 order transfer cobal unix
4 order processing java unix
4 rows selected. -
How to post a picture in this forum?
Dear all,
There are a few times that I want to include a picture to show people what my question is. I want to know how to attach a picture in this forum
thanksI got my assistant to figure it out.
[url #" style="display: block; background-image:
url('http://www.joe-ks.com/archives_aug2004/MonkeyBusi
ness.jpg'); width: 499px; height: 490px] I work with that woman, I swear... -
How do i see how many points i have in this forum system?
How do i see how many points i have in this forum?
I will give points to best answerhi Debbie!
Go to your public profile link, next to your status level you will see your total points.
hmmmm. one quirk. if people don't actually have a status level yet, i don't see a points tally if i look at their public profiles. (not sure how it looks to a poster without a status level if they look at their own public profile.)
if you've got a relatively small number of posts (and don't have a status level yet), it's possibly to do a manual count by checking through your My Posts (by opening each post in there and checking for any yellows or greenies.)
love, b -
How to write a PCR for this ?
Hi SAP-HR Experts .
Dear friends , My Company Requires a specific requiremnt that at the date of any Employee's
B'day his one day salary should get doubled and he is entitled to get one leave on his B'day .
I do not know how to write a PCR for this ?
May some Body tell me how to meet this requirement Please .
tell me please step by step how to go through ...
It will be great help for me .
Best regards : rajneeeshI think you can make it with something like this:
Write a PCR in schema, you can call the rule with "actio";
000860 ACTIO 9BIR AR Birthday
Rule 9BIR
9BIR Rule for Birthday
NUM=FG C Set " F (fixed indicator for deadline calculation); G (Birth date from infotype 0002);C (complete months)
NUM/12 División " Number of completed months divided by 12
NUMV0O2L Off.Lng en arg.var. " the last two places of the number are entered in the variable argument.
" if the rest is not 00, there is nothing to do
00 " if the rest is 00
ZERO= N AmtNumRteZeit = 0 "
AMT= 1002 Set " wagetype of salary
AMT/TKDIVI División " divides the amount by Partial Period Parameter Whole Month
ADDWTI1002 Input table " accumulates into 1002
Example: an employee with birthday 01.01.1977 in IT0002
Payrroll in january 08
wagetype 1002 before rule 9BIR:
3 1002 Salario Bas01 30,33 30,00 909,90
Rule 9BIR
NUM=FG C Set; NUM= 372
NUM/12 ; 372/12= 31 rest=00
AMT=1002 ; AMT= 909,90
AMT/TKDIVI ; 909,90/31= 29,35
ADDWTI1002 ; 909,90 + 29,35= 939,25
wagetype 1002 before rule 9BIR:
3 1002 Salario Bas01 30,33 30,00 939,25
Hope this helps. Manuel -
How many members is there in this forum?
Just curious...
How many members is there in this forum?
Thanks,
StefanHow many members is there in this forum? Your user ID is 898414. But that probably doesn't
mean the number of members is approaching a
million... does it? Maybe it does. There are a lot of
people who get a user ID and ask us to post the code
for face recognition or something like that, then are
never heard from again.and interestingly based on the id's the first member to have registered and who did post atleast one message posted his first message on Jul 21, 2005 2:16 AM
while he registered on Registered:
Jun 12, 1997 2:00 AM -
How to post my code in this Forum under a good format?
can any one tell me how to post the java resource code in here? when i just copy and paste. the format of the output is not so good, i saw some one posted some code under a very good format in this Forum, how to do that?
If you want to post code that makes it easier on someone else to cut-n-paste, then put the code inside of the [ pre] and [ pre] tags (no blank space in between). If you want code that looks pretty (i.e., with syntax highlight, etc) but hard to cut-n-paste (at least for someone like me who uses Windows WordPad as a source code editor), put the code inside of the [ code] and [ code] tags (again no spaces in between). pre is an abbreviation for preformatted text!
;o)
V.V. -
How to format posts in this forum.
<p>As you may have noticed posts in this form lose all formatting when you post even when you use formatting tags. Unfortunatley this well known yet mysteriously unresolved issue is true for almost all of the recently added forums, which seems a pity because several, like this one seem to be in concept a good idea.</p>
<p>Of course no formatting is a pain because it creates unreadable posts.</p>
<p>But wait there's a paragraph break! And here's another one! How did I do this?</p>
<p>Thankfully the same bug that means that normal formatting tags are not enabled for this forum also means that HTML tags <b>ARE</b> enabled for this forum.</p>
<p>Feedback has been reported on this issue since early June to no avail and I don't expect any change any time soon so I thought I'd let those interested in participating in this forum how they can actually post posts that can be read.</p>
<p>Finally here's a quickie HTML primer to help those who need it.
<br><center><table border="1" cellpadding="3" cellspacing="0">
<tr><td><b>Tag</b></td><td><b>Description</b></td><td><b>Example</b></td></tr>
<tr><td><p></td><td>Paragraph Tag</td><td><p>Paragraph one<p>paragraph two</td></tr>
<tr><td><br></td><td>Line Break</td><td>Line one<br> line two</td></tr>
<tr><td><b></td><td>Bold</td><td><b>Bold text</b></td></tr>
<tr><td><pre></td><td>Preformatted Tag</td><td><pre>
public class Sample{
private int x = 3;
</pre><br><small>Note that while this loses syntax highlighting it will keep code formatting intact</small></td></tr>
</table></center>
<p>And just to note for the pre and bold tags you will need closing tags at the end of the text you want to format in this manner. Otherwise it will not stop which will also be unplesant. Ending tags look like </b> and </pre></p>
<p>Hope some may find this helpful</p><p>Known forums with this issue include<ul>
<li>This one http://forum.java.sun.com/forum.jspa?forumID=546&start=0</li>
<li>HotSpot FAQs http://forum.java.sun.com/forum.jspa?forumID=547</li>
<li>RSS Feeds http://forum.java.sun.com/forum.jspa?forumID=532</li>
<li>Kerberos & Java GSS http://forum.java.sun.com/forum.jspa?forumID=545</li>
</ul></p>
<p>There may be others but certainly these newish ones are all broken and need to be fixed. This bug is annoying from a user perspective but also they can be dangerous as well if exploited</p>
<p>I know I have personally reported feedback about this problem since at least the middle of June to no effect yet</p> -
How to save formatted text in Transparent or cluster table using WDA
Hi All,
From WDA application I want to save formatted text in Transparent or cluster table.
What Datatypes/Data elements should take in Tables? Format should remain as it is.
How can I achieve above requirement. Please guide step by step.
Thanks in advance.
Note : I will use FormattedText UI element in the view
BR
CWHi,
I am not sure may you can try XSTRING also..
And you can check this for special char.
http://www.google.co.in/url?q=http://forums.sdn.sap.com/thread.jspa%3FthreadID%3D1342827&sa=U&ei=ynTkTZDvNsbsrAepvIWsBg&ved=0CBYQFjAA&usg=AFQjCNEHLu2lPsOLP0m78AqWKjZPvBB8Yw
Cheers,
Kris. -
How to display Formatted text in adobe form
In adobe form, I want to display the text which is inputed by formatted text edit in WD ABAP application.
It is always displayed as plain text like '<p>this is test text.</p>'. I have set the attribute Data Format to XHTML, Field Format to Rich Text for the Text Field in adobe form. But it doesn't work.
How to display these formatted text?
Thanks and Best Regards,
JunHi Juergen,
I found Your blog and found it really interesting... though I was not able to use it: I (like Jun Li is asking, I guess) need to use a dynamic text, containing formatting informations (according the xhtml syntax).
I tried to pass it to the form by an ABAP-dictionary based interface and by means of the context (in a webdynpro page), but both tries failed.
Some suggestion will be greatly appreciated.
Thankyou
Simone -
Nested Table: How to display formatted text in the form ?
Hi,
Scenario:
I have a nested table, say TAB1, containing another table TAB2 which holds the formatted text.
Sample data
Entries in TAB1:
Column1 Column2(TAB2)
Text1 Data_from_tab2
Text2 Data_from_tab2
Text3 Data_from_tab2
Requirement:
The requirement is to display the data in TAB1 as it is maintained.
Trials:
I am aware of the fact that we can transfer the content of the nested table (in this scenario, TAB2) in another table(of type TLINE) defined as a global variable in the interface of the form. Then in the context area, we can define a 'TEXT' node and bind it to the table and choose the 'Dynamic text' for the 'text type' attribute and maintain the other atrributes.
But this approach cannot solve the issue as it is a nested table.
Kindly suggest how can I resolve this issue.
Regards
s@kHi,
if its like colum1, column2 (tab2).
you can represent column2 as a nested table in the form. and put these tables structure intoa subform of type flowed.
then you can have the required format.
the same can also be acheived using nested subforms instead of tables.
example of such scenario is PO & line items.
po number1 , items 1
item 2
item 3
po number2 , items 1
item 2
item 3
hope this helps you.
Cheers,
Sai -
Raw HTML data in reply box instead of formatted text when using forums or webmail interface
At work, we use an internal webmail service with SmarterMail Enterprise 5.5 to communicate. Since upgrading to FF6, the reply text area no longer shows formatted text, and instead just shows the raw HTML code of the message you're typing. The size of the message box area is also reduced to about half what it used to be.
Text formatting also does not function on several message board forums around the internet. Seen many others complain about the same.
This did not happen in Firefox 5, and does not happen now in Chrome or IE8. Something about FF6's handling of webmail interfaces and forums or the handling of an extension that affects a webmail interface or forum is off.
Any help?AFAIK, no. Acrobat/Reader will only generate plain-text emails.
Maybe you are looking for
-
Files Will Not Open in Contribute
This topic has been discussed breifly but not with my specific combinations of software so if anyone has had, fixed or knows this issue is a dead end I would appreciate your input. Our office uses Contribute 3 and is in the process of converting ever
-
App won't open completely. I touch it, it opens, no options to touch. Then it closes
-
How do i connect my iphone to my homwnetwork wirelessly
i have been trying to connect my i phone to my home network computers wirelessly , can anyone help me
-
Prevent large numbers from becoming scientific notation on CSV import
Hi, I'm importing contacts in a .CSV file into iWork Numbers and it takes a 12-digit phone number from a guy in the UK and turns it into scientific notation. So something like 447729803988 becomes 4.4772E+11 which obviously loses some important digit
-
Decimal place problem in smartforms..
Hi All, I my smart forms i am displaying a quantity filed, but itz displaying with 3 decimal places. But i need to hide the decimal places. I try to use formating option &symbol(.N)& but itz giving error while calling the smart forms. Plz help me...