Search found 176 matches

by honyk
Wed Oct 12, 2022 10:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: Serializing AuthorNode to String
Replies: 3
Views: 1174

Re: Serializing AuthorNode to String

That alphabetical sorting is only in the Author mode, not in the XML source. It is caused by the settings, which can be disabled in Preferences...|Editor|Edit Modes|Author: Sort attributes alphabetically for "Full Tags with Attributes".
by honyk
Wed Oct 12, 2022 10:02 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom plugin: adding attributes in the specified order
Replies: 5
Views: 901

Re: Custom plugin: adding attributes in the specified order

You are correct! During my experiments, I haven't switched to Text mode and now I can see it is correct there all the time. I've finally found a dedicated option for this behavior: Preferences...|Editor|Edit Modes|Author: Sort attributes alphabetically for "Full Tags with Attributes" which...
by honyk
Wed Oct 12, 2022 9:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: Serializing AuthorNode to String
Replies: 3
Views: 1174

Re: Serializing AuthorNode to String

Cool, I was not aware of that method. In my case I use AuthorNode as an Input: AuthorDocumentFragment uLinkFragment = documentController.createDocumentFragment(uLinkElement, true); String uLinkXmlFragment = documentController.serializeFragmentToXML(uLinkFragment); // modifying the fragment documentC...
by honyk
Tue Oct 11, 2022 6:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Serializing AuthorNode to String
Replies: 3
Views: 1174

Serializing AuthorNode to String

Dear All, I am trying to convert AuthorNode at caret position to String so it could be, after some tweaking, pasted instead of that original element. But I have difficulties iterating the element children in case of mixed content as 'getContentNodes()' method returns just elements, not text nodes. p...
by honyk
Tue Oct 11, 2022 4:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom plugin: adding attributes in the specified order
Replies: 5
Views: 901

Re: Custom plugin: adding attributes in the specified order

