Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private static String[] parseIdentifier(String identifierWithArgs,
* Stelle die neue frag_id enthält und in den folgenden Stellen die Argumente.
*
* @param identifierWithArgs
* Ein String in der Form "<identifier>#arg1#...#argN", wobei der
* Ein String in der Form "&lt;identifier&gt;#arg1#...#argN", wobei der
* Separator "#" über den SEPARATOR-Schlüssel in textbausteine verändert
* werden kann.
* @param textbausteine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,6 @@ public static String dumpOOoConfiguration(String nodePath)
* @param spaces
* Indent for children.
* @return String representation of the node.
* @throws Exception
* Can't access the configuration node.
*/
public static String dumpNode(Object element, String spaces)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ else if (zoomValue != null)
/**
* Liefert den Titel des Dokuments, wie er im Fenster des Dokuments angezeigt wird,
* ohne den Zusatz " - OpenOffice.org Writer" oder "NoTitle", wenn der Titel nicht
* bestimmt werden kann. TextDocumentModel('<title>')
* bestimmt werden kann. TextDocumentModel('&lt;title&gt;')
*/
public synchronized String getTitle()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ public synchronized void flushPersistentData()
}

/**
* Calls {@link #insertMailMergeField(String, XTextRange) with the current cursor position.
* Calls {@link #insertMailMergeField(String, XTextRange)} with the current cursor position.
*
* @param fieldId
* The column name of the data base on which this field depends
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ public synchronized void close()
}

/**
* {@link DocumentCommands#addNewDocumentCommand(XTextRange, String)
* {@link DocumentCommands#addNewDocumentCommand(XTextRange, String)}
*
* @param r
* The text range.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public int hashCode()
* Ein IDChangeListener wird benachrichtigt, wenn sich ein {@link IdModel}
* Objekt ändert.
*
* @see ID.addIDChangeListener(IDChangeListener)
* @see #addIDChangeListener(IDChangeListener)
*/
public interface IDChangeListener
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private Dateinamensanpassungen()
* Pfaden/Dateinamen übergeben werden, wovon der erste Eintrag dieser Liste
* zurückgegeben wird, dessen Pfad-Anteil tatsächlich verfügbar ist.
* Innerhalb eines Pfades/Dateinamens kann vor der Verfügbarkeitsprüfung mit
* ${<name>} der Wert einer Java-Systemproperty in den Dateinamen eingefügt
* ${&lt;name&gt;} der Wert einer Java-Systemproperty in den Dateinamen eingefügt
* werden.
*/
public static String verfuegbarenPfadVerwenden(String fileName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ protected MailMergePrintFunction(String functionName, int order)
}

/**
* Replaces all occurrences of <code>{{<tag>}}</code> with the value specified in the data set.
* Replaces all occurrences of <code>&lt;tag&gt;</code> with the value specified in the data set.
*
* @param dataset
* Map of key-value pairs, where the key is <code><tag></code>.
* Map of key-value pairs, where the key is <code>&lt;tag&gt;</code>.
* @param text
* Text, which contains tags to be replaced.
* @return Text where all occurrences are replaced, if there exists a record in data set.
Expand All @@ -100,7 +100,7 @@ public static String replaceMergeFieldInText(Map<String, String> dataset, String
}

/**
* Creates a <code><tag></code>, which can be replaced by
* Creates a <code>&lt;tag&gt;</code>, which can be replaced by
* {@link #replaceMergeFieldInText(Map, String)}.
*
* @param mergeField
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ private void removeWollMuxMetadata(XTextDocument doc)
}

/**
* Remove all bookmarks from the document.
* Remove all bookmarks from the document except for ones that hide the content.
*
* @param tmpDoc
* The document.
Expand All @@ -454,7 +454,11 @@ private void removeAllBookmarks(XTextDocument tmpDoc)
{
if (bookmark != null)
{
bookmark.getAnchor().getText().removeTextContent(bookmark);
final XPropertySet xBookmarkProps = UnoRuntime.queryInterface(XPropertySet.class, bookmark);
if (!((Boolean) xBookmarkProps.getPropertyValue("BookmarkHidden")))
{
bookmark.getAnchor().getText().removeTextContent(bookmark);
}
}
} catch (Exception e)
{
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<wollmux.test.conf.release>v18.1.0/wollmux-config-18.1.0.tar.gz</wollmux.test.conf.release>
<wollmux.test.conf>${project.build.directory}/config/.wollmux/wollmux.conf</wollmux.test.conf>
<office.user.profile>${project.build.directory}/office</office.user.profile>
<maven.javadoc.failOnWarnings>true</maven.javadoc.failOnWarnings>
<maven.javadoc.failOnWarnings>false</maven.javadoc.failOnWarnings>
</properties>

<modules>
Expand Down