How to get 'TextBlock' related to a paragraph element
Hi
I want to get the 'TextBlock' related to the 'ParagraphElement' how i can get it,
Some on has posted that
var textBlock:TextBlock = paragraph.textBlock;
but it's not make any sense ; also 'ParagraphElement' does't have 'textBlock' property.
Thanks in advance.
OKK
It can be accessed by the ParagraphElement tlf_internal function getTextBlock(). Note that this is in the tlf_internal namespace. No guarantees are made about the side effects of making this call or that this call will be available in future versions.
Hope that helps,
Richard
Similar Messages
-
How to get the focus of particular UI Element
Hi All,
How to get the focus of particular UI Element in webdynpro Page,
I have a page where i am creating a ALV, I want to get that keyboard focus is on that element is there or not?
Can anyone please give some update?
Best regards,
RohitI would suggest try invoking REFRESH of ALV on the ON_CELL_ACTION event.
Below excerpt is from Thomas
The Events of inner UI elements are not exposed directly as they normally would be if they were standalone. Generally you can capture them using either the
ON_DATA_CHECK:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c8/6c80dbedfe42d1a93f8e6df1d7244a/frameset.htm
This gets trigger for any press of ENTER, so it generally works like the Input Field onEnter.
You could also consider ON_CELL_ACTION:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/12093591152464e10000000a1553f7/frameset.htm
It is a higher level Event that encompasses both ON_DATA_CHECK and ON_CLICK.
if you want to capture & refresh on some hot key combination then refer to this thread
[https://www.sdn.sap.com/irj/scn/profile?editmode=true&userid=3760417] -
How to get 64 bit version for premiere elements 12
How to get 64-bit version for Premier Elements 12 ?
I download from ADMISY site.
Click on win 64 bit and download it.
When I try to install ther is a error this download version is not for 64 bit I have try many times but same resultHello
I have been away some days
ADMISY is a software partners for Adobe
I running Win 7 Home Edition
I have received a card with a code when I bought the program and the I
download from ADMISY
Sending serial and installation warning
PhotoshopElements_12_WWEFDJ.7z
PhotoshopElements_12_WWEFDJ
PremiereElements_12_WWEFDJ_win32.7z
PremiereElements_12_WWEFDJ_win32
I can not find a 64 bit version of 32-bit or 64-bit version of downloads
This is information I have
Best regards
Erling Magnusson
2015-02-04 22:33 GMT+01:00 Adobe Forums <[email protected]>:
How to get 64 bit version for premiere elements 12 created by A.T.
Romano <https://forums.adobe.com/people/A.T.+Romano> in *Premiere
Elements* - View the full discussion
<https://forums.adobe.com/message/7162950#7162950> -
How to get the name of a Data Element of a generic Table!
Hi guys!
In my function i have the following import paramenter
i_outtab type standard table
now i import a table and i want to get the dataelement of the fields.
is there a way to do this??Hello Thomas
Perhaps the following sample report may be useful for you.
*& Report ZUS_SDN_RTTI_STRUCT_COMPONENTS
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145711"></a>
*& Thread: How to get the name of a Data Element of a generic Table!
REPORT zus_sdn_rtti_struct_components.
TYPE-POOLS: abap.
TYPES: BEGIN OF ty_s_outtab.
TYPES: bukrs TYPE bukrs.
TYPES: kunnr TYPE kunnr.
TYPES: END OF ty_s_outtab.
DATA: gdo_data TYPE REF TO data.
DATA: gs_outtab TYPE ty_s_outtab.
DATA: go_typedescr TYPE REF TO cl_abap_typedescr,
go_structdescr TYPE REF TO cl_abap_structdescr,
go_datadescr type ref to cl_abap_datadescr.
DATA: gs_comp TYPE abap_compdescr,
gd_dtel type string,
gt_dfies type ddfields.
FIELD-SYMBOLS:
<gs_struct> TYPE ANY.
START-OF-SELECTION.
BREAK-POINT.
GET REFERENCE OF gs_outtab INTO gdo_data.
ASSIGN gdo_data->* TO <gs_struct>.
go_typedescr = cl_abap_typedescr=>describe_by_data( <gs_struct> ).
go_structdescr ?= go_typedescr.
BREAK-POINT.
LOOP AT go_structdescr->components INTO gs_comp.
go_datadescr = GO_STRUCTDESCR->GET_COMPONENT_TYPE( gs_comp-name ).
gd_dtel = go_datadescr->get_relative_name( ).
write: / syst-tabix, 'Data element =', gd_dtel.
ENDLOOP.
END-OF-SELECTION.
Regards
Uwe -
How to get a relative filepath using Java?
Hi,
I'd like to write a custom application for something I'm doing at work. Basically, I need to find the relative filepath from one file to another. Like, if I start in a subdirectory of directory A with file abc.htm, I want to use Java find the relative hyperlink I would put in abc.htm to link to another file in another subdirectory of A. Something like "../Subdirectory/xyz.htm" (where xyz.htm is the file I want to link to) returned as a string.
The reason it needs to be a relative filepath without any references to named directories is that the application with all the hyperlinks in it will eventually reside on a different server or servers. The people who put it there will maintain the same directory structure as we have in our development directory, however.
So, anyway, I see in the File class you have methods for getting absolute filepaths and directory names and such, but nothing for getting a relative link to another file.
Does anyone know if such a class/method exists anywhere in std Java? Or how else I could go about doing this?
Many thanks if you can help.Given a File object f then one can build the path to the root as a list of file names from f.getName() and iterating using f = f.getParentFile().
Once you have the path lists for your two files then it is simple enough to find the branch point by moving forward through the lists until values differ. Building the relative path is then a matter of moving back through one using "../" until the branch point and then forward through the other until you reach the last element. -
CProject evaluation table: How to get project-related task confirmation
Hi everybody.
I'm working on cproject and this is my problem:
In my report i can get details related to an assigned project (i know Project guid) in this way:
CALL FUNCTION 'BAPI_BUS2172_GET_DETAIL'
EXPORTING
project_definition_guid = project_guid
IMPORTING
es_project_definition_detail = es_project_definition_detail
TABLES
et_name = et_name
et_status = et_status
return = return.
This bapi let me know the total confirmation status of my project ( this value is contained in the ACT_WORK_EFFORT of the standard data base table DPR_PROJECT ).
I would like also to get the confirmation status of each task related to this project ......
i think that these values are contained in the field ACT_WORK_EFFORT of the table DPR_TASK .... but i'm not able to select all and only tasks related to a single progect ....
Thanks,
FGOk! found the right sequence of BAPI !
-
How to get a value from the previous element (XSLT/XPATH gurus ahoy!)
Hi All,
I am building an RTF template for a "letter of reference"-report. Sometimes there are several rows in the data, that need to be printed as one. This is due to consecutive temporary contracts, which will be printed out as one period of service.
Here's a simplified data example to illustrate the problem.
<ROW>
<START_DATE>01-01-1980</START_DATE>
<END_DATE>01-01-1988</END_DATE>
</ROW>
<ROW>
<START_DATE>01-01-1988</START_DATE>
<END_DATE>01-01-1990</END_DATE>
</ROW>
<ROW>
<START_DATE>01-01-2000</START_DATE>
<END_DATE>01-01-2005</END_DATE>
</ROW>
With the data above, I should print two lines:
01-01-1980 - 01-01-1990
01-01-2000 - 01-01-2005
I need to compare START_DATE of an element (except for the first one) with the END_DATE of the previous element, to find out whether to print the END_DATE for that element or not. How can I get that value from the previous element?
Thanks & Regards, Matildause this to get the following End_date
<?following-sibling::../END_DATE?>
Try this
<?for-each:/ROOT/ROW?>
==================
Current StartDate <?START_DATE?>
Current End Date <?END_DATE?>
Next Start Date <?following-sibling::ROW/END_DATE?>
Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
================
<?end for-each?>
o/p
==================
Current StartDate 01-01-1980
Current End Date 01-01-1988
Next Start Date 01-01-1990
Previous End Date
================
==================
Current StartDate 01-01-1988
Current End Date 01-01-1990
Next Start Date 01-01-2005
Previous End Date 01-01-1988
================
==================
Current StartDate 01-01-2000
Current End Date 01-01-2005
Next Start Date
Previous End Date 01 -
How to get a string of an HTML element
Imagine a normal web page with its tags. I have to get the
value of a precise element and convert it to a String in order to
show it in a TextField. Specifically, I have to take a precise cell
of a table and insert it in a string.
Does AIR help me with some method that catches specific
elements of a HTML code or have I to parse the string of the entire
HTML and try to reach the wanted value?
In this last case, how do I convert the entire HTML of a page
into a string?
Any other ideas are welcome.
Thanks.quote:
Originally posted by:
Marco Sgna
Does AIR help me...
No, but I don't see that it has to. I presume
you're writing an AIR app with HTML and JavaScript. If so, you can
query and modify the HTML's DOM tree with JavaScript. Then, still
using JavaScript, you pass it off to the AIR side, using the "AIR
aliases" APIs. So:
<table><tr><td
id="foo">bar</td></tr></table>
<script>var mycontent =
document.getElementById('foo').innerHTML; // variable equals "bar"
now</script>
quote:
how do I convert the entire HTML of a page into a string?
document.toString(), perhaps. -
How to get the source code of UI elements ?
What is the way to get the source code of the elements used in qUnit Page for sap.m.List and all sap.m List Items ? I am looking to implement the same in my applications ?
Hi Micheal,
You can see the source code here for controls in sap.m.
sap.m Explored
Also for the link you provided, You can right click on the page and click on the View Page Source will show you the source code.
Regards,
KK -
(ABAP-FI)How to get project definition from agiven WBS element
Hi,
I have to update some columns of PRPS table relating to a WBS element.
While using BAPI_BUS2054_CHANGE_MULTI it wants project definition to be passed as an input parameter.
Is there any means to know project definition for a given WBS element of PRPS table.
Thanks in advance.
Regards,
Sourya Prakash.Hi,
why don't you display table PRPS in SE11 to see what fields you have there? It's not that hard to see that there is a field PRPS-PSPHI with description "Current number of the appropriate project". Yes, there is a link from WBS element to project definition.
Cheers -
How to get all lines in a paragraph?
Hey all,
I've got a confusing question, see the codes below:
tell application "Adobe InDesign CS4"
set doc to open orphan_check
tell doc
set myPage to page 4
set myTextFrame to first text frame in myPage
set myParagraph to third paragraph in myTextFrame
set lineList to lines in myParagraph
if (length of lineList is greater than 1) then
set hasMultipleLine to true
else
set hasMultipleLine to false
end if
end tell
end tell
I'm trying to get all the lines from one paragraph by using "set lineList to lines in myParagraph", and it returns an error. Also, if try "count of lines of myParagraph", it returns 0 all the time. But it works well for the text fame. For example, if I tried "set lineList to lines in myTextFrame", it can break the line correctly. So any suggestions? I am trying to do the orphan check, that is see if the last line in each paragraph contains enough characters.
Thanks~Well,
' set myParagraph to third paragraph in myTextFrame'
returns the content fo the paragraph ...
try to set:
'set myParagraph to object reference of third paragraph of myTextFrame'
or just:
count lines of paragraph 1 of first text frame
Hope it'll be of some help -
How to get Policy related columns?
I have different policies defined in lot of tables/columns, now I can get the list of tables and policies using views ALL_POLICIES, USER_POLICIES or DBA_POLICIES but how do I get the list of columns which have policies defined?. What are the relevant views to get this details?.
Thanks
KrishnamurthyMichaels,
Bulls eye!..That is the one I was looking for the whole time. How did I miss this one even the view name is almost same as the sec_relevant_cols parameter of the DBMS_RLS.add_policy procedure.
Thanks for your help.
Krishnamurthy -
How to get partner related information in soa composite
hi,
I have a SOA composite that receives a B2B inbound message from a trading partner.
I have couple of identifiers defined for that trading partner. But using the properties tab in the B2B component of composite I can get access to only one identifier(which is probably used to identify the from party in the first place) of the trading partner.
Is there api to accesses values of other identifiers defined for that trading partner.
Any Idea!!
Thanks,
AnilThe api for getSenderId says
"Returns the sender identification associated with the message
Returns: String sender identification type and value. Example: DUNS 123456789"
In my case I have the partner configured with following identifiers:
DUNS 123456789
PHONE 1000000
If DUNS is used to identify the partner sending the message getSenderId() will return "DUNS 123456789", but I want to access PHONE value. How do I get it?
Thanks,
Anil -
How to get Leads related to a Campaign?
Hello Experts:
Have someone of you got the lead elements related to a campaign in specific? , I solved this trouble using FM CRM_ORDER_READ and then filter the result table ET_DOC_FLOW by the campaign GUID.But it could affect the performance in future.
Thanks in advance.Rodrigo,
There are few solutions to improve the performance of your program.
1. In CRM_ORDER_READ fill in the parameter 'IT_REQUESTED_OBJECTS' for doc_flow if you are not yet using.
2. Instead of the CRM_ORDER_READ use the FM 'CRM_DOC_FLOW_SELECT_VONA_DB'. This will definitely improve the performance of your program.
3. The last option is to read the DB tables. The DB tables which you can use are SRRELROLES and CRMD_BINREL. An example of extracting Opportunity from Lead is as shown below. You can do similar extraction for lead and campaign as well.
a) Get ROLEID from table SRRELROLES using Lead GUID.
b) Get ROLE_A from table CRMD_BINREL using the ROLEID.
c) Get the OBJKEY from table SRRELROLES using the ROLE_A.
Hope this solves your problem.
Regards,
Shyamak -
How to get the relation between tables.
Hi all,
Sorry in my previous message I forgot to include the table CABN.
I would like to retrieve data from the tables BDCP,and characteristics tables KSS,INOB,AUSP and CABN.
I am given the values BDCP-TABNAME,BDCP-FLDNAME,BDCP-KEY,BDCP-CRETIME,BDCP-CDOBJCL.
BDCP-CDOBJID is nothing but Material number.I want to retrieve category(AUSP-ATWRT) and subcategory(AUSP-ATWRT) for that material BDCP-CDOBJID.
So first of all how to proceed.Can anyone give idea?I heard that there is transaction,where we can find relations between tables.
Thanks,
Balaji
Pages: 1U could try with SQVI Tcode. just give table names try to link.
For your requirement there are several functional modules availalbe.
Try where used list on AUSP table and find Function modules. Test them first then use in the program.
Maybe you are looking for
-
Difference between oracle business intelligence and discoverer.
hi all. can anyone help me that what is the difference between oracle business intelligence and discoverer. any suggestion? sarah
-
When i had flash player 7 installed i could open a website with flash that had music and once i closed that page the music would obviously automatically stop. Now that i installed Flash 8 even after i close the page the music keeps on playing even th
-
Windows 7, OE, and PRE Crashes
To Whom It May Concern: I uncovered what could be a problem in OE (Organizer Elements). This could be causing crashes and numerous unexplained problems in OE and PRE in Windows 7. Please see my post in the PRE forum entitled: "Aero Problems on Win 7
-
Charge led blinks every second when Laptop NX9420 is turned off.
I have a new battery, in a HP Compaq NX9420 and it can run the laptop for 2 hours isch, it can also run it on power adaptor only, battery removed, so both battery and charger is ok. But, When turning off the laptop from within windows it goes off and
-
Is there a way to apply two different creative presets to one image in LR3? I want to use the PC vignette and the rounded edges.