Search found 176 matches

by honyk
Wed Aug 19, 2009 12:17 pm
Forum: Feature Request
Topic: Working with large Docbook document splitted into parts
Replies: 14
Views: 8266

Working with large Docbook document splitted into parts

Hello, our common scenario is to split documentation into smaller parts, which are referred using xi:include into the main document. Although it is not necessary for processing of the main document, for linking we use olink instead of link to avoid validation issues if target is outside of current d...
by honyk
Wed Aug 19, 2009 10:19 am
Forum: Other Issues
Topic: Displaying content of document level entities in Author mode
Replies: 8
Views: 3810

Displaying content of document level entities in Author mode

Hello,

is there any possibility to show the content of defined entities? By default there is displayed only entity name in tag, not content itself. Is there way via CSS's content feature?

Jan
by honyk
Wed Aug 19, 2009 9:29 am
Forum: Other Issues
Topic: Author mode - css style for included content
Replies: 2
Views: 1520

Author mode - css style for included content

Hello,

is there any way how to change default decoration of included/referred content? If in Docbook source some content is linked via xi:includes, it is displayed in grey backround with thin border in Author mode. I'd like to change this background color.

Jan
by honyk
Tue Aug 18, 2009 6:13 pm
Forum: Other Issues
Topic: Recognizing of entities
Replies: 3
Views: 2072

Recognizing of entities

Hello, if the following Docbook code is displayed in Author mode <<guilabel>F2</guilabel>> closing character '>' is colored as processing instruction. I think that common entities like amp, apos, gt, lt, quot should be processed in the same way so either considered as processing instruction or, bett...
by honyk
Tue Aug 18, 2009 5:54 pm
Forum: Other Issues
Topic: CSS selector for &nbsp;
Replies: 2
Views: 4836

CSS selector for &nbsp;

Hello,

is there any way in Oxygen to apply different css style to &nbsp; than to other entities?

Jan
by honyk
Tue Aug 18, 2009 4:51 pm
Forum: Other Issues
Topic: Displaying processing instructions inline
Replies: 11
Views: 5203

Re: Displaying processing instructions inline

Sorry, my fault, I didn't know it is necessary to include namespace info, I thought it is known to Oxygen by default. Now it works fine. Thanks for patience.
by honyk
Tue Aug 18, 2009 4:32 pm
Forum: Other Issues
Topic: Displaying processing instructions inline
Replies: 11
Views: 5203

Re: Displaying processing instructions inline

I've checked your code on another PC with the same result as on mine (with processing instruction switched on). If the following code is used <copyright> <year><?dbtimestamp format="Y"?></year> <holder>MyCompany</holder> </copyright> Year and holder are on separate lines. If PI is replaced...
by honyk
Tue Aug 18, 2009 2:49 pm
Forum: Other Issues
Topic: Displaying processing instructions inline
Replies: 11
Views: 5203

Re: Displaying processing instructions inline

Even impotant! keyword doesn't help. Is it working for you in Author 10.3?
by honyk
Tue Aug 18, 2009 2:27 pm
Forum: Other Issues
Topic: Displaying processing instructions inline
Replies: 11
Views: 5203

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: 8773

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: 1386

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: 8773

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: 8773

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: 8773

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: 8773

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: 8773

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: 8773

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: 2154

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: 2154

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: 8773

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: 8773

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: 8773

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: 8773

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: 2154

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: 1816

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: 2321

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: 1947

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: 2509

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: 2509

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: 2075

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