Search found 168 matches

by honyk
Tue Aug 18, 2009 2:27 pm
Forum: Other Issues
Topic: Displaying processing instructions inline
Replies: 11
Views: 3599

Displaying processing instructions inline

Hello,

I have set in customized Docbook css style like this

Code: Select all

oxy|processing-instruction {
display: inline;
}
but it is still displayed as block, even after restarting of Oxygen. Is it necessary to set something else or it is not possible?

Jan
by honyk
Tue Aug 18, 2009 9:44 am
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Re: Batch processing of files

Solved! Heart of final code is method authorAccess.getEditorAccess().reloadContent(Reader); It is used for exchange of document content without necessity to open next file in extra editor and close it after saving. As name of document is kept the same all the time, it is necessary to rename just sav...
by honyk
Mon Aug 17, 2009 11:33 am
Forum: Other Issues
Topic: Save As via code
Replies: 1
Views: 943

Save As via code

Hello,

is there any way how to save current document under different name via api? I am doing some operations and at the end I want to save document into different location.

Jan
by honyk
Fri Aug 14, 2009 4:26 pm
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Re: Batch processing of files

Ok, I understand. I've read through the discussion and I am quite unsure if timer functionality you are suggesting to implement is really what I am looking for. In one of topic there is mentioned timer in connection to saving operation. This step is quite clear. There is no problem to create working...
by honyk
Fri Aug 14, 2009 1:23 pm
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Re: Batch processing of files

Thanks for answers, but instead of your 'no' I would be grateful for correct code :-) It seems to me it is something secret, not intended for public use. In such case, are there other ways to discuss it than via this public forum? FYI: we have purchased Oxygen with maintenance pack. Many thanks for ...
by honyk
Fri Aug 14, 2009 11:38 am
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Re: Batch processing of files

