Why does the cell style index returning wrong CellFormat value when parsing excel cells using OpenXml SDK?

Consider a General format cell having a value of 39.95. When I fetch the CellFormat of the cell it returns wrong cell format-
CellFormat thisCellFormat = ((CellFormat)cellFmts.ChildElements[(int)thisCell.StyleIndex.Value]);
int fmtId = Convert.ToInt32(thisCellFormat.FormatId.Value);
The value of fmtId returned is 1, and in some cases 38, where it should be 2 or 39.
This issue is only for General format cells, I am getting correct id for Number format cells.
Below is the
Standard ECMA-376 Office Open XML File Formats specified set of implied cell formats for reference-
ID Format Code
0 General
1 0
2 0.00
3 #,##0
4 #,##0.00
9 0%
10 0.00%
11 0.00E+00
12 # ?/?
13 # ??/??
14 mm-dd-yy
15 d-mmm-yy
16 d-mmm
17 mmm-yy
18 h:mm AM/PM
19 h:mm:ss AM/PM
20 h:mm
21 h:mm:ss
22 m/d/yy h:mm
37 #,##0 ;(#,##0)
38 #,##0 ;Red
39 #,##0.00;(#,##0.00)
40 #,##0.00;Red
45 mm:ss
46 [h]:mm:ss
47 mmss.0
48 ##0.0E+0
49 @

The purpose of this forum is to support the Open Specifications documentation. You can read about the Microsoft Open Specifications program here,
http://www.microsoft.com/openspecifications/en/us/default.aspx
The library of Open Specification documents is located here,
http://msdn.microsoft.com/en-us/library/dd208104.aspx
It doesn’t appear that you are implementing one of the protocols cited.  Your question may be more applicable to MSDN's Microsoft Office for Developers/Open XML Format SDK forum at
https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=oxmlsdk
Bryan S. Burgin Senior Escalation Engineer Microsoft Protocol Open Specifications Team

