How to set position of a PDEPath object
Hi,
I am a beginer in plug-in development in Acrobat SDK.
I was trying to reflow contents inside pdf. I was able to reflow most of the content except PDEPath object.as
For PDEPath object re-flow I was using function PDEElementSetMatrix (PDEElement pdeElement, ASFixedMatrixP matrixP);
and the path object was not getting positioned at given place. Rather it was getting placed outside page margin very far above the page.
Another issue is that when ever I was trying to get position co-ordinates of any PDEPath object, using PDEElementGetMatrix function.
It was coming 0,0 as co-ordinate.
Can anyone help me to know what could be the problem here.
Thanks
Saffiuddin Shekh
my values for are as follows:
matrix.h is 520544 whose co-ordinate value is 7
matrix.v is 30517256 whose co-ordinate value is 465
matrix.a is 65545 whose int value is 1
matrix.b is 0
matrix.c is 0
matrix.d is 65538 whose int value is 1.
The object is getting placed outside the page, where page size is 510x585.
Kindly suggest me what should I do if anybody can.
Saffiuddin
Similar Messages
-
How to Set Position Cursor Option to Non key fields in Table Maintenance .
Hi,
I have created a Ztable and i am using table maintenance for that table. In TMG ,by default we have position cursor option to key fields only . User wants that position cursor option for non key fields also. Please help me out of this issue .
How to provide Position Cursor option to Non key fields.
Thanks & Regards,
Prasad.Hi Nabheet,
I tried using TYPE S DISPLAY LIKE E and am setting vim_abort_saving as X and sy-subrc as 4. However, this is also not enabling the fields. In this case, the first 2 fields - key fields are getting enabled but not the required ones. The above snapshot is for the same.
lv_date1 = table1-date1.
lv_date2 = table1-date2.
lv_diff = lv_date2 - lv_date1.
IF lv_diff LT 0.
CLEAR: lv_err_msg.
lv_err_msg = text-005.
MESSAGE lv_err_msg TYPE 'S' DISPLAY LIKE lc_e.
vim_abort_saving = lc_x.
sy-subrc = 4. -
How to set updatable property of view object on runtime
Hello Gurus,
I am new in adf and using jdev 11.1.2.3.
I have two view object which has view link and they are based on entity object. In master view i have a column with the name of status. The target is if the value of status is 'active' then i want to allow add rows in detail view and if it is inactive then wants to disable adding or editing in the detail view.
I don't know how to do this. I don't know how to get the other view object and how to set update able property and where to write code in entity object class or view object class.
Any advice................
Thanks in AdvanceThere are multiple possible ways to archive this. As the VOs are in a master-detail relationship, you can opt to add a navigation method to the child back to the parent. This method can be accessed via java or groovy to allow the child access to the master row. Once the child has access you can use this to ask the master for it's status and if it's not active disable the edit and update buttons.
If both master and detail are on the same page in the ui, there is an easier way. Drag the status attribute from the master table onto the page as e.g. inputText. This will create a binding for the attribute which changes if you select a row in the master table. As you don't need to inputtext, switch to the source mode of the page and delete it. This will remove the inputtext put keep the binding. Now you can use hte binding in an EL to set the disable property of other components to true like
<af:commandButton text="commandButton 1" id="cb1" disabled="#{bindings.masterstatus.inputValue ne 'active'}"/>
The button will only be active it the binding for masterstatus is active.
Timo -
How to remove the arrow on the splitter and how to set position at 30%
(1) The splitter with the arrow is a collapsible splitter, when you move mouse on the arrow it shows "Collapse Pane".
But I want an uncollapsible splitter, like most splitters (e.g., in Jdev IDE) which do not show the arrow key on the splitter. Can I do that?
(2) how to set the position of a splitter at 20%?Hi,
Create a application skin, if you do not have one and use following in the skin.
af|panelSplitter::horizontal-collapse-icon
display: none;
}You will be able to resize panel and collapse icon will not be displayed so the panel will not collapse.
You can set the initial splitter position as required.
Regards,
Lalit -
How to set up permission for portal objects and folder
Hi All,
We are implementing EP 7.0. For creating portal objects, I have assigned "Super_admin, Content_admin, System_admin and User_admin" role to my userid and created iviews, roles and folder.
During SAP audit they asked us to open a Iview to show the permission, the below are the value shown in permission editor.
Role Name ====== Administrator ===== End User ======Role Assigner
Everyone ====== Read ======Yes ====== No
Super_admin_role ====== Owner =====Yes ======Yes
SAP asked us to change the permission and said "Super_admin_role" should not be used, they asked us to create a group or role and assign. We are not clear what SAP wanted us to do.
Can any one let me know how this permission needs to be given and whether "Super Admin" role can be assigned to a userid.
Thanks in advance.
Rgards,
H.K.Hayath Basha.Hi Michael,
I didn't create any role. I will let yo know what I have done so far.
1. Created a group called "ADMIN_GROUP".
2. Assigned "SUPER_ADMIN" role to group "ADMIN_GROUP.
3. Assigned userid "ADMIN_USER" to group "ADMIN_GROUP".
4. Opened the persmission of "PORTAL_CONTENT" folder and added group "ADMIN_GROUP" and set this group as "OWNER", "END_USER" check box is ticked and "ROLE_ASSIGNER" check box is checked.
5. Removed the role "SUPER_ADMIN" from group "ADMIN_GROUP".
6. Logged into portal using "ADMIN_USER" created a folder called "TESTING". Then opened the
permission editor for the folder "TESTING", it showed three record
"ADMIN_GROUP" === OWNER === 'X' === 'X'
"EVERY_ONE" === READ === 'X' === ' '
"SUPER_ADMIN_ROLE. === OWNER === 'X' === 'X'
7. I am not able to delete "SUPER_ADMIN_ROLE" from the permission editor, as it is greyed.
With the above steps what I have achieved is I have given permission to group "ADMIN_GROUP". Is this what we need to do. Did I did anything wrong.
Regards,
H.K.Hayath Basha. -
How to set command timeout for table object?
I have a report that is generating an error during rendering in a CrystalReportViewer control (v10.5). The error is "Failed to open a rowset." which appears to be caused by a timeout. I'm currenlty setting the connection info and location of the sproc programmatically. How can I set the command timeout as well? Can I set this via the Attributes collection of the ConnectionInfo object? (This appears to be a command timeout, not a connection timeout, which I'm already including in the Attributes collection of the ConnectionInfo object and setting at 15 seconds. I've tried making this as much as 60 seconds but it doesn't change the behavior.)
The error message includes text that states the timeout was exceeded (in bold below)...
CrystalDecisions.CrystalReports.Engine.InternalException: Failed to open a rowset.
Details: ADO Error Code: 0x
Source: Microsoft OLE DB Provider for SQL Server
Description: Timeout expired
SQL State: HYT00Error in File J:\DOCUME1\ADMINI1\LOCALS~1\Temp\SpecificationSummaryReport {42EDFEA3-DD0D-4F5E-BC0B-F9CC1126A872}.rpt:
Failed to open a rowset. ---> System.Runtime.InteropServices.COMException (0x800002D3): Failed to open a rowset.
Details: ADO Error Code: 0x
Source: Microsoft OLE DB Provider for SQL Server
Description: Timeout expired
SQL State: HYT00Error in File J:\DOCUME1\ADMINI1\LOCALS~1\Temp\SpecificationSummaryReport {42EDFEA3-DD0D-4F5E-BC0B-F9CC1126A872}.rpt:
Failed to open a rowset.
1) Is there a Service Pack for CR 10.5??? That is the runtime that is in use - not XI.
2) The report viewer app is in version 10.5 (as mentioned in the first post) but the report was created in the designer for version 11. Before we assume that is a problem - I have other reports created this way that work fine.
3) The data source is SQL 2005.
4) The connection type is OLE DB - Microsoft OLE DB provider for SQL Server.
I think the issue is due to corruption in the report file. I've seen this many times with reports (over the last 10 years). I've had reports that refuse to work but if I recreate them from scratch the new report works fine. In fact, I've recreated the data portion of this report (using the same sprocs) and that one works. -
How to set position of scrollbar
Hi,
I need to set a scrollbar at specific position depending on buttons a user would click. Does anyone has an idea on how to do this. Thanks
NessenHi,
sorry I did not express my question properly. I've got a JscrollPane that I want to make scroll to a specific position when a button is pressed. I'm initiallising Jscrollpane like this:
JScrollPane scrollPane = new JScrollPane(disp,
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
is there a way to do this,
thanks
Nessen -
How to set Timezone in a date object
Hi,
I need to write a method setTimeZone(Date d,TimeZone t) which should take a Java.util.Date and a Timezone object and set the time zone to the date object.
for example...
Date d=new Date();
TimeZone tz=TimeZone.getTimeZone("PST");
//should print the timezone as EDT because the current system timezone is EDT
System.out.println(d);
setTimeZone(d,tz);
//should print the timezone as PST
System.out.println(d);
public void setTimeZone(Date d,TimeZone tz){
Calendar c=Calendar.getInstance(tz);
c.setTime(d);
c.setTimeZone(tz);
d=c.getTime();
System.out.println("Timezone in calendar is "+c.getTimeZone().getDisplayName());
But today is still showing up EDT timezone and Timezone in calendar is shown as PST.The new timzone is not aplied to date object @ d=c.getTime();
statement.
Could any one please help me...
Edited by: mchepuri on Apr 10, 2009 7:27 PM
Edited by: mchepuri on Apr 10, 2009 7:29 PMDates don't have any concept of time zones. Think of a Date as a wrapper for a long.
Use SimpleDateFormat. Read the javadocs for some useful methods. -
How to set execution preferences between Data Objects
Hi Experts,
I have 2 data Objects(one Bidrectional and another Upload Only) in my SWCV and according to my requirement i have to execute first DO(Bidirectional) before execution of Second DO(Upload Only).
Is there any way so that i can set execution preferences between these two DOs.
Regards,
AbhishekHi Liji,
Execution preference is more related to the "Semantic Compression" capability of the application/framework than the "backward compatiblity" with 04/04s.
Whenever the semantic compression is enabled, sync order has to be present for the set of data object to ensure the correct order of the data going to the server.
As all the backward compatible applications are "Semantic compression enabled" this option is mandatory for those applications.
But non-backward compatible applications might also want to use "semantic compression" feature to reduce the traffic over the network. In this case, those applications will also need this feature. Hence this feature of settting the sync order is available for all the SWCVs.
Regards,
Ramanath. -
How to set query for child View Object?
I have a hGrid in standard page. Two View Objects are present connected using view link. I need to set where clause in the child View Object. The changes are not getting reflected when i set the where clause. Also when i try to fetch rowCount it returns 0 for child View Object. But i am able to get the value for parent View Object. Any suggestions please.
Hi,
This solution worked for me last time, Please create One blank row and delete that row(For Child VO).
Why we are doing this? : Because the child vo pointer might not init. See this is not our fault, this is because of OA Framework. But this works for me :)
Thanks,
Shrikant -
How to set position of iChat window
Every time I begin a chat, the chat window opens in the middle of the screen and I move it to the corner where I like to put it so I can have others windows open and not block each other. How can I get the iChat program to remember the position of the chat window so that when I open it each time it goes to my preferred position on the screen? Thanks.
Hi
You need Chax http://www.macupdate.com/info.php/id/20056
Tony -
How to set tool tips for graphic objects.
Hi
i have a code like this
here dst is graphic object but i casted ti Graphic2D object because i have to set back ground color.
Graphics2D lGraphic = (Graphics2D) dst;
lGraphic.setBackground(Color.RED);
lGraphic.clearRect((int) lx, (int) ly, (int) lw + 1, (int) lh + 1);
lGraphic.drawRect(0, 0, (int) lw, (int) lh);
so now i want to set a tool tip for this lGraphic Object.
can any body please post answer for this proble.
if you will post in advance it will help me a lot.so now i want to set a tool tip for this lGraphic Object.Your concepts are all wrong. Read the API for java.awt.Graphics and try to understand that a Graphics object is akin to a paintbrush: it has methods to draw whatever is to be drawn. The painting is not the brush, the brush does the painting.
To obtain a custom tooltip at certain locations within a JComponent, I think the easiest way is to override getToolTipText(MouseEvent me). The method can return null for locations where a tooltip is not to be shown.
db -
How to SET positions for Boxes
Hi
I have to put some Box on my Applet, at different positions (coordinates).
Is it possible to set the positions, without having as many Transform3d as Box?
Thanks ...
Bertrandmaybe i'm wrong
but you need a transform3d for every boxes
if you want them to be in different location
sorry
cyril -
How to set filter for few Setup Objects on Geneneral Foundation?
Controlling the download of sub-entities:
By default all sub-entities are downloaded. Pass a non-existing value
for the parameter (primary key) of the sub-entity if you don't want to
download a specific sub-entity.
For example, if you don't want to download the values of a value set,
then use following input to FLEX_VALUE attribute while setting filter;
FLEX_VALUE='THIS_IS_A_NON_EXISTING_VALUE_I_DONT_WANT_TO_DOWNLOAD_VALUES'
VALUE_SET
Notes:
- To download '$FLEX$.%' value sets pass '$FLEX$.%' argument.
- Upload API automatically submits the hierarchy compiler request
- FLEX_VALUE_SET_NAME is a required argument for download.
You can find the following parameters in Set Filter screen of Value Set Values.
VALUE_SET has subenities such as VSET_SECURITY_RULE, VSET_ROLLUP_GROUP and VSET_VALUE.
Setting value for attribute FLEX_VALUE_SET_NAME downloads all the subentities. If you want
to restrict the subentities, set appropriate filter at VSET_SECURITY_RULE, VSET_ROLLUP_GROUP
and VSET_VALUE.
Parameters:
VALUE_SET
| FLEX_VALUE_SET_NAME : Value set name.
|
+-VSET_SECURITY_RULE
| FLEX_VALUE_RULE_NAME : Value set security rule name.
| PARENT_FLEX_VALUE_LOW : Independent value for the dependent value sets.
|
+-VSET_ROLLUP_GROUP
| HIERARCHY_CODE : Hierarchy (rollup group) code.
|
+-VSET_VALUE
PARENT_FLEX_VALUE_LOW : Independent value for the dependent value sets.
FLEX_VALUE : Flexfield segment value.
DESC_FLEX
Notes:
- Upload API automatically submits the flexfield compiler request
- Upload API automatically submits the DFV view generator request
- APPLICATION_SHORT_NAME is a required argument for download.
You can find the following parameters in Set Filter screen of Descriptive Flexfields.
DESC_FLEX has subenities such as DFF_REF_FIELD, DFF_CONTEXT and DFF_SEGMENT.
Setting value for attributes DESC_FLEX and DESCRIPTIVE_FLEXFIELD_NAME downloads all the subentities.
If you want to restrict the subentities, set appropriate filter at DFF_REF_FIELD, DFF_CONTEXT
and DFF_SEGMENT.
Parameters:
DESC_FLEX
| APPLICATION_SHORT_NAME : Application Short Name.
| DESCRIPTIVE_FLEXFIELD_NAME : Descriptive Flexfield Name.
|
+-DFF_REF_FIELD
| DEFAULT_CONTEXT_FIELD_NAME : BLOCK.FIELD reference field name.
|
+-DFF_CONTEXT
| DESCRIPTIVE_FLEX_CONTEXT_CODE : Context Code
|
+-DFF_SEGMENT
END_USER_COLUMN_NAME : Segment Name
APPLICATION_COLUMN_NAME : Column Name
KEY_FLEX
Notes:
- Upload API automatically submits the flexfield compiler request
- Upload API automatically submits the KFV view generator request
- Upload API automatically submits the structure view generator request
- APPLICATION_SHORT_NAME is a required argument for download.
You can find the following parameters in Set Filter screen of Key Flexfields.
KEY_FLEX has subenities such as DFF_REF_FIELD, DFF_CONTEXT and DFF_SEGMENT.
Setting value for attributes APPLICATION_SHORT_NAME and ID_FLEX_CODE downloads all the subentities.
If you want to restrict the subentities, set appropriate filter at KFF_FLEX_QUAL, KFF_SEGMENT_QUAL,
,KFF_STRUCTURE,KFF_WF_PROCESS,KFF_SH_ALIAS,KFF_CVR_RULE and KFF_SEGMENT.
Parameters:
KEY_FLEX
| APPLICATION_SHORT_NAME : Application Short Name.
| ID_FLEX_CODE : Key Flexfield Code.
|
+-KFF_FLEX_QUAL
| | SEGMENT_ATTRIBUTE_TYPE : Flexfield Qualifier Name
| |
| +-KFF_SEGMENT_QUAL
| VALUE_ATTRIBUTE_TYPE : Segment Qualifier Name
|
+-KFF_STRUCTURE
| ID_FLEX_STRUCTURE_CODE : Structure Code
|
+-KFF_WF_PROCESS
| WF_ITEM_TYPE : Workflow Item Type
|
+-KFF_SH_ALIAS
| ALIAS_NAME : Shorthand Alias Name
|
+-KFF_CVR_RULE
| FLEX_VALIDATION_RULE_NAME : Cross Val. Rule Name.
|
+-KFF_SEGMENT
SEGMENT_NAME : Segment Name
APPLICATION_COLUMN_NAME : Column Name
MENU
You can find the following parameters in Set Filter screen of Menus.
PARENT_MENU_NAME Name of the menu to start downloading at. If this
parameter is specified on its own, that menu and
all its children will be downloaded. If specified
with FUNCTION_NAME and/or SUB_MENU_NAME, then only
the menu entry with that function and/or submenu name
immediately under the PARENT_MENU_NAME will be
downloaded.
FUNCTION_NAME Function name to limit download to. If this parameter
is specified then PARENT_MENU_NAME must also be
specified in order to download menus. Specifies
the function on a menu entry immediately under
PARENT_MENU_NAME which will be downloaded; all other
menu entries under PARENT_MENU_NAME will not be
downloaded.
SUB_MENU_NAME Sub Menu name to limit download to. If this parameter
is specified then PARENT_MENU_NAME must also be
specified in order to download menus. Specifies
the Sub Menu on a menu entry immediately under
PARENT_MENU_NAME which will be downloaded (along with
all its children); all other menu entries under
PARENT_MENU_NAME will not be downloaded.
MENU_APP_SHORT_NAME Application short name of Menu. The menu on the resp
for this application will be downloaded. If you
pass this parameter, do not pass any of the other
parameters; this parameter is only supported on its
own.Oh never mind.... I figured it out myself helps to read up on the manuals. d'oh. sorry for the bandwidth waste...
-
How to set-up change document object for deliveries??
Hi experts ,
kindly help me with this config , I did some researched and none of them have solve my problem.
i need to know on how to set-up a change document object for delivery documents.
Change document object LIEFERUNG is not available in transaction SWED.
How will I add this change document object in SWED?hi ,
im wondering why even the existing object VERKBELEG is not being triggered?
would you know any reason for this?
Maybe you are looking for
-
Can some one help me with this project
This project will simulate the behavior of an Integrity Subsystem in validating the data in a database. More specifically, assume there are 2 tables, A and B, in a given database. Table A has 4 integer attributes names a, b, c, d and table B has 4 in
-
I tried to download the app "Google Translate" from the App Store onto my iPhone 5s. However, the download will not complete. As well, when I try to delete the icon from my home screen, it will not go away. I am very frustrated as this has never hap
-
Java applet not runing in Internet Explorer
I have HTML page with following code. <html> <body> <applet code="RootApplet.class" width=200 height=200> </applet></div> </body> </html> when i open it in IE. it shows nothing. no applet appears. but if i open page using appleviewer. java apllet sho
-
Possible video card failure?
Screenshot: http://users.vianet.ca/dtrudel/example1.jpg I've started having problems with playing 3D video games, like the system totally freezing up and I'd have to reboot, or I'd get weird graphic things happening like in the picture above. At firs
-
Hi Experts, How to debug smartform in quality. can anybody explain me.... Thanks rajesh