How do I make a page item transparent?

I want to be able to set the opacity on a specified page item. I've tried two approaches, but one of them won't compile and the other gives me link errors.<br /><br />Can anyone tell me why I'm getting these errors? And does anyone know of a way to set transparency? (BTW, I can't use a suite since the page item won't be selected.)<br /><br />Thanks.<br /><br />Bob<br /><br />Approach 1:<br /><br />  // This statement causes the following error in InterfacePtr.h(442):<br />  // error C2440: 'static_cast' : cannot convert from 'IPMUnknown *' <br />  //    to 'IGraphicStyleAttributeBossList *'<br />  InterfacePtr<IGraphicStyleAttributeBossList><br />    attrList(uidRef, IID_IGRAPHICSTYLE_OVERRIDES);<br /><br />  ASSERT(attrList);<br />  Utils<IXPAttributeUtils>()->AddBasicOpacityAttribute(0, attrList);<br />  UIDList items(uidRef);<br />  ErrorCode ec =<br />    Utils<IXPAttributeUtils>()->ApplyBasicTransparencyToPageItems(<br />      attrList, (const UIDList) items);<br /><br />Approach 2:<br /><br />  // This statement causes an unresolved external symbol link error for<br />  // DoCleanup()<br />  IXPAttributeSuite::AttributeList myList;<br /><br />  // This statement causes an unresolved external symbol link error for<br />  // push_back()<br />  myList.push_back(<br />    IXPAttributeSuite::AttributeTypeAndValue(<br />      IXPAttributeSuite::kBSOpacity,<br />      IXPAttributeSuite::AttributeValue(PMReal(0))<br />    )<br />  );<br /><br />  ErrorCode ec =<br />    Utils<IXPAttributeUtils>()->ApplyAttributesToPageItems(<br />      myList, UIDList(uidRef));

I'm having trouble figuring out how to use IXPAttributeFacade. Can you provide a code snippet please, with all the necessary headers.