Similar Messages

  • Why does the name change to my dad's name when I use his credit card for downloads?

    I have an iPod touch. I have my own apple ID and icloud account. Why does the name change to my dad's name when I use his credit card for downloads? Is there a way I can have my own account and use my dad's card without having his name on my photostream and icloud?
    I went on icloud.com and changed my name but it changes the credit card name to mine as well so I can't get apps unless its under his name, but it confuses everyone i share photo streams with, as there are two of my dads?
    My aunt is having the same problem with her photostream, so I know its not only me.

    I have this problem and it's annoying.  Plenty of people in this world do not pay for their own stuff!.  So i have 5 kids.  All there accounts show as my name when people add them for Photo streams etc etc.  This is ridiculous.  Why not seperate billing address / credit card details to the name of the person on the account?  Why do they have to be the same?

  • Why does the ipod touch in italy cost 329 euro when it should cost 234 euro?? its such a rip off in italy!

    Why does the ipod touch cost 329 euro in italy when it should cost 234?

    Why do you think it should cost exactly the same everywhere?
    Almost no product cost exactly the same everywhere.

  • Why does the App store say 'download' to OSX Mavericks when i have already downloaded the update, and restarted the computer? I can't find Mavericks icon on the dashboard or launchpad either! Help!

    Why does the App store say 'download' to OSX Mavericks when i have already downloaded the update, and restarted the computer?
    I can't find Mavericks icon on the dashboard or launchpad either! Help!

    It sounds like you've installed Mavericks.  You can confirm this by clicking on the Apple located at the top left of the screen and choosing "About This Mac" from the menu.  You should see a window appear with the text "Version 10.9.1" near the middle.
    If it says "Version 10.9.1", then you've installed Mavericks.  It still says "Download" in the App Store because you can still download the operating system after installing it.  This is useful if you want to download it for a friend, or create a USB boot drive.
    Morgan

  • Why does my menu bar still display yesterdays time/date when i have been using it all morning?

    why does my menu bar still display yesterdays time/date when i have been using it all morning?

    Incorrect date or time displayed in various applications in Mac OS X

  • Why does the tab bar on my iPad 2 disappear when I swipe down? How can I lock it in place?

    Why does the tab bar on my iPad 2 using IO8 disappear when I swip down? Its annoying. I have to tap the top of the screen to view my open tabs.
    why did Apple switch the position of the bookmarks icon and the favorites icon. Now I tap the wrong one.

    There isn't a setting to stop the tab bar automatically hiding (or I haven't found one), and as to why the icons were moved I don't think that Apple have said. If you want to leave feedback for Apple then you can do so here : http://www.apple.com/feedback/ipad.html

  • Why does the App Store asks for wrong password

    Hi,
    I'm travelling a lot between the U.S. and Europe, which causes that I have 2 Apple IDs.
    So there are some apps I purchased with my US-Apple-ID, and some apps I purchased with my second apple ID.
    If I wanted to update my apps from both accounts it first asked my for the password of my 1st Apple ID, then the one of my second.
    This worked fine the past two years.
    Now it only asks me for one of them, but still wants to update all of my apps. Finally it says that this app has not been purchased before, but I can purchase it know by tapping "ok". (or something like this). I already bought it. why does it ask for the wrong password of the wrong apple id, I didn't purchase it with?
    Here are the steps I already tried:
    1. restarting my device
    2. Sign off and sign back in with my ID I purchased it with. -> Then tapping "Update All" OR just "Update" at a specific app stills asks me for the password of the wrong ID. (I did this with the appstore app and the settings app->AppStore)
    3. sign in with the ID I purchased it with, then search for the specific app and hit "update" (where it usually says "buy", or "free" if not installed yet). It still asks me for the wrong apple id.
    4. I'm not syncing my apps with iTunes anymore, just music and my photos. I don't want to sync my apps because I would have to reinstall all my apps again and loose all of it's data.
    5. I still can buy new apps with both accounts and then it's still asking for the right ID, I want to purchase it with (the one I'm currently signed in).
    6. Deleting the app, then sign in with the right ID, search for the ID and redownload the new version worked, but in this case all my app data is lost.
    7. In App Purchases are NOT working, it asks for the right password, but then it's says that I have to buy the app again. ?!?
    Do you have any idea, why this happend or why I'm unable to update my own apps?

    There is a 15-minute window. After 15 minutes of inactivity, you will again be prompted for the password next time you try to purchase/download something.

  • Why does the new itunes not pull up my iphone when connected to the computer?

    I just downloaded the new Itunes 11 on my computer and when i plug my phone in it does not bring it up in itunes. it was trying to bring it up in real player so i uninstalled that and it still wont show in itunes. i have restarted my computer and phone multiple times as well ad uninstalling and reinstalling itunes and nothing is working.

    Thanks for your input but as i have said it is a Motorola V3i (The i means itunes compatable). I have uninstalled and re-installed every old version of itunes there is and it works perfect from itunes 5 up to itunes 9 then it goes wrong and does not recognise my device allowing me to sync. I am happy with itunes 9 but it will not allow me to keep it without updating it to itunes 11. The phone is recognised by the comp and appears in devices. Any further ideas will be welcome. Thanks

  • Why do the colours from Adobe Color Theme creation change when I try to use them?

    I've been exploring the Adobe Color Theme creator in InDesign. There are the three tabs: Create, Explore, My Themes.  In the create tab I can create a theme of colours, get the combination just right, and then save my new theme.  However as soon as I save any colour out to the swatches, the colour changes! It's driving me nuts.
    [Original Colour]  -Colour it comes out as-
    [green turquoise] -prussian blue-
    [strong, bright red] -darkish orange-
    [warm purple] -faded dark mauve-
    My best guess was that maybe the colour profile of the document was set to CMYK and that the colour themes work in RGB, but as far as I can determine it's just "North America General Purpose 2" and the Working Spaces include both RGB and CMYK. Therefore I'm stumped. I do not have the expertise to figure out what is going on and these are significant colour changes to have a really strong, vibrant colour palette turn into something much more muted.
    And if this piece of information is of any use, my yellow doesn't seem to change at all.
    Any ideas please?  I've tried searching for it, but maybe I'm not putting in the right combination of keywords. Hopefully I'm just being obtuse and someone will tell me to put a checkmark in a box somewhere.

    There are some slight value changes between the Theme and the Swatches, but we're only talking a change of 1 or 2 and so the colours appear to stay true now. Total pain to have to do this extra little step every time. =)
    a huge, glaring, and sloppy problem which really ought to be fixed by Adobe pronto.
    You can batch change the color mode of swatches if you select all of the swatches and double click them. Or, you can simply leave the Lab values and let the conversion to the correct CMYK space happen when you export to PDF.
    I'm guessing the fix won't be coming soon. The original Kuler app had the same color management problem. It's hard to see how they will fix it and keep Color Themes as a cloud based web app.
    When you convert the Lab swatches the CMYK values you get will depend on the document's assigned profile, so if you make two document's with different profiles assigned you'll get different CMYK values when you convert the Lab values. Here is US SWOP vs US SNAP
    Newsprint
    SWOP

  • Why does the drag and drop context menu always popup when dragging files between windows explorer instances ?

    I have fusion 7.1.1 on an iMac 27 inch retina. 32GB ram of which 6GB assigned to Fusion and 2 cores. Windows 7 Home Premium installed. Mostly working fine but a few funnies. First and foremost: Whenever I drag and drop between instances of windows explorer, I get the little pop-up context menu offering me Copy Here / Move Here etc.  etc. I have never known Windows to ask me what I want to do when I drag stuff - why is this happening ? I have scoured the net for info on this and found nothing. Please note that this is NOT associated with the Start Menu (For which I found a zillion solutions to whatever that problem is). Also, It is NOT to do with stopping drag & drop and Context menus: yes, I know how to do that but that is NOT what I'm asking to get rid of. This may not be related but I have also had to set my Internet Properties / Explorer settings / Launching-applications-and-unsafe-files to "Enable" to prevent every shortcut I create causing a "Do you want to run this ... ?" message every time I click on them. Doing this has caused WIndows 7 to turn into a finger-wagging safety-nanny glaring at me over its demi-lune spectacles.

    Ok ... fixed
    Here is the way http://forums.creativecow.net/thread/3/944828
    In your sequence, on the left most column you should see a V1 (left of the Lock Track button). Click that to make sure its highlighted, it allows you to drop video to the sequence.

  • Why does the imessage sign in always kick me off when I try to enter my password?

    Every time I tried to sign in to use imessage, as I am entering my password it kicks me off and tries activiating. Why is it doing that and how can I fix it?

    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Then reset: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • Why does the background color in a saved pdf disappear when opened in Acrobat Pro 9.0 but appears when opened in Adobe Reader?

    Does someone know why this happens? BTW it only started recently.

    Hi bozieone,
    Does this issue occur on any test pdf created as well?
    What OS are you using?
    Regards,
    Rave

  • Why does the export quality of my vector image degrade when effects are applied?

    Hi guys,
    I am unsure as to where I am going wrong...
    Basically, I created a patterned background on AI and imported it straight into AE, where I set keyframes for it to rotate. I added fractal noise (got my desired effect).
    On separate layers in the same composition I simulated ccParticle World, for which I created a shape layer to link to the texture - I added 'glow' to this. I also added another ccParticle World layer using 'faded sphere' to which I also added 'glow' and altered the opacity etc.
    My compostion is HDTV 1080 25, square pixels.
    I have Production Premium CS5.
    I am trying to export the video as Windows Media: HDTV 1080p 25 HQ.
    When I export the video in HD (using Media Encoder) the vector background from AI is slightly grainy and not smooth and the edges are almost pixelated. I have tried exporting the rotating background on its own without any other layers and it looks fine - it is just when I make the other layers visible. It looks perfect in AE too even with the layers visible: it is just when I export the whole composition.
    H.264: 1080p & 720p HQ seem to work fine, but I really need the export to be WMV to be compatible with certain programs myself and clients are using.
    I have got the continuously rasterize box checked.
    Am I missing something?

    Yes, I think so to the first one.
    No to the second. Please could you explain if its not too much trouble?
    How do I render out a lossless movie?
    Like I mentioned above, H.264 actually works fine.
    Thank you and sorry for my ignorance. I'm still getting to grips with the software.

  • Why does the iphone say it has 16 gb but when i plug it in it shows 26.2 gb with only a capacity of 13.4gb?

    ok guys i have done my fair share of reading and i am so lost. on my box it says i have a 16 gig iphone 4 verizon white. my question is everytime i plug my phone in it pops up with a little tiny AutoRun icon and i hit open files. well it shows that i have 13.4gb of 26.2gb. but in iTunes it only shows my phone with 13.4 with 12 available for apps and music. why is it that my phone realy has 26 gigs and i can only access half of that?
    Is my phone realy using 13gb just for software? that is way to much for me. any body else see this, what about any fixs or what not?

    There's no way a 16GB model phone has more than than capacity.  I have no idea what you mean by AutoRun icon.  Is that an app you downloaded?  Did you jailbreak?
    The "advertised" capacity of all storage devices is based on a decimal definition of "Gigabytes" where 1 GB is defined as 1,000,000,000 bytes.  However computers see and calculate storage based on binary definitions where 1 GB = 1,073 742,824 bytes.  Thus a 16 GB "decimal" device is only 14.9 real, binary gigabytes.
    Also, there are additional loses due to formatting overhead and the iOS.  RAM memory is separate and not used from the supplied flash disk.

  • Why does the Creative Cloud app steal focus multiple times when it starts up?

    I am running Windows 8.1. When my system boots up, I've set Creative Cloud to launch at startup. I like to have the CC app running in the background so I can keep all of my apps up to date.
    The problem is that the CC app steals the operating system's focus multiple times when it launches. For example, right after I log in to Windows, I'll usually launch Chrome. If I start typing something in the address bar, I am interrupted halfway through as the CC app launches and steals the focus. So then I reset the OS focus to Chrome and start typing again. And then CC usually steals the focus again after a couple of seconds.
    I've verified that it is CC by disabling launch-at-startup. Doing this makes the problem go away.
    This is completely obnoxious and unnecessary. If an app launches in the background, it shouldn't steal the focus once, let alone twice. This is software development 101. We are paying good money and should not have to deal with problems like this.

    Here you go:
    https://creative.adobe.com/share/a943d4fa-a03e-4f8f-a49e-d22019257dea
    David

