Inserting on graphic on HRRCF_PUBLICATION_EXT
I have created a custom smartform for HRRCF_PUBLICATION_EXT and inserted a graphic in the Header sections.
Although the form executes it does not display the Graphic.
Please let me know if I need to do anything else apart from this for the image to work.
I have created the graphic for other smartforms for ER correspondence and they work as expected, I am not sure if I am missing something on HRRCF_PUBLICATION_EXT
Note: I have not made any changes on the Forms design from SFP tcode.
Thanks
Yes Graphic file was loaded successfully through se78.
When the form HRRCF_PUBLICATION_EXT is executed in place of the graphic I see an empty box with a tiny X mark on the corner top and when I move the mouse over the image it displays the graphic file name that was loaded through se78.
Thanks
Similar Messages
-
Inserting a Graphic in adobe form using SFP
Hi all,
by using Form & Interface in SFP Transaction
i want to display a logo(image) not by using url(not images from hard disk), i want to use the image which is present in the sap (ie., i want to use the images in se78). How can i achieve this????
I used the following procedure, even though i couldnt achieve:
1. Select an existing node in the context, under which you want to create a graphic node.
2. In the context menu of the node, choose Create ® Graphic.
3. The system creates a graphic node under the selected node. Enter the required data about the graphic in the Properties window under the form context.
You can choose from the following graphic types:
○ Graphic Reference
Choose this option if you want to insert a graphic from its address (URL). The URL can point to a Web server or to a file system. You must be able to access the graphic at the specified URL. This means that you may have to configure appropriate access rights for Adobe Document Services (ADS). Graphics stored in MIME Repository cannot be accessed through a URL. To use these graphics, choose Graphic Content.
○ Graphic Content
Choose this option if you want to specify graphic content using a field. This field contains all image information at runtime. The graphics must be in MIME Repository.
4. The entries you need to make depend on whether you chose Graphic Reference or Graphic Content in the last step.
○ If you have chosen Graphic Reference as your graphic type, enter the URL of the graphic.
Note
In Adobe LiveCycle Designer, you can choose whether the system gets the graphic at runtime, or whether the graphic is embedded in the form. For more information, see the online help in Adobe Designer.
○ If you have specified Graphic Content as your graphic type, you must do the following:
■ In Field, enter a field name from the interface. The field must have the type STRING (graphical data is Base64-coded) or XSTRING (for binary-coded graphical data).
■ Enter a valid MIME type, such as u2019image/bmpu2019.
5. Under Conditions, enter the prerequisites that need to be met before the graphic node is processed at runtime and displayed in the form.
I cant get the image....................................
Please provide the step by step details.....
Thanks,
VichuThe correct code is as follows,
REPORT ZTEST_GRAPHIC_MIME.
Data Declaration ***
DATA: fm_name TYPE funcname, " Captures the Generated Function Module name
w_sfpoutputparams TYPE sfpoutputparams, " Print and Spool Dialog settings
w_docparams TYPE sfpdocparams. " Print and Spool Dialog settings
DATA: w_binary TYPE xstring, " Contains converted logo
w_base64 TYPE string, " Contains image type
v_name type STXBITMAPS-TDNAME. " Contains logo name which is in se78
Function Modules ***
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' " Will contain the name of generated Function Module Name...
EXPORTING
I_NAME = 'ZTEST_GRAPHIC'
IMPORTING
E_FUNCNAME = fm_name
E_INTERFACE_TYPE =
CALL FUNCTION 'FP_JOB_OPEN' " To Open the Form for Printing...
CHANGING
IE_OUTPUTPARAMS = w_sfpoutputparams
EXCEPTIONS
CANCEL = 1
USAGE_ERROR = 2
SYSTEM_ERROR = 3
INTERNAL_ERROR = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
v_name = 'ENJOY'. " Name of the logo as in se78
w_base64 = 'image/bmp'. " Image Type
CALL METHOD CL_SSF_XSF_UTILITIES=>GET_BDS_GRAPHIC_AS_BMP " Get a BDS Graphic in BMP Format (Using a Cache)
EXPORTING
P_OBJECT = 'GRAPHICS'
P_NAME = v_name " Name of the logo as in se78
P_ID = 'BMAP'
P_BTYPE = 'BCOL' " BCOL'( whether the image is in color or black and white )
RECEIVING
P_BMP = w_binary
EXCEPTIONS
NOT_FOUND = 1
INTERNAL_ERROR = 2
others = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION fm_name " Generated Adobe Form Function Module(/1BCDWB/SM00000173)...
EXPORTING
/1BCDWB/DOCPARAMS = w_docparams
GRAPHIC_BINARY = w_binary
GRAPHIC_BASE64 = w_base64
IMPORTING
/1BCDWB/FORMOUTPUT =
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3
OTHERS = 4
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FP_JOB_CLOSE' " To Close The Form For Printing
IMPORTING
E_RESULT =
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3
OTHERS = 4
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
I cannot insert a graphic image in a new composition: win 7, tb 24
At times when composing a new e-mail I cannot insert a graphic image in the message. I have tried both the Insert button and the Insert icon. This does not happen all the time; but, when it does happen I can't seem to make it work. My system is a Win 7 with Thunderbird 24.3.0.5. I have tried inserting different graphic images and have tried all combinations in the Image Properties pop-up window.
I have closed and reopened Thunderbird. I have restarted my system. I have closed all windows except Thunderbird. Nothing helps. Help! Thank you, Bill GrayBill Gray here again. I find that if I open another Write window, then copy/paste my entire e-mail from the initial window -- I can insert graphics into the new window.
What happens in Thunderbird to make this happen? This has happened a number of times. But, at least now I know that I can open a new Write window and get around the problem. Yet, I am still stuck with the nagging question: Why does this happen?
Thank you and God bless, Bill Gray -
Linking FM 9 "At Insertion Point" graphics to an RH 8 project
Using Technical Communication Suite 2, I have built a structured FM 9 book in order to generate a RH 8 help system. This is a software user guide and I cannot avoid using inline graphics in some body elements. The book only has regular .fm documents (one document per topic), each document has English and French conditions, and I have used the Link command to link the book to a Robohelp project. If I save my FM book as a PDF, everything is perfect, which indicates there are no issues with either the EDD or the EDD_TPL files. In Robohelp, I use an .isf file for modifying RHMapping.css; everything but the following works fine.
The problem is that upon first linking the book when I create the RH project, RH insists on reading all the inline graphics (set as "At Insertion Point" in FM) as right-aligned paragraphs. There is nothing in my _TPL template that calls for right-aligning anything. Strange thing is that, if I then delete an image in FM and re-insert it, save the file, update the book and then update the RH project, the image is positioned properly in the body element. This would indicate to me that RH 8 is capable of handling inline graphics (like it always has). Needless to say however, that doing this for around 500 inline graphics would be an onerous solution.
But there is something else. Deleting and re-inserting the graphic in FM also changes the enclosing element's language condition to "As Is", which is an even greater problem, because I then end up with improper condition-based generation of topics. If I then set the element's condition to what I want it to be, the graphic is right-aligned again in RH.
I've been raking my brains for a while now and tried all kinds of kludges, in and out of my EDD - to no avail. If anyone else is currently struggling with, or has found a solution to, this problem, I would greatly appreciate hearing from you.
ThanksHi Mark,
I looked at the HTML and I see the problem, but didn't see anything specifically controlling this in the CSS. (I don't have much experience with CSS.)
BTW: I have used your website and Peter Grainge's for help with Help. Thank you!!!
The issue is:
There is a line of text in a Frame file (Lettered ptag). In the line of text, there is an anchored frame set to "At Insertion Point." Looks like this:
3. Click <image in anchored frame> (Add Attachment).
When the file is linked to RH, it is creates two <p> sections for the text and between those a separate <div> section aligned to the right for the image. This is the HTML:
<li type="a"><p class="Lettered"><?rh-cbt_start condition="Online, Print, Smart" ?>Click <?rh-cbt_end ?></p>
<?rh-cbt_start condition="Online, Print, Smart" ?><div align="right">
<img alt="add_attachments.png" id="image9" src="add_attachments.png"
style="margin-bottom: -3.000pt; margin-left: 1.500pt; margin-right: 0.882pt;"
width="18" height="21" border="0" />
</div><?rh-cbt_end ?>
<p class="Lettered"><?rh-cbt_start condition="Online, Print, Smart" ?> <?rh-cbt_end ?><?rh-cbt_start condition="Online, Print, Smart" ?>(Add Attachment).<?rh-cbt_end ?></p></li>
Appreciate any ideas or CSS suggestions to sort this out.
Thanks! -
Headers: can you insert a graphic?
I am trying to insert a graphic (logo) in my header. However, when I select the Media browser and drag the image, it always lands on top of the table itself -- I cant figure out how to move it to the header (or get it to "float" about the table so I can move it anywhere...
Thanks.You can put any picture in a cell > Inspector > Graphics > Fill.
The page header will not take pictures but can be typed in & coloured using the options on the top of the Font menu.
You can put any logo / picture etc in a text box and place it on the page where you want it.
Removing the excess rows & columns from any tables gives you more room to play with..
Best. -
SAPSCript - Inserting a graphic dunamically with ABAB-Code?
Hello,
I want to insert a graphic dynamically from my ABAB-printprogram. It should not be inserted in a specific window. And the graphic should not be predefined in the layoutset. Is there a possibility to do this. Thanks for your help. Regards, Lars.Hello Vinod,
we try to print a testlogo in the background of the printing form, depending on the SAP-System running. Is there a possibility for dynamically printing this graphic in the background without changing any existing layoutset. If not, we have to change every page in every layoutset and we have quit a lot of layoutsets. So we were thinking about the possibility of solving this problem with ABAP code, maybe in a function module. Regards, Lars.
P.S.: May it be possible printing a graphic that was transformed to a textelement with the function 'PRINT_TEXT'. -
Inserting small graphic on "introduction" page
Is it possible to insert a small photo below the text on an introduction page layout when making a book in iPhoto?
Welcome to the Apple Discussions. Regarding building your own page- if you have Pages or an application that will let you add graphics and text you can create your own page, convert it to a grahic and add to a blank page. Tutorial #19 describes how to create one using the background of the theme you're using, etc. The tutorial is for a photo page but can be used for graphics and text, or whatever.
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard. -
Dynamic Insertion of graphics in Smart from
Hi guys,
I want to insert a dynamic graphic image from the presentation server into smart from its possible?
Reg,
HriharanHi Mohd,
here's how to do it.
I presume you have alredy done charting in general with the cl_gui_chart_engine. You need the data and the customizing XML strings of that chart to print it out.
Follow this coding:
DATA: l_igs_viewer TYPE REF TO cl_igs_chart_engine,
i_igs_image_converter TYPE REF TO cl_igs_image_converter.
* Generate an Internet Graphics Server Chart Engine
CREATE OBJECT l_igs_viewer
EXPORTING
destination = 'GFW_ITS_RFC_DEST'. "IGS must exist, destination be installed
* IGS gets data and customizing
CALL METHOD l_igs_viewer->set_data( data_doc = l_ixml_doc ).
CALL METHOD l_igs_viewer->set_customizing(
custom_doc = l_ixml_custom_doc ).
* and now renders the chart.
CALL METHOD l_igs_viewer->execute
EXCEPTIONS
communication_error = 1
internal_error = 2
external_error = 3
OTHERS = 4.
* Next step ist to convert the image to an MS-BMP.
DATA:
l_image TYPE w3mimetabtype,
l_image_size TYPE w3param-cont_len,
l_image_type TYPE w3param-cont_type.
* get your image
CALL METHOD l_igs_viewer->get_image
IMPORTING
image = l_image
image_size = l_image_size
image_type = l_image_type.
* Create an image converter on the IGS
CREATE OBJECT i_igs_image_converter
EXPORTING
destination = 'GFW_ITS_RFC_DEST'.
i_igs_image_converter->input = 'image/gif'.
i_igs_image_converter->output = 'image/x-ms-bmp'. " !!!!
* Hand the image over
CALL METHOD i_igs_image_converter->set_image
EXPORTING
blob = l_image
blob_size = l_image_size.
* and convert it to a BMP
CALL METHOD i_igs_image_converter->execute
EXCEPTIONS
communication_error = 1
internal_error = 2
external_error = 3
OTHERS = 4.
IF sy-subrc = 0.
* if OK, get that image.
CALL METHOD i_igs_image_converter->get_image
IMPORTING
blob = l_image
blob_size = l_image_size
blob_type = l_image_type.
ENDIF.
ENDIF.
At this point, we have a BMP-24, and we are ready to save it to the SE78 BDS graphics system.
This is by far the slowest part of the story. Not applicable for mass printing, the conversion of a bitmap can take up to 1 minute!
DATA: l_docid TYPE stxbitmaps-docid.
PERFORM save_bitmap_bds
USING 'TEMP_CHART0181'
'GRAPHICS' 'BMAP' 'BCOL' 'BMP'
'Temporäre Grafik Chart 0181'(i16)
con_blank
con_x
con_x
CHANGING
l_image_size
l_image
l_docid.
The next part ist the form that converts and saves the BMP to BDS.
FORM save_bitmap_bds
USING p_name TYPE stxbitmaps-tdname
p_object TYPE stxbitmaps-tdobject
p_id TYPE stxbitmaps-tdid
p_btype TYPE stxbitmaps-tdbtype
p_format TYPE c
p_title TYPE bapisignat-prop_value
p_resident TYPE stxbitmaps-resident
p_autoheight TYPE stxbitmaps-autoheight
p_bmcomp TYPE stxbitmaps-bmcomp
CHANGING
p_image_size TYPE i
p_image TYPE w3mimetabtype
p_docid TYPE stxbitmaps-docid.
DATA: l_object_key TYPE sbdst_object_key.
DATA: l_tab TYPE ddobjname.
DATA: l_filename TYPE string,
l_bytecount TYPE i,
l_error TYPE c.
DATA: l_color(1) TYPE c.
DATA: l_bds_object TYPE REF TO cl_bds_document_set,
l_bds_content TYPE sbdst_content,
l_bds_components TYPE sbdst_components,
l_dpi TYPE stxbitmaps-resolution,
wa_bds_components TYPE LINE OF sbdst_components,
l_bds_signature TYPE sbdst_signature,
wa_bds_signature TYPE LINE OF sbdst_signature,
l_bds_properties TYPE sbdst_properties,
wa_bds_properties TYPE LINE OF sbdst_properties.
DATA wa_stxbitmaps TYPE stxbitmaps.
DATA:
l_width_tw TYPE stxbitmaps-widthtw,
l_height_tw TYPE stxbitmaps-heighttw,
l_width_pix TYPE stxbitmaps-widthpix,
l_height_pix TYPE stxbitmaps-heightpix,
l_bds_bytecount TYPE i,
l_docid TYPE stxbitmaps-docid.
CALL FUNCTION 'SAPSCRIPT_CONVERT_BITMAP_BDS'
EXPORTING
color = 'X'
format = 'BMP'
bitmap_bytecount = p_image_size
compress_bitmap = 'X'
IMPORTING
width_tw = l_width_tw
height_tw = l_height_tw
width_pix = l_width_pix
height_pix = l_height_pix
dpi = l_dpi
bds_bytecount = l_bds_bytecount
TABLES
bitmap_file = p_image
bitmap_file_bds = l_bds_content
EXCEPTIONS
format_not_supported = 1
no_bmp_file = 2
bmperr_invalid_format = 3
bmperr_no_colortable = 4
bmperr_unsup_compression = 5
bmperr_corrupt_rle_data = 6
tifferr_invalid_format = 7
tifferr_no_colortable = 8
tifferr_unsup_compression = 9
bmperr_eof = 10
OTHERS = 11.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
* Enqueue
PERFORM enqueue_graphic USING p_object
p_name
p_id
p_btype
CHANGING l_error.
CHECK l_error EQ con_blank.
SELECT SINGLE docid INTO p_docid
FROM stxbitmaps
WHERE tdobject = p_object
AND tdname = p_name
AND tdid = p_id
AND tdbtype = p_btype.
IF sy-subrc NE 0.
CLEAR p_docid.
ENDIF.
IF p_btype = c_bmon.
l_color = con_blank.
ELSE.
l_color = con_x.
ENDIF.
* Save bitmap in BDS
CREATE OBJECT l_bds_object.
wa_bds_components-doc_count = '1'.
wa_bds_components-comp_count = '1'.
wa_bds_components-mimetype = c_bds_mimetype.
wa_bds_components-comp_size = l_bds_bytecount.
APPEND wa_bds_components TO l_bds_components.
IF p_docid IS INITIAL. " graphic is new
wa_bds_signature-doc_count = '1'.
APPEND wa_bds_signature TO l_bds_signature.
CALL METHOD l_bds_object->create_with_table
EXPORTING
classname = c_bds_classname
classtype = c_bds_classtype
components = l_bds_components
content = l_bds_content
CHANGING
signature = l_bds_signature
object_key = l_object_key
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
PERFORM dequeue_graphic USING p_object
p_name
p_id
p_btype.
MESSAGE e012 WITH p_name 'BDS'.
ENDIF.
READ TABLE l_bds_signature INDEX 1 INTO wa_bds_signature
TRANSPORTING doc_id.
IF sy-subrc = 0.
p_docid = wa_bds_signature-doc_id.
ELSE.
PERFORM dequeue_graphic USING p_object
p_name
p_id
p_btype.
MESSAGE e012 WITH p_name 'BDS'.
ENDIF.
ELSE. " graphic already exists
********* read object_key for faster access *****
CLEAR l_object_key.
SELECT SINGLE * FROM stxbitmaps INTO wa_stxbitmaps
WHERE tdobject = p_object
AND tdid = p_id
AND tdname = p_name
AND tdbtype = p_btype.
SELECT SINGLE tabname FROM bds_locl INTO l_tab
WHERE classname = c_bds_classname
AND classtype = c_bds_classtype.
IF sy-subrc = 0.
SELECT SINGLE object_key FROM (l_tab) INTO l_object_key
WHERE loio_id = wa_stxbitmaps-docid+10(32)
AND classname = c_bds_classname
AND classtype = c_bds_classtype.
ENDIF.
******** read object_key end ********************
CALL METHOD l_bds_object->update_with_table
EXPORTING
classname = c_bds_classname
classtype = c_bds_classtype
object_key = l_object_key
doc_id = p_docid
doc_ver_no = '1'
doc_var_id = '1'
CHANGING
components = l_bds_components
content = l_bds_content
EXCEPTIONS
nothing_found = 1
OTHERS = 2.
IF sy-subrc = 1. " inconsistency STXBITMAPS - BDS; repeat check in
wa_bds_signature-doc_count = '1'.
APPEND wa_bds_signature TO l_bds_signature.
CALL METHOD l_bds_object->create_with_table
EXPORTING
classname = c_bds_classname
classtype = c_bds_classtype
components = l_bds_components
content = l_bds_content
CHANGING
signature = l_bds_signature
object_key = l_object_key
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
PERFORM dequeue_graphic USING p_object
p_name
p_id
p_btype.
MESSAGE e012 WITH p_name 'BDS'.
ENDIF.
READ TABLE l_bds_signature INDEX 1 INTO wa_bds_signature
TRANSPORTING doc_id.
IF sy-subrc = 0.
p_docid = wa_bds_signature-doc_id.
ELSE.
PERFORM dequeue_graphic USING p_object
p_name
p_id
p_btype.
MESSAGE e012 WITH p_name 'BDS'.
ENDIF.
ELSEIF sy-subrc = 2.
PERFORM dequeue_graphic USING p_object
p_name
p_id
p_btype.
MESSAGE e012 WITH p_name 'BDS'.
ENDIF.
ENDIF.
* Save bitmap header in STXBITPMAPS
wa_stxbitmaps-tdname = p_name.
wa_stxbitmaps-tdobject = p_object.
wa_stxbitmaps-tdid = p_id.
wa_stxbitmaps-tdbtype = p_btype.
wa_stxbitmaps-docid = p_docid.
wa_stxbitmaps-widthpix = l_width_pix.
wa_stxbitmaps-heightpix = l_height_pix.
wa_stxbitmaps-widthtw = l_width_tw.
wa_stxbitmaps-heighttw = l_height_tw.
wa_stxbitmaps-resolution = l_dpi.
wa_stxbitmaps-resident = p_resident.
wa_stxbitmaps-autoheight = p_autoheight.
wa_stxbitmaps-bmcomp = p_bmcomp.
INSERT INTO stxbitmaps VALUES wa_stxbitmaps.
IF sy-subrc <> 0.
UPDATE stxbitmaps FROM wa_stxbitmaps.
IF sy-subrc <> 0.
MESSAGE e012 WITH p_name 'STXBITMAPS'.
ENDIF.
ENDIF.
* Set description in BDS attributes
wa_bds_properties-prop_name = 'DESCRIPTION'.
wa_bds_properties-prop_value = p_title.
APPEND wa_bds_properties TO l_bds_properties.
CALL METHOD l_bds_object->change_properties
EXPORTING
classname = c_bds_classname
classtype = c_bds_classtype
object_key = l_object_key
doc_id = p_docid
doc_ver_no = '1'
doc_var_id = '1'
CHANGING
properties = l_bds_properties
EXCEPTIONS
OTHERS = 1.
PERFORM dequeue_graphic USING p_object
p_name
p_id
p_btype.
ENDFORM. "save_bitmap_bds
Your final part will now be to print out the graphic using a SmartForm. The method I showed above, saves the graphics always with the same name, in this case TEMP_CHART0181. So this method is not qualified for concurrent use by multiple users.
Try it out and see how slow this works unfortunately.
I hope SAP will provide a performant way soon to print charts with smartforms better than that above.
One last hint concerning size and resolution of the bitmap. Take a low resolution of say 50 dpi to gain higher performance but lower print quality. I never tried high resolutions of like 300dpi, it just became too slow for me and I qualified that as simply unpracticable.
I hope the coding snippets can help you.
Kind Regards
Ernst -
Insert Object graphic in standart text
Hi Experts,
I need put object graphic in the middle of line in standart text. When I insert this object it make 3 lines instade one. Could You help me??
Example:
Test A: < OBJECT GRAPHIC > OK
Thanks in advance,
Marcin
Edited by: Marcin Szlenk on Feb 26, 2008 12:54 PM
Edited by: Marcin Szlenk on Feb 26, 2008 12:55 PMWell, I found a solution.
Instead of:
p.addChild(inlineGraphic);
where:
p is my paragraphElement assigned to my textFlow
inlineGraphic is my InlineGraphicElement with source, width and height
I use:
edition.insertInlineGraphic(inlineGraphic.source, inlineGraphic.width, inlineGraphic.height);
where:
edition is my EditionManager assigned to my TextFlow
inlineGraphic is my InlineGraphicElement with source, width and height
Now, I can insert graphics anywhere my cursor is placed. -
Insert a graphic into a fillable pdf
I used WordPerfect X7 to create a fillable PDF timesheet for my son to email to his employer. The sheet requires a signature on each line and the number of days he works each week is flexible. I have created a jpg file containing his signature. Is there a way to set up the fillable PDF to add the graphic to each line as it is needed?
What application are they using to fill in the form? If Reader then they can use the Place Signature tool.
-
Using XML to insert graphics, FM 7
I work with a very complex process to take MS Word rtf files, structure them and convert them into xml, then run PERL scripts to export them for web and print output. The print files are edited in FrameMaker 7.0 for Mac. I want to be able to change the placement of some of the graphics that are automatically placed, but I'm not sure about how to do it.
A PERL script is run on XML files, a note in the script says:
#"The following section inserts standard graphics into the xml
# These are inserted here because attaching them using FM "Frame Above Pgf" does not place them correctly as of FM 7.0 (Mac)"
A graphic that we use is inserted as follows:
# insert the handbook graphic on directives that reference it.
$graphic = "<AnchoredFrame file=\"graphics\/directive_anskey.tif\" impby=\"ref\" position=\"runin\" dpi=\"300\" align=\"aright\" width=\"1.5in\" height=\"1.0in\" xoffset=\"0in\" yoffset=\"0in\"/>";
$text =~ s/<directive_anskey>(.*?)<\/directive_anskey>/<directive_anskey>${1}<\/directive_anskey>\ r$graphic/gsi;
But if I don't want the graphic to Run Into the paragraph, but be Placed at Insertion Point and at -72. pt above baseline, what do I need to change in the above text to make it so?
Another place I can change this instruction is in the resulting XML files that are created after running the series of PERL scripts:
directive_anskey>Check your answers with the key.</directive_anskey>
<AnchoredFrame file="graphics/directive_anskey.tif" impby="ref" position="runin" dpi="300" align="aright" width="1.5in" height="1.0in" xoffset="0in" yoffset="0in"/></selfcheck></lesson>
Again, where can I alter the file so that the position will be as I want it, and so I don't have to go in and do it manually?
I would change the position="runin" to something like "insertpoint"? I've tried different versions of this, with no luck.
Any help will be greatly appreciated... I didn't create our process, but I have to work with it.Hi Fogharty,
Use following attribute values for graphic element to place them inline with para text and align the graphics vertically:
position="inline" (corresponds to anchoring position "At Insertion Point"
bloffset = "-72pt" (corresponds to "Distance Above Baseline")
Additionally you can control the horizontal positioning, ie. distance to adjacent text, by adjusting the anchored frame size (width/height) vs imported graphics facet size (impsize) and x-offset (xoffset) attribute values.
Hope this helps,
Martti -
Inserting table with graphic in to signature
switching form pc to mac...
I am trying to put a 1 row two column table, with the first cell having a .gif of my business card and the second column having the text of the business card into my signature (very easy to do in windows outlook 07). I am using apple mail.
It appears not to be possible to paste a table into the signature, and there is no way within the signature dialog to insert a table, right?
I also do not see how to insert a properly sized .gif (or any graphic) into the signature. There is no insert in the signature dialog to insert a graphic. So, you have to copy and paste. If I insert the graphic in Pages and copy from Pages, it fails with a ?. If I drag and drop the graphic from Finder, it looks sized ok in the signature dialog, but when you create a new email, the graphic is the full size of the page.
If I ever do get the graphic to insert properly sized, how do I control the graphic and text positioning without the ability to have a table in the signature?
Thanks
BobFirst, be sure you are composing messages using Rich Text (Composing item in Mail preferencs.) Second, create your .gif image that contains what you want for your signature. Size the image accordingly. The display resolution is around 112 pixels/inch. If you want a signature that's about the size of a business card then it should be 392 x 224 pixels. When pasted into a message it will appear in the message at its full size - 3.5 x 2 inches.
What you might prefer is to create a simple jpeg image and store it on an available FTP server on which you have an account. Rather than embedding the image in your messages you would simply include the HTML code needed to fetch and display the image inline. This saves a bit on the amount of data sent with an email message since there are no embedded images. This is how most of us do it. -
Insert graphic logo to java smtp mail
Hi All,
I am creating email using the apache commons email package. The doubt I have it to insert a graphic image in this HTMLMail. Any kind of image added comes as an attachement to the mail, but I would like to see this image at the signature part of the mail.
Anyone with any ideas as to how it can be done or any suggestions of any packages available to do this, please respond with your views.
Thanks in advance
-Kashijavax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connectConnection refused only has one meaning and it has nothing to do with mail per se. Either there is no server listening at that IP:port or there is a firewall in the way that is refusing you access. More likely the former, as firewalls tend to just drop connection requests rather than fail them.
-
Combine files leaves line around inserted graphic
I create documents in Word and insert my signature as graphic before converting to acrobat 9. I have discovered that while that looks fine, when I combine that document with another document a vertical line appears to the right of my graphic of the signature (which to me mars the signed look). I have a verisign id and can certify the adobe file and include a graphic of my signature that way but I prefer to generally just include my signature from Word. Any idea why I am getting the line after combining files (or more importantly, if it is easy to get rid of that line!)? Thanks -- Scott
I inserted a graphic of my signature in Word - the graphic is in a .png
format. It looks fine in Word and it looks fine when I convert it to a PDF.
The vertical line to the right of the graphic appears when I combine the PDF
of my report with a PDF of another page (a request for services) into one
PDF file (binder, not portfolio). Thanks for your help, it baffles me and I
typically make a couple of files to send electronically per day! -- Scott -
Adding shadows to an inserted graphic figure
When you have inserted a graphic figure (pdf format) into Pages text, you
can apply a nice shadow effect to it with the graphic portion of the
Inspector. However, sometimes it applies the shadow to a frame about the
figure and other times to each element within the figure.
Both effects are very nice but I have no control over which the Inspector chooses.
Does anyone know how to make this choice?As far as I know, if you select a single object before applying shadow, only this objet would get a shadow.
If you select several objects, each of them will be shadowed.
Yvan KOENIG (VALLAURIS, France) samedi 14 janvier 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My Box account is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
My iDisk is : http://public.me.com/koenigyvan
Maybe you are looking for
-
Can I use an adapter to get thunderbolt on my early 09 MacBook pro
Can I use an adapter to get thunderbolt on my early 09 MacBook pro?
-
Popup window saying max os x startup disk has no more space
I recently started having a window pop up that says "Your Mac OS X startup disk has no more space available for application memory." Under that it says "To avoid problems with your computer, quit any applications you are not using. Closing windows an
-
ADF 11 generating differents ids for panel box
Hello, I want to generate differents ids for panel box from an iterator because the drag and drop functionality doesn't work. I saw that the component ids doesn't support EL. It is any chance to generate my ids dinamically and how? My code from my pa
-
Siteminder portal implemementation
Hi Portal Gurus, We are in process of implementing site minder sso with sap portal for EFP . I have configured it in such a way that when the users access portal first it takes to siteminder logon page and authenticates there once its authenticated
-
Itunes will not sync with ipad or iphone5
All the sudden when syncing my iphone or Ipad my MAC just shows a disk spinning around why Itunes trys to snyc with my devices.