Inserting Image mystery using the attribute in the structured element

I work in FM10 on Windows XP Pro. However, the models at the company where I am currently Contracting have been developed over the years, since the FM 7 or 8, with different authors and developers to refine their. Which makes them difficult to decipher at times.

Currently, I'm trying to understand how elements of the notes works so I can fix it to work when you bind the FM source files to RoboHelp. When you click on the 'Note' parent element, you can choose from four different attributes (as shown below for ESD): note, tip, caution and warning.

When you choose one of these attributes, it automatically inserts a graphic symbol (exclamation point, star, pencil, etc.). You then choose the next child element that creates a paragraph directly to the right of the graphic symbol.

The problem is, I can't understand where this chart comes in the parent element and associated attributes. I thought it must be extracted from the style of paragraph, either as an image of the reference page and or symbols of the numbering of the paragraph Designer section. But I'm not either of those things anywhere. For what it's worth, the graphics look like they come from a police (see screenshot).

The word "note" comes to the next child element and the associated paragraph style, it is designated in the numbering/AutoNumber Format: box with an associated font. The lines above and below it are similarly advanced/Frame Above / Below the FMP: setting. All this is quite easy; the attribute image... not so much.

Can anyone tell me please where to hunt for the source of this image attribute insertion?

------------------------------------------------------fm_attributes.jpg

ESD

Element (container): Note

General rule: stalks, NoteBody

List of attributes

Name: Id ID Unique in option

Control flags: read-only, hidden

Name: Type Optional choice

Choice: Note, tip, warning

Default: Note

AutoText

Insert automatically child: stems

Element (container): NoteBody

General rule: Para, (Para |) List) *.

AutoText

Insert automatically child: Para

Element (container): stems

General rule: < EMPTY >

Text format rules

If the context is: * < ParagonGuide

If the context is: Note [Type = "Note"]

Use paragraph format: Note.Icon

Otherwise, if the context is: Note [Type = 'Attention']

Use paragraph format: Note.Caution.Icon

Otherwise, if the context is: Note [Type = "Tip"]

Use paragraph format: Note.Tip.Icon

On the other

Use paragraph format: Note

Rules of prefix

If the context is: * < ParagonGuide

If the context is: Note [Type = "Warning"]

Prefix: Warnings not permitted in documents of Paragon.

Range of text.

Font properties

Color: Red

On the other...

Hi Douglas,.

I think I thought about it, although I can't prove it, but my inability to prove it is maybe the evidence itself. I know this is no logic, so please read on...

In summary, I think that the images are caused by prefixes text inserted by ESD for the element, using the Zapfdingbats font.

To review/summarize the structural architecture, your notes are made up of

... etc.

... Where he is the element which is containing the image and the , etc. items that contain the text of the note.

My first idea was that when I open your file, I do not see the images; However, instead of one of the pictures missing, I get a message of missing fonts (and I have no Zapfdingbats). Here are the rules of prefix for the element (rough paste):

Rules of prefix

If the context is: *.<>

If the context is: Note [Type = "Warning"]

Prefix: Warnings not permitted in documents of Paragon.

Range of text.

Font properties

Color: Red

On the other

Range of text.