Maybe you are looking for

  • Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC

    Dear experts,      I got an error while creating a process order.System allowing to create a process order after saving througing an error    " Express document "Update was terminated" received from author "GLP Developer" *'Error Info...   00 671: AB

  • Upgraded to 7.0.2

    I just upgraded 7.0.2 on my new mac mini CD 2GHZ. As per my previous mac mini my iphoto library is on an external HD which worked fine under 7.0 or 7.0.1 (didn't really look). As soon as I launched 7.0.2 no pictures shows 99 when it 1st launches no t

  • Spellchecker doesn't work correctly in WordPress

    The spellchecker will stop showing misspelled words when editing a post in WordPress. Here is a video of this happening: https://www.youtube.com/watch?v=_S2NZxjh2B8&feature=youtu.be It may happen in other applications as well but I really only use th

  • Vertical blue line won't go away ANYONE ELSE HAVE THIS ?

    I have a vertical blue line on my MBP display, only one pixel thick but all the way top to bottom. Location-wise, in the finder menu the line runs between the 'e' and 'l' of the 'help' option - about 4" from the left of the screen. The problem persis

  • Extra space below stacked item groups

    Hi A form that whose all columns, except four at the top, are distributed in 4 stacked item groups (using native tabs) is being generated with a extra space below the item groups tab canvas. The space is not inside the tabs themselves, but below the