Search found 236 matches

by Patrik
Sat Jun 17, 2017 12:45 am
Forum: Feature Request
Topic: CSS Pseudo-Element "inner(n)"
Replies: 8
Views: 3257

Re: CSS Pseudo-Element "inner(n)"

You would have needed the :nth-child() only when your entry element were identical (e.g. entry, entry, ... instead of entry1, entry2, ...).

Patrik
by Patrik
Fri Jun 16, 2017 8:00 am
Forum: Feature Request
Topic: CSS Pseudo-Element "inner(n)"
Replies: 8
Views: 3257

Re: CSS Pseudo-Element "inner(n)"

You can do this nicely with existing css (I think supported since oXygen ~v17.1): my-table > my-row:first-child > *:before { // set styling for all header cells display: block; background-color: gray; // imitate table header font-weight: bold; border-bottom: solid 1px black; // imitate seperate row ...
by Patrik
Thu Jun 15, 2017 11:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSD-DITA validation...
Replies: 3
Views: 1090

XSD-DITA validation...

Hi, I have an xsd-based DITA map and a schematron file with rules evaluating the class attribute. So, obviously, the default attributes need to be expanded before validation. To validate a single topic I have to enable the option "Use Saxon EE (schema aware) ...". Otherwise my rules don't hit anythi...
by Patrik
Fri Jun 09, 2017 10:36 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom extension to DITA Map validation?
Replies: 3
Views: 1632

Re: Custom extension to DITA Map validation?

Thanks for the explanation. But I did not mean the automatic validation (although I might add it there as well) but the "Validate and Check for Completeness" in the DITA Maps Manager.

Regards,
Patrik
by Patrik
Fri Jun 09, 2017 10:32 am
Forum: SDK-API, Frameworks - Document Types
Topic: create new file with assigned url?
Replies: 2
Views: 1345

Re: create new file with assigned url?

Thanks. It's not that urgent anyway since the current behavior is good enough...

Regards,
Patrik
by Patrik
Thu Jun 08, 2017 5:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom extension to DITA Map validation?
Replies: 3
Views: 1632

Custom extension to DITA Map validation?

Hi, I have custom elements in my DITA framework referencing additional XML files. I'd like to have these validated as well since their content is being integrated into the publication (by a customized coderef). Is there any way for me to extend the validation process through Java? Thanks and regards...
by Patrik
Thu Jun 08, 2017 5:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: create new file with assigned url?
Replies: 2
Views: 1345

create new file with assigned url?

My requirement for a specific AuthorOperation is that i want to ensure that a specific file is opened in oXygen editor. (I will access it through the URIResolver.) Currently, when the file is not existing I create the content, write it to disk and then open it. Even better would be if I could create...
by Patrik
Thu Jun 08, 2017 4:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: place cursor in text mode by API
Replies: 2
Views: 1273

Re: place cursor in text mode by API

Thanks alot, Radu. This works fine - and knowing about the WSXMLTextNodeRange solves some other problems as well... :D

Regards,
Patrik
by Patrik
Thu Jun 08, 2017 3:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: place cursor in text mode by API
Replies: 2
Views: 1273

place cursor in text mode by API

Hi, I am implementing a AuthorOperation which should jump to a specific element within an xml file that needs to be opened in text mode. I already managed to open the file: PluginWorkspaceProvider.getPluginWorkspace().open(url, EditorPageConstants.PAGE_TEXT); (and also to modify the content with edi...
by Patrik
Mon May 29, 2017 9:09 am
Forum: General XML Questions
Topic: Dynamic XSD by "magic URLs"
Replies: 2
Views: 1310

Dynamic XSD by "magic URLs"

Hi, in our DITA documents we have plenty of xml samples. Thus, we need good support for creating and validating them. My idea is now to import them from a seperate xml file (customization of codeblock + coderef) having a dynamically created schema assigned to it: <samples xmlns:xsi="http://www.w3.or...
by Patrik
Mon May 22, 2017 11:42 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: auto-p element in new li not working reliably
Replies: 3
Views: 1264

Re: auto-p element in new li not working reliably

Hi Alex, thanks for the explanation. Unfortunately it didn't explain the different behavior since I've tested with identical files and identical frameworks. However, I could finally identify the responsible difference: These solution-strategies you described seem to be only triggered when ths settin...
by Patrik
Tue Apr 18, 2017 11:53 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: auto-p element in new li not working reliably
Replies: 3
Views: 1264

auto-p element in new li not working reliably

Hi, on my computer when typing character within an empty li element oXygen will automatically insert a new p element. That's great. However, for one of my collegues (using the same framework and files) this feature is not always working. In some places it does, in others it doesn't. I have no idea w...
by Patrik
Wed Mar 15, 2017 1:56 pm
Forum: Common Problems
Topic: classic webhelp: problem with "\" in href
Replies: 2
Views: 987

Re: classic webhelp: problem with "\" in href

I only noticed this problem on a local (windows-)filesystem. Since we had to do quite some modifications to integrate the webhelp in our (typo3-)website I could not easily test this issue there. Anyway, since I have no problems with the href attributes I consider this issue to be closed. Thanks and ...
by Patrik
Wed Mar 15, 2017 1:53 pm
Forum: Common Problems
Topic: classic webhelp: breadcrumps not (always) refreshing
Replies: 4
Views: 1245

Re: classic webhelp: breadcrumps not (always) refreshing

We finally managed to integrate the webhelp in our (typo3-based) website. I could not trigger any problems with the breadcrumps so it only seems to be an issue on a local file system and that's no problem. So there is no need for further investigation.

Thanks and regards,
Patrik
by Patrik
Fri Mar 10, 2017 12:45 pm
Forum: XSLT and FOP
Topic: XSLT validation scenario with Saxon initializer class
Replies: 4
Views: 2224

Re: XSLT validation scenario with Saxon initializer class

Hi Alex, thanks for the information. Im just wondering if it wouldn't be easier to implement (and teasier to understand for a user) if you would allow to set Saxon configurations in a validation scenario as well. Especially since there are use-cases when you don't have a transformation scenario at a...
by Patrik
Thu Mar 09, 2017 11:26 am
Forum: XSLT and FOP
Topic: XSLT validation scenario with Saxon initializer class
Replies: 4
Views: 2224

XSLT validation scenario with Saxon initializer class

Hi, I have configured a transformations scenario using a Saoxn initializer class to register a custom extension function. When validating the root file being used by this transformaton scenario the validation works fine. I also created a validation scenario for xslt files included by this root file ...
by Patrik
Wed Mar 01, 2017 6:23 pm
Forum: Common Problems
Topic: classic webhelp: breadcrumps not (always) refreshing
Replies: 4
Views: 1245

Re: classic webhelp: breadcrumps not (always) refreshing

Hi,

currently I have only tested it on a local file system (windows). I will try to check the behavior on a webserver tomorrow and let you know if the problem remains.

Thanks and regards,
Patrik
by Patrik
Tue Feb 28, 2017 5:03 pm
Forum: Common Problems
Topic: classic webhelp: problem with "\" in href
Replies: 2
Views: 987

classic webhelp: problem with "\" in href

Hi, I've applied the classic webhelp traqnsformation on my DITA map. For some links I got a message from the browser that a script is slowing down the website. (Seems like an infinite loop.) Now I've found out that this was caused by the link containing a backslash ("\") as path delimiter. Replacing...
by Patrik
Tue Feb 28, 2017 12:36 pm
Forum: Common Problems
Topic: classic webhelp: breadcrumps not (always) refreshing
Replies: 4
Views: 1245

Re: classic webhelp: breadcrumps not (always) refreshing

The breadcrumbs are also not updated when jumping form a topic level 2 to a child topic on level 3 by using the links generated from the related-links.

Patrik
by Patrik
Tue Feb 28, 2017 12:15 pm
Forum: Common Problems
Topic: classic webhelp: breadcrumps not (always) refreshing
Replies: 4
Views: 1245

classic webhelp: breadcrumps not (always) refreshing

Hi, I just noticed that when you use the breadcrumbs in a classic webhelp to change the current page the breadcrumbs are not bein updated. (I tested it with the original transformation type from oXygen 18.1.) In all other cases the update seems to work fine. I'm planning to publish our document with...
by Patrik
Fri Feb 24, 2017 10:58 am
Forum: SDK-API, Frameworks - Document Types
Topic: Template for new projects
Replies: 3
Views: 1476

Re: Template for new projects

Thanks, Radu. A pure copying of a folder would require the author to also rename some files. In fact, it would be very simple to implement an XSLT script that creates an initial structure based on some minimal user inputs (like a project title and destination folder). I guess with a plugin I could p...
by Patrik
Fri Feb 24, 2017 10:13 am
Forum: SDK-API, Frameworks - Document Types
Topic: Template for new projects
Replies: 3
Views: 1476

Template for new projects

Hi, in my DITA custom framework I have defined templates for different map and topic types. Now I'mwondering if there is already any mechanismn that allows me to define a template for creating a new project. This should include: - an initial folder structure - some initial files (e.g. bookmap.ditama...
by Patrik
Tue Feb 21, 2017 3:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA-OT logging: fop warnings
Replies: 3
Views: 1015

Re: DITA-OT logging: fop warnings

Hi Radu,

thanks, a setting would be great.

And I understand that these messages are often somewhat frightening and hard to understand. But for me all of them were correct and the PDF now looks much better because I have solved all of them...

Regards,
Patrik
by Patrik
Tue Feb 21, 2017 8:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA-OT logging: fop warnings
Replies: 3
Views: 1015

DITA-OT logging: fop warnings

Hi, I started to take a closer look on the logging from FOP when creating a PDF with DITA-OT. It turned out that these are very valuable hints like - The contents exceed the available area - Unresolved ID reference found. - Unsupported feature - Unknown font The problem is that these messages are cu...
by Patrik
Mon Jan 16, 2017 1:45 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_popup for #text with default value
Replies: 4
Views: 2812

Re: oxy_popup for #text with default value

Hi Alex, thanks for the hint. Indeed, the behavior of the combobox is perfect. It even handles default values for text content. But the look is not that great in my use-case - so I'm still very interested in a solution for popup as well. Maybe you could give me the code for both, so I can fix it alr...
by Patrik
Thu Jan 12, 2017 11:06 am
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_popup for #text with default value
Replies: 4
Views: 2812

oxy_popup for #text with default value

Hi, I'm using oxy_popup to edit the text content of an enumeration element with a non-empty default value. Doing this for attributes works fine. But for the text content the popup will always display "[Empty]" for empty content. Even when specifying values and labels. Is there any way to specify a v...
by Patrik
Wed Nov 16, 2016 4:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Validating against Schematron rules embedded in detected schema
Replies: 1
Views: 2213

Validating against Schematron rules embedded in detected schema

Hi, I have a custom document type that should be used for varioud files with different XML schemas assigned. Now I'd like to define the default validation scenario i a way that the embedded schematron rules are used. But in the configuration this seems not to be possible: When I select the "use dete...
by Patrik
Wed Sep 21, 2016 1:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Get map selected in DITA Map Manager through API?
Replies: 2
Views: 2475

Get map selected in DITA Map Manager through API?

I have a custom extension bundle with my own LinkTextResolver instance. Now I'd like to resolve some references depending on the currently selected map in the DITA Map manager - just as you do it for resolving keyrefs.

Is there a way to get access to it through the API?

Thanks and regards,
Patrik
by Patrik
Tue Sep 13, 2016 3:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding custom pre-process param to all transtypes
Replies: 1
Views: 653

Adding custom pre-process param to all transtypes

I created a custom pre-process step for DITA-OT that has it's own parameter. To make it visible in oXygen when configuring a transformation scenario I added it to my custom transtype in the plugin.xml. But actually my plugin will affect any transtype. So I'm wondering if there is already any mechani...