What exactly mean a static Java code section? Static method at the beginning like below? public class BatchReformatting implements AuthorOperation { public static void main(AuthorAccess authorAccess, ArgumentsMap args) { Timer timer = new Timer(); TimerTask task = new TimerTask() { public void run()...
by honyk
Fri Aug 14, 2009 9:54 am
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Re: Batch processing of files

Thanks for your patience, but I still don't understand it well. To tell the truth, I am not experienced Java programmer so more detailed instruction are welcomed. Below is the code I think you mean, but I am not sure as it raise other questions, see comments in the code. public class BatchReformatti...
by honyk
Thu Aug 13, 2009 4:57 pm
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Re: Batch processing of files

Ok, closing is quite clear now. I think this is very common task and it should be improved in future. But for now I am glad at least for current approach. I understand what you mean by association/mode selection, but the only way of running my action I know at present is clicking on toolbar/menu etc...
by honyk
Thu Aug 13, 2009 3:31 pm
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Re: Batch processing of files

Thanks for you suggestion. I am trying to code it, but I have no idea, how to achieve that my action is launched just after opening document. At the moment my code will overtake control, I can imagine inserting, deleting and saving steps. Second unknown is closing the document at the end.
by honyk
Thu Aug 13, 2009 10:56 am
Forum: Other Issues
Topic: Docbook - replace 'insert graphic' action
Replies: 3
Views: 1454

Re: Docbook - replace 'insert graphic' action

Mea culpa, I've tested it in version 9, but SDK was for version 10. In this version it works fine! Wow, the first my plugin is out!
by honyk
Wed Aug 12, 2009 6:23 pm
Forum: Other Issues
Topic: Docbook - replace 'insert graphic' action
Replies: 3
Views: 1454

Re: Docbook - replace 'insert graphic' action

Hello, I've downloaded SDK, modified Java code, with some 'ro' stuff I've compiled it into jar, updated docbook framework. After clicking on icon I can select image file, but on confirm I am getting the following error message: Couldn't execute operation: 'my.actions.InsertMediaObjectOperation' for ...
by honyk
Tue Aug 11, 2009 5:54 pm
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Re: Batch processing of files

Thanks for the tip. Opening via cmdline parameter could help. What is still missing to me in your proposal is automation of saving step :-) In addition, in Author mode there is necessary extra step before save because Save icon is disabled after opening (no content change is detected). PS: Back to m...
by honyk
Tue Aug 11, 2009 4:04 pm
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Re: Batch processing of files

Yes, I agree saving file in text mode after Format & Indent would be enough, but doing that manually for every single file is not possible as there are thousands of such files... I am looking for any automation...
by honyk
Tue Aug 11, 2009 3:37 pm
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Re: Batch processing of files

Does it mean 'cannot be applied' that it is not possible at all or in in current version? I want to migrate from other tool into Oxygen. All files are stored in Subversion. I'd like to perform formatting and indentation issues (quite different in Oxygen) in single commit to avoid disturbing Diff res...
by honyk
Tue Aug 11, 2009 2:37 pm
Forum: Other Issues
Topic: Batch processing of files
Replies: 20
Views: 6171

Batch processing of files

Hello,

I'd like to open several files, perform Format & Indent operation and than save modified files into new location. What is the best method to do so? Some custom Java application (is there any sample how to do something similar) or something else?

Jan
by honyk
Tue Aug 11, 2009 1:14 pm
Forum: Other Issues
Topic: Docbook - replace 'insert graphic' action
Replies: 3
Views: 1454

Docbook - replace 'insert graphic' action

Hello,

I am trying to replace default behaviour of insert graphic action and insert (inline)mediaobject/imageobject/imagedata fragment instead. Can it be achieved using some default library or am I to develop any custom plugin?

Thanks for the info.

Jan
by honyk
Thu Jun 18, 2009 6:33 pm
Forum: Common Problems
Topic: Nested lists in DocBook document
Replies: 2
Views: 1224

Re: Nested lists in DocBook document

Mea culpa, you are right. Sorry for misleading thread.

Jan
by honyk
Thu Jun 18, 2009 6:07 pm
Forum: Common Problems
Topic: Vertical cursor position just before closing tag
Replies: 5
Views: 1602

Vertical cursor position just before closing tag

Hello, in Author mode, if text is scaled up (Ctrl+), there can be observed disturbing efect if cursor position reach the last position just before closing element (if tags are displayed). While cursor is aligned to the bottom across the whole line, in the last position it is aligned to the top of th...
by honyk
Thu Jun 18, 2009 5:24 pm
Forum: Feature Request
Topic: Folding in Author mode
Replies: 3
Views: 1404

Re: Folding in Author mode

Thanks for reply, I've overlooked such possibility. But suggested tag enhancement would be maybe more general and not requiring this technical background, what can be problem for common document writers.

Jan
by honyk
Thu Jun 18, 2009 5:14 pm
Forum: Feature Request
Topic: Attribute setting behaviour
Replies: 5
Views: 1823

Re: Attribute setting behaviour

Our points of view seems to be little different but I hope it is not too offensive from my side. I am DocBook writer so my needs can differ from XML developers. Addition of attributes is useless for my purpose (DTD is given and any attribute addition is causing validity error - it could be even proh...
by honyk
Thu Jun 18, 2009 3:29 pm
Forum: Feature Request
Topic: Attribute setting behaviour
Replies: 5
Views: 1823

Re: Attribute setting behaviour

For empty values I would suggest to add new popup menu item 'Add empty attribute value' and the present items 'Add' to change to 'Add new attribute' and 'Remove' to 'Remove attribute value' for the better understanding what each item does. Used attributes would be signalled by bold text as now. This...
by honyk
Thu Jun 18, 2009 2:57 pm
Forum: Feature Request
Topic: Numeration style of DocBook ordered lists
Replies: 2
Views: 1455

Numeration style of DocBook ordered lists

Hello Everyone,

ordered lists in DocBook documents can have various styles of numbering, what can be controlled via numeration attribute. It would be nice to keep this setting in Author mode.

Jan
by honyk
Thu Jun 18, 2009 2:36 pm
Forum: Common Problems
Topic: Nested lists in DocBook document
Replies: 2
Views: 1224

Nested lists in DocBook document

Hello Everyone, if itemized list (bulleted) is child of numbered list (ordered), in Author mode there are numbers instead of bullets displayed before each listitem member. If it is used vice-versa, it seems to be Ok. Is proper displaying a technical problem or it can be fixed somehow? Thanks in adva...
by honyk
Thu Jun 18, 2009 2:11 pm
Forum: Feature Request
Topic: Outline palette tree
Replies: 1
Views: 842

Outline palette tree

Hello Everyone,

just detail, but if outline palette tree is expanded to some extent, if Comments/Processing Instructions button is pressed, entire tree is collapsed. I think such behaviour is unwanted. It would be nice to keep the tree untouched, only to show/hide given info.

Jan
by honyk
Thu Jun 18, 2009 2:01 pm
Forum: Feature Request
Topic: Do not expand folded element on drag & drop in Author mode
Replies: 1
Views: 816

Do not expand folded element on drag & drop in Author mode

Hello Everyone, if two following sections has to be swapped, there can be used several methods to achieve this - drag&drop in outline palette, copy & paste in Author mode, but one could also suppose that folding of these two sections in Author mode and drag & drop will help. Unfortunately, if folded...
by honyk
Thu Jun 18, 2009 1:45 pm
Forum: Feature Request
Topic: Folding in Author mode
Replies: 3
Views: 1404

Folding in Author mode

Hello Everyone, at present there is folding available only for several elements. It would be nice to have possibility to collapse every element. In XMetal for this purpose there is usefull area of each starting tag, where user can click to collapse/expand element content. Do you plan something simil...
by honyk
Thu Jun 18, 2009 12:55 pm
Forum: Common Problems
Topic: Splitting document window in Author mode
Replies: 5
Views: 1471

Re: Splitting document window in Author mode

Ok, thanks for the reference. And what about two new Tile vertically/ horizontally functions, which would automaticaly do what has to be done manually, i.e. dividing working area into individual blocks with evenly distributed widths/heights for all opened documents? Plus one function for 'untiling'....
by honyk
Thu Jun 18, 2009 12:20 pm
Forum: Feature Request
Topic: Attribute setting behaviour
Replies: 5
Views: 1823

Attribute setting behaviour

Hello Everyone, if Attribute pallete is used for setting values of attributes, it is necessary to double click on appropriate row. If given row is left, even if no value is set this attribute is added to the current element. I would change this behaviour to activate these fields on single mouse clic...
by honyk
Wed Jun 17, 2009 4:19 pm
Forum: Common Problems
Topic: Workspace autosaving in Oxygen Author
Replies: 6
Views: 1946

Re: Workspace autosaving in Oxygen Author

Thanks, it worked like a charm. It was set by mistake during solving the following issue: http://www.oxygenxml.com/forum/topic3668.html

Thanks for your effort.

Jan
by honyk
Wed Jun 17, 2009 3:39 pm
Forum: Common Problems
Topic: Splitting document window in Author mode
Replies: 5
Views: 1471

Re: Splitting document window in Author mode

Hello, I've just found I am wrong in uderstanding what Split function do. It splits single document into two windows, hmm, I've overlooked it in Text mode. What I really want are tiles - to be able to display two files side by side (vertically or horizontally). As I've mentioned, I do it now manuall...