That 'Sort attributes' option is disabled. I agree the order is just a cosmetic issue. My action is a kind of shortcut to common manual action. Such side-effect breaks the consistency :-(
by honyk
Tue Oct 11, 2022 2:43 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom plugin: adding attributes in the specified order
Replies: 5
Views: 901

Custom plugin: adding attributes in the specified order

Dear All, in my custom plugin action, I am trying to set several attributes, but all of them are sorted alphabetically in the result XML code. Is there any way to keep the insertion order? For example, if my 'ulink' element has 'url' attribute and additional 'type' attribute is added, it is placed b...
by honyk
Fri Sep 09, 2022 4:58 pm
Forum: DocBook
Topic: Specific CSS selector to highlight incomplete stuff
Replies: 2
Views: 1287

Re: Specific CSS selector to highlight incomplete stuff

Thanks for the different approach. It works with a small tweak. In the first line I had to add * char. inlinemediaobject:not(*:has(alt)), inlinemediaobject:has(alt:has(oxy|comment)) { background-color: coral; } And this helped also in my original approach: inlinemediaobject { background-color: coral...
by honyk
Fri Sep 09, 2022 4:20 pm
Forum: DocBook
Topic: Specific CSS selector to highlight incomplete stuff
Replies: 2
Views: 1287

Specific CSS selector to highlight incomplete stuff

I'd like to tweak the default Author css file to highlight images without the ALT attribute and also those with the ALT, but containing a comment inside. Correct: <inlinemediaobject> <imageobject> <imagedata fileref="icon.svg"/> </imageobject> <alt>Print</alt> </inlinemediaobject> Incorrec...
by honyk
Mon Dec 03, 2018 8:47 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Triger reformatting
Replies: 1
Views: 1764

Triger reformatting

When document is opened in Author mode, until it is modified no XML formatting takes place. Can I somehow force this via code and reformat several files in bulk? I am able to open files via my plugin class implementing AuthorOperation: As I couldn't find any formatting trigger, I am trying inserting...
by honyk
Fri Nov 23, 2018 6:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Rendering specific PIs as images
Replies: 1
Views: 1614

Rendering specific PIs as images

Imagine <?inline-icon name="arrow"?> PI. Would it be possible to display it in the Author mode like the standard image (i.e. like inlinemediaobject in DocBook document)? The name corresponds to the image in the dedicated folder within the framework. I am accepting the content would be edit...
by honyk
Fri Oct 05, 2018 12:53 pm
Forum: Common Problems
Topic: Custom CSS selector to distinguish Tag display mode
Replies: 1
Views: 1587

Custom CSS selector to distinguish Tag display mode

I'd like to apply some CSS formatting. It should be applied in all tag display modes except 'No Tags' mode. Is there any internal selector for this?
by honyk
Thu May 15, 2014 3:23 pm
Forum: DocBook
Topic: Opening ulinks in the browser
Replies: 12
Views: 10893

Opening ulinks in the browser

Dear All,

in my old Oxygen 11 there are chain icons besides <ulink> elements in he Author mode. When this icon is clicked, the target HTML code is downloaded and opened in the Oxygen. Is there any way to change this behaviour to open that URL in a default web browser?

Thanks, Jan
by honyk
Wed Aug 07, 2013 3:18 pm
Forum: Other Issues
Topic: Temporary commenting and uncommenting ulinks
Replies: 2
Views: 2174

Re: Temporary commenting and uncommenting ulinks

Adrian, thanks a lot for showing the way. Finally I use a slightly modified variant: <(ulink[^>]+)>([^<]*?)<(/ulink)> Replaced with: <!--$1-->$2<!--$3--> and the following code for the reverse procedure: <!--(ulink[^>]+)-->([^<]*?)<!--(/ulink)--> Replaced with: <$1>$2<$3> HTH to anybody in the futur...
by honyk
Tue Aug 06, 2013 11:24 am
Forum: Other Issues
Topic: Temporary commenting and uncommenting ulinks
Replies: 2
Views: 2174

Temporary commenting and uncommenting ulinks

Dear All, in my source there are lots of <ulink src="http:/server.com">label</ulink> fragments. I'd like to temporarily disable all the links in my source, but to keep the label itself there: <!--ulink src="http:/server.com"-->label<!--/ulink--> Can anybody suggest the exact regu...
by honyk
Fri Feb 17, 2012 3:34 pm
Forum: Feature Request
Topic: [Author] Strict casing mode for external links
Replies: 1
Views: 2133

[Author] Strict casing mode for external links

Hello Everyone, it would be nice to have an option for strict evaluating of references (mainly images) which wouldn't be displayed in the WYSIWYG mode until their paths match exactly. If documents are prepared on Windows, casing issues are not detected. When the final HTML output is published on lin...
by honyk
Tue Jul 27, 2010 11:31 am
Forum: Feature Request
Topic: Find in files with normalized spaces
Replies: 7
Views: 5720

Re: Find in files with normalized spaces

Thanks for your info. I've again met this problem. Is there any schedule for that improved version?

Regards,
Jan
by honyk
Wed Jun 02, 2010 6:55 pm
Forum: Feature Request
Topic: DocBook Slides
Replies: 1
Views: 2239

DocBook Slides

Hello,

it would be nice to ship also DocBook Slides DTD as one of Oxygen frameworks together with a decent CSS style for visual editing. I know this schema is not standardized, it is just try. Btw, XSLT styles are already shipped ;-)

Regards,

Jan
by honyk
Tue Apr 27, 2010 2:04 pm
Forum: Common Problems
Topic: Author mode - DocBook - inserting table fails
Replies: 2
Views: 2187

Re: Author mode - DocBook - inserting table fails

Thanks for that info. We have customized 'Framework' folder and it is distributed among other users. I forgot checking its content before migrating from 11.1 to 11.2. After recovering docbook.jar file everything works fine. Thanks again.

Regards,
Jan
by honyk
Thu Apr 15, 2010 10:59 am
Forum: Common Problems
Topic: Author mode - DocBook - inserting table fails
Replies: 2
Views: 2187

Author mode - DocBook - inserting table fails

Hello, on one computer we are faced with the following problem if table is being inserted via toolbar into the 'para' element: Couldn't execute operation: 'ro.sync.ecss.extensions.docbook.table.InsertTableOperation' for action: 'Insert Table' because of: class java.lang.AbstractMethodError - ro.sync...
by honyk
Thu Mar 25, 2010 4:42 pm
Forum: Other Issues
Topic: Author mode - Learn word
Replies: 1
Views: 2357

Author mode - Learn word

Hello, when a Default language for the spell check is set to English, the option 'Obey xml:lang and lang' is checked and in the DocBook document this attribute is set to "en", I am still getting error message when a new word is added to the custom dictionary via Learn word: Errorno languag...
by honyk
Tue Mar 16, 2010 7:13 pm
Forum: Common Problems
Topic: Author mode - inserting an attribute with & character
Replies: 2
Views: 2676

Author mode - inserting an attribute with & character

Hello, if in DocBook document for example the value of URL link is inserted into the appropriate attribute in Attributes panel and it has & character in it, the vendor attribute of a parent element is affected by it. Step by step procedure: 1. Open new docBook document. Place ulink element (from...
by honyk
Fri Mar 12, 2010 4:10 pm
Forum: Common Problems
Topic: Whitespace handling changes in 11.1
Replies: 8
Views: 4519

Re: Whitespace handling changes in 11.1

> What Oxygen 11.2 will bring in addition to this will be that it will only format and indent the modified elements. This sounds really great! (But I hope there will still be a chance to invoke reformatting for special cases manually) After some consideration I tend to keep the default Oxygen settin...
by honyk
Fri Mar 12, 2010 10:22 am
Forum: Common Problems
Topic: Whitespace handling changes in 11.1
Replies: 8
Views: 4519

Re: Whitespace handling changes in 11.1

To tell the truth, I don't insist on old behaviour. If the current one is the standard for the future, it is Ok. I'd like just avoid another code reformatting in any future version...
by honyk
Thu Mar 11, 2010 7:06 pm
Forum: Common Problems
Topic: Whitespace handling changes in 11.1
Replies: 8
Views: 4519

Re: Whitespace handling changes in 11.1

This sub option is still not very clear to me (maybe some use case could help), but if all this stuff if unchecked, I am still getting slight differences: Instead of <entry colname="col3"> </entry> I get: <entry colname="col3"> </entry> Or instead of <para>Check the appropriate i...
by honyk
Thu Mar 11, 2010 6:15 pm
Forum: Common Problems
Topic: Whitespace handling changes in 11.1
Replies: 8
Views: 4519

Re: Whitespace handling changes in 11.1

Thanks for the info, it helped. I am just curious what is the difference between this option and Editor|Format|XML|Schema aware format and indent option. I see the risk these two can interfere.

Jan
by honyk
Thu Mar 11, 2010 4:46 pm
Forum: Common Problems
Topic: Whitespace handling changes in 11.1
Replies: 8
Views: 4519

Whitespace handling changes in 11.1

Hello, I've just discovered weird behaviour of the white space handling, which differs from version 11.0. While in 11.0 all images (DocBook document) are inline according to the specificication in the CSS file: <inlinemediaobject><imageobject><imagedata fileref="Icons/IconSave.gif"/></imag...
by honyk
Tue Feb 09, 2010 12:09 pm
Forum: Feature Request
Topic: Find in files with normalized spaces
Replies: 7
Views: 5720

Find in files with normalized spaces

Hello, in my document there is the sentence broken into two lines. If it is necessary to find this sentence, a standard means fails as there are couple of spaces between last word of the first line and the first word of the second line. It would be nice if searching could be optionally performed on ...
by honyk
Mon Jan 25, 2010 6:16 pm
Forum: Other Issues
Topic: Author mode - fidelity of no tags view when printing
Replies: 3
Views: 2364

Author mode - fidelity of no tags view when printing

Hello,

if my docbook document is printed from Author mode with no tags view, gaps between styled text are miscalculated, see the image below:
Image

Regards,
Jan
by honyk
Mon Jan 25, 2010 1:33 pm
Forum: Other Issues
Topic: Author mode - css behaviour in 11.1
Replies: 6
Views: 4179

Re: Author mode - css behaviour in 11.1

Thanks for this info. Is there already any due date for this release? Can we count with weeks or rather months?