Text in Table format
Hi, I am unable to paste my text in Table format from MS Word
like I use to in Dir MX 2004...
Do I need a plug-in now or do I need to do it the long way
round, 1st make the text into HTML then do some scripting in Flash,
export it and import it into Director?
Please help?
http://justkuankuan.bravehost.com/Table.zip
Things I have tried...
Copy the text in MS Expressions/Dreamwaver and importing the
html in Dir, result: text not align.
Exporting text in rtf, html from MS Word, result: error 85,
or -1.
Please Help?
Similar Messages
-
Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?
Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?
-
In our current implementation we have a Blank page with Text Field [field format Rich Text] on generated PDF Document.
Once the PDF document is generated, user can copy paste content form any word/rtf document to into the Text Field.
Pasted content retains all text formatting [Bold, Italic, Underline, Indentation] except the Table format. Text Field is removing table metadata from the content and converting it into plant text.
Is there anyway to copy paste table structure as it is from word document into Text Field?Hi,
I don't think you can! While you can paste formatted text into the rich text field, the table metadata means nothing to the textfield.
Niall -
Acrobat 9 - table/formatted text select tool
In acrobat 5 exist "table/formatted text select tool". That function exist in acrobat 9? Where?
thanksHi,
as its a long time ago since the thread was wrote, but sometimes anybody is looking it could help .
Select the text of yout table with the normal text selecting tool and open the context menu with your right mousebutton. There you can save the table with "Save as table".
Best regards -
Is it possible to set text and rotatation in stored table formats?
I have a table that is a good candidate to be a table format because it will be resued many times. The heading text will not change and some of the text is rotated, so I'd like to store that too. Is there a way to do this in FM9? Here's a sample of what I'm aiming for. Any portion (text itself or rotation style) that can be set in the table format tag would be helpful.
Thanks,
DaveI'm reasobably sure that table formats can't have any text in them. Tables with formatting and canned text are one of the things I use most frequently in my Auto-Text definitions. Auto-Text is a plug-in I wrote that is useful for inserting canned items into FrameMaker documents. You can learn about it here:
http://www.siliconprairiesoftware.com
Steve -
"Convert Text to Table" Size limit issue?
Alphabetize a List
I’ve been using this well known work around for years.
Select your list and in the Menu bar click Format>Table>Convert Text to Table
Select one of the column’s cells (1st click selects entire table, 2nd click selects individual cell)
Open “Table Inspector” (Click Table icon at top of Pages document)
Make sure “table” button is selected, not “format” button
Choose Sort Ascending from the Edit Rows & Columns pop-up menu
Finally, click Format>Table>Convert Table to Text.
A few days ago I added items & my list was 999 items long, ~22 pages.
Tonight, I added 4 more items. Still the same # pages but now 1,003 items long.
Unable to Convert Text to Table! Tried for 45 minutes. I think there is a list length limit, perhaps 999 items?
I tried closing the document w/o any changes. Re-opening Pages & re-adding my new items to the end of the list as always & once again when I highlight list & Format>Table>Convert Text to Table .....nothing happens! I could highlight part of the list up to 999 items & leave the 4 new items unhighlighted & it works. I pasted the list into a new doc and copied a few items from the middle of the list & added them to the end of my new 999 list to make it 1003 items long (but different items) & did NOT work. I even attempted to add a single new item making the list an even 1000 items long & nope, not working. Even restarted iMac, no luck.
I can get it to work with 999 or fewer items easily as always but no way when I add even a single new item.
Anyone else have this problem? It s/b easy to test out. If you have a list of say, 100 items, just copy & repeatedly paste into a new document multiple times to get over 1,000 & see if you can select all & then convert it from text to table.
Thanks!
Pages 08 v 3.03
OS 10.6.8G,
Yes, Pages has a table size limit, as you have discovered. Numbers has a much greater capacity for table length, so if you do your sort in Numbers you won't have any practical limitation.
A better approach than switching to Numbers for the sort would be to download, install and activate Devon Wordservice. Then you could sort your list without converting it to a table.
Jerry -
How can I convert my css code into table format?
Wasn't sure how to word the title, but what I am trying to do is post my html code generated with Dreamweaver CS4 into craigslist for an advertisement I designed. Craigslist seems to only accept "TABLE FORMAT". I just learned enough to design this AD using css, now do I have to go back and learn table cell coding? Is there something I am not aware of like a conversion or something that will work?
Thank you very much for any help, I am very anxious to get my ad placed.Example of the accepted code:
<table border="0" cellpadding="5" cellspacing="0" width="100%" id="table4" align="center">
<tr><td width="125"><b><font size="2" face="Verdana">Contact Name:</font></b></td><td><font face="Verdana" size="2">Patrick</font></td></tr>
You must have an old HTML editor because that isn't INLINE CSS CODE. It's deprecated HTML code. It might work OK on Craig's List... but <font> tags won't pass W3C validation in XHTML doc types.
To express what you have above using inline CSS styles without tables would like this:
<p style="font:16px Verdana, Arial, Helvetica, Sans-serif; text-align:center"><strong>Contact Name:</strong> Patrick</p>
http://www.w3schools.com/CSS/css_howto.asp
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
How to fire a Alert Message in a table format
Hi friends,
Currently im performing an Alert. My requirement is i need to display the alert message to the user in the mail in a table format.
But i couldnt perform that, as the alert is not displaying in a properly aligned table format.
Can you friends propose me a right way to bring the alert in a table format with two columns.
Thanks in Advance..
Regards,
SaroI agree w 936671, do this in PL/SQL. Much, much easier.
However, I will recommend a different approach using PL/SQL.
1) Create a package to send the emails. Sample code:
create or replace package cust_fnd_utilities as
procedure send_email( p_sender in varchar2,
p_recipient in varchar2,
p_subject in varchar2,
p_message in varchar2);
end cust_fnd_utilities;
create or replace package body cust_fnd_utilities as
procedure send_email( p_sender in varchar2,
p_recipient in varchar2,
p_subject in varchar2,
p_message in varchar2)
is
v_mail_host varchar2(30);
v_crlf constant varchar2(2):= chr(13)||chr(10);
v_message varchar2(10000);
v_mail_conn utl_smtp.connection;
begin
v_mail_host := 'localhost';
v_mail_conn := utl_smtp.open_connection(v_mail_host, 25);
v_message := 'Date: ' ||
to_char(sysdate, 'dd Mon yy hh24:mi:ss') || v_crlf ||
'From: <'|| p_sender ||'>' || v_crlf ||
'Subject: '|| p_subject || v_crlf ||
'To: '||p_recipient || v_crlf || '' || v_crlf || p_message;
utl_smtp.ehlo(v_mail_conn, v_mail_host);
utl_smtp.mail(v_mail_conn, p_sender);
utl_smtp.rcpt(v_mail_conn, p_recipient);
utl_smtp.data(v_mail_conn, v_message);
utl_smtp.quit(v_mail_conn);
exception
when others then
utl_smtp.close_connection(v_mail_conn);
end send_email;
end cust_fnd_utilities;
2) Build the email, then call the package from step #1. Sample code:
create or replace package cust_fnd_monitoring as
procedure profile_options_build_email ( p_errbuf out varchar2,
p_retcode out varchar2,
p_sender in varchar2,
p_recipient in varchar2);
end cust_fnd_monitoring;
create or replace package body cust_fnd_monitoring as
procedure profile_options_build_email ( p_errbuf out varchar2,
p_retcode out varchar2,
p_sender in varchar2,
p_recipient in varchar2)
is
v_subject varchar2(100) := 'erpgamd1 - Recent Profile Option Changes';
v_mime_type varchar2(100) := 'Content-Type: text/html';
v_body varchar2(10000);
v_line_feed varchar2(1):=chr(10);
cursor profile_cur is
select p.user_profile_option_name,
u.user_name,
u.description,
r.responsibility_name,
v.last_update_date
from fnd_profile_option_values v,
fnd_profile_options_vl p,
fnd_user u,
fnd_responsibility_vl r
where p.application_id = v.application_id
and p.profile_option_id = v.profile_option_id
and v.last_updated_by = u.user_id
and v.level_id = 10003
and v.level_value = r.responsibility_id
and v.level_value_application_id = r.application_id
and r.creation_date <= '01-NOV-2010'
and v.last_update_date >= sysdate-7
and u.user_name != '204020779'
union all
select p.user_profile_option_name,
u.user_name,
u.description,
'Site' responsibility_name,
v.last_update_date
from fnd_profile_option_values v,
fnd_profile_options_vl p,
fnd_user u
where p.application_id = v.application_id
and p.profile_option_id = v.profile_option_id
and v.last_updated_by = u.user_id
and v.level_id = 10001
and v.last_update_date >= sysdate-7
and u.user_name != '204020779'
order by 5 desc,4;
profile_rec profile_cur%rowtype;
begin
open profile_cur;
<<profile_loop>>
loop
fetch profile_cur into profile_rec;
exit when profile_cur%notfound;
if profile_cur%rowcount = 1 then
-- We need to confirm that we fetch at least one row. Once we have confirmed, we want to generate
-- the email body heading only during the first pass through the loop.
v_body := '<html>' || v_line_feed;
v_body := v_body || '<body style="font-family:arial;font-size:10pt">' || v_line_feed || v_line_feed;
v_body := v_body || '<table cellspacing="5">' || v_line_feed;
-- table heading
v_body := v_body || '<tr>' || v_line_feed;
v_body := v_body || '<td align="left"><u>profile option name</u></td>' || v_line_feed;
v_body := v_body || '<td align="left"><u>responsibility name</u></td>' || v_line_feed;
v_body := v_body || '<td align="left"><u>last update date</u></td>' || v_line_feed;
v_body := v_body || '<td align="left"><u>SSO #</u></td>' || v_line_feed;
v_body := v_body || '<td align="left"><u>user name</u></td>' || v_line_feed;
v_body := v_body || '</tr>' || v_line_feed;
end if;
-- table detail
v_body := v_body || '<tr>' || v_line_feed;
v_body := v_body || '<td>' || profile_rec.user_profile_option_name || '</td>' || v_line_feed;
v_body := v_body || '<td>' || profile_rec.responsibility_name || '</td>' || v_line_feed;
v_body := v_body || '<td>' || profile_rec.last_update_date || '</td>' || v_line_feed;
v_body := v_body || '<td>' || profile_rec.user_name || '</td>' || v_line_feed;
v_body := v_body || '<td>' || profile_rec.description || '</td>' || v_line_feed;
v_body := v_body || '</tr>'|| v_line_feed;
end loop profile_loop;
if profile_cur%rowcount =0 then
-- The cursor fetched no rows.
-- send email using utl_smtp
cust_fnd_utilities.send_email(p_sender,p_recipient,v_subject || '. No exceptions found.','No exceptions found.');
else
-- Generate the end of the email body if we fetched at least one row.
v_body := v_body || '<table>' || v_line_feed || v_line_feed;
v_body := v_body || v_line_feed || '</body>' || v_line_feed;
v_body := v_body || '</html>' || v_line_feed;
-- send email using utl_smtp
cust_fnd_utilities.send_email(p_sender,p_recipient,v_subject || v_line_feed || v_mime_type,v_body);
end if;
close profile_cur;
end profile_options_build_email;
end cust_fnd_monitoring;
3) In your alert, do not use an email action. Rather, your action should be a SQL*Plus script that calls the package from step #2. -
Text in tables shifting in different browsers...
I have set up a page using tables.
In the middle of the page are 4 images pulled in and lined up
horizontally separated by table cells (for some space).
The tables immediately underneath the photos are for adding
text.
I center aligned the text and am controlling only the font
style (no colors, sizes, etc) from a separate external CSS file.
The first line of text is "paragraph" format, the second line
of text is bigger/different color and in "heading 1" format, the
third chunk of text is "paragraph" format also (it's an actual
paragraph).
When I view this page in the 4 main web browsers, this text
shifts up and down. In other words, all 4 photos underneath
descriptions are not aligned nicely horizontally. The tables are
perfectly aligned, so why is the text moving vertically inside when
previewed?
Here's a link to my site:
http://student.ccbcmd.edu/~rsmit459/playingthedrums/index.html
View it in different browsers and watch the copy under the
photos shift vertically (not lined up across the page).*bump*
-
SAP Script - How to write data in a table format.
Hi All,
In my requirement, I need to show item data in a table format ( In a box, with horizental & veritcal lines.
can somebody pl give me a small code to do this.
Regards,
HardikHi
SCRIPT BOXES
POSITION WINDOW
SIZE WIDTH '160' MM HEIGHT '140' MM
BOX FRAME 10 TW
Box
BOX HEIGHT '11' MM WIDTH '160' MM FRAME 10 TW INTENSITY 35
linessssssss
BOX XPOS '20' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '45' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '80' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '120' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
Boxes, Lines, Shading: BOX, POSITION, SIZE
Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading.
The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when printing. Line printers and page-oriented printers not supported in the standard ignore these commands. You can view the resulting printer output in the SAPscript print preview.
Syntax:
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
BOX Command
Syntax
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Effect: draws a box of the specified size at the specified position.
Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.
XPOS, YPOS
Upper left corner of the box, relative to the values of the POSITION command.
Default: Values specified in the POSITION command.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH
Width of the box. Default: WIDTH value of the SIZE command.
HEIGHT
Height of the box. Default: HEIGHT value of the SIZE command.
FRAME
Thickness of frame.
Default: 0 (no frame).
INTENSITY
Grayscale of box contents as %.
Default: 100 (full black)
Measurements: You must specify decimal numbers as literal values (like ABAP numeric constants) by enclosing them in inverted commas. Use the period as the decimal point character. See also the examples listed below.
Units of measurement: The following units of measurement may be used:
TW (twip)
PT (point)
IN (inch)
MM (millimeter)
CM (centimeter)
LN (line)
CH (character).
The following conversion factors apply:
1 TW = 1/20 PT
1 PT = 1/72 IN
1 IN = 2.54 CM
1 CM = 10 MM
1 CH = height of a character relative to the CPI specification in the form header
1 LN = height of a line relative to the LPI specification in the form header
/: BOX FRAME 10 TW
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
/: BOX INTENSITY 10
Fills the window background with shading having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW
Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW
Draws a vertical line along the complete height of the left hand edge of the window.
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
POSITION Command
Syntax
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started, the POSITION value is set to refer to the upper left corner of the window (default setting).
Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words, as a value that specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
XORIGIN, YORIGIN
Origin of the coordinate system.
WINDOW
Sets the values for the left and upper edges to match those of the current window (default setting).
PAGE
Sets the values for the left and upper edges to match those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
/: POSITION WINDOW
Sets the origin for the coordinate system to the upper left corner of the window.
/: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
/: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
SIZE Command
Syntax
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started, the SIZE value is set to the same values as the window itself (default setting).
Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
WIDTH, HEIGHT
Dimensions of the rectangle or line.
WINDOW
Sets the values for the width and height to the values of the current window (default setting).
PAGE
Sets the values for the width and height to the values of the current output page.
/: SIZE WINDOW
Sets WIDTH and HEIGHT to the current window dimensions.
/: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
/: POSITION WINDOW
/: POSITION XORIGIN -20 TW YORIGIN -20 TW
/: SIZE WIDTH +40 TW HEIGHT +40 TW
/: BOX FRAME 10 TW
A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
<REMOVED BY MODERATOR>
Regards
Anji
Edited by: Alvaro Tejada Galindo on Jul 8, 2008 10:59 AM -
HELP! Displaying results from a database in table format
I'm developing a web application that will use a considerable number of database queries that need to be displayed back to the web-browser in HTML table format.
I have been told that that result sets can allow tables to be built automatically without having to write the same loop and display code over and over.
So far I have a HtmlResultSet class as follows:
import java.sql.*;
public class HtmlResultSet {
private ResultSet rs;
public HtmlResultSet(ResultSet rs) {
this.rs = rs;
public String toString() { // can be called at most once
StringBuffer out = new StringBuffer();
// Start a table to display the result set
out.append("<TABLE>\n");
try {
ResultSetMetaData rsmd = rs.getMetaData();
int numcols = rsmd.getColumnCount();
// Title the table with the result set's column labels
out.append("<TR>");
for (int i = 1; i <= numcols; i++) {
out.append("<TH>" + rsmd.getColumnLabel(i));
out.append("</TR>\n");
while(rs.next()) {
out.append("<TR>"); // start a new row
for (int i = 1; i <= numcols; i++) {
out.append("<TD>"); // start a new data element
Object obj = rs.getObject(i);
if (obj != null)
out.append(obj.toString());
else
out.append(" ");
out.append("</TR>\n");
// End the table
out.append("</TABLE>\n");
catch (SQLException e) {
out.append("</TABLE><H1>ERROR:</H1> " + e.getMessage() + "\n");
return out.toString();
I also have created a class that includes an instance of the class above to display the results, as follows:
import java.io.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class customerLookup2 {
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
Connection con = null;
Statement stmt = null;
ResultSet rs = null;
res.setContentType("text/html");
PrintWriter out = res.getWriter();
try{
Class.forName("org.gjt.mm.mysql.Driver");
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/sandywalker");
out.println("<html>");
out.println("<head><title> Users</title></head>");
out.println("<body> Customers");
HtmlResultSet result = new HtmlResultSet ("SELECT * FROM USERS");
out.println("</body></html>");
catch(ClassNotFoundException e ) {
out.println("Couldn't load database driver: " + e.getMessage());
catch(SQLException e) {
out.println("SQLExeption caught: " +e.getMessage());
finally {
try {
if (con !=null) con.close();
catch (SQLException ignored) { }
I keep getting a compile error "customerLookup2.java": Error #: 300 : constructor HtmlResultSet(java.lang.String, java.sql.Connection) not found in class HtmlResultSet at line 42, column 34".
Can anyone shed any light on this.Looks like you are passing a string (SELECT * FROM USERS) instead of passing a ResultSet. Try passing a Resultset.
-
Vertical text in table heading
Hi,
I would like to save some space in some reports and I would like to change orientation of text in table heading.
Is it posible to have vertical text in table heading?
What I want is showed on this picture: [Vertical text|¨http://img179.imageshack.us/img179/234/obiverticaltext.jpg]
Thank you for some tips.Hi,
Go through this...will help you solve your requirement....http://blog.trivadis.com/blogs/andreasnobbmann/archive/2009/07/17/vertical-text-in-obiee.aspx
Use the same code Writing-mode: tb-rl; filter: flipv fliph; in custom css style of column heading.(column properties->column format->edit format icon beside column heading->css style)
Regards,
Srikanth -
Copying tables from the pdf file & loosing all table format when pasted into a word document
I have tables in an Adobe Reader 9.2 file that need to be placed in a word document.
When I copy the table and paste it into the word document I loose all table formating and am left w/just text--and, not in the right places, I might add.
Help please!!
Thanks! EdieThe only thing that comes close is to use the Snapshot tool (from the Tools Menu) and copy the entire table and paste it, but it treats it as a graphic (picture) and you can no longer edit cells.
-
Hi Experts,
I have a requirement to send mail to Managers with the Employee details who will report to the manager.
Selection screen will have Sender mail address, Manager E-mail Subject line and Manager E-mail text line.
The e-mail subject line should contain the value of Manager E-mail Subject line and the text of the e-mail should contain the value of the Manager E-mail text line. The E-mail should be addressed from the Sender Mail address. In addition, the value of the Manager E-mail text line, the following information should be appended to the email.
Employee No Employee Name Notice level
00000001 Brown, Michael 1st Notice
00000002 Doe, jane L 4th Notice
The above details should have horizontal lines seperating the rows and vertical lines seperating the columns (like a table in word).
I am using 'SO_DOCUMENT_SEND_API1' to send the mail. I am able to send the mail but how to format the above details in table format. My mail will look like this with e-mail text and table
This is first line of the e-mail
Employee No
Employee Name
Notice level
00000001
Brown, Michael
1st Notice
00000002
Doe, jane L
4th Notice
When displaying the details i am using SY-ULING and SY-VLINE to get the Horizantal and Vertical line respectively. But it is giving spaces in between that should not happen. The details should be placed in exact tabular format.
It is very urgent requirement. Points will be awarded for the useful answers. Requesting to give the code example...
Regards,
Yellappa.hi,
you can embed HTML into the body of your email to get it acc to ur requirement.
Here is a very basic example of embedding HTML into the body of your email.
[nobr]report zrich_0002.
data: maildata like sodocchgi1.
data: mailtxt like solisti1 occurs 10 with header line.
data: mailrec like somlrec90 occurs 0 with header line.
start-of-selection.
clear: maildata, mailtxt, mailrec.
refresh: mailtxt, mailrec.
perform build_text_message.
perform build_receivers.
perform send_mail_nodialog..
Form BUILD_TEXT_MESSAGE
form build_text_message.
maildata-obj_name = 'TEST'.
maildata-obj_descr = 'Test Subject'.
mailtxt = '<html>'.
append mailtxt.
mailtxt = '<head>'.
append mailtxt.
mailtxt = '<title>Untitled Document</title>'.
append mailtxt.
mailtxt = '<meta http-equiv="Content-Type"
Content="text/html;'.
append mailtxt.
mailtxt = 'charset=iso-8859-1">'.
append mailtxt.
mailtxt = '</head>'.
append mailtxt.
mailtxt = '<body>'.
append mailtxt.
mailtxt = '<div align="center"><em><font' .
append mailtxt.
mailtxt = 'color="#0000FF" size="+7" face="Arial,'.
append mailtxt.
mailtxt = 'Helvetica, sans-serif">THIS'.
append mailtxt.
mailtxt = ' IS A TEST </font></em><font' .
append mailtxt.
mailtxt = 'color="#0000FF" size="+7" face="Arial,'.
append mailtxt.
mailtxt = 'Helvetica, sans-serif"></font>'.
append mailtxt.
mailtxt = '</div>'.
append mailtxt.
mailtxt = '</body>'.
append mailtxt.
mailtxt = '</html>'.
append mailtxt.
endform.
Form BUILD_RECEIVERS
form build_receivers.
mailrec-receiver = '[email protected]'.
mailrec-rec_type = 'U'.
append mailrec.
endform.
Form SEND_MAIL_NODIALOG
*********************************************************form send_mail_nodialog.
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_data = maildata
document_type = 'HTM'
put_in_outbox = 'X'
tables
object_header = mailtxt
object_content = mailtxt
receivers = mailrec
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if sy-subrc ><> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform.[/nobr]
Regards,
Gaurav
<b>Reward points if helpful</b> -
Conversion with Conditional Text in Table
I'm taking the first steps in converting Unstructured Frame to Structure. One document is pretty clean except for one issue: my structure breaks around conditional text in tables. (The tables have a f3ew issues oftheir own, but the conditional text seems to compound the problem) I'm not sure how this should be dealt with. The structure tags are shown in the view below.
And here is the Structure View:
Is this something that can be set up with a qualifier, and if so, How? Also, in the conversion map table, Is there any order dependency, as well, concerning where the Conditional Text element appears?Jane,
As far as I am concerned I do not see anything unexpected. You get dotted lines in the Structure View apparently because the element <B1_Body1> seems not to be allowed in the Element <CELL>. It looks like you worked with the defaults of the Conversion Table. Have you created your own EDD and imported the Element Definitions? Is <B1_Body1> a legal element inside <CELL>?
From my experience the Conditional Text feature works very much in parallel to the element structure. It comes from the format-based world and the structure has no means to handle text conditions. If you want to work with text conditions in the future, you would use »attribute-based condition management« as made possible through the plug-in AXCM or FrameMaker’s built-in feature »Filter by attribute«. There is no built-in method to change text conditions into certain attribute values – but it is possible to automate this move via the FDK or FrameScript or ExtendScript (from FM10).
- Michael
Maybe you are looking for
-
Excel-sheet attachment having encoding issues
Hi Everyone, I have an abap report that upon execution, needs to send pricing alerts to the customer through email. The details of the pricing order are there in the excel sheet that is attached to the email sent to the customer. The excel sheet t
-
I get the following error on Install of a newly imported app: ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 42, column 34: PLS-00103: Encountered the symbol ";" when expecting one of the
-
Mail cant read my new email and is very slow
When MAC I open my Mail application it takes ages to load the inbox and NON of my 3 POP mail accounts can be read, i have the Saturn ring spinning non stop but nothing happens. This problem started yesterday morning and I am not sure if it is my ISP
-
Hi everyone, I have SessionListener implemented class in my web-app, problem is whenever i open my website on localhost it creates a session and counter with in sessionCreated() method increases and when i close the tab then the value in counter rema
-
Calling a Function in a Component
Hi I know this is simple but I can not get this to work I ahve looked for example but come uo with nothing I want to call a function in a Component I created acompoinent based on a label <?xml version="1.0" encoding="utf-8"?><mx:Label xmlns:mx="ht