<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
We will analyze the implications of extending the form control
support to generic nodes. We'll let you know as soon as we reach a
conclusion.<br>
<br>
Best regards,<br>
Alex<br>
--<br>
Alex Jitianu<br>
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
<br>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a><br>
<br>
On 19-Dec-12 6:09 PM, Michael Anthony Smith wrote:<br>
</div>
<blockquote
cite="mid:1E41A2DC-0DE9-4280-8E65-FFC599C8EA83@deltaxml.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hello,
<div><br>
</div>
<div>We would like to request an enhancement to the way in which
'form based editing' aspect of the css-styliong works. </div>
<div><br>
</div>
<div>We are working on a merge conflict resolver using processing
instructions so that validity can be checked during editing.</div>
<div><br>
</div>
<div>Here is an example fragment of DITA:</div>
<div><br>
</div>
<div>
<div> <p class="- topic/p ">allow intelligent
resolution of conflicts in a</div>
<div> <?dxml-merge-start text group="d2e150"
mergeType="modify" ?></div>
<div>
<dxml-merge-marker:marker xmlns:dxml-merge-marker="<a
moz-do-not-send="true"
href="http://www.deltaxml.com/ns/dxml-merge-marker">http://www.deltaxml.com/ns/dxml-merge-marker</a>"
/></div>
<div> <?dxml-merge text group="d2e150"
chosen="true" deltaV2="base"?></div>
<div> Content Managment</div>
<div> <?dxml-merge text group="d2e150"
chosen="false" deltaV2="anna=ben=chris" <Content
Management?></div>
<div> <?dxml-merge text group="d2e150"
chosen="false" deltaV2="david" <Document Management?></div>
<div> <?dxml-merge-end text group="d2e150"?></div>
<div> System …</div>
<div> </p></div>
<div><br>
</div>
<div>We have implemented a way of choosing between the three
alternative options in Java, see below.</div>
<div><br>
</div>
<div><img id="9829d7ad-5f83-47ee-a4f8-055c68e7f806"
apple-width="yes" apple-height="yes"
src="cid:part3.02090402.01050807@oxygenxml.com" height="30"
width="522"></div>
<div><br>
</div>
<div>When the user clicks on the conflict symbol the three
alternatives are displayed.</div>
<div><br>
</div>
<div><img id="232f2c00-27ec-4c9b-a85a-51a94d95e435"
apple-width="yes" apple-height="yes"
src="cid:part4.08010208.04020706@oxygenxml.com" height="82"
width="614"></div>
<div><br>
</div>
<div><br>
</div>
<div>At the moment we believe that we need to use an element to
enable the 'form based editing' control to be displayed. We
have tried using elements like <ph />, which work in the
above example, but do not work in all DITA contexts.</div>
<div><br>
</div>
<div>In a StylesFilter if we are processing an element then it
is possible to attach a 'form based editor' using the
following code.</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Monaco;
"> props.put(InplaceEditorCSSConstants.<span
style="color: #0326cc">PROPERTY_EDIT</span>, <span
style="color: #3933ff">"."</span>);</div>
<div style="margin: 0px; font-size: 11px; font-family: Monaco;
"> props.put(InplaceEditorCSSConstants.<span
style="color: #0326cc">PROPERTY_RENDERER_CLASS_NAME</span>,
MergeAttributeChooserRenderer.<span style="color: #931a68">class</span>.getCanonicalName());</div>
<div style="margin: 0px; font-size: 11px; font-family: Monaco;
"> props.put(InplaceEditorCSSConstants.<span
style="color: #0326cc">PROPERTY_SWING_EDITOR_CLASS_NAME</span>,
MergeAttributeChooserEditor.<span style="color: #931a68">class</span>.getCanonicalName());</div>
</div>
<div><br>
</div>
<div>This works for an element, but not a processing
instruction.</div>
<div><br>
</div>
<div>The AuthorInplaceContext elements allows us to get at the
element that the style was attached to, as follows:</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Monaco;
"> AuthorNode authorNode= authorInplaceContext.getElem();</div>
</div>
<div><br>
</div>
<div>However, it would be nicer if we could get the nodes
(specifically the processing instruction nodes). If this was
possible, we would not need to introduce the dummy element in
the above example, which introduces DITA validation errors. </div>
<div><br>
</div>
<div>Best Regards,</div>
<div>Anthony.</div>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: -webkit-auto; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: medium; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; ">-- <br>
--
-------------------------------------------------------------------------<br>
Michael Anthony Smith, DeltaXML Ltd "Michael Anthony
Smith, DeltaXML Ltd "Experts in Information Change""<br>
T: +44 1684 869035 E: <a moz-do-not-send="true"
href="mailto:anthony.smith@deltaxml.com">anthony.smith@deltaxml.com</a> <a
moz-do-not-send="true" href="http://www.deltaxml.com/">http://www.deltaxml.com</a><br>
Registered in England 02528681 Reg. Office: Monsell House,
WR8 0QN, UK</div>
</div>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-sdk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-sdk@oxygenxml.com">oXygen-sdk@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk">http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk</a>
</pre>
</blockquote>
<br>
</body>
</html>