Delete inserted graphic
Dear Sirs,
How I can delete a inserted graphic? Also I would like to know how I can modify the position of image (with a char position), actually I think that need delete and insert in new position, but I believe that exists other method for this.
Thanks in advance.
- Marcos
Robin, thanks for looking this.
The major problem is the "undo" who save the deleting action, if "undo" is called, is transparent for user the two actions (deleting and inserting) rather than only one (change position). The solution that I thought was delete the last operation, calling the popUndo, but not worked because the deleted action is the former, in this case the operation of the inserting image, rather than operation of delete.
var pos: int = imagesLeaf[i].getAbsoluteStart();
var start: int = getEditManager().absoluteStart;
getEditManager().setSelection(pos, pos);
getEditManager().deleteNext();
getEditManager().setSelection(start, start);
getUndoManager().popUndo();
Some idea?
Thanks in advance,
Marcos
Similar Messages
-
When I copy and paste any object in Indesign (Vectorgraphics, Rectangle, Textarea, everything) it isn't pasted as another object, it's paster as an inserted Graphic. I use Creative Cloud, updating automatically. Is this a new "feature" or a bug? Copying and pasting an Object -> i want an object again (editable and with the same color etc) and not an inserted graphic. Can I change any settings for that or something? never had this problem before!
I would really appreciate your help as it's really uncomfortable in the workflow even though i could understand it would increase performance and reduce data volume.I have problem like this with indesign cs6 and windows 7, when i copy and paste frames it paste as there is graphic inside with a content grabner, my work around is from windows start>all program >go to indesign and run as administrator. Hope this may help.
-
Edit/delete/insert forms using php
Hi,
I have created an application that will allow me to
edit/delete/insert data to my database using php.
The functions work. But when I click on a tab i get an error
like this:
ypeError: Error #1009: Cannot access a property or method of
a null object reference.
at
StoreManagement/runFeed()[C:\adobeStoreManagement\StoreManagement\src\StoreManagement.mxm l:26]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\co re\UIComponent.as:9051]
at
mx.containers::ViewStack/dispatchChangeEvent()[E:\dev\3.0.x\frameworks\projects\framework \src\mx\containers\ViewStack.as:1165]
at
mx.containers::ViewStack/commitProperties()[E:\dev\3.0.x\frameworks\projects\framework\sr c\mx\containers\ViewStack.as:672]
at
mx.containers::TabNavigator/commitProperties()[E:\dev\3.0.x\frameworks\projects\framework \src\mx\containers\TabNavigator.as:504]
at
mx.core::UIComponent/validateProperties()[E:\dev\3.0.x\frameworks\projects\framework\src\ mx\core\UIComponent.as:5670]
at
mx.managers::LayoutManager/validateProperties()[E:\dev\3.0.x\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:519]
at
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:669]
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\sr c\mx\core\UIComponent.as:8460]
at
mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src \mx\core\UIComponent.as:8403]
Also the first time I click on the edit program link it
doesnt show any data in the combo. Then when I click on new store.
It fills up the comboboxes. When I go back to the edit program tab.
It now also has the data inside the combobox.
When I add a new program, store or categorie. It says
operation succesfull. But the new program is not added to the new
comboboxes. I have to close the browser and rerun the application.
Then it shows the entered value inside the comboboxes.
I have attached all my code for this application, any help
would be greatly appreciated. Also could you advise me on what is
the best approach to do this?
With friendly regards,
ThomasA few things:
* Do not use lastResult in AS code. It is intended for use in
binding expressions only. I suspect that it is the cause of your
error, since it will not yet exist where you are trying to
reference it.
* All data service calls in Flex are asynchronous. this means
you can *never* access the result data in the same function you
call send(), as you are attempting.
* Use a result handler for all HTTPService calls
* Your data model methodology is *good*, using instance vars
to hold ArrayCollections, and binding to those vars. Just set the
vars in a result handler, instead of in the send function
* the default resultFormat of HTTPService is object. This
causes Flex to convert the HTTPService XML into a tree of dynamic
objects. While it provides a quick start, it has long term
drawbacks. I advise setting resultFormat="e4x", so that youcan use
the powerful e4x XML API on your data. -
Using delete/insert mode operator target in mapping
Hello Guys,
Can you help me please to resolve my problem. It's very urgent.
I use OWB 10gR2 and I create a mapping for loading data from table to table.
I got a source table A that I want to integrate into a table B.
I want to put my target table B on delete/insert mode to delete data from B where A.annee = B.annee
before inserting data from A.
How to configure this mapping.
Thanks in advance.
Regards.
fanfita.you dont have to do anything in particular:
on the target table propperties click on the load type as Delete/Insert and specify the column which you need to check while deleting this can be done by clicking on the column of target table in your mapping and setting the properties such as "load while insert/delete/update etc" , you got to check the delete option of the columns that you want to check while deleting.
If your target table has sequence then delete and insert will generate new sequence id and i am not sure if there is a Foregin key which needs to be considered here so it might be a better option to use update/insert
if there are no dependencies at all then you can go for delete/insert option.
Edited by: Darthvader-647181 on Feb 5, 2009 1:46 AM -
Insert graphics in smartform from URL
Hi,
In a particular scenario i am trying to insert graphics in the smartform from the URL. Is it possible?
If Yes, pl. let me know the steps.
I know how to use graphics from the SE78 transaction, but not from URLHi Atul,
Go to transaction SE78. upload graphic which u want and then use that graphic from ur smartforms.
Reward points if helpful.
Regards,
Hemant -
SP in delete/insert/modify trigger
I have created a trigger which sends a notification email on deletes.inserts, or updates on a particular table. Trigger works great. While testing, I did a delete all - and sure enough the trigger fired on every row that was deleted and I got over 6k emails, LOL!!! So I am thinking have this trigger call a stored proc, which then keeps up with an audit table with sysdatetime/row/count or something. If number of rows deletetd within a certain timeframe (10seconds?) exceeds 5 then don't send any more emails. Does this sound feasible or is there a better way? Thanks!
I have created a trigger which sends a notification email on deletes.inserts, or updates on a particular table. Trigger works great
Then you must want emails to be sent even if those DML operations fail or get rolled back. Is that true?
If a user does the following do you really want email notifications sent?
INSERT INTO myTable . . .;
ROLLBACK;
Triggers are non-transactional. They do NOT know if the work they do will ever be committed or not. Any work that a trigger does could be rolled back by Oracle or by the user.
Unless you want email notifications sent even if that DML 'never happens', because it gets rolled back, triggers are the wrong method to use. -
I bulid trigger in tabel and check condition, if for example check_statment = X i need to delete inserted record (that mead not insert record) and when check_statment = Y then insert record in table, i try to write delete statment and rollback but there is error appear that the current record are reserved.
How i can solve it.1. Triggers cannot Issues ROLLBACK, SAVEPOINT, COMMIT statements.
2. I guess you are trying to avoid duplicate records, Create a unique index on the key(col1,col2) which you want to prevent duplicates on.
3. Or you can Add a column Flag Chr(1) to your table. While inserting you allow the records to get inserted, but based on your condition change the Flag to 'D' - deleted , 'A' -active. Build a View which the user uses for application filtering out the 'D'eleted records.
Does this look like what you are trying to do !
Ss -
Loading Type: DELETE/INSERT
Hi,
OWB 9.2.0.x
I need to develop logic wherein the target rows would be deleted based on a condition (column value already present), and then insert new rows.
The DELETE/INSERT Loading Type on Target is just doing a blanket delete where criteria matches and inserting fresh rows, instead of deleting just those rows that match the criteria.
An alternative was to have a lookup, and take that to a splitter, and send matching row to a TARGET with Loading Type set to DELETE, and other set to another copy of the TARGET with Loading Type set to INSERT.
This also does not work properly, and behaves inconsistently.
Any help on this would be much appreciated.
Regards
JojoTo put in an example:
We have to delete the records matching the input(staging), and then reinsert them.
That is input records will be like
1 a
1 c
5 a
5 b
3 a
Target may have something like
1 a
1 b
1 c
2 a
2 b
3 a
All records with first field as 1, 2 or 3 in staging should be deleted from target, and then the full staging gets inserted.
Final target would then become
1 a
1 c
2 a
2 b
5 a
5 b
3 a
An alternate solution that comes to mind is
Implement a delete mapping, and then do the inserts. But this would require two passes through the staging data.
Regards
Jojo Thomas -
DELETE / INSERT ON A MAPPING
Hi.
I am doing a DELETE / INSERT on a mapping, but when I deploy it, the delete condition that generates is not the same that exists in the mapping
i.e
MAPPING CONDITION
INOUTGRP1.TIME_ID
BETWEEN
(select TO_CHAR(FECHA_CARGA,'J') || '00' from CDW_PARAM_DWH)
AND
(SELECT TO_CHAR(FECHA_CARGA,'J') || '24' from cdw_param_dwh)
* I delimited the delete range trough START DATE and END DATE
GENERATED CONDITION
DELETE FROM "CDW_BALANCE_A_AGG"';
* The code generated DELETES all the table.
What can I do?
ThanksBest thing to do is delete before running the mapping in a premapping process. If you need parameters you can still use that by doing it via mapping parameters.
In the pre mapping process you simply run a function that does the delete within the pl/sql.
Jean-Pierre -
Hi,
Am working on a Mapping that requires a delte insert functionality. That is, the rows in target matching a specific column should only be deleted.
So, modified loading type to delete/insert, match by constraints to none, and then set match column when deleting to yes for the specific column
The mapping is but doing a blanket delete. Can somebody suggest a workaround or tell where the problem is.
OWB 9.2.0.2
Regards
JojoOK. I have partitioned the fact table based on year and changed the loading type to TRUNCATE/INSERT. Under "Conditional Loading" I have set the 'Target Filter for Delete' to INOUTGRP1.YEAR='2004'.
When I execute the mapping to replace data for year 2004, all the data is deleted (including the data for year 2003) and the new 2004 data is inserted. How can I just replace the data for year 2004 and leave the data for year 2003 intact? -
Update order document through DI API generates delete / insert ?
Hi,
I am developing with B1 88 PL10 and I am doing an update of userfields with DI API.
Looking on sql server profiling tool I found that the DI API generates delete / insert instead of update statements ?
Has someone an explanation ?
Regards,
GregoryHi Gregory,
There are couple of possible reasons for this. I think the most probable one is for performance and accuracy.
Delete / insert may actually take less time than Update alone.
Thanks,
Gordon -
hai,
I wanted to use delete/insert option so that i can selectively delete data and insert
the new set of records.But what i found is that all the existing records get deleted
ie selective delete is not happening. Can anyone pls let me know how this can be achieved with the help of delete/insert option(in operator properties of table)
Thanks And Regards,
AshirThere is a specific Warehouse Builder forum here:
Warehouse Builder
You can also post questions to this forum as this forum covers all BI products. To answer your question, I am not sure what you are trying to do. Are you trying to delete the object via "Control Center"? It should be possible to deploy the job as a delete job to remove the directory from your target/source database.
Keith Laker
Data Warehouse Solution Architect
Oracle EMEA Consulting
BI Blog: http://oraclebi.blogspot.com/
DM Blog: http://oracledmt.blogspot.com/
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
BI Samples: http://www.oracle.com/technology/products/bi/samples/ -
Hi SVET,
I just purchased an MSI-1727 Barebone from a third party vendor (http://www.cyberpowerpc.com/system/Xplorer_X7_7700_Notebook/). I did some searching and found this post and another post for the A6000 about swapping the Ctrl + FN , \ + Alt , Delete + Insert keys (to look exactly how I typed it); and that is exactly what I was looking to do. Would it be possible if you could send me a bios that does this? I have read the posts about how to do it, and I would definitely be willing to make a donation.
Mainboard: MS-1727
PCB Version: REV:1.0
BIOS Version: E1727IG6.106
BIOS Date: 2/1/2010
EC-FW Version:
Thank YouQuote from: gags1 on 16-June-10, 10:19:58
Hi SVET,
I just purchased an MSI-1727 Barebone from a third party vendor (http://www.cyberpowerpc.com/system/Xplorer_X7_7700_Notebook/). I did some searching and found this post and another post for the A6000 about swapping the Ctrl + FN , \ + Alt , Delete + Insert keys (to look exactly how I typed it); and that is exactly what I was looking to do. Would it be possible if you could send me a bios that does this? I have read the posts about how to do it, and I would definitely be willing to make a donation.
Mainboard: MS-1727
PCB Version: REV:1.0
BIOS Version: E1727IG6.106
BIOS Date: 2/1/2010
EC-FW Version:
Thank You
Hello,
The requests can be proceed on donation https://forum-en.msi.com/index.php?topic=134259.0
Once done, the request will be e-mailed to you [up to 24 hours max]
Best Wishes,
Svet -
Hi,
In a particular scenario i am trying to insert graphics in the smartform from the URL. Is it possible?
If Yes, pl. let me know the steps.
I know how to use graphics from the SE78 transaction, but not from URL
The smartform is used in an e-mail if it helps.hi,
Sorry it will not workk
reward if useful
regards,
nazeer
Message was edited by:
nazeer shaik
Message was edited by:
nazeer shaik -
What is difference of truncate/insert and delete/insert ?
hi all:
what is difference of truncate/insert and delete/insert ?Hi,
Truncate will truncate the table, which means there is a DDL operation to empty the table. DDL operations cannot be rolled back, but truncate is much faster than delete (because of that reason). If you do not require recovery of the deleted records in case of a failure, then truncate/insert is more optimal than delete/insert. Notice that for truncate to work, you cannot have enabled foreign keys pointing to the table. Truncate will never perform cascaded deletes.
Hope this explains.
Mark.
Maybe you are looking for
-
Dreamweaver CS4 not working under MacOS 10.9
on starting DW CS4 it asks for Java Runtime engine 6, but Mavericks has Java v.7 installed. Since Java 6 was part of the OS of previous systems, I cannot install it seperately, besides it would probably cause conflicts with OS 10.9. Do I have to tras
-
When using Find my iPhone, can't see the detail of my devices - just ip[hone or ipad - I have a couple of iphones, one missing, and can figure out which one to deactivate. Is there no way to identify devices from each other? Can't find any help in ic
-
Extract Dimension info - More than one aliases
Dear Techies, I would like to know if there is an option to extract multiple alias tables from Essbase 9.3. We are currently using Data Integration mangagent to extract dimension information but Type3 source extracts only Default alias. The outline h
-
Need a way to space photos evenly across & down PSE7
I have about 35 photos I would like to space them evenly, sort of, 7 across and 5 down. I want the spaces in between evenly and tops evenly lined up, sort of like a chart. Any suggestions to do it easily? Any tutorials on this? I selected the top row
-
I just purchased the newest episode of a tv show and I selected the correct episode, but it downloaded an older episode under the new title. I don't want that one what should I do?