Otherwise, if the context is: *.< (list="" |="">

If the context is: Note [Type = "Note"]

Prefix: \t/

Range of text.

Font properties

Family: Zapfdingbats

Size: 22.0 pt

Vertical offset: 28.0%

Otherwise, if the context is: Note [Type = "Tip"]

Prefix: \tH

Range of text.

Font properties

Family: Zapfdingbats

Size: 16.0 pt

Vertical offset: 22.0%

Otherwise, if the context is: Note [Type = 'Attention']

Prefix: \t!

Range of text.

Font properties

Family: TheSansExtraBold-Plain

Size: 32.0 pt

Vertical offset: 48.0%

Otherwise, if the context is: Note [Type = "Warning"]

Prefix: \t6

Range of text.

Font properties

Family: Zapfdingbats

Size: 16.0 pt

Vertical offset: 24.0%

On the other

If the context is: Note [Type = "Note"]

Prefix: /.

Range of text.

Font properties

Family: Zapfdingbats

Size: 22.0 pt

Vertical offset: 28.0%

Otherwise, if the context is: Note [Type = "Tip"]

Prefix: H

Range of text.

Font properties

Family: Zapfdingbats

Size: 16.0 pt

Vertical offset: 22.0%

Otherwise, if the context is: Note [Type = 'Attention']

Prefix:!

Range of text.

Font properties

Family: TheSansExtraBold-Plain

Size: 32.0 pt

Vertical offset: 48.0%

Otherwise, if the context is: Note [Type = "Warning"]

Prefix: 6

Range of text.

Font properties

Family: Zapfdingbats

Size: 16.0 pt

Vertical offset: 24.0%

There are a whole bunch of prefixes text in there, but most use the Zapfdingbats font. This font is just a bunch of small icons as pencil your screenshot shows the image. For example, the line:

Prefix: \t/

.. .will be insert a tab, then a slash in Zapfdingbats. I bet that if you apply Zapfdingbats to one of you to the paragraphs, and then type a forward slash, you will get one of those pictures you've been see.

The evidence would be to change these characters in the prefix rules and see if the images change. Because I have not the police, I can't do it. But because I can't do, it proves to me that the source is indeed the police and the prefix characters. Make sense now?

Russ

Tags: Adobe FrameMaker

Similar Questions

  • insertion of values using the impl class

    Hi am values inserting data by using the class impl, my problem is when I insert values, it shows that the values must be unique so it cannot be inserted, but when I check in the database, the values are inserted, it seems my loop trying to reinsert the same values twise, am in jdeveloper 11.1.1.6.0
        public Number addOrginisation(OrgDetails orgDetails){
            Number orgid =null;
    
               try{
                      
                      UAMAppModuleImpl am = (UAMAppModuleImpl)ADFUtils.getApplicationModuleForDataControl("UAMAppModuleDataControl1");
                      CreateUserBean cu = new  CreateUserBean();
                      String n = (String)orgDetails.getDpayment().getValue();
                       System.out.println(" n  :"+n );
                      String  newIdAssigned = cu.createAcc(n,orgDetails.getCadastreAccountBean() );
                      System.out.println(" newIdAssigned :"+ newIdAssigned  );
                    this.addmemebres(orgDetails.getAddmember(), orgDetails.getName());
    
    
    
                                    String otype = null;
                String osubtype = null;
            
            DCIteratorBinding it0 = ADFUtils.findIterator("UamOrganisationsView1Iterator");
                      if(it0 != null && it0.size() > 0){      
                         
                          for(Row r : it0.getAllRowsInRange() ){
                          EntityDefImpl accDef1 =UamOrganisationsImpl.getDefinitionObject();     
                          UamOrganisationsImpl org1 =  (UamOrganisationsImpl)accDef1.createInstance2(am.getDBTransaction(),null);
                         
                     
                      otype = (String)r.getAttribute("Organisationtypecode");
                      osubtype = (String)r.getAttribute("Orgsubtypecode"); 
                          org1.setOrganisationtypecode(otype);
                      System.out.println("onsertorgtype " + otype);
                          org1.setOrgsubtypecode(osubtype);
                      System.out.println("insertedsubtype " + osubtype);
                          
                         
                          org1.setCadastreaccount(newIdAssigned);
                          System.out.println("Addedcardaccount " + newIdAssigned);  
                              
                          org1.setOrganisationname(orgDetails.getName());
                          System.out.println("AddedOrganisation " + orgDetails.getName());    
                          org1.setCadastreaccount(newIdAssigned);
                          System.out.println("Addedcardaccount " + newIdAssigned);    
                          org1.setOrganisationemail(orgDetails.getEmail());
                          System.out.println("Addedemail " + orgDetails.getEmail());  
                          org1.setRegistrationnumber(orgDetails.getRegNumber());    
                          System.out.println("Registrationnumber " +orgDetails.getRegNumber());    
                          org1.setRegistrationstatus("Y");
                          org1.setStatus("Y"); 
                          orgid =  org1.getOrganisationid();
                          System.out.println("returnorgid " +orgid);
                          am.getDBTransaction().commit();  
                          System.out.println("after "+ orgid);  
                          orgid =  org.getOrganisationid();
                          
                         
                          
                      }
                          
                          
                      }
                String name = null;
                String surname = null;
                String identitynumber = null;
                String emailaddress = null;
                String contactnumber = null;
                String ownership = null;
                String accountofficer = null;
                Number officeid = null;
    
    
               DCIteratorBinding it = ADFUtils.findIterator("ocompanyofficerdetailsIterator");
                  if(it != null && it.size() >0){                              
                  for(Row r : it.getAllRowsInRange() ) {                                   
                        EntityDefImpl accDef2 =UamCompanyofficerdetailsImpl.getDefinitionObject(); 
                        UamCompanyofficerdetailsImpl comp = (UamCompanyofficerdetailsImpl)accDef2.createInstance2(am.getDBTransaction(),null);
                       
                        
                        name = (String)r.getAttribute("name");
                      System.out.println("offname" +name);
                        surname = (String)r.getAttribute("surname");
                      System.out.println("surnametest " +surname);
                        identitynumber = (String)r.getAttribute("dentitynumber");
                      System.out.println("idtest " +identitynumber);
                        emailaddress = (String)r.getAttribute("emailaddress");
                      System.out.println("emailtest" + emailaddress);
                        contactnumber = (String)r.getAttribute("contactnumber");
                        System.out.println("contatc" + contactnumber);
                        ownership = (String)r.getAttribute("ownership");
                      System.out.println("ownership " + ownership);
                        accountofficer = (String)r.getAttribute("accountingofficer");
                       System.out.println("accountoffice " + accountofficer);
                
                
               
               comp.setName(name);
                      System.out.println("offname " + name);
               comp.setSurname(surname);
                      System.out.println("surnameoff " +surname);
               comp.setIdentitynumber(identitynumber);
                      System.out.println("identitynumber " +identitynumber);
               comp.setEmailaddress(emailaddress);
                      System.out.println("emailaddresscomp " +emailaddress);
               comp.setContactnumber(contactnumber);
                      System.out.println("contactnumbercomp " + contactnumber);
               comp.setOwnership(ownership);
                      System.out.println("ownershipcomp " + ownership);
               comp.setAccountingofficer(accountofficer);
               System.out.println("accountofficer " +accountofficer);
                        officeid = comp.getOfficerid();
                               System.out.println("afterofficeid " + officeid);
                      comp.setOrganisationid(orgid);
                      am.getDBTransaction().commit();
                        System.out.println("***insetead companyofficials****" +  officeid ) ;
    
    
                    }
        }
           }catch(Exception e){
                System.out.println("after "+e.getMessage());
                e.printStackTrace();
            }
           
            return  orgid;
        }
    
    my log error is
    n  :CRC
    *****createAcc  Entity [oracle.jbo.Key[10891 ]]
    *****createAcc  UamCadastreaccounts
    @@@@@@@@@@@@CRC
    @@@@@@@@@@@@10892
     newIdAssigned :10892
    onsertorgtype PRIV 
    insertedsubtype LA
    Addedcardaccount 10892
    AddedOrganisation testnow
    Addedcardaccount 10892
    Addedemail [email protected]
    Registrationnumber 2332434
    returnorgid 2233
    after 2233
    onsertorgtype PRIV 
    insertedsubtype DEA
    Addedcardaccount 10892
    after JBO-ecadastre.gov.za.uam.model.entities.UamOrganisations_Rule_0: Organisation Name Must Be Unique
    oracle.jbo.AttrSetValException: JBO-ecadastre.gov.za.uam.model.entities.UamOrganisations_Rule_0: Organisation Name Must Be Unique
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:381)
         at oracle.jbo.rules.AbstractValidator.createException(AbstractValidator.java:1065)
         at oracle.jbo.rules.AbstractValidator.doRaiseException(AbstractValidator.java:1120)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:1109)
         at oracle.jbo.rules.JboAbstractValidator.raiseException(JboAbstractValidator.java:409)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:1096)
         at oracle.jbo.server.JboUniqueKeyValidator.validateValue(JboUniqueKeyValidator.java:369)
         at oracle.jbo.server.JboUniqueKeyValidator.validateValueWithContext(JboUniqueKeyValidator.java:84)
         at oracle.jbo.rules.JboAbstractValidator.callValidateValueWithContext(JboAbstractValidator.java:235)
         at oracle.jbo.rules.JboAbstractValidator.validate(JboAbstractValidator.java:386)
         at oracle.jbo.rules.RulesBeanUtils.validateObject(RulesBeanUtils.java:725)
         at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:696)
         at oracle.jbo.server.AttributeDefImpl.validate(AttributeDefImpl.java:3349)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3294)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:2012)
         at ecadastre.gov.za.uam.model.entities.UamOrganisationsImpl.setOrganisationname(UamOrganisationsImpl.java:336)
         at uam.cadastre.gov.za.CreateOrganisationBean.addOrginisation(CreateOrganisationBean.java:213)
         at uam.cadastre.gov.za.OrgDetails.getNextStopPayment(OrgDetails.java:689)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
     oracle.jbo.server.ViewRowSetImpl@8f2102
     null
     null
     null
     null
     null
     null
     BDP
     CRA
     CRC
     DRO
     EFT
     OTC
    ************endpayment *********
     but am able to insert the organisation  values in database but it show me that Organisation Name Must Be Unique
    the for loop is re-entering the values again
    Published by: adf0994 on 01/15/2013 13:11

    Published by: adf0994 on 01/15/2013 13:12

    Hello

    a rule in the ADF is still working through the link layer (and that's what you start by before you can join the impl classes). When you have access to a DCIteratorBinding, you have access to the lines it holds. Of the DCIteratorBinding, you can get access to the RowSetIterator (getRowSetIterator()). Here you can now create new lines programmatically by calling

    -Row rw = rowSetIterator.createRow ();
    -fill in the attribute for line
    -rowSetIterator.insertRow (rw);

    You can also use this to simply update the existing lines. With the next commit, these changes will be persistent in the database.

    Frank

  • Inserting data by using the query

    Hello

    In a book, I read the Sub statement:

    Inserting data by using the query (DML)

    If the user wants to transfer data from a table to another table in the insert statement are used independently of data that can be processed or not processed form.

    Can someone clarify what is the significance of this (processed or unprocessed form).


    Thank you.

    Why don't you ask the author of the book.

    How can we know what the author means when you take a quote out of context and don't provide any reference so that we can see exactly what is shown to you.

    I can only imagine that they are referring to data that are queried directly, "like what", another table, or who was interrogated and manipulated before be inserted.

  • Hello, I want to make an outline of the text that I created.  I started with a blue background.  Then, I created a text and changed the color of gold.  I then put on an image and used the clipping mask to show the image by the text. Problem

    Hello, I want to make an outline of the text that I created.  I started with a blue background.  Then, I created a text and changed the color of gold.  I then put on an image and used the clipping mask to show the image by the text. Problem is it gets rid of color and shows that the peak through the text.  I wanted a draft of the text with the picture.  Is this possible?

    Thank you

    Peter

    You're welcome, Peter.

  • Can I create flyers of club using the 10 Elements? Are able to do software?

    Can I create flyers club post on facebook using the 10 Elements? Are elements software able to do this project? Thank you all!

    jrdakine wrote:

    Thanks for your reply, I'm new to this sort of thing. I wanted to create flyers and my own photos or pictures on the web, Word will be able to handle the graphics or item 10 would be better. Thank you

    This kind of prospectus Im looking to do... Thank you all!

  • Scaling a 2D image without using the zoom factor

    I currently have a large 2D image and several smaller 2D iamges that overlap the magnified image.  The big picture is created with the draw in labview, while smal iamges are created with a png image.  Magnification on the enlarged image is 7, while 2D of png images must be scale par.21 to fit in the big picture properally.  As 2D images are stacked, while the rear image updates sometimes "flickers" through the small images.  To resolve this problem, I can combine images, but it does not work because different zoom factors.  Is there a way to reduce an image without using a zoom factor?  Is it possible that I have to scale the bitmap programmatically?

    Thank you for your time

    Mitchell Wörner

    Your postal code for you, but in the past when I needed to resize an image, resize it GDI built into .NET always worked very well for me.

    http://forums.NI.com/T5/LabVIEW/NET-image-resize-how-to-convert-to-format-LabVIEW-can-use/m-p/219902...

    I have used this in my Show Open VI quick drop

    https://decibel.NI.com/content/docs/doc-31302

  • dirty scan image when using the charger - m225 printer

    use of m225dw printer for 4 months now. scan of the magazine images have vertical lines all over the place in the document.  Please advise how to clean the part of the supply. I don't think I have the same problem when scanning using the glass. Please tell us how to clean the description step by step including feeder (?) for parts, etc.

    The fix is usually very simple...

    When you get the lines while using the ADF documents and not from the scanner glass, it is because there are a few pieces of paper/dust/something in the small drop of glass at the bottom of the glass.

    Lift the cover and you will see this tape from a window, just under the side where the paper feeds.  Where is the scanner parks actually 'see' the paper as it rolls.

    Carefully remove the pieces with a can of compressed air or a brush.  They line up right where the scratches are usually.

    I had this problem with my 8600 before HP and found the answer here on the Forum!

    WyreNut

  • can't see the image captured using the camera

    I captured a picture and now I am trying to display this image, it is very difficult for me to do.

    I created imageTracker and when the image is loaded I am made aware of this in onStateChange, but when I try to display the loaded image is always empty, I changed the imageView size and it will indeed smaller on screen, but still a Virgin.

    I know the name of the file that I give to the imagetracker is ok (adding file://) because if I change it to something other code onStateChange is not called.

    I've been to this simple task for a few hours now so someone help me please if you can.

    void App::onStateChanged(bb::cascades::ResourceState::Type state)
    {
        if(state == bb::cascades::ResourceState::Loaded)
        {
            mImage = ImageView::create();
            mImage->setImage(mImageTracker->image());
            mImage->setMaxWidth(500);
            mImage->setMaxHeight(500);
    
            Page *page = new Page();
    
                page->setContent(mImage);
    
                mRoot->pop();
                mRoot->push(page);
        }
    }
    

    http://supportforums.BlackBerry.com/T5/Cascades-development/imageView-Cascades-noob-question/TD-p/17...

    This thread has code examples on image resizing using QImage.

  • Make Image more using the Web Service and Ksoap2

    Hey all, I was wondering if someone can help me with a problem. I use a .net web service that grows on a collection of person objects when a person runs a query from the blackberry phone. To implement this I'm using ksoap2. In my service, I'll send in a string as a parameter. I returned the collection of people that contain the firstname, lastname, address, race, sex. I also try to send a picture. Now, I got this works very well when you do not include the image settings.  In my class on the side of .net in person my class, I have 'image' public property which is a string. I get the bytes of the image and convert it to a base 64 string:

    MemoryStream ms = new MemoryStream();

    System.Drawing.Bitmap.bmp = new System.Drawing.Bitmap (imagePath);

    BMP. Record (MS, System.Drawing.Imaging.ImageFormat.Bmp);

    p.Image = Convert.ToBase64String (ms, GetBuffer());

    BMP. Dispose();

    Mrs. Close();

    Note: in my outings, I see the 64Encoding string.

    On the side of blackberry, I have:

    Byte [] imageArray = ((person) personVector.elementAt (i)).image.getBytes ();

    EncodedImage = bitmap

    EncodedImage.createEncodedImage (imageArray, 0, imageArray.length);

    gridMgr.add (new BitmapField (bitmap.getBitmap ());

    Unfortunately, my number of vector appears as empty and I keep get get a parse error. As I mentioned before, if I remove ownership of the Image on both sides, it works like a charm.  I tried to use just about everything. Any ideas on how to overcome the image using ksoap? I tried to make the image property in the two classes as arrays of bytes, but he had no success. My problem when you use the byte array was in the class of person on the side of the blackberry for the PropertyInfo, that I didn't know what to use (for example STRING_CLASS, OBJECT_CLASS, LONG_CLASS); in any case, neither worked. What do you suggest me?

    I was able to do successfully the bytes of the image the device in the following way in my seriealize class.

    In the getProperty method, I use the following:

    info.type = MarshalBase64.BYTE_ARRAY_CLASS;

  • I can't insert a line using the function to return?

    Hello

    This doen't work code, do you know why?

    declare
    function my_func (a number)
    number of repetition
    is
    Start
    return number * number;
    end;
    Start

    insert into my_tab values (my_func (4));

    end;


    Moreover, there is not any constraint on my_tab, I'm just wondering, can we use back function in the SQL inset? or is there a problem?
    Thank you 1 million.

    Cant insert statement I use directly in function?

    Not recommended but also a possible way:

    SQL> create table my_tab (i int)
    /
    Table created.
    
    SQL> declare
      function my_func (a number)
        return number
      is
      begin
        return a * a;
      end;
    begin
      execute immediate 'insert into my_tab values (:1)' using my_func(4);
    end;
    /
    PL/SQL procedure successfully completed.
    
    SQL> select * from my_tab
    /
             I
    ----------
            16
    1 row selected.
    
  • No preview image when using the filter flow therefore cannot see the changes I make up by clicking on the window of fluidity.  No way of knowing what is happening to the image while it is happening.

    Re: the fluidity in the last update PS CC filter.  When you use the filters of flow, how can I see the changes that I do while I'm using the filter tools, as I've always been able to do before?  Now, if I use the tool dilation or contraction tool, etc., I can't see the effect of what I did until I click on the window of fluidity and make to the main screen of PS.  This makes the tools unnecessary fluidity.

    Also check if see the background is checked.

  • vision: how to use the structure of the event to the output of the voting structure.

    Hello.

    I make a program of video detection with vision. I use 'County IMAQ objects' to detect people moving and identify if a people enters or leaves through the demarcated areas (Centre and right to left). If someone is detected, the program returns Boolean according to areas.
    periodically, this function repeats and check the image.
    To do my easyier to work, I would rather use the programming event, which would allow me to check the values of the three areas only when one of them evolves.
    problem, the structure of the event only works with orders and property nodes 'value (sign)' and even if I use the "value (sign)" the structure of the event considers the value change even if the terms of the election returns the same value without changing

    is there another way to adapt to a structure of a Boolean result or a County IMAQ function objects event when the beginning of the program made the election?


  • Store/communicate IMAQ image (binary) between the structures of the case

    Hi all

    I am trying to build a VI for a controlled industrial vision system and it has 2 process: first an image of calibration comes a sequence of discrete of images. After that, the user can start and stop the continuous controlled process of machine vision. This process then uses the calibration image to remove some background objects etc..

    As the two processes cannot run at the same time, I programmed it as an event-driven state machine (following this tutorial: https://www.youtube.com/watch?v=RuIN31rSO2k) combined with continuous acquisition.

    My question is how to store and communicate the image of calibration between the structures of the case. It is basically a static image that is generated at the start of a race and then used once during the continuous control loop.

    Now, I tried storing in an IMAQ control with a local variable, but it does not work when I try to read the image. Preference image must be passed the bottom without any interference of the façade. I could probably make it work if I pass on the image in a table and then convert it back, but I want to avoid unnecessary conversions and understand how to manage the images correctly.

    Joined codeblock showing the part where I (attempt to) store the image and how the process of continuous measurement is connected (Yes, I know the live view is wired incorrectly in the scheme of the latter, it was a test to show a colleague).

    Thanks in advance for any help!

    Consider placing the image, the data record in a turn on your main WHILE loop.

  • Display static and dynamic photo using the Structure of the event

    Hello everyone,

    I need to display a static image with an event and then using another event, I need to keep displaying the second photo, while the first is still displayed. Simply speaking, in the attached example, I would like to have the color circle black fixed while I dynamically change the red circle.

    My attempt is shown in the attached VI with the first approach using the shift register and the second using the property node (value). Both do not work. Does not erase the previous red circle, or the black circle also gets deleted.

    I'd appreciate any help in this regard.

    Thank you

    From what I see here, you must have two shift registers, one for each circle you try to draw.  You just update those who need update inside the corresponding event.  Use then Cancatinate string to combine the two images.

    Other things to note:

    Put the terminals of your controls in their case of discipline.  This ensures that you are using the most recent data instead of the outdated data.

    The Stop button event take the changed value.  Yet once, put the terminal inside the event.  This will allow the latch to work its magic.

    Them would like to see photo subVIs RADIUS be I16 instead of DBL.  I recommend that you change your cursors to use representation I16.

  • Problem using the structure returned by the ajax request

    I'll send an ajax request that calls a method in a CFC.  The method executes a query and returns data.  I want to use the option of 'success' of the ajax call to display the return value "myString" in an empty div.  But nothing appears.  Everything else works.  Shouldn't the ajax call back for me "myString" and values "myNumber" which I can then use?  Or do I have the wrong syntax?

    <script src="//code.jquery.com/jquery-1.10.2.js"></script>
        <script>
      function getMyData()  
      { 
      $.ajax({
      type: "post",
      url: "test.cfc",
      dataType: "json",
      data: {
      method: "getMyData",
      city: 'Hartford'
      }
      , success: function(data) {$('#result').html(myString);}
      , error: function(data) {$('#result').html('That failed');}
      });
      $('#anotherDiv').html('Goodbye');
      }
      </script>
    </head>
    <body>
    
    <a href="javascript:()" onclick="getMyData();">
       <div>Click here</div>
    </a> 
    
    <div id="result"></div>
    <div id="anotherDiv"></div>
    

    <cfcomponent>
      <cffunction name="getMyData" access="remote" returntype="struct" returnformat="json">
        <cfset var stcRetVal = StructNew()>
            <cfset stcRetVal.myString = "Hello">
            <cfset stcRetVal.myNumber = 75>
        
            <cfquery datasource="#application.mainDS#">
      insert into test 
                (city) 
                values 
                (<cfqueryparam value="#arguments.city#" cfsqltype="cf_sql_varchar">)
      </cfquery>
    
    
      <cfreturn stcRetVal>
      </cffunction>
    </cfcomponent>
    

    If your function should return you structure JSON like:

    {

    'myString': 'Hello,'

    "myNumber": 75

    }

    When you succeed, you do:

    success: {function (data)}

    $('#result').html (myString);

    }

    whence "myString"?  All that gets you back is in this object 'data '.  So, you might be able to do it instead.  Try to console.log (data) inside your success Manager.

    success: {function (data)}

    $('#result').html (.myString data);

    }

Maybe you are looking for

  • Firefox can't open after the new Update Version 36.

    The problem is stated above. So I can use the version 35.0.1 without any problem. As soon as I update for Firefox 36, he will not simply open.By will not open I mean when I double click the icon, it could register in the Task Manager with about 2.6 k

  • delete a blank page

    Using 'Pages', I created a number of files that are being grouping to produce a newspaper. These files have blank pages at the end when my edit removed some content. How to remove these blank pages without affecting those I want to remember?

  • Vodafone Dongle will not be in place?

    I recently ordered a Vodafone Dongle on a business contract to use wth my Toshiba NB200-10Z running on Windows XP Edition version 2002 Service Pack 3 family. When I connect the dongle it does not connect and the following appears: -. "THIS INSTALLATI

  • Failed to read the scanned text

    scan, but in a text that I can't read. How to change that? It says Rich Text.

  • How to release the RAM without an application

    release the RAM without using an app? OX El Capital has a feature or not to release the RAM?