Similar Messages

  • How can I make a bullet item with a custom Bullet character such as a check mark ?

    Hi Everyone,
        I'd like to make a list with Bullets, but I can find a bullet character which I am looking for. Especially I'd like to make Bullet characters available in PowerPoint, such as check mark, and others. How can I make a bullet item with a custom Bullet character or picture such as a check mark ?
      Regards
      Cem

    Cem777 wrote:
    Hi Everyone,
        I'd like to make a list with Bullets, but I can find a bullet character which I am looking for. Especially I'd like to make Bullet characters available in PowerPoint, such as check mark, and others. How can I make a bullet item with a custom Bullet character or picture such as a check mark ?
      Regards
      Cem
    Search InDesign help for "change bullet characters" (without quotes,) and use the technique described there with the Zapf Dingbat font as suggested by Peter S.
    You can also use InDesign's glyphs panel (Window > Type & Tables > Glyphs) to scroll through all the character sets in all the fonts that InDesign has access to on your system, to look for check mark characters.
    After you have created a paragraph style that applies the customized check-mark-bullet that you want, every time you apply that paragraph style, the custom bullet appears. So, while it's a few steps to set up the style the first time, from then on it's automatic.
    If you really need a particular bullet that's not in any font you have, you'll need to search for fonts that have check mark characters and buy one or use a free one. Caution: free fonts aren't always created to the same strict standards that commercial fonts from reputable font foundries observe; free fonts sometimes cause problems when printing or exporting to PDF. You can search Google for "fonts with check mark" (without quotes.)
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • HT4283 How can I make my pages docs created on my iPad totally private and secure? I am a psychotherapist.

    How can I make my Pages doc on my iPad totally private and secure?
    <Email Edited by Host>

    No.

  • How do you make a page scroll horizontally with mouse wheel?

    As the title says, how do you make a page scroll horizontally with mouse wheel in edge animate?

    This should get you there
    http://css-tricks.com/snippets/jquery/horz-scroll-with-mouse-wheel/
    1. Load the mousewheel min script via CDN (jquery-mousewheel - cdnjs.com - the missing cdn for javascript and css)  into the Scripts Panel;
    2. Add the provided snippet into your Stage > compositionReady event handler.
    hth
    Darrell

  • How can I make new pages software spellcheck a selection like in appleworks?

    How can I make new pages software spellcheck a selection like in appleworks?
    I just installed pages a new download from apple store.
    1. I cannot find any way to activate a spellcheck for a selection in a document.
    2. I want to elemenate a red line under a word it doesn't like the spelling of.

  • How do I make a photo a transparent photo in photoshop

    How do I make a photo a transparent photo in photoshop

    Try this:
    - go to the 'Opacity' slider on the Layer panel and slide it to the left until the picture has the transparency level you wish to see.
    - SAVE AS your picture (change the 'Type' to a Portable Network Graphic .PNG).
       .PNG file types preserve the transparency level of your photos.
    Hope this helps!

  • How do you make new pages from a page so they have the first page in their address.

    I am talking about something like the adobe site.
    Like www.adobe.com/support/dreamweaver/whatever
    How do you make a page be under another like the dreamweaver page is a link from the support page.
    My goal is something like this.
    I have www.architecture.com/profile
    I need
    www.architecture.com/profile/Commercial
    www.architecture.com/profile/Residential

    If im understanding you correctly, you want the folder to have an automatic landing page. Ex. If your folder is
    "profile" you want the visitor to see the first profile page when they visit www.yoursite.com/profile. Correct?
    If thats what you need, name the page you want your visitor to see when they go to ex. www.yoursite.com/profile "index.html" or "index.php" ad save that file in your "profile" folder. When you're visitor will go to www.yoursite.com/profile the page you named "index" will open.
    Let me know if you dont understand or if its not what your trying to do.

  • How can I make lined pages in pages

    how can I make lined pages in Pages

    Well I just spent some time searching for that and found one round-about way:
    Open a document and choose Table in the toolbar.
    Open Inspector and choose Table.
    The default on mine was 3 rows and 3 columns - I changed that to fill up the page with horizontal lines and chose 1 column in the page width.
    That resulted in this (partial screenshot):
    That may not be what you wanted, but it's the only thing I found.
    FWIW, why do you need lines in a word processing app?

  • How can I make my pages a smaller size after completing my work?

    I have finished making some newspaper styled pages, however they are too big (due to poor calculations). How can I make  my pages  smaller, or to be the size I want?
    Thanks!

    As DOD and Peter have suggested, Layout Adjustment is probably the way to go. You will have to do some manual adjustments, but this tool can help save you some time.
    If you are using CS5 or earlier this explains the process:
    For CS6 you can use the Liquid Layout menu to do this:

  • How do I make a page marker so the module will resume from tha last page, including quiz slides.

    How do I make a page marker so the module will resume from tha last page, including quiz slides.

    Whow that is a long time ago. If I remember well, even then bookmarking was enabled by default, Resume Data were sent. Did you try it out on the LMS? Because even though all claim to be SCORM compliant, they don't always have all the functionality

  • How can I make a page transparent in InDesign CS4?

    Hello and thank you all for your help in advance!
    I would like to make a page transparent in InDesign.
    When the magazine is printed it will be an overlay page with font printed on it where you can still see the image underneath. I was wondering if this is possible.
    I'm not quite sure if it has a technical name to it or not so I uploaded a picture of what I'm speaking about to Tinypic.
    http://i46.tinypic.com/29m1vk3.jpg
    (routes and lines on top on the semi-transparent page, map on next)
    Thanks for your help!
    Nora

    will these subjects actually be printed on separate pages or do you want to overlay some images on one page with type on the same page?
    If the former, add and use layers; if the latter design one page and save it as a pdf. Place that pdf on a lower level layer, lock the layer, and work on a higher layer.

  • How to Set Value of page item?

    String dimLayoutNew[][] = new String[3][];
    dimLayoutNew[0] = new String[1];
    dimLayoutNew[1] = new String[1];
    dimLayoutNew[2] = new String[2];
    dimLayoutNew[0][0] = measureString;
    dimLayoutNew[1][0] = strDimension1;
    dimLayoutNew[2][0] = strDimension2;
    dimLayoutNew[2][1] = strDimension3;
    Boolean applyNewLayoutFlag = tableQuery.layout(dimLayoutNew);
    In this Layout,How to set the value of strDimension2 page item to one member of strDimension2?
    thanks!

    what about this - look up the javadoc to get more >info ....You would have to admit, while BI Beans are great, the documentation is a little light.
    int targetHPos[] = targetDataAccess.getEdgeCurrentHPos (2);
    now apply the order to the targethpos as you like...now, once you make your changes to the targetHPos, how does one actually make the change to the Query object (i.e. what method does one need to call to pass the new targetHPos in??) I looked through the JavaDoc and didn't see a SetCurrentHPos or equivalent function in the DataAccess Class. Is there one?
    Also, what role, if any, should the SetCurrentPage method of the query object play if I'm not using it correctly?

  • How do I make top menu item unclickable but drop downs are clickable?

    I have drop down menu with the top menu item titled "Renderings" and the drop down from that are serveral types of renderings. I don't want the viewer to be taken to a page called "Renderings" when they click that, but I do what them to choose one of the drop down items. How can I make the top most menu item "Renderings" non-clickable? Thank you!

    Right mouse click on the top level page in  your plan view and then mark it as 'Include Without Hyperlink'

  • How can I make a FlashAlbumExporter background transparent?

    I really like the very cool FAE (as suggested on this most excellent forum) but the gui offers no choice as for background opacity. A little search on the net reveals a few ideas but none of them seem to work. I am using the following iframe code in iWeb:
    <iframe src=
    "http://www.bostruyephotos.com/Paso_Robles/index.html"
    style="width:1000px; height:900px;
    border-width:0px;
    border-color:#990033;
    border-style:solid;"
    scrolling="auto" >
    </iframe>
    I don't know if the bg transparency is controlled in this iframe code, in the index.html file created by FAE or in the xml file created by FAE. So far I have tried:
    Remove the background-color: #181818; from the index.html didn't make any difference.
    Adding <bgcolor transparency="0"> in the xml made simpleviewer not display at all.
    Another web site was discussing using html in the HTML snippet widget instead of iframe and it seems to address the transparency issue. But it seems rather old and is setup to use a movie instead of a photo album so I'm not sure how to convert it. Here is that code:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#v ersion=6,0,40,0"
    WIDTH="700" HEIGHT="700" id="MyMovieName">
    <PARAM NAME=movie VALUE="MyFlashMovie.swf">
    <param name="wmode" value="transparent">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=base VALUE=".">
    <EMBED src="MyFlashMovie.swf" quality=high WIDTH="700" HEIGHT="700"
    NAME="MyMovieName" ALIGN="" TYPE="application/x-shockwave-flash" wmode="transparent" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" base=".">
    </EMBED>
    </OBJECT>
    Any idea how I can make this bg transparent so my bg will show behind the photos instead of the default dark grey?
    The current version is here in case that helps:
    http://www.bostruyephotos.com/Gallery/Cruising.html
    Thanks for any help.
    Bo

    If that's what you're doing, then just turn off the visibility of the layer that you made the selection on - most likely the BG layer by clicking on the eye icon in the layer's pallet.  You change the bg layer, as I mentioned above, and after you make your selection, click on the add layer mask icon in the layer's pallet,  This will add a layer mask with your selection.  If you hold alt/opt while doing this, it will create a inverse layer mask.

  • How do you populate a page item in apex with a value read from excel

    Dear All
    I am working on application where I am uploading a csv file in oracle apex. I then need to access a value in Cell B2 of the csv file and populate a page item called
    :P2100_AUTHORISATION_ID with this value. Many of the examples I have found upload the data using v_data-array into a table but I don't need to do that I just need to get the value from the csv file and then display additional information about the file allowing the user to either or continue or cancel the request to upload. I am running into a small problem that I can't explain and wondered if anyone had any ideas.
    Here is the code I am using to try and populate and item called :P2100_AUTHORISATION_ID but when I poulate the item the value is always 0. But if I replace the line :P2100_AUTHORISATION_ID:= v_data_array(2) with a raise_application_error(-20001,v_data_array(2)); The correct value is displayed in the eror. Any Help would be appreciate and I apologise in advance if this akes no sense at all:-)
    declare
    --variables needed to read excel data from flow files
    v_blob_data BLOB;
    v_blob_len NUMBER;
    v_position NUMBER;
    v_raw_chunk RAW(10000);
    v_char CHAR(1);
    c_chunk_len number := 1;
    v_line VARCHAR2 (32767) := NULL;
    v_data_array wwv_flow_global.vc_arr2;
    v_rows number;
    v_sr_no number := 1;
    begin
    --------------------------------------get file info from www_flow_files
    select blob_content into v_blob_data from wwv_flow_files
    where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER) and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    v_blob_len := dbms_lob.getlength(v_blob_data);
    v_position := 1;
    --Read and convert binary to char
    WHILE ( v_position <= v_blob_len ) LOOP
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char := chr(p_bl_wd_data_entry.hex_to_decimal(rawtohex(v_raw_chunk)));
    v_line := v_line || v_char;
    v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved
    IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities </span>
    v_line := REPLACE (v_line, ',', ':');
    -- Convert each column separated by : into array of data </span>
    v_data_array := wwv_flow_utilities.string_to_table (v_line);
    --get filename from wwv_flow_files
    select filename into :P2100_FILE_NAME from wwv_flow_files where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER) and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    :P2100_AUTHORISATION_ID:= v_data_array(2);
    -- Clear out
    -- v_line := NULL;
    --v_sr_no := v_sr_no + 1;
    END IF;
    END LOOP;
    end;
    Best Regards
    Lynn

    Hi Joel
    Continuing on from my last question, there was something else I want to ask if you dont mind.
    Now that I have the v_data_array(2) value in a page item I would like to use as an input value to a procedure to return some information I need displayed on the page. To do this I need to convert it to a number but when I try to so this I get the following error
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    When I use the wwv_flow.debug that you told me about it is outputting a value '4851 ' so it look like there may be some sort of asii character causing a problem. I have tried using trim(v_data_array(2)) and ascii(v_data_array(2)) but nothing seems to work.
    Would you know how to convert a v_data_array value to a number? At the moment I am attemting to do it withiin the same code I attached in my earlier post but I have replaced the assignment of :P2100_AUTHORISATION_ID with the code below where P_BL_WD_DATA_ENTRY.getauthid is the procedure returning the values I need.
    :P2100_AUTHORISATION_ID:= P_BL_WD_DATA_ENTRY.getauthid(to_number(v_data_array(2)));
    Thanks
    Lynn

Maybe you are looking for