Mixed content

R

Radim Glockner

Hello,

I would like to consult Infopath support for mixed content. It seems that
there is only one possibility - to use XHTML element and RTF text box. I
would like to allow users to insert other elements with custom formatting
into this text box. For example:
<textelement>
<div>some text here<myelement>foo</myelement>some text again
</div>
</textelement>
I would like to allow users to insert myelement into the text box at the
cursor position. Every myelement should have the same formatting (for ex.
green bold text).

I suppose that it is not actually possible in the current version of
Infopath. Would it be possible to write custom control similar to RTF text
box but having functionalities described above?

thanks for any suggestion
Radim
 
B

Brian Teutsch [MSFT]

Mixed content editing is something best supported by using Word's new XML
tagging features. You might be able to write a control that allowed your
users to insert custom tags, and completely duplicated the featuers of a
rich text box, but it will be a large amount of work. Very large.

Brian
 
R

Radim Glockner

Brian
thank you for your response. I have two more questions. Don't you know any
existing suitable custom control (could be commercial)? Is there any good
resource about developing custom controls for Infopath? (it seems that all
links leed to the lab 6 in MSDN discribing ActiveX development using C++).

radim
 
B

Brian Teutsch [MSFT]

Lab 6 is the documentation extent that I know about. Of course, other
ActiveX in Internet Explorer documentation will mostly be valid as well.

I don't believe there are third-party ActiveX solutions available. InfoPath
is new enough that these aren't yet very common.

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top