| Administrator | Announcing: WSS3Workflow Tools on Steroids | | Cool stuff Ard! I look forward to getting the code some production time :) |
| | Announcing: WSS3Workflow Tools on Steroids | http://www.ricoh.nl | Wouter,
We're very curious and also very willing to test the framework. Soon in action at Ricoh! |
| CODE-COUNSEL\wouter | Embedding repeating elements in a schema-mapped document | http://blogs.corp.code-counsel.net/wouter | Hi David,
it depends on your goals. If the document should be editable later on, whether there are repeating elements, and so on. but for this scenario I do prefer custom XML instead of sdt.
Wouter |
| | Embedding repeating elements in a schema-mapped document | | Thanks for follow up post being done so quick. This is good. By the way do you favor the <customXML> tag as used here over the <sdt> content controls approach, for handling tables that can have an unknown or variable number of rows? |
| | Embedding simple values in a schema-mapped document | | Please do follow up asap with your follow up post for schema mapped tables. :) |
| | Open XML SDK vNext | | Microsoft always make trouble |
| | DevDays 2008 | http://www.leonmeijer.nl | Hi Wouter. When I download the demo's I get 'corrupt' ZIP-files. I had the same issue with my SharePoint. In my case this was caused by GZIP compression in IIS. Turning off fixes the problem.
Regards, Leon |
| | Such silence | The Requirements Counsel | Hey Wouter,
This happens to everybody once in a while.
I have not blogged for a while too.
But now I got this fine idea for a new name for my weblog (as I had to explain the hij2mc.wordpress.com over and over).
As I'm all into Requirements, I kind of liked requirementscounsel.wordpress.com.
For some reason, I'm not sure whether you like the idea of another Counsel in the country, so I'll just ask you right here!
Looking forward to your answer,
Harry Nieboer |
| | Business Data Catalog and Document Information Panels – EOF Issue resolved | blog | Hi Wouter,
the workaround works like you desribed, but when i enter a value in the property field that is copied directly from the database server i get the error "Could not resolve specified value" ...
ps: how do you debug the javascript here?
|
| | Business Data Catalog and Document Information Panels – EOF Issue resolved | | Thank you so much for this workaround. There are quite a few people out there looking for this. Now if Microsoft will take notice and fix this obvious bug. |
| | Why using a single style container is a very bad thing | Bart's home page | Regarding the different capabilities of different parts of a format, I think that it would be useful for a standard to specify that e.g. spreadsheets shouldn't have to support certain layout settings. I do think that having entirely separate formats for the layout (DrawingML versus VML/WordprocessingML layout) is just ludicrous. This would have been much better done using a single base structure and per-situation limitations on what is allowable and what isn't. At least that gives implementers the choice of using the same framework to process both types of layout. The way it's done now, you have to do everything twice, for no good reason. For example, the main difference between WordprocessingML text and DrawingML text (apart from being able to use styles) seems to be that DrawingML puts everything in attributes and WordprocessingML puts everything in nested tags but the tags in WordprocessingML have the same names and content as the DrawingML attributes, so it's really only a needless structural difference! These kinds of choices reek of design-by-multiple-committees-that-aren't-talking. :-( |
| Administrator | Why using a single style container is a very bad thing | | Thanks for all the responses!
On the note of it being an application deficiency, I fully agree. In the end there is nothing wrong with ODF, but with the implementation of it. To me this is essential. Even though we can have this holy grail of document formats, in the end it is the *application* that needs to implement it.
This also touches the issue of having a single style container for all types of formatting used throughout applications such as Calc and Writer. In the end, it is difficult to implement all notions of the format, especially in the case of generic style containers. I know for a fact that just about everything you can put in Open XML gets rendered, not forgotten (if the future will be the same, I don't know). But I also know that Excel doesn't implement the same formatting cabilities as Word, and that it will be difficult and time consuming to add this.
To me it is just a big indicator that each file format is an application-specific ordeal, focussed on a single main app (OOo for ODF, Office for Open XML) while some generic features do exist (all formats have a paragraph), and a great indicator that it is a good thing to have more than one standard for enterprise documents, with distinct sets of features.
I always wonder, if there is one holy grail of formats, what motivation do you have to implement new features. You either must go outside of the defined spec (and be called evil), or you need to stick to the spec, which blocks your innovation.
All in all, I fully agree, it is not ODf, but OOo. Thanks for all the comments. |
| | Why using a single style container is a very bad thing | Bart's home page | I see now that in one of my earlier comments, the text <A1> has gone missing from the formula =<A1>+3. |
| | Why using a single style container is a very bad thing | Bart's home page | I think it all depends on how you define "ignore". I think most applications will convert input formats into their own internal data structures, and convert it back when outputting. In that sense, the result of a load + save operation is not technically the same document. You can only expect something to be retained if you expect the program to edit the document in-place, keeping it technically "the same document". But almost no program does that -- and if it does, it does so only for one file format. |
| | Why using a single style container is a very bad thing | Implementation flaw | It does indeed look as if it is an implementation flaw and not something in OOXML as such (please don't make the mistake of Stepháne's and conclude something - wrong - about the format based on the implementation of it.
However - it sheds some light on the issue that OpenOffice throws away information that it doesn't understand. If I were to speculate on this it could be that OOo loads the content of the document into the internal object model of the application suite - and if it has not implemented kerning in spreadsheets, there is no place to "park" this information ... and hence it is lost.
I seem to remember something in the OOXML-spec that a conforming application should simply ignore valid content that it doesn't understand. I think this would go a long way towards avoiding the mess you describe here. |
| | Why using a single style container is a very bad thing | Bart's home page | Something I forgot to mention is the use case for wanting spreadsheets to act like word processor tables. In my company, we often use spread sheets as a kind of "wide word processor table", i.e., we use it to keep track of, for instance, work items with lots of notes etc. We don't need the "paging" behaviour of word processors, but we do want to be able to use all of the markup that is available in word processors, because each cell is a section of rich text notes. |
| | Why using a single style container is a very bad thing | Bart's home page | I agree that it's nasty that OOo Calc apparently converts the document into an internal format which cannot represent markup that is part of the standard.
What I do like about it, is that ODF has only a single way of representing text, and text styles. I am currently working on an OpenXML converter for my company's application, and the fact that DrawingML text markup is so different from VML text markup (which does use the same format and styles as WordprocessingML) makes it loads of extra work to support.
In contrast, in ODF, everything is so single-point-of-definition that even spreadsheets and wordprocessing tables are completely unified. The fact that OOo Calc doesn't implement the spreadsheet formatting correctly is a bug in OOo Calc, not in ODF. The interesting part is that this means that the spreadsheet functionality also transfers to tables! For instance, try the following: in OOo Writer, insert a 2x2 table. Enter "3" in the top-left cell. In another cell, enter the text "=+3". Note that the cell then shows "6"! :-) |
| | Why using a single style container is a very bad thing | | It just appears to be an implementation flaw in OOo's spreadsheet. I don't know whether it should be allowable to have the full set of paragraph formattings for a spreadsheet cell, but it does strike me as valuable to have a consistent set of markup for styles everywhere. Perhaps this should be pushed for in the maintenance of OpenXML? |
| | Custom XML? This Custom XML!!! | http://www.datawatch.com | Nice one Wouter, especially from the point of view of a nice, clear, simple intro to custom XML.
I don't think one can doubt Stephane's technical talents, with his work on BIFF8 and even reverse engineering BIFF12 (xlsb) to some extent.
I think, as others do, that there must be some kind of agenda here.
Gareth |
| | Custom XML? This Custom XML!!! | | I'm getting a bit tired of developers who are doing such stupid tests. I'm working on an application that is going to parse Word 2007 documents and thusfar I haven't seen any problems with parsing or creating word documents.
Good to see people with real knowledge about OOXML that set these weird actions straight. |
| | Custom XML? This Custom XML!!! | Healthcare OpenXML Templates - Custom Schema (ASTM CCR) | The ability to embed and interweave business data into transportable and humanly readable documents is extremely useful. Take for instance the efforts to standardize the embedding of patient medical data into PDF documents (aka PDF/H).
Records For Living has been able to take advantage of Open XML's capabilities with regards to its support of custom schemas to integrate two industry standards: Ecma's Open XML and the ASTM's Continuity of Care Record (CCR). The combination is powerful: patients can use personal health record (PHR) software to exchange 'live' reports with their doctors in a way that is both human and machine readable.
Thank you for setting the record straight on this capability of the Open XML standard.
Simone |
| | Custom XML? This Custom XML!!! | http://blogs.developpeur.org/neodante | I love the content and especially the end ! Too much people are talking about Open XML without having tested it yet or read the specs. The Custom XML feature is one of the most powerful feature of Open XML for business scenarii and document centric solutions.
Thank you Wouter :p |
| | Custom XML? This Custom XML!!! | | I have always suspected Stephane Rodriguez, he has a business in doing Excel extracting tools and was an early critic of OOXML in that domain.
His arguments have always been very flaky, and he has been publicly exposed in a number of threads around the web (like when he did not understand the spreadsheet).
He seems to have expanded from the area of his expertise to other areas, and I suspect he is being paid to do this.
Stephane's own business was threatened by the availability of OOXML as it depended entirely on being able to decode obscure features in the old binary file formats. The further announcements from Microsoft for translators from binary to OOXML might have threatened his business more.
It is in this environment of fear that Mr Rodriguez was probably approached by an interested party and funded him to write anti-OOXML pieces. The pieces are not very savvy and as this article proves (and many other articles that have debunked him) his knowledge is not very deep.
Why would someone jeopardize his own business and his reputation is beyond me, and I can only come to the conclusion that he is being paid to do so some consulting fee.
|
| | Custom XML? This Custom XML!!! | Spot on | Hi Wouter,
Great article. I took the "OOXML is defective by design"-post apart in Summer 2007 (sadly, in Danish) and I was amazed of how horribly wrong the article was. As you I couldn't help but think: Does he at all know what he is talking about?".
I thought about writing something about his new article, but reading it I couldn't find an antry-point ... simply because every new paragraph contained a new error.
... and I was also amused about his "Perhaps this is a namespace issue. Let's prefix our custom XML with w ..."
WTF? :o)
Anyone referencing his article as "devastating technical proof" or similar should be slapped around a bit with a rainy-wet edition of Sunday's New York Times. |
| | Custom XML? This Custom XML!!! | Comments | I think this explains why mr. Rodriguez never accepts comments on any of his blog posts. ;) |
| CODE-COUNSEL\wouter | On separating style from fiction | | Hi Stephane,
>style model in ODF is common to all ODF file formats
In Open XML this is not the case since the authors of the standard thought about the fact that a single type of style for all types of documents doesn't necesarily conform to the requirements for each format. It makes little sense to provide the same level of formatting for a spreadsheet as for a document. Using the same elements implies that one who builds a spreadsheet processor needs to learn a lot of markup which is not useful for their purpose (for instance, doing a hanging indent or right-floating content serve little purpose in a spreadsheet) So to me it is totally useless.
> 2. Styles from DrawingML and the styles coming from VML.
Those are style containers not relevant to documents, but to shapes and drawings. Funny that you first say that Open XML has no re-use, and then point out the areas where it does re-use. To me it is a good thing, because shapes are generic across formats, and hence they have a common language (DrawingML including DML styles)
>3 In fact the ODF style model is a hierarchical one
I clearly understood that when I found that spans can go in spans. In Open XML direct formatting cannot form a hierarchy (useless feature since it is a direct format). You can create the hierarchy you mention by using *styles*. Why nest content when you want to nest styles? Isn't that polution of the markup language?
>4 Your comment about the verbosity of the markup is nonsense
I know, as I indicated. The thing is that it was a statement made at our Dutch committee that Open XML styles is such a burden with all the container elements (rPr and such). |
| | On separating style from fiction | |
A number of things you are saying are misleading.
1) The style model in ODF is common to all ODF file formats. This is a huge gain for ODF implementers since they can grab a style read/write library and add it to their project.
2) .docx styles uses its own style model, different than the one in .xlsx and the one in .pptx. But the style model in .docx you have exposed is just a fraction of style in .docx since you haven't even mentioned the styles coming from DrawingML and the styles coming from VML. So you have 3 style models in .docx alone. Now that's what I something cost effective for implementers and those willing to interoperate across file formats!
3) In fact the ODF style model is a hierarchical one, that's what you seem to have missed when you said that text:span were embedded in one another. Have you even figured out this is HTML works for instance? Have you heard of inheritance versus override? Now, tell me where is the inheritance in the .docx style model where styles are in the w:rPr sequence, either one after another, not one inside another?
4) Your comment about the verbosity of the markup is nonsense. Everyone knows ODF is more verbose, I don't think anyone ever tried to claim otherwise. We already know that Microsoft uses the smallest element names as possible to improve the so-called performance of parsing, even though that is left for one as an exercise whether this really matters given that 1) our computers are not 486 computers these days 2) the whole thing is ZIPPED and ZIP is dictionary based so the zipped size should be the same order of magnitude, which is what matters if you are talking of actual file sizes.
Anyway, as usual, you have posted an extremely biased view of ODF. I did not expect less from you.
|
| CODE-COUNSEL\wouter | Inconsistent paragraph markup in ODF? | | Interesting stuff on the whitespace handling Bart.
I am building an HTML converter, and whitespace is difficult enough without all that complexity.
Perhaps a blog-post worhty subject. |
| | Inconsistent paragraph markup in ODF? | | XML is een afgeleide van SGML en SGML is een gestandaardizeerde versie van IBM's GML.
Ik heb hier een IBM Bookmaster User's Guide en daar heet de meest gebruikte tag, :p. voor "paragraph".
|
| | Inconsistent paragraph markup in ODF? | Bart's Home page | I guess this stems from HTML familiarity, just like the span tag. It makes this stuff easy to read for anyone who knows HTML.
If you want some nits about ODF:
* You can nest spans, where the nested spans override layout. OpenXML is much easier to work with in this respect -- no nested runs, so there's only a fixed number of levels of character layout to worry about.
* The whitespace stripping rules are hell. See ODF 1.0, section 5.1.1: multiple consecutive white space characters must be collapsed into a single white space character, but "consecutive" can mean that there's all sorts of stuff in between, for instance blah(space one)<span>(space two )blah</span> is considered consecutive. Even <span>blah(space one)</span><span>(space two )blah</span> is considered consecutive. And to prevent this collapsing, you have to use a special whitespace tag. Basically, if you want to generate this, your only viable choice is to represent *all* spaces using this white space tag, because using actual white space is close to impossible... |
| | IT HerOlympics and the National Office Day – One crazy session | http://www.leonmeijer.nl | Hey Wouter,
It's nice to read your blog. I attended one of your courses in the time you were working for InfoSupport. Good luck with your new acitivities!
Anyway, my comment is about your ZIP attachments in this post. If I download them something gets corrupted. I have to extract the contents and rename the contents to ZIP and extract them again.
I had this same behaviour on my SharePoint site and that was caused by HTTP Compression. Turning off compression will fix this issue. |
| | IT HerOlympics and the National Office Day – One crazy session | | Hi,
I try to keep up with your blog but I keep getting errors from IE 7 saying that your feed contains errors.
I get the error on Windows Vista and on WinXP (at work) I also get that your blog is trying to load "name.dll" from Microsoft.
Luckily Doug links to your blog from time to time :-)
I hope you can look into these errors on a PC other than yours (dev PC bad for testing) :-)
TIA |
| | IT HerOlympics and the National Office Day – One crazy session | http://blogs.infosupport.com/porint | PLEASE tell me they made a video of this session :o) |
| | IT HerOlympics and the National Office Day – One crazy session | | Hi Wouter, I saw your session at the HerOlympics event. I think your session was great. You presented with lots of enthousiasm and without the "learned by heart feel" [sometimes people tend to learn to hard what they want to tell that it is too obvious]. I really think you had a good presentation, only problem was that there were some people in the small room that were originally planning to visit another session...and ended up at your session but didn't understand it or didn't have interest in the subject... so maybe you thought your story was not interesting enough but that was not true.
The story you wrote about the mouse is indeed a horrible event to happen when you are presenting.
Hope to see you again at a Microsoft event sometime because you are a great speaker. |
| | An-tic: A buffoon, especially a performing clown | | Also if a meeting of the nen committe takes place it might be interesting to ask for an observer from NEN as there is an investigation in the OOXML standardization process and if you think IBM company is using the NEN processes to stifle competition then a neutral observer would be advisable.
|
| | An-tic: A buffoon, especially a performing clown | | When will the NEN committee decide on their vote ? |
| | An-tic: A buffoon, especially a performing clown | | Guess it's probably not in IBM's best interest to see things move towards open standards. Big shame... Do you think the ISO people will nog be swayed towards IBM's business goals? |
| | Code for my session – CLI304 Document Centric Solutions with VSTO / Open XML | | Thanks for putting this up.
Would you be able to post the project you used in the 101 session as well? I'm really fighting to get anything done. I have a brand new blank add-in that crashes Outlook/Word before even getting into ThisAddIn_Startup! |
| | My sessions for the ODC | | Just got back from your presentation... great job. Keep up the great work! |
| | My sessions for the ODC | http://blogs.infosupport.com/porint | See you @ Amsterdam Airport :)
Bring your purse...you owe me some beers ;-) |
| | The Office Developer Conference 2008 is near! | The Office Developer Conference 2008 is near! | Hi Wouter - looking forward to finally meeting you there. Cheers,
Andrew |
| | Word Source Viewer – Take 3… | | |
| | Formatted my harddrive to soon – MVP take 2 | Wouter's masterblog ;-) | How about a 'hammer' feature which bangs on your fingers if you are writing e-mails you are going to regret later? ;-)
Congrats, Wouter!
You can buy me a beer (or...I can remember you promised me loads of booze if you could speak at ODC) in San Jose! |
| CODE-COUNSEL\wouter | Word Source Viewer take 2 | | Hi Rob,
I fumbled on the installer. The registry key which is used to locate the add-in is accidentally placed in the wrong location. The CodePlex site now hosts the fixed installer and a registry file which you can use to get the add-in going.
Hope it helps,
Wouter |
| | Word Source Viewer take 2 | | Hi there, after running the installer , i still don't see the Source View group at the end of the developer ribbon, any ideas why? |
| CODE-COUNSEL\wouter | The first tool of the year; Open XML Source View for Microsoft Word 2007 | | @ Paul
I fumbled on the installer. The registry key which is used to locate the add-in is accidentally placed in the wrong location. The CodePlex site now hosts the fixed installer and a registry file which you can use to get the add-in going. Hope it helps,
@Jason,
I think I'll add it as a toggle in the Ribbon. Thanks for the feedback.
Wouter |
| | The first tool of the year; Open XML Source View for Microsoft Word 2007 | Didn't work for me | It installed w/o error for me but I get no such group on the Developer tab. Perhaps your plugin is not enabled by default. What is it called in the list in the Add In Manager? I scanned through it and didn't see anything that sounded like it matches and did not want to go randomly enabling things. What is the name of the group on the Developer tab? Perhaps it comes up out of order for some reason.
Paul |
| | The first tool of the year; Open XML Source View for Microsoft Word 2007 | http://dev.plutext.org/blog/2007/12/17/view-page-source-from-within-word-2007/ | Hi Wouter
I suspect that someone may have been me, with this post - http://dev.plutext.org/blog/2007/12/17/view-page-source-from-within-word-2007/
If it was me, I'm glad it inspired you to create your tool :)
Its nice that your tool lets you put edited WML content back into the document. Its unfortunate that InsertXML (which you rely on) requires you to wrap your body fragment in other parts (and does things like strip any style you add unless the snippet includes
the style definition..).
I see you use a minimal Sample.xml for this purpose, though it would be just as easy and better to wrap it in the user's source document.
cheers
Jason
|
| | The first tool of the year; Open XML Source View for Microsoft Word 2007 | http://devdoteloper.spaces.live.com/ | Awesome! It works well in my side. |
| CODE-COUNSEL\wouter | The first tool of the year; Open XML Source View for Microsoft Word 2007 | | It's the last group on the developer tab. |
| | The first tool of the year; Open XML Source View for Microsoft Word 2007 | Design Science | I successfully installed this as far as I know but I can't find the Source View group in the ribbon in Word 2007. Where should I expect it?
Paul |
| Administrator | Creating a workflow association form with the new designer tools | http://blogs.code-counsel.net/wouter | Hi Anil,
you use a feature and module to provision the ASPX as an application page (inside _layouts), next you go to the workflow XML file and use something like the AssociationFormUrl and have it point to that location inside _layouts.
Hope it helps |
| | Creating a workflow association form with the new designer tools | | Hi,
Greate Templates.
I have created a workflow and added Task Form and assoication form. How do i attach these forms to the work flow.
Thanks
Anil |
| | Using drag & drop to create new content controls | | Dude, jij heet hetzelfde als ik! |
| | Get the new Word 2007 Databinding Toolkit | | Nice work! Looking forward to support for some repeating table controls |
| | Get the new Word 2007 Databinding Toolkit | EdOnOffice | Thanks a lot for this tool and the Word viewer Wouter, I've taken the liberty to blog about your blog ;-)
|
| | VSTO 3 – RibbonLoad runs before ThisAddIn_Startup | | Hello Wouter,
The Ribbon's load in my application add-in (Word 2007) always fires before the startup event. Unfortunately this last event doesn't fire outside vs 2008. Inside all is well. |
| | Introducing the Data Binding Toolkit for Microsoft Word 2007 | | Wouter,
Stephane Bouillon had a slick way of handling this with Office 2003 versions of both apps, but this capability is incompatible with the newer versions. As an alternative to XSLT, he directed me to explore Brian Jones article re content controls, and then I discovered your piece above. Question is: would this be applicable for converting data captured in the InfoPath form when transforming this to a fully formatted Word .docx/template, with holding places for the data? Some controls in the form are designed as rich text boxes? Now, those data entered (even if they appear as bulleted lists) are pure strings, without so much as and end of paragraph/line break.
When I look at your work and Brian's, I understand the usefulness within Word, but without any insight as to its applicability for cross-Office app integration. Am I mistaken?
Any guidance or re-direction to other source(s) would be most appreciated.
Thanks,
Joe Gannon |
| | We’re gonna party like…. | | Congrats!
Nice to have the Bacardi logo next to kids, hehe. |
| | We’re gonna party like…. | Vacant Spaces | Congratulations on your birthday and the forthcoming next generation "De Ruyter" descendant! |
| | We’re gonna party like…. | http://blogs.infosupport.com/porint | Damn...forgot to give you a call.
Happy Birthday! Daddieoooooooooo ;-) |
| | Extra modifications to the SharePoint blog template | | I will be working on that Bart, in the mean time I hope to fill this place with new content as well! |
| | Extra modifications to the SharePoint blog template | u know... | Cool :) when are you putting up your old blogpostings again? ;-) |